# town.delve.feed.getPosts

> Published by [delve.town](https://lexicon.garden/identity/did:plc:qzqct2rrq4u2gmy5g3mjxske)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:qzqct2rrq4u2gmy5g3mjxske/town.delve.feed.getPosts)
- [Documentation](https://lexicon.garden/lexicon/did:plc:qzqct2rrq4u2gmy5g3mjxske/town.delve.feed.getPosts/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:qzqct2rrq4u2gmy5g3mjxske/town.delve.feed.getPosts/examples)

## Definitions

### `town.delve.feed.getPosts`

**Type**: `query`

Gets post views for a specified list of posts (by AT-URI). This is sometimes referred to as 'hydrating' a 'feed skeleton'.

#### Parameters

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `uris` | `array` | Yes | List of post AT-URIs to return hydrated views for. |

#### Output

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `posts` | `array` | Yes |  |

## Raw Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Gets post views for a specified list of posts (by AT-URI). This is sometimes referred to as 'hydrating' a 'feed skeleton'.",
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "posts": {
              "items": {
                "ref": "town.delve.feed.defs#postView",
                "type": "ref"
              },
              "type": "array"
            }
          },
          "required": [
            "posts"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "uris": {
            "description": "List of post AT-URIs to return hydrated views for.",
            "items": {
              "format": "at-uri",
              "type": "string"
            },
            "maxLength": 25,
            "type": "array"
          }
        },
        "required": [
          "uris"
        ],
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "town.delve.feed.getPosts",
  "lexicon": 1
}
```
