incrementViews
- Home
- Multimedia
- UgcPhoto
- incrementViews
incrementViews
Increments the view count for a photo.
Parameters
Name | Description |
photoID required | The photo’s primary identifier |
output optional | The response output format. Accepts JSON and XML. |
Request Syntax
https://services.onesite.com/rest/ugcPhoto?action=incrementViews&photoID=160546020&devkey=[devkey] |
JSON Response
1 2 3 4 5 6 7 |
{ "service":"ugcPhoto", "action":"incrementViews", "code":1, "message":"Views Incremented", "item":"1" } |
Service Information
Service | ugcPhoto |
Method | incrementViews |
Type | REST |
Response Types | JSON, XML |