info:
  name: KOReader Sync Bookmarks - SHA-256
  type: http
  seq: 3
http:
  method: POST
  url: '{{base_url}}/api/v1/koreader/sync/bookmarks'
  auth: inherit
  body:
    type: json
    jsonBody: "{\n    \"book_sha256\": \"{{book_sha256"
  headers:
  - key: Authorization
    value: Bearer {{koreader_device_token

docs: |-
  ## KOReader Sync Bookmarks - SHA-256
  
    Synchronizes bookmarks, notes, and highlights from KOReader using SHA-256 hash for book identification.
  
    **Method:** POST
  
    **Endpoint:** /api/v1/koreader/sync/bookmarks
  
    **Authentication:** Bearer token (KOReader device token)
  
    **Request Body:**
    - `book_sha256` (string): SHA-256 hash of book file
    - `bookmarks` (array): Array of bookmarks
    - `notes` (array): Array of notes
    - `highlights` (array): Array of highlights
  
    **Response:**
    - `sync_status` (string): Sync status
    - `total_synced` (number): Total items synced
  
    **Status Codes:**
    - 200: Success
    - 401: Unauthorized
    - 500: Internal server error
