- 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
20 lines
280 B
Plaintext
20 lines
280 B
Plaintext
meta {
|
|
name: Update Device Mapping
|
|
type: http
|
|
seq: 10
|
|
}
|
|
|
|
put {
|
|
url: {{base_url}}/api/devices/{{device_id}}/collections/{{mapping_id}}
|
|
body: json
|
|
auth: inherit
|
|
}
|
|
|
|
|
|
body:json {
|
|
{
|
|
"device_shelf_name": "Science Fiction",
|
|
"sync_direction": "book_to_device"
|
|
}
|
|
}
|