# app.rocksky.artist.getArtistTracks

> 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.artist.getArtistTracks)
- [Documentation](https://lexicon.garden/lexicon/did:plc:vegqomyce4ssoqs7zwqvgqty/app.rocksky.artist.getArtistTracks/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:vegqomyce4ssoqs7zwqvgqty/app.rocksky.artist.getArtistTracks/examples)

## Definitions

### `app.rocksky.artist.getArtistTracks`

**Type**: `query`

Get artist's tracks

#### Parameters

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `uri` | `string` (at-uri) | No | The URI of the artist to retrieve albums from |
| `limit` | `integer` | No | The maximum number of tracks to return |
| `offset` | `integer` | No | The offset for pagination |

#### Output

**Encoding**: `application/json`

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

## Raw Schema

```json
{
  "id": "app.rocksky.artist.getArtistTracks",
  "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",
        "properties": {
          "uri": {
            "type": "string",
            "format": "at-uri",
            "description": "The URI of the artist to retrieve albums from"
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "description": "The maximum number of tracks to return"
          },
          "offset": {
            "type": "integer",
            "minimum": 0,
            "description": "The offset for pagination"
          }
        }
      },
      "description": "Get artist's tracks"
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
