{
"id": "dev.tsunagite.listGames",
"defs": {
"main": {
"type": "query",
"output": {
"schema": {
"type": "object",
"required": [
"games"
],
"properties": {
"games": {
"type": "array",
"items": {
"ref": "dev.tsunagite.game",
"type": "ref"
}
},
"cursor": {
"type": "string",
"description": "Opaque string - pass back in a future request as the `cursor` value"
}
}
},
"encoding": "application/json"
},
"parameters": {
"type": "params",
"properties": {
"limit": {
"type": "integer",
"default": 20,
"maximum": 100,
"description": "How many records to return."
},
"cursor": {
"type": "string",
"description": "Opaque string - receive from a previous request as the `cursor` value"
},
"player": {
"type": "string",
"format": "at-identifier",
"description": "The handle or DID of the player to search for profile records on. Will only return games the player has a profile for."
}
}
},
"description": "Batch game fetch"
}
},
"$type": "com.atproto.lexicon.schema",
"lexicon": 1
}