This repository has been archived by the owner on Nov 1, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 58
RESTful API
Olivier Paroz edited this page Sep 28, 2015
·
7 revisions
- Versioning will happen using headers
- Authentication happens via HTTP auth
- Root URL is
https://<host>/<folder>/index.php/apps/gallery
Gives information about the supported features as well as the list of supported media types
-
bool
extramediatypes
true if the client wants previews for fonts
Gives the list of files found in the folder given as argument and lets you download a file
-
string
location
a path representing the current album in the app -
string
features
the list of supported features -
string
etag
the last known etag in the client -
string
mediatypes
the list of supported media types
-
string|null
filename
an optional filename which will be added to the headers of the response
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
-
string
ids
the ID of the files of which we need thumbnail previews of -
bool
square
whether we need square previews for albums or rectangular ones for the photowall -
double
scale
the scale factor to apply when asking for previews. Required for HiDPI screens
-
int
fileId
the ID of the file of which we need a large preview of -
int
width
-
int
height
-
bool
nativesvg
whether or not to send SVGs asimage/svg+xml
ortext/plain
- General
- Installation
- Configuration
- OCC commands
- Developers