# com.getorbyt.community.getFeed

> Published by [getorbyt.com](https://lexicon.garden/identity/did:plc:2xrqztnmzlckb3xfuuukupso)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:2xrqztnmzlckb3xfuuukupso/com.getorbyt.community.getFeed)
- [Documentation](https://lexicon.garden/lexicon/did:plc:2xrqztnmzlckb3xfuuukupso/com.getorbyt.community.getFeed/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:2xrqztnmzlckb3xfuuukupso/com.getorbyt.community.getFeed/examples)

## Definitions

### `com.getorbyt.community.getFeed`

**Type**: `query`

A Community's native feed skeleton, served from projected com.getorbyt.community.post links. Clients hydrate post URIs through their authenticated Bluesky AppView. Removed posts are only included for their author and Community moderators.

#### Parameters

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `sort` | `string` | No | `top` ranks by Orbyt's canonical all-time loop count. |
| `limit` | `integer` | No |  |
| `cursor` | `string` | No |  |
| `community` | `string` (at-uri) | Yes |  |

#### Output

**Encoding**: `application/json`

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

#### Errors

- **CommunityNotFound**
- **InvalidCursor**

## Raw Schema

```json
{
  "id": "com.getorbyt.community.getFeed",
  "defs": {
    "main": {
      "type": "query",
      "errors": [
        {
          "name": "CommunityNotFound"
        },
        {
          "name": "InvalidCursor"
        }
      ],
      "output": {
        "schema": {
          "type": "object",
          "required": [
            "feed"
          ],
          "properties": {
            "feed": {
              "type": "array",
              "items": {
                "ref": "com.getorbyt.community.defs#feedItem",
                "type": "ref"
              }
            },
            "cursor": {
              "type": "string"
            }
          }
        },
        "encoding": "application/json"
      },
      "parameters": {
        "type": "params",
        "required": [
          "community"
        ],
        "properties": {
          "sort": {
            "type": "string",
            "default": "latest",
            "description": "`top` ranks by Orbyt's canonical all-time loop count.",
            "knownValues": [
              "latest",
              "top"
            ]
          },
          "limit": {
            "type": "integer",
            "default": 25,
            "maximum": 50,
            "minimum": 1
          },
          "cursor": {
            "type": "string"
          },
          "community": {
            "type": "string",
            "format": "at-uri"
          }
        }
      },
      "description": "A Community's native feed skeleton, served from projected com.getorbyt.community.post links. Clients hydrate post URIs through their authenticated Bluesky AppView. Removed posts are only included for their author and Community moderators."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
