# app.rocksky.album.getAlbumTracks

> Published by [rocksky.app](https://lexicon.garden/identity/did:plc:vegqomyce4ssoqs7zwqvgqty)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:vegqomyce4ssoqs7zwqvgqty/app.rocksky.album.getAlbumTracks)
- [Documentation](https://lexicon.garden/lexicon/did:plc:vegqomyce4ssoqs7zwqvgqty/app.rocksky.album.getAlbumTracks/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:vegqomyce4ssoqs7zwqvgqty/app.rocksky.album.getAlbumTracks/examples)

## Definitions

### `app.rocksky.album.getAlbumTracks`

**Type**: `query`

Get tracks for an album

#### Parameters

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `uri` | `string` (at-uri) | Yes | The URI of the album to retrieve tracks from |

#### Output

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `tracks` | `array` | No |  |

## Raw Schema

```json
{
  "id": "app.rocksky.album.getAlbumTracks",
  "defs": {
    "main": {
      "type": "query",
      "output": {
        "schema": {
          "type": "object",
          "properties": {
            "tracks": {
              "type": "array",
              "items": {
                "ref": "app.rocksky.song.defs#songViewBasic",
                "type": "ref"
              }
            }
          }
        },
        "encoding": "application/json"
      },
      "parameters": {
        "type": "params",
        "required": [
          "uri"
        ],
        "properties": {
          "uri": {
            "type": "string",
            "format": "at-uri",
            "description": "The URI of the album to retrieve tracks from"
          }
        }
      },
      "description": "Get tracks for an album"
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
