# social.coves.feed.getDiscover

> 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.getDiscover)
- [Documentation](https://lexicon.garden/lexicon/did:web:coves.social/social.coves.feed.getDiscover/docs)
- [Examples](https://lexicon.garden/lexicon/did:web:coves.social/social.coves.feed.getDiscover/examples)

## Definitions

### `social.coves.feed.getDiscover`

**Type**: `query`

Get the public discover feed showing posts from all communities

#### Parameters

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `sort` | `string` | No | Sort order for discover feed |
| `limit` | `integer` | No |  |
| `cursor` | `string` | No |  |
| `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.getDiscover",
  "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 discover feed",
            "knownValues": [
              "hot",
              "top",
              "new"
            ]
          },
          "limit": {
            "type": "integer",
            "default": 15,
            "maximum": 50,
            "minimum": 1
          },
          "cursor": {
            "type": "string",
            "maxLength": 500
          },
          "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 the public discover feed showing posts from all communities"
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
