# List Device Queue Items

List all queue items for a specific device.

**Endpoint**: `GET /api/queue/devices/:device_id/items`
**Auth**: Required

## Path Parameters

| Parameter | Type          | Required | Description |
| --------- | ------------- | -------- | ----------- |
| device_id | string (UUID) | Yes      | Device UUID |

## Query Parameters

| Parameter | Type    | Required | Description                                               |
| --------- | ------- | -------- | --------------------------------------------------------- |
| status    | string  | No       | Filter by status (pending, processing, completed, failed) |
| limit     | integer | No       | Maximum number of items to return (default: 50)           |
| offset    | integer | No       | Number of items to skip (default: 0)                      |

## Request Headers

| Header        | Type   | Required | Description  |
| ------------- | ------ | -------- | ------------ |
| Authorization | string | Yes      | Bearer token |

### Example Request

```http
GET /api/queue/devices/550e8400-e29b-41d4-a716-446655440000/items?status=pending&limit=10
Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...
```

## Response (200 OK)

```json
{
  "items": [
    {
      "id": "uuid",
      "device_id": "device-uuid",
      "media_item_id": "book-uuid",
      "operation": "sync_progress",
      "status": "pending",
      "created_at": "2026-02-08T10:00:00Z",
      "updated_at": "2026-02-08T10:00:00Z"
    }
  ],
  "total": 8,
  "limit": 10,
  "offset": 0
}
```

## Error Responses

| Code | Description              |
| ---- | ------------------------ |
| 401  | Invalid or expired token |
| 404  | Device not found         |
