SysReadGroup
Retrieve information about the group, bypassing ownership/ACL checks.
Service | Operation |
---|---|
group | SYS_READ_GROUP |
Method Parameters
Parameter | Description |
---|---|
groupId | ID of the group |
Usage
http://localhost:3000
- C#
- C++
- Objective-C
- Java
- JavaScript
- Dart
- Cloud Code
- Raw
// Cloud Code only. To view example, switch to the Cloud Code tab
// Cloud Code only. To view example, switch to the Cloud Code tab
// Cloud Code only. To view example, switch to the Cloud Code tab
// Cloud Code only. To view example, switch to the Cloud Code tab
// Cloud Code only. To view example, switch to the Cloud Code tab
// Cloud Code only. To view example, switch to the Cloud Code tab
var groupId = "a-group-id";
var groupProxy = bridge.getGroupServiceProxy();
var postResult = groupProxy.sysReadGroup(groupId);
if (postResult.status == 200) {
// Success!
}
{
"service": "group",
"operation": "SYS_READ_GROUP",
"data": {
"groupId": "a-group-id"
}
}
JSON Response
{
"status": 200,
"data": {
"gameId": "123456",
"groupId": "69191b48-0cb1-4538-9758-e2f5ef4c524b",
"ownerId": "b67b2d73-1e8c-42e9-9be5-9c1879a48555",
"name": "test22",
"groupType": "test",
"createdAt": 1462462308991,
"updatedAt": 1462462308991,
"members": {
"b67b2d73-1e8c-42e9-9be5-9c1879a48555": {
"role": "OWNER",
"attributes": {}
}
},
"pendingMembers": {},
"version": 1,
"data": {},
"isOpenGroup": false,
"defaultMemberAttributes": {},
"memberCount": 1,
"invitedPendingMemberCount": 0,
"requestingPendingMemberCount": 0,
"acl": {
"other": 1,
"member": 1
}
}
}