# app.tempomusic.feed.getPost

> Published by [lexicons.tempomusic.fan](https://lexicon.garden/identity/did:plc:pxsuqmultto34oks44m2lgxm)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:pxsuqmultto34oks44m2lgxm/app.tempomusic.feed.getPost)
- [Documentation](https://lexicon.garden/lexicon/did:plc:pxsuqmultto34oks44m2lgxm/app.tempomusic.feed.getPost/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:pxsuqmultto34oks44m2lgxm/app.tempomusic.feed.getPost/examples)

## Definitions

### `app.tempomusic.feed.getPost`

**Type**: `query`

Fetch a single Tempo post by its AT-URI.

#### Parameters

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `uri` | `string` (at-uri) | Yes | AT-URI of the post to fetch. |
| `viewer` | `string` (did) | No | DID of the requesting viewer. When present, the response carries a viewer projection. |

#### Output

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `post` | `ref` → `app.tempomusic.feed.defs#postView` | Yes |  |

#### Errors

- **NotFound**: No post is indexed at the requested AT-URI.

## Raw Schema

```json
{
  "id": "app.tempomusic.feed.getPost",
  "defs": {
    "main": {
      "type": "query",
      "errors": [
        {
          "name": "NotFound",
          "description": "No post is indexed at the requested AT-URI."
        }
      ],
      "output": {
        "schema": {
          "type": "object",
          "required": [
            "post"
          ],
          "properties": {
            "post": {
              "ref": "app.tempomusic.feed.defs#postView",
              "type": "ref"
            }
          }
        },
        "encoding": "application/json"
      },
      "parameters": {
        "type": "params",
        "required": [
          "uri"
        ],
        "properties": {
          "uri": {
            "type": "string",
            "format": "at-uri",
            "description": "AT-URI of the post to fetch."
          },
          "viewer": {
            "type": "string",
            "format": "did",
            "description": "DID of the requesting viewer. When present, the response carries a viewer projection."
          }
        }
      },
      "description": "Fetch a single Tempo post by its AT-URI."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
