# social.coves.feed.getAll

> Published by [coves.social](https://lexicon.garden/identity/did:web:coves.social)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:web:coves.social/social.coves.feed.getAll)
- [Documentation](https://lexicon.garden/lexicon/did:web:coves.social/social.coves.feed.getAll/docs)
- [Examples](https://lexicon.garden/lexicon/did:web:coves.social/social.coves.feed.getAll/examples)

## Definitions

### `social.coves.feed.getAll`

**Type**: `query`

Get a global feed of all posts across communities

#### Parameters

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `sort` | `string` | No | Sort order for global feed |
| `limit` | `integer` | No |  |
| `cursor` | `string` | No |  |
| `postType` | `string` | No | Filter by a single post type (computed from embed structure) |
| `postTypes` | `array` | No | Filter by multiple post types (computed from embed structure) |
| `timeframe` | `string` | No | Timeframe for top sorting (only applies when sort=top) |

#### Output

**Encoding**: `application/json`

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

## Raw Schema

```json
{
  "id": "social.coves.feed.getAll",
  "defs": {
    "main": {
      "type": "query",
      "output": {
        "schema": {
          "type": "object",
          "required": [
            "feed"
          ],
          "properties": {
            "feed": {
              "type": "array",
              "items": {
                "ref": "social.coves.feed.defs#feedViewPost",
                "type": "ref"
              }
            },
            "cursor": {
              "type": "string",
              "maxLength": 500
            }
          }
        },
        "encoding": "application/json"
      },
      "parameters": {
        "type": "params",
        "properties": {
          "sort": {
            "type": "string",
            "default": "hot",
            "maxLength": 64,
            "description": "Sort order for global feed",
            "knownValues": [
              "hot",
              "top",
              "new"
            ]
          },
          "limit": {
            "type": "integer",
            "default": 15,
            "maximum": 50,
            "minimum": 1
          },
          "cursor": {
            "type": "string",
            "maxLength": 500
          },
          "postType": {
            "type": "string",
            "maxLength": 64,
            "description": "Filter by a single post type (computed from embed structure)",
            "knownValues": [
              "text",
              "article",
              "image",
              "video",
              "microblog"
            ]
          },
          "postTypes": {
            "type": "array",
            "items": {
              "type": "string",
              "maxLength": 64,
              "knownValues": [
                "text",
                "article",
                "image",
                "video",
                "microblog"
              ]
            },
            "description": "Filter by multiple post types (computed from embed structure)"
          },
          "timeframe": {
            "type": "string",
            "default": "day",
            "maxLength": 64,
            "description": "Timeframe for top sorting (only applies when sort=top)",
            "knownValues": [
              "hour",
              "day",
              "week",
              "month",
              "year",
              "all"
            ]
          }
        }
      },
      "description": "Get a global feed of all posts across communities"
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
