# app.tempomusic.feed.getTimeline

> 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.getTimeline)
- [Documentation](https://lexicon.garden/lexicon/did:plc:pxsuqmultto34oks44m2lgxm/app.tempomusic.feed.getTimeline/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:pxsuqmultto34oks44m2lgxm/app.tempomusic.feed.getTimeline/examples)

## Definitions

### `app.tempomusic.feed.getTimeline`

**Type**: `query`

Paginated chronological feed of timeline items. Each item is discriminated by `$type` (today only `app.tempomusic.feed.post`; future variants such as `app.tempomusic.feed.review` plug in additively). When the request carries a service-auth JWT, the viewer DID is read from its `iss` claim and each returned item carries a viewer projection; anonymous requests receive items without viewer state.

#### Parameters

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `limit` | `integer` | No | Maximum number of timeline items to return. |
| `cursor` | `string` | No | Opaque pagination cursor returned by a previous call. |

#### Output

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `items` | `array` | Yes |  |
| `cursor` | `string` | No | Cursor for fetching the next page. Absent when no further results are available. |

## Raw Schema

```json
{
  "id": "app.tempomusic.feed.getTimeline",
  "defs": {
    "main": {
      "type": "query",
      "output": {
        "schema": {
          "type": "object",
          "required": [
            "items"
          ],
          "properties": {
            "items": {
              "type": "array",
              "items": {
                "refs": [
                  "app.tempomusic.feed.defs#postView"
                ],
                "type": "union"
              }
            },
            "cursor": {
              "type": "string",
              "maxLength": 1024,
              "description": "Cursor for fetching the next page. Absent when no further results are available."
            }
          }
        },
        "encoding": "application/json"
      },
      "parameters": {
        "type": "params",
        "properties": {
          "limit": {
            "type": "integer",
            "default": 50,
            "maximum": 100,
            "minimum": 1,
            "description": "Maximum number of timeline items to return."
          },
          "cursor": {
            "type": "string",
            "maxLength": 1024,
            "description": "Opaque pagination cursor returned by a previous call."
          }
        }
      },
      "description": "Paginated chronological feed of timeline items. Each item is discriminated by `$type` (today only `app.tempomusic.feed.post`; future variants such as `app.tempomusic.feed.review` plug in additively). When the request carries a service-auth JWT, the viewer DID is read from its `iss` claim and each returned item carries a viewer projection; anonymous requests receive items without viewer state."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
