Files
bookhoard/docs/developer/api/book-matching/get_unlinked_books.md
T
john-okeefe b44e4e4709 docs: remove Phase X placeholders from API documentation
Clean up API documentation files by removing Phase X references:

Remove 'API Explorer will be inserted here in Phase X' placeholders from:
- 70+ API endpoint documentation files
- Authentication endpoints (login, logout, register, refresh)
- User endpoints (profile, settings, password)
- Device endpoints (registration, sync, shelves)
- Library endpoints (CRUD, folders, visibility)
- Media endpoints (items, progress, highlights, notes)
- Admin endpoints (users, analytics)
- Sync endpoints (Kobo, KOReader)
- OPDS endpoints
- Scanner endpoints
- Queue endpoints

These placeholders were from planning documents and have no meaning
to API consumers. The documentation is now clean and ready for use.
2026-02-13 21:50:44 -05:00

1.3 KiB

Get Unlinked Books

Get all books that haven't been linked to media items yet for a specific device.

Endpoint: GET /api/devices/:deviceId/sync/unlinked-books Auth: Required

Path Parameters

Parameter Type Required Description
deviceId string (UUID) Yes Device UUID

Query Parameters

Parameter Type Required Description
limit integer No Maximum number of items to return (default: 50)
offset integer No Number of items to skip (default: 0)

Request Headers

Header Type Required Description
Authorization string Yes Bearer token

Example Request

GET /api/devices/550e8400-e29b-41d4-a716-446655440000/sync/unlinked-books?limit=10
Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...

Response (200 OK)

{
  "items": [
    {
      "id": "uuid",
      "file_name": "book.epub",
      "file_path": "/path/to/book.epub",
      "size_bytes": 1234567,
      "modified_at": "2026-02-08T10:00:00Z"
    }
  ],
  "total": 15,
  "limit": 10,
  "offset": 0
}

Error Responses

Code Description
401 Invalid or expired token
404 Device not found