getUserBadges
- Home
- Points & Loyalty
- SvcBadge
- getUserBadges
getUserBadges
Gets all of a site’s (user or group) badges.
Parameters
Name | Description |
blog_id required | The primary identifier for the user or group’s site. (Same as siteID) |
tier_ids optional | An array of tier_ids |
output optional | The response output format. Accepts JSON and XML. |
Request Syntax
https://services.onesite.com/rest/svcBadge?action=getUserBadges&blog_id=146435721&devkey=[devkey] |
JSON Response
1 2 3 4 5 6 7 8 9 |
{ "service":"svcBadge", "action":"getUserBadges", "code":1, "message":"User Badges Successfully Retrieved", "item":[ ] } |
Service Information
Service | svcBadge |
Method | getUserBadges |
Type | REST |
Response Types | JSON, XML |