getGalleries
- Home
- Multimedia
- UgcPhoto
- getGalleries
getGalleries
Gets all galleries for a site.
Parameters
Name | Description |
blogID optional | The primary identifier for the user or group’s site. (Same as siteID) |
page optional | Page number |
perPage optional | Items per page. |
output optional | The response output format. Accepts JSON and XML. |
Request Syntax
https://services.onesite.com/rest/ugcPhoto?action=getGalleries&blogID=234714047&page=1&perPage=1&devkey=[devkey] |
JSON Response
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
{ "service":"ugcPhoto", "action":"getGalleries", "item":[ { "gallery_id":-1, "gallery_name":"Wall Photos", "num_photos":"0", "gallery_cover":"", "gallery_cover_thumb":"" } ], "code":1, "message":"Success", "total":"6", "page":1, "per_page":1 } |
Service Information
Service | ugcPhoto |
Method | getGalleries |
Type | REST |
Response Types | JSON, XML |