social.colibri.actor.getNotificationPreference

Returns the authenticated user's notification level, defaulting to 'all' when they haven't set one.

Repository @colibri.social did:plc:mprdjqjluoswa7awzggaggj3 namespace authority
Details · query
Kindquery
Authorityactor.colibri.social
Indexed
cid bafyreihjc73v77zag7zvmejlb33hld2kqibhb5vig7uq6pa2instp72gme

Checks

Valid
  • unlimited-string defs.main.output.schema.properties.levelNo maxLength, maxGraphemes or format limits this string.
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Returns the authenticated user's notification level, defaulting to 'all' when they haven't set one.",
      "errors": [
        {
          "description": "Missing, malformed, or unverifiable service auth.",
          "name": "AuthRequired"
        }
      ],
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "level": {
              "knownValues": [
                "all",
                "mentionsAndReplies"
              ],
              "type": "string"
            }
          },
          "required": [
            "level"
          ],
          "type": "object"
        }
      },
      "type": "query"
    }
  },
  "id": "social.colibri.actor.getNotificationPreference",
  "lexicon": 1
}