info: name: List Formats type: http seq: 7 http: method: GET url: '{{opds_base_url}}/devices/{{device_id}}/formats/{{book_id}}' docs: |- ## List Formats Lists all available file formats for a specific book. **Method:** GET **Endpoint:** /devices/{device_id}/formats/{book_id} **Authentication:** Required (Device token or Bearer token) **Path Parameters:** - `device_id` (string): Device ID - `book_id` (string): Book ID **Response:** - Array of available formats: - `format` (string): Format identifier (epub, kepub, pdf, etc.) - `file_size` (integer): File size in bytes - `download_url` (string): Download link - `optimized_for` (array): Compatible device types **Status Codes:** - 200: Success - 401: Unauthorized - 404: Book not found