Menu

Games

games.list

Returns every game for your account and environment.

Who calls it

You → usPOST /v1/games.list

Your server pulls the list. It maps each game to its own lobby images, or uses ours as they are. Sign the call with your API key. See Authentication.

Request

An empty body: {}. No fields.

Answer

FieldTypeWhat it is
gameIdstringMap it to your own lobby entry. You send it in session.start. It never changes.
namestringThe game’s name. Show it if you use our games as they are.
enabledbooleanfalse when the game is turned off in the back office. Take it out of your lobby.
imagesarrayOur logo, one entry per size: size and url.
parametersobjectThe values you set for this game in our back office. Build your client from them.

Errors

This call returns no call-specific error codes.

Every call can return the codes that guard all calls. See Error codes.

Example

POST /v1/games.listExample
Request
{}

Answer
{
  "ok": true,
  "result": { "games": [
    { "gameId": "mines", "name": "Mines", "enabled": true,
      "images": [ { "size": "400x400", "url": "https://cdn.nartifacts.com/mines/400.png" } ],
      "parameters": { "autoplay": false } }
  ] },
  "traceId": "tr-01JC…"
}