info:
  name: List Queue Items (With Pagination)
  type: http
  seq: 2
http:
  method: GET
  url: '{{base_url}}/queue/items?limit=50&offset=0'
  auth: inherit
  body:
    type: none
runtime:
  scripts:
  - type: tests
    code: "test(\"status must be 200\", function() {\n    expect(res.status).to.eql(200);"

docs: |-
  List items in the sync queue with pagination.
  
    **Endpoint**: GET /queue/items
    **Auth**: Required (Bearer token)
  
    ## Query Parameters
  
    | Parameter | Type | Required | Description |
    |-----------|------|-----------|-------------|
    | limit | int | No | Items per page |
    | offset | int | No | Pagination offset |
  
    ## Response Fields
  
    | Field | Type | Description |
    |-------|------|-------------|
    | items | array | List of queue items |
    | total | int | Total number of items |
    | page | int | Current page number |
    | per_page | int | Items per page |
  
    ## Example Request
  
    ```
    GET /queue/items?limit=50&offset=0
    ```
  
    ## Error Responses
  
    | Code | Description |
    |------|-------------|
    | 401 | Unauthorized |
    | 500 | Internal server error |
  
    ## Notes
  
    - Supports pagination for large queue lists
