info:
  name: Bookhoard Sync Queue API
  type: collection
  seq: 1
http:
  method: GET
  url: '"http://localhost:8765/api"'

docs: |-
  ## Bookhoard Sync Queue API
  
    Collection of endpoints for managing the synchronization queue that handles
    background processing of sync operations between devices and the server.
  
    **Base URL:** http://localhost:8765/api
  
    **Authentication:** Bearer token required for most endpoints
  
    **Endpoints:**
    - Queue item management (create, process, retry, delete)
    - Queue statistics and monitoring
    - Device-specific queue operations
    - Filtering by type (highlights, notes, bookmarks, progress)
    - Filtering by status (pending, completed, failed)
    - Bulk operations (clear device queue, clear failed items)
  
    **Queue Item Types:**
    - `highlight`: Highlight synchronization
    - `note`: Note synchronization
    - `bookmark`: Bookmark synchronization
    - `progress`: Reading progress synchronization
  
    **Queue Status Values:**
    - `pending`: Awaiting processing
    - `processing`: Currently being processed
    - `completed`: Successfully processed
    - `failed`: Processing failed (retryable)
    - `cancelled`: Item was cancelled
