info:
  name: Get Collections
  type: http
  seq: 2
http:
  method: GET
  url: '{{base_url}}/api/collections?include_auto=true&sort_by=name'
  auth: inherit

docs: |-
  ## Get Collections
  
    Retrieves all collections for the authenticated user.
    
    **Method:** GET
    
    **Endpoint:** /api/collections
    
    **Authentication:** Required (Bearer token)
    
    **Query Parameters:**
    - `include_auto` (boolean, optional): Include auto-created collections (default false)
    - `sort_by` (string, optional): Sort field (name, created_at, book_count)
    - `order` (string, optional): Sort order (asc, desc)
    
    **Response:**
    - Array of collection objects
    
    **Status Codes:**
    - 200: Success
    - 401: Unauthorized
