dev.knotless.putPreferences

lexicons.knotless.dev

{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Changes the asking account's preferences, as the appview keeps them: each one given takes the place of the one of its kind, and the rest stay. Answers them all, as dev.knotless.getPreferences does. Requires authentication: a service token, or the session cookie the pages' login sets, from the pages themselves.",
      "errors": [
        {
          "description": "A kind of preference the appview does not keep, or one not as its kind says: a theme not named as the pages name theirs, or a reason the appview does not give.",
          "name": "InvalidRequest"
        },
        {
          "description": "No account asks.",
          "name": "AuthenticationRequired"
        },
        {
          "description": "This appview keeps no index, so it keeps no preferences.",
          "name": "NotFound"
        }
      ],
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "preferences": {
              "description": "The preferences to set, at most one of each kind.",
              "items": {
                "refs": [
                  "dev.knotless.getPreferences#appearancePref",
                  "dev.knotless.getPreferences#notificationPref"
                ],
                "type": "union"
              },
              "maxLength": 32,
              "type": "array"
            }
          },
          "required": [
            "preferences"
          ],
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "ref": "dev.knotless.getPreferences#preferences",
          "type": "ref"
        }
      },
      "type": "procedure"
    }
  },
  "description": "Changes the asking account's preferences.",
  "id": "dev.knotless.putPreferences",
  "lexicon": 1
}

Validate Record

Validate a record against dev.knotless.putPreferences

Validation Options
Automatically resolve and include external schemas for full validation
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:yqsg7znbbhfmj3a2nrpnaerk
CID
bafyreiax6o6vb5h56mjna6odaop7o5tayf4bzp2kxtdi6e2z2ab54jr4gy
Indexed At
2026-10-28 23:51 UTC
AT-URI
at://did:plc:yqsg7znbbhfmj3a2nrpnaerk/com.atproto.lexicon.schema/dev.knotless.putPreferences

Referenced Schemas (3)

Similar Lexicons

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

Lexicon Garden

@