# buzz.bookhive.getUserLists

> Published by [bookhive.buzz](https://lexicon.garden/identity/did:plc:enu2j5xjlqsjaylv3du4myh4)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:enu2j5xjlqsjaylv3du4myh4/buzz.bookhive.getUserLists)
- [Documentation](https://lexicon.garden/lexicon/did:plc:enu2j5xjlqsjaylv3du4myh4/buzz.bookhive.getUserLists/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:enu2j5xjlqsjaylv3du4myh4/buzz.bookhive.getUserLists/examples)

## Definitions

### `buzz.bookhive.getUserLists`

**Type**: `query`

Get all book lists for a user.

#### Parameters

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `did` | `string` | Yes | DID of the user whose lists to fetch |

#### Output

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `lists` | `array` | Yes |  |

## Raw Schema

```json
{
  "id": "buzz.bookhive.getUserLists",
  "defs": {
    "main": {
      "type": "query",
      "output": {
        "schema": {
          "type": "object",
          "required": [
            "lists"
          ],
          "properties": {
            "lists": {
              "type": "array",
              "items": {
                "ref": "buzz.bookhive.getList#listView",
                "type": "ref"
              }
            }
          }
        },
        "encoding": "application/json"
      },
      "parameters": {
        "type": "params",
        "required": [
          "did"
        ],
        "properties": {
          "did": {
            "type": "string",
            "description": "DID of the user whose lists to fetch"
          }
        }
      },
      "description": "Get all book lists for a user."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
