dev.tsunagite.createSong
Create a record for a song in a game hosting leaderboards via Tsunagite. If the song 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 song in a game hosting leaderboards via Tsunagite. If the song already exists, update its data.",
"input": {
"encoding": "text/json",
"schema": {
"properties": {
"id": {
"description": "The ID of this song. Should only include [a-zA-Z0-9-].",
"format": "record-key",
"type": "string"
},
"song": {
"ref": "dev.tsunagite.song",
"type": "ref"
}
},
"required": [
"id",
"song"
],
"type": "object"
}
},
"output": {
"encoding": "text/json",
"schema": {
"properties": {
"uri": {
"description": "The URI pointing to the song's newly-created record.",
"format": "at-uri",
"type": "string"
}
},
"type": "object"
}
},
"type": "procedure"
}
},
"id": "dev.tsunagite.createSong",
"lexicon": 1
}