tools.ozone.setting.upsertOption

ozone-lexicons.bsky.social

Documentation

Create or update setting option

main procedure

Create or update setting option

Input

Encodingapplication/json
description string Optional

No description available.

maxLength: 2000 bytes
key stringnsid Required

A namespaced identifier (e.g., app.bsky.feed.post).

managerRole string Optional

No description available.

scope string Required

No description available.

value unknown Required

No description available.

Output

Encodingapplication/json
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": [
        "key",
        "scope",
        "value"
      ],
      "properties": {
        "key": {
          "type": "string",
          "format": "nsid"
        },
        "scope": {
          "type": "string",
          "knownValues": [
            "instance",
            "personal"
          ]
        },
        "value": {
          "type": "unknown"
        },
        "description": {
          "type": "string",
          "maxLength": 2000
        },
        "managerRole": {
          "type": "string",
          "knownValues": [
            "tools.ozone.team.defs#roleModerator",
            "tools.ozone.team.defs#roleTriage",
            "tools.ozone.team.defs#roleVerifier",
            "tools.ozone.team.defs#roleAdmin"
          ]
        }
      }
    },
    "encoding": "application/json"
  },
  "output": {
    "schema": {
      "type": "object",
      "required": [
        "option"
      ],
      "properties": {
        "option": {
          "ref": "tools.ozone.setting.defs#option",
          "type": "ref"
        }
      }
    },
    "encoding": "application/json"
  },
  "description": "Create or update setting option"
}

Lexicon Garden

@