Subteams
/divisions/:teamid
(authenticated)
Get all divisions of a team, if member_of.
Note:Requires sending an authentication token either in the sessionid
query argument,
or in the X-API-Key
header. The token is returned from the login
route.
Required Team Permissions
- member_of
teamid: The id of the team to act on
/divisions/:teamid/all
(authenticated)
Get all divisions of a team, if member_of.
Note:Requires sending an authentication token either in the sessionid
query argument,
or in the X-API-Key
header. The token is returned from the login
route.
Required Team Permissions
- member_of
teamid: The id of the team to act on
/division/:divisionid/team/:teamid/all
(authenticated)
Get all members of a team and if they are in the division
Note:Requires sending an authentication token either in the sessionid
query argument,
or in the X-API-Key
header. The token is returned from the login
route.
Required Team Permissions
- subteam_management
divisionid: undocumented
teamid: The id of the team to act on
/division
(authenticated)
Creates a new division
Note:Requires sending an authentication token either in the sessionid
query argument,
or in the X-API-Key
header. The token is returned from the login
route.
{
// the division name
name: string,
// the team id for the division
team_id: integer,
}
/division/:divisionid/
(authenticated)
Update division details
Note:Requires sending an authentication token either in the sessionid
query argument,
or in the X-API-Key
header. The token is returned from the login
route.
{
// the division name
name: string,
// If the division is deleted
deleted: boolean,
}
divisionid: undocumented
/division/:divisionid/user/:userid
(authenticated)
Updates a users division status
Note:Requires sending an authentication token either in the sessionid
query argument,
or in the X-API-Key
header. The token is returned from the login
route.
{
// If in division
inDivision: bool,
}
divisionid: undocumented
userid: undocumented