{
"id": "games.gamesgamesgamesgames.listGames",
"defs": {
"main": {
"type": "query",
"output": {
"schema": {
"type": "object",
"required": [
"games"
],
"properties": {
"games": {
"type": "array",
"items": {
"ref": "games.gamesgamesgamesgames.defs#gameSummaryView",
"type": "ref"
}
},
"cursor": {
"type": "string"
}
}
},
"encoding": "application/json"
},
"parameters": {
"type": "params",
"properties": {
"did": {
"type": "string",
"format": "did"
},
"sort": {
"type": "string",
"default": "indexed_at",
"description": "Field to sort by (e.g. name, createdAt, indexed_at)."
},
"limit": {
"type": "integer",
"default": 20,
"maximum": 100,
"minimum": 1
},
"modes": {
"type": "array",
"items": {
"type": "string"
}
},
"cursor": {
"type": "string"
},
"genres": {
"type": "array",
"items": {
"type": "string"
}
},
"themes": {
"type": "array",
"items": {
"type": "string"
}
},
"ageRatings": {
"type": "array",
"items": {
"type": "string"
},
"description": "Filter by age rating in 'organization:rating' format (e.g. esrb:M, pegi:Eighteen)."
},
"sortDirection": {
"enum": [
"asc",
"desc"
],
"type": "string",
"default": "desc",
"description": "Sort direction."
},
"includeUnrated": {
"type": "boolean",
"default": false,
"description": "When age rating filters are active, also include games with no age ratings."
},
"applicationTypes": {
"type": "array",
"items": {
"type": "string",
"knownValues": [
"addon",
"bundle",
"dlc",
"episode",
"expandedGame",
"expansion",
"fork",
"game",
"mod",
"pack",
"port",
"remake",
"remaster",
"season",
"standaloneExpansion",
"update"
]
},
"description": "Filter by application type (e.g. game, dlc, bundle)."
},
"includeCancelled": {
"type": "boolean",
"default": false
},
"playerPerspectives": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"description": "Get a list of games on the network."
}
},
"$type": "com.atproto.lexicon.schema",
"lexicon": 1
}