# so.sprk.story.getStories

> Published by [sprk.so](https://lexicon.garden/identity/did:plc:cveom2iroj3mt747sd4qqnr2)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:cveom2iroj3mt747sd4qqnr2/so.sprk.story.getStories)
- [Documentation](https://lexicon.garden/lexicon/did:plc:cveom2iroj3mt747sd4qqnr2/so.sprk.story.getStories/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:cveom2iroj3mt747sd4qqnr2/so.sprk.story.getStories/examples)

## Definitions

### `so.sprk.story.getStories`

**Type**: `query`

Gets story views for a specified list of stories (by AT-URI). This is sometimes referred to as 'hydrating' a story reference list.

#### Parameters

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

#### Output

**Encoding**: `application/json`

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

## Raw Schema

```json
{
  "id": "so.sprk.story.getStories",
  "defs": {
    "main": {
      "type": "query",
      "output": {
        "schema": {
          "type": "object",
          "required": [
            "stories"
          ],
          "properties": {
            "stories": {
              "type": "array",
              "items": {
                "ref": "so.sprk.story.defs#storyView",
                "type": "ref"
              }
            }
          }
        },
        "encoding": "application/json"
      },
      "parameters": {
        "type": "params",
        "required": [
          "uris"
        ],
        "properties": {
          "uris": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "at-uri"
            },
            "description": "List of story AT-URIs to return hydrated views for."
          }
        }
      },
      "description": "Gets story views for a specified list of stories (by AT-URI). This is sometimes referred to as 'hydrating' a story reference list."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
