updatePhotoStatus
- Home
- Multimedia
- UgcPhoto
- updatePhotoStatus
updatePhotoStatus
Updates the status of a photo.
Parameters
Name | Description |
xrefID optional | The primary identifier of the photo (Same as photoID) |
contentID optional | The content id of the content that is being referenced. |
status required | Status of the photo |
output optional | The response output format. Accepts JSON and XML. |
Request Syntax
https://services.onesite.com/rest/ugcPhoto?action=updatePhotoStatus&xrefID=160546024&status=active&devkey=[devkey] |
JSON Response
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
{ "service":"ugcPhoto", "action":"updatePhotoStatus", "code":1, "message":"Success", "total":1, "page":1, "per_page":1, "item":{ "1":{ "contentID":"1812475304", "xrefID":160546024, "contentType":"photo", "status":"active" } } } |
Service Information
Service | ugcPhoto |
Method | updatePhotoStatus |
Type | REST |
Response Types | JSON, XML |