- Move all files from bruno-yaml/* to bruno/* - Maintains existing directory structure within categories - Updates bruno/user/auth files with OAuth2 refresh token flow - Updates bruno/user/profile files for user profile management - Adds bruno/dashboard/ directory with dashboard API tests - Preserves all existing test scenarios and OpenCollection YAML format - No functional changes - file reorganization only
32 lines
998 B
YAML
32 lines
998 B
YAML
info:
|
|
name: Bulk Remove Books - Invalid IDs
|
|
type: http
|
|
seq: 4
|
|
http:
|
|
method: POST
|
|
url: '{{base_url}}/api/collections/{{collection_id}}/books/bulk-remove'
|
|
auth: inherit
|
|
body:
|
|
type: json
|
|
jsonBody: "{\n \"book_ids\": [\n \"{{bookId1"
|
|
headers:
|
|
- key: Content-Type
|
|
value: application/json
|
|
- key: Authorization
|
|
value: Bearer {{authToken
|
|
|
|
docs: |-
|
|
## Bulk Remove Books - Invalid IDs
|
|
|
|
Tests behavior when the book_ids array contains invalid UUID formats or non-existent books.
|
|
|
|
**Expected Result:** 200 OK with partial success
|
|
|
|
**Purpose:** Verifies that:
|
|
- Invalid UUID formats don't crash the endpoint
|
|
- Non-existent book IDs are handled gracefully
|
|
- Valid IDs in the same request are still processed
|
|
- Response includes detailed results showing which succeeded/failed
|
|
|
|
**Note:** The endpoint should process all valid IDs and report failures for invalid ones, allowing clients to handle partial failures appropriately.
|