# dev.jazco.boards.getPostThread

> Published by [jaztesting.jazco.dev](https://lexicon.garden/identity/did:plc:wj2ubhxdhdbmkjq3pzckk7gx)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:wj2ubhxdhdbmkjq3pzckk7gx/dev.jazco.boards.getPostThread)
- [Documentation](https://lexicon.garden/lexicon/did:plc:wj2ubhxdhdbmkjq3pzckk7gx/dev.jazco.boards.getPostThread/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:wj2ubhxdhdbmkjq3pzckk7gx/dev.jazco.boards.getPostThread/examples)

## Definitions

### `dev.jazco.boards.getPostThread`

**Type**: `query`

A post and its comment tree (comments best first). Viewers authenticate with a space credential for the board (Authorization: Atproto-Space, audience = this appview's DID).

#### Parameters

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `uri` | `string` (uri) | Yes |  |

#### Output

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `post` | `ref` → `dev.jazco.boards.defs#postView` | Yes |  |
| `replies` | `array` | Yes |  |

#### Errors

- **BoardNotFound**
- **AuthRequired**

## Raw Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A post and its comment tree (comments best first). Viewers authenticate with a space credential for the board (Authorization: Atproto-Space, audience = this appview's DID).",
      "errors": [
        {
          "name": "BoardNotFound"
        },
        {
          "name": "AuthRequired"
        }
      ],
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "post": {
              "ref": "dev.jazco.boards.defs#postView",
              "type": "ref"
            },
            "replies": {
              "items": {
                "ref": "dev.jazco.boards.defs#commentView",
                "type": "ref"
              },
              "type": "array"
            }
          },
          "required": [
            "post",
            "replies"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "uri": {
            "format": "uri",
            "type": "string"
          }
        },
        "required": [
          "uri"
        ],
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "dev.jazco.boards.getPostThread",
  "lexicon": 1
}
```
