Skip to main content
Version: 5.7.0

ReadGroup

Retrieve information about the group.

ServiceOperation
groupREAD_GROUP

Method Parameters

ParameterDescription
groupIdID of the group

Usage

http://localhost:3000
string groupId = "a-group-id";
SuccessCallback successCallback = (response, cbObject) =>
{
Debug.Log(string.Format("Success | {0}", response));
};
FailureCallback failureCallback = (status, code, error, cbObject) =>
{
Debug.Log(string.Format("Failed | {0} {1} {2}", status, code, error));
};

_bc.Group.ReadGroup(groupId, successCallback, failureCallback);
JSON Response
{
"data": {
"gameId": "13229",
"groupId": "d373ff92-3327-4176-85ed-3565a09c43fa",
"ownerId": "8bd564a7-3f91-4a98-a4b3-43cd7d266133",
"name": "agroup",
"groupType": "group11",
"createdAt": 1605155742940,
"updatedAt": 1671123804120,
"members": {
"8bd564a7-3f91-4a98-a4b3-43cd7d266133": {
"role": "OWNER",
"attributes": {}
},
"79087465-5ca5-41a1-9d46-85ad23bc6efd": {
"role": "MEMBER",
"attributes": {}
}
},
"pendingMembers": {},
"version": 5,
"data": {
"indexedId": "groupblue"
},
"summaryData": {},
"isOpenGroup": true,
"defaultMemberAttributes": {},
"memberCount": 2,
"invitedPendingMemberCount": 0,
"requestingPendingMemberCount": 0,
"acl": {
"member": 2,
"other": 0
}
},
"status": 200
}