get contestants
Developing
GET
/games/{id}/contestants
Request
Authorization
Add the parameter
Authorization
to Headers,whose value is to concatenate the Token after the Bearer.Example:
Authorization: Bearer ********************
Path Params
id
integer
required
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET '/games//contestants'
Responses
🟢200OK
application/json
Body
array of:
assigned_ai
object (ai)
required
id
integer
required
sdk
object (sdk_base)
required
note
string
required
status
object
required
user
object (user_base)
required
performance
string
required
permissions
object
required
assign_ai_enabled
boolean
required
public_match_enabled
boolean
required
points
integer
required
user
object (user)
required
avatar_url
string
required
nickname
string
required
username
string
required
bio
string
optional
department
string
optional
name
string
optional
permissions
object
required
school
string
optional
Example
[
{
"assigned_ai": {
"id": 0,
"sdk": {
"id": 0,
"name": "string"
},
"note": "string",
"status": {
"state": "pending"
},
"user": {
"avatar_url": "string",
"nickname": "string",
"username": "string"
}
},
"performance": "string",
"permissions": {
"assign_ai_enabled": true,
"public_match_enabled": true
},
"points": 0,
"user": {
"avatar_url": "string",
"nickname": "string",
"username": "string",
"bio": "string",
"department": "string",
"name": "string",
"permissions": {
"can_create_game_or_contest": "true"
},
"school": "string"
}
}
]
Modified at 2023-12-19 16:48:23