quest.cozysky.getGames
Games from the indexed games.atmosphere.define records that read or write a given collection (in uses[] or requires[], actor.rpg.sprite by default) and play in a browser: category 'browser', an http(s) url, and not 'coming' or 'archived'. One per url (the developer's own record wins over one held for them), most recently updated first. Served by getGames.lua.
Details · query
| Kind | query |
|---|---|
| Authority | cozysky.quest |
| Commit rev | 3n2vuq6irfk43 |
| Indexed |
Checks
Validunlimited-stringdefs.game.properties.coverNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.game.properties.iconNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.game.properties.nameNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.game.properties.statusNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.game.properties.taglineNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.parameters.properties.excludeNo maxLength, maxGraphemes or format limits this string.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"game": {
"properties": {
"cover": {
"description": "CID of the cover blob in did's repo, if any.",
"type": "string"
},
"did": {
"description": "The repo it is published in.",
"format": "did",
"type": "string"
},
"icon": {
"description": "CID of the icon blob in did's repo, if any.",
"type": "string"
},
"name": {
"type": "string"
},
"status": {
"type": "string"
},
"tagline": {
"type": "string"
},
"updatedAt": {
"format": "datetime",
"type": "string"
},
"uri": {
"description": "The games.atmosphere.define record.",
"format": "at-uri",
"type": "string"
},
"url": {
"description": "Where to play it.",
"format": "uri",
"type": "string"
}
},
"required": [
"uri",
"did",
"name",
"url"
],
"type": "object"
},
"main": {
"description": "Games from the indexed games.atmosphere.define records that read or write a given collection (in uses[] or requires[], actor.rpg.sprite by default) and play in a browser: category 'browser', an http(s) url, and not 'coming' or 'archived'. One per url (the developer's own record wins over one held for them), most recently updated first. Served by getGames.lua.",
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"games": {
"items": {
"ref": "#game",
"type": "ref"
},
"type": "array"
}
},
"required": [
"games"
],
"type": "object"
}
},
"parameters": {
"properties": {
"exclude": {
"description": "Comma-separated publisher DIDs to leave out.",
"type": "string"
},
"limit": {
"default": 30,
"maximum": 100,
"minimum": 1,
"type": "integer"
},
"uses": {
"default": "actor.rpg.sprite",
"description": "Collection the game must use.",
"format": "nsid",
"type": "string"
}
},
"type": "params"
},
"type": "query"
}
},
"id": "quest.cozysky.getGames",
"lexicon": 1
}