getPhotos
- Home
- Multimedia
- UgcPhoto
- getPhotos
getPhotos
Gets all of the photos for a user id or a url.
Parameters
Name | Description |
userID optional | The user’s primary identifier. |
nodeID optional | The primary identifier for your network. |
blogID optional | The primary identifier for the user or group’s site. (Same as siteID) |
tierID optional | Tier ID. |
optional | |
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=getPhotos&nodeID=188234&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 19 |
{ "service":"ugcPhoto", "action":"getPhotos", "code":1, "message":"Success", "total":"16", "page":1, "per_page":1, "item":{ "1":{ "gallery_name":"", "caption":"", "photo_id":"", "thumb_url":"", "photo_url":"", "photo_link":"" } } } |
Service Information
Service | ugcPhoto |
Method | getPhotos |
Type | REST |
Response Types | JSON, XML |