info:
  name: Get Device Details
  type: http
  seq: 6

http:
  method: GET
  url: '{{base_url}}/api/devices/{{device_id}}'
  auth: inherit

docs: |-
  ## Get Device Details

  Retrieves detailed information about a specific device.

  **Method:** GET

  **Endpoint:** /api/devices/:device_id

  **Authentication:** Required (Bearer token)

  **Path Parameters:**
  - `device_id` (string): UUID of the device

  **Response:**
  - `id` (string): Device UUID
  - `device_name` (string): Device name
  - `device_type` (string): `kobo`, `koreader`, or `web`
  - `device_identifier` (string): Unique identifier
  - `sync_enabled` (boolean): Sync status
  - `auto_sync` (boolean): Auto-sync setting
  - `sync_frequency_minutes` (integer): Sync interval
  - `last_synced_at` (string): Last sync timestamp
  - `sync_stats` (object): Sync statistics
    - `total_syncs` (integer): Number of successful syncs
    - `last_sync_status` (string): Status of last sync
    - `bytes_synced` (integer): Total data transferred
  - `created_at` (string): Registration timestamp
  - `updated_at` (string): Last update timestamp

  **Status Codes:**
  - 200: Success
  - 401: Unauthorized
  - 403: Forbidden (device belongs to different user)
  - 404: Device not found
