TheGamesDB · JSON Structure

Thegamesdb Games Images Response Structure

API response for game/platform image queries

Type: object Properties: 3
DatabaseGamingVideo GamesMetadataArtwork

GamesImagesResponse is a JSON Structure definition published by TheGamesDB, describing 3 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

code status data

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/thegamesdb/refs/heads/main/json-structure/thegamesdb-games-images-response-structure.json",
  "name": "GamesImagesResponse",
  "description": "API response for game/platform image queries",
  "type": "object",
  "properties": {
    "code": {
      "type": "int32",
      "description": "HTTP response code"
    },
    "status": {
      "type": "string",
      "description": "Response status"
    },
    "data": {
      "type": "object",
      "properties": {
        "count": {
          "type": "int32",
          "description": "Number of images"
        },
        "images": {
          "type": "object",
          "description": "Images keyed by game/platform ID",
          "additionalProperties": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GameImage"
            }
          }
        },
        "base_url": {
          "type": "object",
          "description": "Base URL components for constructing image URLs",
          "properties": {
            "original": {
              "type": "string"
            },
            "medium": {
              "type": "string"
            },
            "small": {
              "type": "string"
            },
            "large": {
              "type": "string"
            },
            "thumb": {
              "type": "string"
            }
          }
        }
      }
    }
  }
}