dev.tsunagite.createGame
Create a record for a game that will host leaderboards via Tsunagite. If the game already exists, update its data.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | tsunagite.dev |
| Indexed |
Checks
Valid Lint pass{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Create a record for a game that will host leaderboards via Tsunagite. If the game already exists, update its data.",
"input": {
"encoding": "text/json",
"schema": {
"properties": {
"game": {
"ref": "dev.tsunagite.game",
"type": "ref"
},
"id": {
"description": "The ID of this game. Should only include [a-zA-Z0-9-].",
"format": "record-key",
"type": "string"
}
},
"required": [
"id",
"game"
],
"type": "object"
}
},
"output": {
"encoding": "text/json",
"schema": {
"properties": {
"profileKey": {
"description": "The record key that should be used for this game's player profiles.",
"format": "nsid",
"type": "string"
},
"uri": {
"description": "The URI pointing to the game's newly-created record.",
"format": "at-uri",
"type": "string"
}
},
"type": "object"
}
},
"type": "procedure"
}
},
"id": "dev.tsunagite.createGame",
"lexicon": 1
}