social.coves.notification.putPreferences

Update the authenticated account's notification preferences.

Repository @coves.social did:web:coves.social namespace authority
Details · procedure
Kindprocedure
Authoritynotification.coves.social
Indexed
cid bafyreic6qabcrxfngwlmiky2htrgjrreym7uxyu6lrzxckrzwjbtam3mlm

Checks

Valid Lint pass
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Update the authenticated account's notification preferences.",
      "errors": [
        {
          "description": "The authenticated account has not been indexed by this AppView yet, so its preferences cannot be stored.",
          "name": "AccountNotIndexed"
        }
      ],
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "commentReply": {
              "description": "Enable or disable replies to your comments.",
              "type": "boolean"
            },
            "mention": {
              "description": "Enable or disable mentions.",
              "type": "boolean"
            },
            "postReply": {
              "description": "Enable or disable replies to your posts.",
              "type": "boolean"
            },
            "upvote": {
              "description": "Enable or disable upvote group notifications.",
              "type": "boolean"
            }
          },
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "ref": "social.coves.notification.defs#preferences",
          "type": "ref"
        }
      },
      "type": "procedure"
    }
  },
  "id": "social.coves.notification.putPreferences",
  "lexicon": 1
}