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

Lexicon Garden

@