# app.rocksky.actor.getActorSongs

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

## Definitions

### `app.rocksky.actor.getActorSongs`

**Type**: `query`

Get songs for an actor

#### Parameters

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `did` | `string` (at-identifier) | Yes | The DID or handle of the actor |
| `limit` | `integer` | No | The maximum number of albums to return |
| `offset` | `integer` | No | The offset for pagination |
| `endDate` | `string` (datetime) | No | The end date to filter albums to (ISO 8601 format) |
| `startDate` | `string` (datetime) | No | The start date to filter albums from (ISO 8601 format) |

#### Output

**Encoding**: `application/json`

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

## Raw Schema

```json
{
  "id": "app.rocksky.actor.getActorSongs",
  "defs": {
    "main": {
      "type": "query",
      "output": {
        "schema": {
          "type": "object",
          "properties": {
            "songs": {
              "type": "array",
              "items": {
                "ref": "app.rocksky.song.defs#songViewBasic",
                "type": "ref"
              }
            }
          }
        },
        "encoding": "application/json"
      },
      "parameters": {
        "type": "params",
        "required": [
          "did"
        ],
        "properties": {
          "did": {
            "type": "string",
            "format": "at-identifier",
            "description": "The DID or handle of the actor"
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "description": "The maximum number of albums to return"
          },
          "offset": {
            "type": "integer",
            "minimum": 0,
            "description": "The offset for pagination"
          },
          "endDate": {
            "type": "string",
            "format": "datetime",
            "description": "The end date to filter albums to (ISO 8601 format)"
          },
          "startDate": {
            "type": "string",
            "format": "datetime",
            "description": "The start date to filter albums from (ISO 8601 format)"
          }
        }
      },
      "description": "Get songs for an actor"
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
