us.off-the-clock.getFeed

A feed by record key: its generator's skeleton, hydrated by collection. Needs the viewer's service-auth token for the feed generator in x-atproto-feed-authorization.

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

Checks

Valid
  • unlimited-string defs.main.parameters.properties.cursorNo maxLength, maxGraphemes or format limits this string.
  • unlimited-string defs.main.output.schema.properties.cursorNo maxLength, maxGraphemes or format limits this string.
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A feed by record key: its generator's skeleton, hydrated by collection. Needs the viewer's service-auth token for the feed generator in x-atproto-feed-authorization.",
      "errors": [
        {
          "name": "UnknownFeed"
        },
        {
          "name": "FeedAuthRequired"
        },
        {
          "name": "FeedUnavailable"
        },
        {
          "name": "NotSpaceMember"
        }
      ],
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "cursor": {
              "type": "string"
            },
            "feed": {
              "items": {
                "refs": [
                  "us.off-the-clock.defs#postView",
                  "us.off-the-clock.defs#eventView",
                  "us.off-the-clock.defs#rsvpView",
                  "us.off-the-clock.defs#profileView",
                  "us.off-the-clock.defs#recordView",
                  "us.off-the-clock.defs#bookmarkView",
                  "us.off-the-clock.defs#documentView",
                  "us.off-the-clock.defs#listingView",
                  "us.off-the-clock.defs#reviewView",
                  "us.off-the-clock.polls.pollView"
                ],
                "type": "union"
              },
              "type": "array"
            },
            "generator": {
              "ref": "us.off-the-clock.defs#feedInfo",
              "type": "ref"
            }
          },
          "required": [
            "generator",
            "feed"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "cursor": {
            "type": "string"
          },
          "feed": {
            "description": "The feed's record key; general by default.",
            "format": "record-key",
            "type": "string"
          },
          "limit": {
            "default": 50,
            "maximum": 100,
            "minimum": 1,
            "type": "integer"
          },
          "sort": {
            "description": "latest (the feed's own order, the default) or popular: engagement over the last seven days, fading with age (D94).",
            "knownValues": [
              "latest",
              "popular"
            ],
            "maxLength": 64,
            "type": "string"
          }
        },
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "us.off-the-clock.getFeed",
  "lexicon": 1
}