fyi.opensocial.getNotificationPreferences

How much of a group reaches the caller's Activity: theirs alone.

Details · query
Kindquery
Authorityopensocial.fyi
Indexed
cid bafyreihuknch6kmoqz5ghbtxtnd24eqfdrzoulo5j7qj7trgiaiirk35s4

Checks

Valid
  • unlimited-string defs.channelLevel.properties.levelNo maxLength, maxGraphemes or format limits this string.
  • unlimited-string defs.preferences.properties.levelNo maxLength, maxGraphemes or format limits this string.
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "channelLevel": {
      "properties": {
        "channel": {
          "maxLength": 100,
          "type": "string"
        },
        "level": {
          "knownValues": [
            "everything",
            "you",
            "nothing"
          ],
          "type": "string"
        }
      },
      "required": [
        "channel",
        "level"
      ],
      "type": "object"
    },
    "main": {
      "description": "How much of a group reaches the caller's Activity: theirs alone.",
      "output": {
        "encoding": "application/json",
        "schema": {
          "ref": "#preferences",
          "type": "ref"
        }
      },
      "parameters": {
        "properties": {
          "group": {
            "format": "did",
            "type": "string"
          }
        },
        "required": [
          "group"
        ],
        "type": "params"
      },
      "type": "query"
    },
    "preferences": {
      "properties": {
        "channels": {
          "description": "Channels whose level is their own, not the group's.",
          "items": {
            "ref": "#channelLevel",
            "type": "ref"
          },
          "maxLength": 200,
          "type": "array"
        },
        "level": {
          "description": "Everything new, only what's for them, or nothing.",
          "knownValues": [
            "everything",
            "you",
            "nothing"
          ],
          "type": "string"
        },
        "muted": {
          "description": "Tabs they hear nothing from, as channel/tab.",
          "items": {
            "maxLength": 200,
            "type": "string"
          },
          "maxLength": 200,
          "type": "array"
        }
      },
      "required": [
        "level"
      ],
      "type": "object"
    }
  },
  "id": "fyi.opensocial.getNotificationPreferences",
  "lexicon": 1
}