# us.off-the-clock.feed.getFeedSkeleton

> A page of a feed's items, newest first by the feed's sort. The caller hydrates them.

- Kind: query
- Authority: feed.off-the-clock.us
- Lexicon: 1
- Published by [off-the-clock.us](https://lexicon.garden/identity/did:plc:tevv7zpavtjtsvqrrwwipobt), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:tevv7zpavtjtsvqrrwwipobt/us.off-the-clock.feed.getFeedSkeleton)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:tevv7zpavtjtsvqrrwwipobt/us.off-the-clock.feed.getFeedSkeleton/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:tevv7zpavtjtsvqrrwwipobt/us.off-the-clock.feed.getFeedSkeleton/analytics)

## Query (`us.off-the-clock.feed.getFeedSkeleton`)

Type: query · GET

### Parameters (query string)

- `cursor` (string)
- `feed` (string · at-uri, required): The feed's us.off-the-clock.feed.generator record.
- `limit` (integer)
  - Constraints: minimum: 1, maximum: 100, default: 50
- `sort` (string): latest (the feed's own order, the default) or popular: engagement over the last seven days, fading with age (D94).
  - Constraints: maxLength: 64, knownValues: latest | popular

### Output (application/json)

- `cursor` (string)
- `feed` (array, required)
  - `items` (ref)
    - Reference: `us.off-the-clock.feed.defs#feedContent`

### Errors

- `UnknownFeed`: No description in schema.
- `NotSpaceMember`: No description in schema.
- `FeedUnavailable`: No description in schema.

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A page of a feed's items, newest first by the feed's sort. The caller hydrates them.",
      "errors": [
        {
          "name": "UnknownFeed"
        },
        {
          "name": "NotSpaceMember"
        },
        {
          "name": "FeedUnavailable"
        }
      ],
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "cursor": {
              "type": "string"
            },
            "feed": {
              "items": {
                "ref": "us.off-the-clock.feed.defs#feedContent",
                "type": "ref"
              },
              "type": "array"
            }
          },
          "required": [
            "feed"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "cursor": {
            "type": "string"
          },
          "feed": {
            "description": "The feed's us.off-the-clock.feed.generator record.",
            "format": "at-uri",
            "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"
          }
        },
        "required": [
          "feed"
        ],
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "us.off-the-clock.feed.getFeedSkeleton",
  "lexicon": 1
}
```
