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