# org.gu5.getFeed

> Published by [gu5.org](https://lexicon.garden/identity/did:plc:bqqamzqieuyniwrpcosasyod)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:bqqamzqieuyniwrpcosasyod/org.gu5.getFeed)
- [Documentation](https://lexicon.garden/lexicon/did:plc:bqqamzqieuyniwrpcosasyod/org.gu5.getFeed/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:bqqamzqieuyniwrpcosasyod/org.gu5.getFeed/examples)

## Definitions

### `org.gu5.getFeed`

**Type**: `query`

Get a feed for a specified standard.site publication.

#### Parameters

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `format` | `string` | No | The feed's format. |
| `limit` | `integer` | No | Maximum number of items to include in the feed. |
| `publication` | `string` (at-uri) | Yes | The at:// URI of the standard.site publication record to generate an RSS feed for. |

#### Output

**Encoding**: `application/rss+xml`

#### Errors

- **PublicationNotFound**: Unable to find the publication record.

## Raw Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Get a feed for a specified standard.site publication.",
      "errors": [
        {
          "description": "Unable to find the publication record.",
          "name": "PublicationNotFound"
        }
      ],
      "output": {
        "description": "An RSS 2.0 XML document representing the publication's feed.",
        "encoding": "application/rss+xml"
      },
      "parameters": {
        "properties": {
          "format": {
            "defualt": "application/atom+xml",
            "description": "The feed's format.",
            "knownValues": [
              "application/rss+xml",
              "application/atom+xml",
              "application/feed+json"
            ],
            "type": "string"
          },
          "limit": {
            "default": 100,
            "description": "Maximum number of items to include in the feed.",
            "maximum": 100,
            "minimum": 1,
            "type": "integer"
          },
          "publication": {
            "description": "The at:// URI of the standard.site publication record to generate an RSS feed for.",
            "format": "at-uri",
            "type": "string"
          }
        },
        "required": [
          "publication"
        ],
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "org.gu5.getFeed",
  "lexicon": 1
}
```
