# zone.stratos.feedgen.getFeed

> Published by [lexicon.northsky.app](https://lexicon.garden/identity/did:plc:6uxgo3ypovauub7nblwylqyv)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:6uxgo3ypovauub7nblwylqyv/zone.stratos.feedgen.getFeed)
- [Documentation](https://lexicon.garden/lexicon/did:plc:6uxgo3ypovauub7nblwylqyv/zone.stratos.feedgen.getFeed/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:6uxgo3ypovauub7nblwylqyv/zone.stratos.feedgen.getFeed/examples)

## Definitions

### `zone.stratos.feedgen.getFeed`

**Type**: `query`

Fetch a boundary-scoped hydrated feed. Requires service-auth.

#### Parameters

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `feed` | `string` | Yes | Configured feed id. |
| `limit` | `integer` | No |  |
| `cursor` | `string` | No |  |

#### Output

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `feed` | `array` | Yes |  |
| `cursor` | `string` | No |  |

#### Errors

- **UnknownFeed**
- **BoundaryMismatch**

### `zone.stratos.feedgen.getFeed#postView`

**Type**: `object`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `cid` | `string` (cid) | Yes |  |
| `uri` | `string` (at-uri) | Yes |  |
| `author` | `ref` → `#authorView` | Yes |  |
| `record` | `unknown` | Yes |  |
| `indexedAt` | `string` (datetime) | Yes |  |

### `zone.stratos.feedgen.getFeed#authorView`

**Type**: `object`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `did` | `string` (did) | Yes |  |
| `handle` | `string` | No |  |

### `zone.stratos.feedgen.getFeed#feedViewPost`

**Type**: `object`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `post` | `ref` → `#postView` | Yes |  |

## Raw Schema

```json
{
  "id": "zone.stratos.feedgen.getFeed",
  "defs": {
    "main": {
      "type": "query",
      "errors": [
        {
          "name": "UnknownFeed"
        },
        {
          "name": "BoundaryMismatch"
        }
      ],
      "output": {
        "schema": {
          "type": "object",
          "required": [
            "feed"
          ],
          "properties": {
            "feed": {
              "type": "array",
              "items": {
                "ref": "#feedViewPost",
                "type": "ref"
              }
            },
            "cursor": {
              "type": "string"
            }
          }
        },
        "encoding": "application/json"
      },
      "parameters": {
        "type": "params",
        "required": [
          "feed"
        ],
        "properties": {
          "feed": {
            "type": "string",
            "description": "Configured feed id."
          },
          "limit": {
            "type": "integer",
            "default": 50,
            "maximum": 100,
            "minimum": 1
          },
          "cursor": {
            "type": "string"
          }
        }
      },
      "description": "Fetch a boundary-scoped hydrated feed. Requires service-auth."
    },
    "postView": {
      "type": "object",
      "required": [
        "uri",
        "cid",
        "author",
        "record",
        "indexedAt"
      ],
      "properties": {
        "cid": {
          "type": "string",
          "format": "cid"
        },
        "uri": {
          "type": "string",
          "format": "at-uri"
        },
        "author": {
          "ref": "#authorView",
          "type": "ref"
        },
        "record": {
          "type": "unknown"
        },
        "indexedAt": {
          "type": "string",
          "format": "datetime"
        }
      }
    },
    "authorView": {
      "type": "object",
      "required": [
        "did"
      ],
      "properties": {
        "did": {
          "type": "string",
          "format": "did"
        },
        "handle": {
          "type": "string"
        }
      }
    },
    "feedViewPost": {
      "type": "object",
      "required": [
        "post"
      ],
      "properties": {
        "post": {
          "ref": "#postView",
          "type": "ref"
        }
      }
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
