# buzz.bookhive.listSyncDocuments

> List all synced documents for the authenticated user.

- 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.listSyncDocuments)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:enu2j5xjlqsjaylv3du4myh4/buzz.bookhive.listSyncDocuments/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:enu2j5xjlqsjaylv3du4myh4/buzz.bookhive.listSyncDocuments/analytics)

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

Type: query · GET

### Parameters (query string)


### Output (application/json)

- `documents` (array, required)
  - `items` (ref)
    - Reference: `#syncDocumentView`

## #syncDocumentView (`buzz.bookhive.listSyncDocuments#syncDocumentView`)

Type: object

### Properties

- `authors` (string): Authors of the document
- `device` (string, required): Device name that last synced
- `device_id` (string, required): Device identifier that last synced
- `dismissed` (boolean): True when the user marked this document as having no BookHive counterpart
- `documentHash` (string, required): Hash identifying the document
- `filename` (string): Original filename of the document
- `hiveId` (string): Linked BookHive catalog entry ID
- `percentage` (string, required): Reading progress as a decimal string (0-1, e.g. '0.42')
- `progress` (string, required): Reading progress position (KOSync format)
- `timestamp` (integer, required): Unix timestamp of last sync
- `title` (string): Title of the document

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "List all synced documents for the authenticated user.",
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "documents": {
              "items": {
                "ref": "#syncDocumentView",
                "type": "ref"
              },
              "type": "array"
            }
          },
          "required": [
            "documents"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {},
        "type": "params"
      },
      "type": "query"
    },
    "syncDocumentView": {
      "properties": {
        "authors": {
          "description": "Authors of the document",
          "type": "string"
        },
        "device": {
          "description": "Device name that last synced",
          "type": "string"
        },
        "device_id": {
          "description": "Device identifier that last synced",
          "type": "string"
        },
        "dismissed": {
          "description": "True when the user marked this document as having no BookHive counterpart",
          "type": "boolean"
        },
        "documentHash": {
          "description": "Hash identifying the document",
          "type": "string"
        },
        "filename": {
          "description": "Original filename of the document",
          "type": "string"
        },
        "hiveId": {
          "description": "Linked BookHive catalog entry ID",
          "type": "string"
        },
        "percentage": {
          "description": "Reading progress as a decimal string (0-1, e.g. '0.42')",
          "type": "string"
        },
        "progress": {
          "description": "Reading progress position (KOSync format)",
          "type": "string"
        },
        "timestamp": {
          "description": "Unix timestamp of last sync",
          "type": "integer"
        },
        "title": {
          "description": "Title of the document",
          "type": "string"
        }
      },
      "required": [
        "documentHash",
        "progress",
        "percentage",
        "device",
        "device_id",
        "timestamp"
      ],
      "type": "object"
    }
  },
  "id": "buzz.bookhive.listSyncDocuments",
  "lexicon": 1
}
```
