info:
  name: Add Books to Collection
  type: http
  seq: 6
http:
  method: POST
  url: '{{base_url}}/api/collections/{{collection_id}}/books'
  auth: inherit
  body:
    type: json
    jsonBody: "{\n    \"book_ids\": [\n      \"{{book_id_1}}"

docs: |-
  ## Add Books to Collection
  
    Adds multiple books to an existing collection.
    
    **Method:** POST
    
    **Endpoint:** /api/collections/{collection_id}/books
    
    **Authentication:** Required (Bearer token)
    
    **Path Parameters:**
    - `collection_id` (string): Collection ID
    
    **Request Body:**
    - `book_ids` (array of strings, required): List of book IDs to add
    
    **Response:**
    - `message` (string): Success message
    - `added_count` (integer): Number of books added
    
    **Status Codes:**
    - 200: Success
    - 400: Invalid request
    - 401: Unauthorized
    - 404: Collection not found
