info:
  name: Get Cover Image
  type: http
  seq: 5
http:
  method: GET
  url: '{{opds_base_url}}/devices/{{device_id}}/cover/{{book_id}}'

docs: |-
  ## Get Cover Image
  
    Retrieves the cover image for a specific book.
  
    **Method:** GET
  
    **Endpoint:** /devices/{device_id}/cover/{book_id}
  
    **Authentication:** Required (Device token or Bearer token)
  
    **Path Parameters:**
    - `device_id` (string): Device ID
    - `book_id` (string): Book ID
  
    **Query Parameters:**
    - `width` (integer, optional): Desired width in pixels
    - `height` (integer, optional): Desired height in pixels
    - `quality` (integer, optional): Image quality (1-100, default 85)
  
    **Response:**
    - Binary image file (JPEG or PNG)
  
    **Status Codes:**
    - 200: Success (image file)
    - 401: Unauthorized
    - 404: Book or cover not found
