Widget Library
Params
getTeam
Get a team by id
Get a team by id. The method returns a team object, and can be called with a team object.
Parameters
id string
The id of the team
md_name allOf string or integer
The name of the team
md_name string
The name of the team
md_name integer
The name of the team
teamObject object
The team object
Show teamObject object
teamObject objectteamObject fields
The team object
-
name
stringThe name of the user
-
age
integerThe age of the user
-
nickname
stringThe nickname of the user
-
config
objectShow
configobjectconfigfields-
id
stringThe id of the config
-
name
stringThe name of the config
-
retry_count
integerThe retry count of the config
-
timeout_ms
integerThe timeout in milliseconds of the config
-
altConfig
objectShow
altConfigobjectaltConfigfields-
id
stringThe id of the super config
-
name
stringThe name of the super config
-
retry_count
integerThe retry count of the super config
-
timeout_ms
integerThe timeout in milliseconds of the super config
-
-
Result
teamObject object
The team object
Show teamObject object
teamObject objectteamObject fields
The team object
-
name
stringThe name of the user
-
age
integerThe age of the user
-
nickname
stringThe nickname of the user
-
config
objectShow
configobjectconfigfields-
id
stringThe id of the config
-
name
stringThe name of the config
-
retry_count
integerThe retry count of the config
-
timeout_ms
integerThe timeout in milliseconds of the config
-
altConfig
objectShow
altConfigobjectaltConfigfields-
id
stringThe id of the super config
-
name
stringThe name of the super config
-
retry_count
integerThe retry count of the super config
-
timeout_ms
integerThe timeout in milliseconds of the super config
-
-
Errors
Error code: 4000
-
code
4000
-
message
Bad Request
-
data
{"message":"Team not found"}
Error code: 5000
-
code
5000
-
message
Internal Server Error
-
data
asdfjkalsgj;awigejoa null pointer Stack Trace
getTeam
Get a team by id
Get a team by id. The method returns a team object, and can be called with a team object.
Parameters
id string
The id of the team
md_name allOf string or integer
The name of the team
Show Option 1 md_name string
md_name stringShow Option 2 md_name integer
md_name integerteamObject object
The team object
Show teamObject object
teamObject objectteamObject fields
The team object
-
name
stringThe name of the user
-
age
integerThe age of the user
-
nickname
stringThe nickname of the user
-
config
objectShow
configobjectconfigfields-
id
stringThe id of the config
-
name
stringThe name of the config
-
retry_count
integerThe retry count of the config
-
timeout_ms
integerThe timeout in milliseconds of the config
-
altConfig
objectShow
altConfigobjectaltConfigfields-
id
stringThe id of the super config
-
name
stringThe name of the super config
-
retry_count
integerThe retry count of the super config
-
timeout_ms
integerThe timeout in milliseconds of the super config
-
-
Result
teamObject object
The team object
Show teamObject object
teamObject objectteamObject fields
The team object
-
name
stringThe name of the user
-
age
integerThe age of the user
-
nickname
stringThe nickname of the user
-
config
objectShow
configobjectconfigfields-
id
stringThe id of the config
-
name
stringThe name of the config
-
retry_count
integerThe retry count of the config
-
timeout_ms
integerThe timeout in milliseconds of the config
-
altConfig
objectShow
altConfigobjectaltConfigfields-
id
stringThe id of the super config
-
name
stringThe name of the super config
-
retry_count
integerThe retry count of the super config
-
timeout_ms
integerThe timeout in milliseconds of the super config
-
-
Errors
Error code: 4000
-
code
4000
-
message
Bad Request
-
data
{"message":"Team not found"}
Error code: 5000
-
code
5000
-
message
Internal Server Error
-
data
asdfjkalsgj;awigejoa null pointer Stack Trace
age number
Age of the person. between 0 and 2000.
name string
Name of the coach.
teamMetadata oneof object or object or string
The team metadata
Show Option 1 teamMetadata object
teamMetadata fields
-
id
stringUnique identifier for the team.
-
name
stringUnique name for the team.
Show Option 2 teamMetadata object
teamMetadata fields
-
label
stringUnique label for the team.
-
funnyName
stringUnique funny name for the team.
Show Option 3 teamMetadata string
string
An arbitrary json string
team object
The contents of the team.
Show team object
team fields
-
id
stringUnique identifier for the team.
-
name
stringUnique name for the team.
-
members
array<object>Members belonging to the team.
Show
memberobjectmemberfields-
id
stringUnique identifier for the member.
Schema Details
{
field: "therawschema"
} -
email
stringEmail address of the member.
-
role
stringRole of the member within the team.
-
-
config
objectConfiguration object.
Show
configobjectconfigfields-
id
stringUnique identifier for the config.
-
name
stringUnique name for the config.
-
retry_count
numberNumber of retry attempts.
-
timeout_ms
numberTimeout in milliseconds.
-
Result
success number
Indicates whether the call was successful. 1 if successful, 0 if not.
new_team boolean
Indicates whether a new team was created.
team object
The contents of the team.
Show team object
team fields
-
id
stringUnique identifier for the team.
-
name
stringUnique name for the team.
-
members
array<object>Members belonging to the team.
Show
memberobjectmemberfields-
id
stringUnique identifier for the member.
-
email
stringEmail address of the member.
-
role
stringRole of the member within the team.
-
-
config
objectConfiguration object.
Show
configobjectconfigfields-
id
stringUnique identifier for the config.
-
name
stringUnique name for the config.
-
retry_count
numberNumber of retry attempts.
-
timeout_ms
numberTimeout in milliseconds.
-
Errors
Error code: 2000
-
msg
"Bad team member not found"
Error code: 4000
Error for missing team member injured
-
msg
"Bad data"
-
data
"Data was missing