viewGroup
- Home
- Users & Groups
- SvcGroups
- viewGroup
viewGroup
Gets information about a group.
Parameters
Name | Description |
groupID required | ID of the group. |
output optional | The response output format. Accepts JSON and XML. |
Request Syntax
https://services.onesite.com/rest/svcGroups?action=viewGroup&groupID=1000811&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 34 |
{ "service":"svcGroups", "action":"viewGroup", "total":"1", "page":"1", "per_page":"1", "item":[ { "group_id":"1000811", "display_name":"developers", "group_name":"developers", "desc_full":"An API test group.", "desc_small":"Developers", "date_added":"1547860875", "domain":"onesitedemo.com", "subdir":"developers", "group_url":"http://www.onesitedemo.com/developers", "join_method":"group_suspended", "group_access":"public", "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":"0", "owner_id":"229928503", "blog_id":"234714453", "date_updated":"2019-01-30 14:13:58", "category_name":"Test 1", "category_id":"16561", "groupAvatar":"http://services.onesite.com/resources/images/group-default-avatar.jpg?ver=13.06.21" } ], "code":1, "message":"Group Info Successfully Retrieved" } |
Service Information
Service | svcGroups |
Method | viewGroup |
Type | REST |
Response Types | JSON, XML |