List All Games

This endpoint allows you to retrieve a paginated list of all available games. By default, a maximum of ten games are shown per page.

The Game Model

The game model defines each game’s core attributes: ID, name, genre, release date, and the developer behind it.

idstring

Unique identifier for the game.

namestring

Name of the game.

genrestring

Genre of the game.

release_datestring

Release date in ISO format.

developerstring

Name of the developer or studio.

GET/v1/games

List all games

This endpoint allows you to retrieve a paginated list of all available games. By default, a maximum of ten games are shown per page.

Optional Attributes

  • limit (integer): Limit the number of games returned.
curl -G https://api.vembric.chat/v1/games \
  -H "Authorization: Bearer {token}" \
  -d limit=10

Response

{
  "has_more": false,
  "data": [
    {
      "id": "game1",
      "name": "Cyber Blaster",
      "genre": "Shooter",
      "release_date": "2024-04-15",
      "developer": "Vembric Games"
    },
    {
      "id": "game2",
      "name": "Puzzle Hero",
      "genre": "Puzzle",
      "release_date": "2023-11-01",
      "developer": "Logic Labs"
    }
  ]
}