Available Since: V2.0.1
Query for a list of albums within the gallery module.
GET api/1/gallery/albums/
| Parameter | Description |
|---|---|
| album | The ID of the album to start the query at; defaults to 0 the top most level. |
| size | The size of the album image to return, (t)iny, (s)mall, (m)edium or (l)arge, defaults to m. |
| depth | The level of sub albums to search to, defaults to current album only. |
| exclude |
Comma separated list of image IDs to exclude from the returned results. |
[
{
"src": "http://example.com/album/image/s/test.jpg",
"title": "Example 1",
"width": 320,
"height": 320,
"link": "http://example.com/album/"
}
]
| Parameter | Description |
|---|---|
| src | The location to load the image from. |
| title | The title of the album. |
| width, height | The size of the image in pixels, or blank if the size is unknown. |
| link | The address of the album page. |