-
Notifications
You must be signed in to change notification settings - Fork 65
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
Add REST API #5
Comments
The API can be tested using Codeception. Then you simply do:
If you need a more verbose output to check the scenarios, use: |
@rperezb can someone have a look? |
@SergioBertolinSG may check this one, once he finishes with the encryption one |
@SergioBertolinSG - There is now some documentation for the API: https://github.com/owncloud/gallery/wiki/RESTful-API |
@oparoz Awesome, thanks. |
I'm going to close this since the tests are used in CI. |
General
Config API
Gives information about the supported features as well as the list of supported media types
/api/config
Files API
Gives the list of files found in the folder given as argument and lets you download a file
/api/files/list
/api/files/download/{fileId}
Preview API
Gives you a list of base64 encoded thumbnails when you connect to the thumbnails endpoint using EventSource and gives you a resized preview when you use the preview endpoint
/api/preview/thumbnails
/api/preview/{fileId}/{width}/{height}
The text was updated successfully, but these errors were encountered: