info:
  name: Get Book Collections
  type: http
  seq: 12

http:
  method: GET
  url: "{{base_url}}/api/collections/books"
  body:
    type: json
    data: |-
      {
        "collection_id": "{{collection_id}}"
      }
  auth: inherit

settings:
  encodeUrl: true
  timeout: 0
  followRedirects: true
  maxRedirects: 5

docs: |-
  ## Get Book Collections
  
    Retrieves all collections that a specific book belongs to.
  
    **Method:** GET
  
    **Endpoint:** /api/collections/books
  
    **Authentication:** Required (Bearer token)
  
    **Query Parameters:**
    - `book_id` (string, required): Book ID
  
    **Response:**
    - Array of collection objects containing the book
  
    **Status Codes:**
    - 200: Success
    - 400: Invalid request
    - 401: Unauthorized
    - 404: Book not found
