- Convert all existing .bru files from JSON to Bruno DSL format - Remove obsolete files (conflicts/api.bru, kobo/Kobo Initialization.bru) - Update auth configuration to use 'inherit' instead of explicit bearer tokens - Add comprehensive documentation to all test files - Improve test scripts with proper assertions and error handling
23 lines
278 B
Plaintext
23 lines
278 B
Plaintext
meta {
|
|
name: Add Books to Collection
|
|
type: http
|
|
seq: 6
|
|
}
|
|
|
|
post {
|
|
url: {{base_url}}/api/collections/{{collection_id}}/books
|
|
body: json
|
|
auth: inherit
|
|
}
|
|
|
|
|
|
body:json {
|
|
{
|
|
"book_ids": [
|
|
"{{book_id_1}}",
|
|
"{{book_id_2}}",
|
|
"{{book_id_3}}"
|
|
]
|
|
}
|
|
}
|