dev.tsunagite.createChart

tsunagite.dev

Documentation

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

main procedure

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

Input

Encodingtext/json
id stringrecord-key Required

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

Output

Encodingtext/json
uri stringat-uri Optional

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

Lexicon Garden

@