us.off-the-clock.listCalendarFeeds

The viewer's two calendar feeds for one space they read, all and mine, created on first call. Each URL is a capability: anyone holding it reads that feed's events.

Details · query
Kindquery
Authorityoff-the-clock.us
Indexed
cid bafyreif5lgvv2wfmxuixi4klxtlh5cppp5cqfupzglocuhy446ihimnd3y

Checks

Valid
  • unlimited-string defs.calendarFeed.properties.variantNo maxLength, maxGraphemes or format limits this string.
  • unlimited-string defs.main.parameters.properties.spaceNo maxLength, maxGraphemes or format limits this string.
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "calendarFeed": {
      "description": "One calendar feed of the viewer's in one space: every event (all) or those they RSVP'd going or interested to (mine).",
      "properties": {
        "createdAt": {
          "format": "datetime",
          "type": "string"
        },
        "enabled": {
          "type": "boolean"
        },
        "rotatedAt": {
          "format": "datetime",
          "type": "string"
        },
        "url": {
          "description": "<public URL>/calendar/<token>.ics; the same with webcal: subscribes.",
          "format": "uri",
          "type": "string"
        },
        "variant": {
          "knownValues": [
            "all",
            "mine"
          ],
          "type": "string"
        }
      },
      "required": [
        "variant",
        "url",
        "enabled",
        "createdAt"
      ],
      "type": "object"
    },
    "main": {
      "description": "The viewer's two calendar feeds for one space they read, all and mine, created on first call. Each URL is a capability: anyone holding it reads that feed's events.",
      "errors": [
        {
          "name": "InvalidRequest"
        },
        {
          "name": "NotSpaceMember"
        }
      ],
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "feeds": {
              "items": {
                "ref": "#calendarFeed",
                "type": "ref"
              },
              "type": "array"
            }
          },
          "required": [
            "feeds"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "space": {
            "description": "A pair's TID.",
            "type": "string"
          }
        },
        "required": [
          "space"
        ],
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "us.off-the-clock.listCalendarFeeds",
  "lexicon": 1
}