Skip to main content
GET
/
v2
/
games
/
{game}
/
{gameItemCollection}
List items in a collection
curl --request GET \
  --url https://api.gameboost.com/v2/games/{game}/{gameItemCollection} \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "id": 123,
      "name": "<string>",
      "slug": "<string>",
      "item_data": {},
      "parent_id": 123,
      "variant_type": "<string>",
      "variant_name": "<string>",
      "has_variants": true,
      "is_variant": true,
      "icon_url": "<string>",
      "icon_dark_url": "<string>"
    }
  ],
  "game_item_collection": {
    "name": "<string>",
    "slug": "<string>",
    "items_count": 123
  },
  "game": {
    "id": 123,
    "name": "<string>",
    "slug": "<string>",
    "acronym": "<string>",
    "services": [
      "<string>"
    ],
    "game_item_collections": [
      {
        "name": "<string>",
        "slug": "<string>",
        "items_count": 123
      }
    ]
  }
}

Authorizations

Authorization
string
header
required

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

Path Parameters

game
string
required

The slug of the game. Can be retrieved from the list of games.

gameItemCollection
string
required

The slug of the game item collection. Can be retrieved from the list of the game's item types.

Query Parameters

Search game items by id, name, or slug

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[variant_type]
string

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

Example:

"example"

filter[parent_id]
string

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

Example:

504535

filter[has_variants]
boolean

Filter items that have variants

filter[is_variant]
boolean

Filter items that are variants

sort
enum<string>
default:name

Sort by field. Prefix with - for descending order.

Available options:
id,
-id,
name,
-name,
created_at,
-created_at
Example:

"name"

Response

A list of game items for a specific collection

data
object[]
game_item_collection
object

Game item collection object representing a category or group of game items

game
object

Game object representing a video game available on the platform