# buzz.bookhive.getPersonalBook

> Get a single book from the authenticated user's personal library.

- Kind: query
- Authority: bookhive.buzz
- Lexicon: 1
- Published by [bookhive.buzz](https://lexicon.garden/identity/did:plc:enu2j5xjlqsjaylv3du4myh4), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:enu2j5xjlqsjaylv3du4myh4/buzz.bookhive.getPersonalBook)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:enu2j5xjlqsjaylv3du4myh4/buzz.bookhive.getPersonalBook/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:enu2j5xjlqsjaylv3du4myh4/buzz.bookhive.getPersonalBook/analytics)

## Query (`buzz.bookhive.getPersonalBook`)

Type: query · GET

### Parameters (query string)

- `contentHash` (string, required): SHA-256 hash of the file content

### Output (application/json)

- `book` (ref, required)
  - Reference: `buzz.bookhive.getPersonalLibrary#personalBookView`

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Get a single book from the authenticated user's personal library.",
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "book": {
              "ref": "buzz.bookhive.getPersonalLibrary#personalBookView",
              "type": "ref"
            }
          },
          "required": [
            "book"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "contentHash": {
            "description": "SHA-256 hash of the file content",
            "type": "string"
          }
        },
        "required": [
          "contentHash"
        ],
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "buzz.bookhive.getPersonalBook",
  "lexicon": 1
}
```
