Games

Get Player Scores

get

Get a Player's score data for a specific Game.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
game_idstringRequired

The game id to get scores for

Pattern: ^[a-zA-Z0-9_-]+$
player_idstringRequired

The player id to get scores for

Pattern: ^[a-zA-Z0-9_-]+$
include_game_objectsbooleanOptional

Whether to include game objects in the response

Default: false
Responses
200

Successful response

application/json
get
/games/getPlayerScores

Get All Games

get

Get all Games. Paginated by default. Supports filtering and sorting.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
takeany ofOptionalDefault: 10
anyOptional
or
numberOptional
skipany ofOptionalDefault: 0
anyOptional
or
numberOptional
idFilterany ofOptional

Comma-separated Game IDs to filter by

anyOptional
or
string[]Optional
allowFuzzyIdFilterbooleanOptional

Set to true to enable fuzzy ID filtering. If false, only returns exact matches.

Default: false
nameFilterany ofOptional

Comma-separated Game names to filter by

anyOptional
or
string[]Optional
allowFuzzyNameFilterbooleanOptional

Set to true to enable fuzzy name filtering. If false, only returns exact matches.

Default: false
tagFilterany ofOptional

Comma-separated list of input tag IDs the resulting game must have

anyOptional
or
string[]Optional
tagExcludeFilterany ofOptional

Comma-separated list of input tag IDs to exclude from the response. Use this to exclude games that have a specific input tag, even if they match the requiredTags filter.

anyOptional
or
string[]Optional
untaggedFilterstring · enumOptional

include: Include all games, regardless of whether they have input tags or not.

exclude: Exclude games that have no input tags.

untagged-only: Only return games that have no input tags. Setting this option will ignore requiredTags and excludeTags, since tagged items shouldn't appear in the results.

Default: includePossible values:
sortFieldstring · enumOptional

Field to sort by

Possible values:
sortOrderstring · enumOptional

Sort order for the selected field

Possible values:
includeTagDatabooleanOptional

Set to true to include additional tags info in the response

Default: false
excludeGamesany ofOptional

Comma-separated list of Game IDs to exclude from the response

anyOptional
or
string[]Optional
Responses
200

Successful response

application/json
get
/games

Create Game

post

Create a new Game

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
idstringOptional

ID value. Only alphanumeric, underscore, and hyphen are allowed.

Pattern: ^[a-zA-Z0-9_-]+$
namestringRequired
descriptionstringOptional
Responses
200

Successful response

application/json
post
/games

Delete Games

delete

Delete one or more Games by their IDs

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
idstring[]Optional
Responses
200

Successful response

application/json
delete
/games

Get Game Count

get

Get Game Count

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
idFilterany ofOptional

Comma-separated Game IDs to filter by

anyOptional
or
string[]Optional
allowFuzzyIdFilterbooleanOptional

Set to true to enable fuzzy ID filtering. If false, only returns exact matches.

Default: false
nameFilterany ofOptional

Comma-separated Game names to filter by

anyOptional
or
string[]Optional
allowFuzzyNameFilterbooleanOptional

Set to true to enable fuzzy name filtering. If false, only returns exact matches.

Default: false
tagFilterany ofOptional

Comma-separated list of input tag IDs the resulting game must have

anyOptional
or
string[]Optional
tagExcludeFilterany ofOptional

Comma-separated list of input tag IDs to exclude from the response. Use this to exclude games that have a specific input tag, even if they match the requiredTags filter.

anyOptional
or
string[]Optional
untaggedFilterstring · enumOptional

include: Include all games, regardless of whether they have input tags or not.

exclude: Exclude games that have no input tags.

untagged-only: Only return games that have no input tags. Setting this option will ignore requiredTags and excludeTags, since tagged items shouldn't appear in the results.

Default: includePossible values:
excludeGamesany ofOptional

Comma-separated list of Game IDs to exclude from the response

anyOptional
or
string[]Optional
Responses
200

Successful response

application/json
get
/games/count

Get Game by ID

get

Get a game by its ID.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idstringRequired

ID value. Only alphanumeric, underscore, and hyphen are allowed.

Pattern: ^[a-zA-Z0-9_-]+$
Query parameters
includeGameObjectsany ofOptionalDefault: false
anyOptional
or
booleanOptionalDefault: false
Responses
200

Successful response

application/json
get
/games/{id}

Update Game by ID

put

Update a Game by its ID

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idstringRequired

ID value. Only alphanumeric, underscore, and hyphen are allowed.

Pattern: ^[a-zA-Z0-9_-]+$
Body
Responses
200

Successful response

application/json
put
/games/{id}

Was this helpful?