info: name: Bulk Add Books to Collections type: http seq: 1 http: method: POST url: '{{base_url}}/api/collections/bulk-add-books' auth: inherit body: type: json data: "{\n \"operations\": [\n {\n \"collection_id\": \"{{collectionId1" headers: - key: Content-Type value: application/json - key: Authorization value: Bearer {{authToken docs: "## Bulk Add Books to Collections\n\n Adds multiple books to multiple collections in a single request. Each operation specifies a collection and a list of books to add.\n\n **Method:** POST\n\n **Endpoint:** /api/collections/bulk-add-books\n\n **Authentication:** Bearer token\n\n **Request Body:**\n - `operations` (array): Array of collection-book operations\n - `collection_id` (string): Collection UUID\n - `book_ids` (array): Array of book UUIDs to add to the collection\n\n **Response:**\n - `results` (array): Results for each operation\n - `total` (number): Total number of operations\n - `success` (number): Number of successful operations\n - `failed` (number): Number of failed operations\n\n **Status Codes:**\n - 200: Success (with partial results if some failed)\n - 400: Invalid request data\n - 401: Unauthorized\n - 403: Forbidden\n - 500: Internal server error\n\n **Example:**\n ```json\n {\n \"operations\": [\n {\n \"collection_id\":\ \ \"collection-uuid-1\",\n \"book_ids\": [\"book-1\", \"book-2\"]"