Galleries

Attributes
id Integer 1 Unique numeric identifier
name String Gallery Name Human readable name identifying this gallery
Actions
List GET /projects/{project_id}/folders/{folder_id}/galleries -
Show GET /projects/{project_id}/folders/{folder_id}/galleries/{id} Head MUST contain: "Accept: application/json"
Create POST /projects/{project_id}/folders/{folder_id}/galleries necessary data: {"name":"gallery name"}
Update PUT /projects/{project_id}/folders/{folder_id}/galleries/{id} necessary data: {"name":"new gallery name"}
Destroy DELETE /projects/{project_id}/folders/{folder_id}/galleries/{id} -

Example:

List all Galleries in a specific folder

GET /api/projects/6/folders/223/galleries HTTP/1.1
Authorization: Bearer example-token

response:

HTTP/1.1 200 OK
Content-Type: application/xml; charset=utf-8
{
  "status": 200,
  "status_message": "OK",
  "info": "",
  "data": {"array":[{"id":61294,"name":"Gallery1","folder_id":223},
                    {"id":61378,"name":"GalleryLeer","folder_id":223},
                    {"id":61362,"name":"SuperGalleryX","folder_id":223},
                    {"id":61422,"name":"GalleryNeu","folder_id":223}]}
}