dev.tsunagite.createSong

tsunagite.dev

Documentation

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

main procedure

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

Input

Encodingtext/json
id stringrecord-key Required

The ID of this song. Should only include [a-zA-Z0-9-].

Output

Encodingtext/json
uri stringat-uri Optional

The URI pointing to the song's newly-created record.

Try It

Requests are sent directly from your browser. Some servers may block requests due to CORS.

Base URL for XRPC calls (e.g., https://bsky.social)
Enter valid JSON for the request body
View raw schema
{
  "type": "procedure",
  "input": {
    "schema": {
      "type": "object",
      "required": [
        "id",
        "song"
      ],
      "properties": {
        "id": {
          "type": "string",
          "format": "record-key",
          "description": "The ID of this song. Should only include [a-zA-Z0-9-]."
        },
        "song": {
          "ref": "dev.tsunagite.song",
          "type": "ref"
        }
      }
    },
    "encoding": "text/json"
  },
  "output": {
    "schema": {
      "type": "object",
      "properties": {
        "uri": {
          "type": "string",
          "format": "at-uri",
          "description": "The URI pointing to the song's newly-created record."
        }
      }
    },
    "encoding": "text/json"
  },
  "description": "Create a record for a song in a game hosting leaderboards via Tsunagite. If the song already exists, update its data."
}

Lexicon Garden

@