Skip to main content
GET
/
game-configs
Get paginated game configs
curl --request GET \
  --url https://{subdomain}.nudj.cx/api/v2/admin/game-configs \
  --header 'x-api-token: <api-key>'
{
  "totalCount": 123,
  "edges": [
    {
      "id": "<string>",
      "organisationId": "<string>",
      "details": {
        "title": "<string>",
        "description": "<string>",
        "light": {
          "primaryImageUrl": "<string>",
          "secondaryImageUrl": "<string>"
        },
        "dark": {
          "primaryImageUrl": "<string>",
          "secondaryImageUrl": "<string>"
        }
      },
      "gameType": "memory",
      "gameConfig": {},
      "createdAt": "<string>",
      "updatedAt": "<string>"
    }
  ]
}

Authorizations

x-api-token
string
header
required

Headers

x-language
string

The language to return the game configs in. If not provided, the default organisation language is used.

Query Parameters

limit
integer
default:10
Required range: 1 <= x <= 100
skip
integer
default:0
Required range: x >= 0
gameType
enum<string>
Available options:
memory,
catch

Response

Successful response

totalCount
number
required
edges
GameConfig · object[]
required
I