Skip to main content
GET
List games

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

Search games by id, name, slug, or acronym

filter[id]
string

Filter by exact id. Supports comma-separated values for multiple matches.

Example:

"3,6,9"

filter[slug]
string

Filter by exact slug. Supports comma-separated values for multiple matches.

Example:

"example"

filter[acronym]
string

Filter by exact acronym. Supports comma-separated values for multiple matches.

Example:

"example"

sort
enum<string>
default:name

Sort by field. Prefix with - for descending order.

Available options:
id,
-id,
name,
-name,
slug,
-slug,
acronym,
-acronym,
created_at,
-created_at,
updated_at,
-updated_at
Example:

"name"

Response

A list of active games

data
object[]
message
string
Example:

"Only active games are returned"