award
award
Awards a badge to a site (user or group).
Parameters
Name | Description |
blog_id required | The primary identifier for the user or group’s site. (Same as siteID) |
badge_id required | Unique ID for a particular badge. |
active optional | Whether a particular badge is active/enabled. |
output optional | The response output format. Accepts JSON and XML. |
Request Syntax
https://services.onesite.com/rest/svcBadge?action=award&blog_id=146435721&badge_id=15085&devkey=[devkey] |
JSON Response
1 2 3 4 5 6 7 |
{ "service":"svcBadge", "action":"award", "code":1, "message":"Badge Successfully Awarded", "item":false } |
Service Information
Service | svcBadge |
Method | award |
Type | REST |
Response Types | JSON, XML |