SysGetGroupDivisions
Returns a list of the group's recently active divisions, organized by simplified tournament state: ACTIVE, PENDING, COMPLETE. Unlike GetGroupDivisions, this sys call does not require the caller to be a member of the group.
| Service | Operation |
|---|---|
| tournament | SYS_GET_GROUP_DIVISIONS |
Method Parameters
| Parameter | Description |
|---|---|
| groupId | The group id. |
Usage
http://localhost:3000
- C#
- C++
- Obj-C
- Java
- JavaScript
- Dart
- Roblox
- GDScript
- 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
// Cloud Code only. To view example, switch to the Cloud Code tab
N/A
var groupId = "the-group-id";
var tournamentProxy = bridge.getTournamentServiceProxy();
var postResult = tournamentProxy.sysGetGroupDivisions(groupId);
{
"service":"tournament",
"operation":"SYS_GET_GROUP_DIVISIONS",
"data":{
"groupId":"the-group-id"
}
}
JSON Response
{
"data": {
"ACTIVE": {},
"PENDING": {},
"COMPLETE": {
"uniqueDivSetId2": [
"^D^uniqueDivSetId2^2"
]
}
},
"status": 200
}