Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor public link preview API in acceptance tests #5519

Closed
amrita-shrestha opened this issue Feb 7, 2023 · 1 comment
Closed

Refactor public link preview API in acceptance tests #5519

amrita-shrestha opened this issue Feb 7, 2023 · 1 comment
Assignees
Labels

Comments

@amrita-shrestha
Copy link
Contributor

Currently, we are making API requests on this endpoint

"/index.php/apps/files_sharing/ajax/publicpreview.php?file=$fileName&t=$token";

But in ocis we use a new API endpoint to make a public link preview request

curl -XGET "https://host.docker.internal:9200/remote.php/dav/public-files/PaJOVsaiCmSdwUK/ss.png?preview=1&x=32&y=32" -vk

@SwikritiT
Copy link
Contributor

The PR's have been merged so closing now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants