Skip to main content
Version: 5.7.0

SysUpdateGroupSummaryData

Update a group's summary data, bypassing ownership/ACL checks.

ServiceOperation
groupSYS_UPDATE_GROUP_SUMMARY_DATA

Method Parameters

ParameterDescription
groupIdID of the group
versionVersion to verify
summaryDataPublic summary data for the group that is viewable even by non-members

Usage

http://localhost:3000
// Cloud Code only. To view example, switch to the Cloud Code tab
JSON Response
{
"data": {
"gameId": "12345",
"groupId": "b7b590e0-0e27-47ef-8bf5-03a3b4e34475",
"ownerId": "77ce8889-20b7-4d01-b248-e0beb747f1b4",
"name": "myGroupName",
"groupType": "newGroupType",
"createdAt": 1561472696504,
"updatedAt": 1561472926006,
"members": {
"77ce8889-20b7-4d01-b248-e0beb747f1b4": {
"role": "OWNER",
"attributes": {}
}
},
"pendingMembers": {},
"version": 4,
"summaryData": {
"new": "data"
},
"isOpenGroup": true,
"defaultMemberAttributes": {},
"memberCount": 1,
"invitedPendingMemberCount": 0,
"requestingPendingMemberCount": 0,
"acl": {
"member": 2,
"other": 0
}
},
"status": 200
}