dev.tsunagite.createSong

Create a record for a song in a game hosting leaderboards via Tsunagite. If the song already exists, update its data.

Repository @tsunagite.dev did:plc:pz4sp2vf5w26wnaee253gfms namespace authority
Details · procedure
Kindprocedure
Authoritytsunagite.dev
Indexed
cid bafyreifn7c3vscvn4o2y5i6qwnfb6ahdnkcska5hasoqqos3zsd5muqvgm

Checks

Valid Lint pass
JSONDownload
{
  "$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
}