Team
/team/:teamid/profile
(authenticated)
Get a single team profile with details, 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
/team/:teamid/profile/public
Get a single team profile, if public.
numberteamid: the team ID
/teams
(authenticated)
Get a list of all the teams the user has access to
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.
integer page: The desired page
integer pageSize: The desired page size
/team
(authenticated)
Creates a new team
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 team name
name: string,
// whether or not the team is private
private: boolean,
// the plan to use for the team
team: integer,
}
/team/:teamid
(authenticated)
Deletes a team
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
- team_management
teamid: The id of the team to act on
/team/:teamid
(authenticated)
Updates a team
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
- team_management
{
// the team name
name: string,
}
teamid: The id of the team to act on
/team/:teamid/user/:userid
(authenticated)
Assign a user to a team
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
- team_management
teamid: The id of the team to act on
userid: undocumented
/team/:teamid/user/batch
(authenticated)
Removes a batch of users from a team
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
- team_management
{
// Comma separated list of user ids
users: string,
}
teamid: The id of the team to act on
/team/:teamid/user/:userid
(authenticated)
Removes a user from a team
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
- team_management
teamid: The id of the team to act on
userid: undocumented
/division/:divisionid/users
(authenticated)
Get a list of all users in a given 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
- member_of
divisionid: undocumented
/team/:teamid/users
(authenticated)
Get a list of all users in a given team
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
/team/:teamid/fonts
Get a list of all fonts in a given team
teamid: The id of the team to act on
/team/:teamid/logos
Get a list of all logos in a given team
teamid: The id of the team to act on
/team/:teamid/logo
(authenticated)
Add a new logo to a team
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 logo file
file: file,
// the logo name
name: string,
}
teamid: The id of the team to act on
/team/:teamid/font
(authenticated)
Add a new font to a team
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 font file
file: file,
// the font name
name: string,
}
teamid: The id of the team to act on
/team/:teamid/font/:fontid
(authenticated)
Update font
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 font file
file: file,
// the font name
name: string,
}
teamid: The id of the team to act on
fontid: undocumented
/team/:teamid/delete/logo/:logoid
(authenticated)
Delete logo
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
- customise_editor
teamid: The id of the team to act on
logoid: undocumented
/team/:teamid/delete/font/:fontid
(authenticated)
Delete font
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
- customise_editor
teamid: The id of the team to act on
fontid: undocumented