dev.knotless.listSubscriptions

The repositories the asking account watches or ignores, and the pulls and issues it subscribed to or muted, the latest choice first, as the appview keeps them. What it never chose for is heard of as its part in it says, and is not listed. A repository it can no longer find is left out. Requires authentication: a service token, or the session cookie the pages' login sets.

Details · query
Kindquery
Authorityknotless.dev
Indexed
cid bafyreibj5kdddmwxawq4lgiu4pmorpe6d4mqsbea4tnll3aacq5njs6dgu

Checks

Valid
  • unlimited-string defs.main.output.schema.properties.cursorNo maxLength, maxGraphemes or format limits this string.
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "The repositories the asking account watches or ignores, and the pulls and issues it subscribed to or muted, the latest choice first, as the appview keeps them. What it never chose for is heard of as its part in it says, and is not listed. A repository it can no longer find is left out. Requires authentication: a service token, or the session cookie the pages' login sets.",
      "errors": [
        {
          "description": "No account asks.",
          "name": "AuthenticationRequired"
        },
        {
          "description": "This appview keeps no index.",
          "name": "NotFound"
        }
      ],
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "cursor": {
              "description": "Absent on the last page.",
              "type": "string"
            },
            "subscriptions": {
              "items": {
                "ref": "#subscription",
                "type": "ref"
              },
              "type": "array"
            }
          },
          "required": [
            "subscriptions"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "cursor": {
            "description": "Where the page before ended.",
            "maxLength": 512,
            "type": "string"
          },
          "limit": {
            "default": 50,
            "maximum": 100,
            "minimum": 1,
            "type": "integer"
          }
        },
        "type": "params"
      },
      "type": "query"
    },
    "subscription": {
      "description": "What an account chose to hear of one repository, pull or issue.",
      "properties": {
        "createdAt": {
          "description": "When it chose, from which it counts. Absent when there is no choice.",
          "format": "datetime",
          "type": "string"
        },
        "level": {
          "description": "As dev.knotless.putSubscription takes it; `participating` when there is no choice.",
          "knownValues": [
            "participating",
            "all",
            "releases",
            "ignore",
            "subscribed",
            "muted"
          ],
          "maxLength": 64,
          "type": "string"
        },
        "subject": {
          "description": "The repository's dev.knotless.repo record, by the name it has now, or the pull or issue.",
          "format": "at-uri",
          "type": "string"
        }
      },
      "required": [
        "subject",
        "level"
      ],
      "type": "object"
    }
  },
  "description": "What the asking account chose to hear of repositories, pulls and issues.",
  "id": "dev.knotless.listSubscriptions",
  "lexicon": 1
}