viewAllGroups
- Home
- Users & Groups
- SvcGroups
- viewAllGroups
viewAllGroups
Gets a network’s groups.
Parameters
Name | Description |
optional | |
blogID optional | |
tierID optional | |
page optional | Page of results to return. |
perPage optional | Number of items to return per page. |
order optional | Order to arrange group sorting. |
output optional | The response output format. Accepts JSON and XML. |
Request Syntax
https://services.onesite.com/rest/svcGroups?action=viewAllGroups&nodeID=188234&devkey=[devkey] |
JSON Response
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 |
{ "service":"svcGroups", "action":"viewAllGroups", "code":1, "message":"Groups Successfully Retrieved", "total":"1", "page":1, "per_page":10, "item":[ { "group_id":"1000812", "display_name":"testingGroup", "group_name":"testingGroup", "desc_full":"test", "desc_small":"test", "date_added":"1548870850", "domain":"onesitedemo.com", "subdir":"testinggroup", "group_url":"http://www.onesitedemo.com/testinggroup", "join_method":"open", "group_access":"semi_private", "member_content_association":"screen", "avatar":"http://services.onesite.com/resources/images/group-default-avatar.jpg?ver=13.06.21", "photo":"http://services.onesite.com/resources/images/unisex_v4.gif?ver=13.06.21", "num_members":"1", "owner_id":"229928503", "blog_id":"234957376", "date_updated":"2019-01-30 11:54:10", "category_id":"0", "groupAvatar":"http://services.onesite.com/resources/images/group-default-avatar.jpg?ver=13.06.21" } ] } |
Service Information
Service | svcGroups |
Method | viewAllGroups |
Type | REST |
Response Types | JSON, XML |