- 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
318 B
Plaintext
23 lines
318 B
Plaintext
meta {
|
|
name: Create Device Mapping
|
|
type: http
|
|
seq: 9
|
|
}
|
|
|
|
post {
|
|
url: {{base_url}}/api/devices/{{device_id}}/collections
|
|
body: json
|
|
auth: inherit
|
|
}
|
|
|
|
token: {{token}}
|
|
}
|
|
|
|
body:json {
|
|
{
|
|
"collection_id": "{{collection_id}}",
|
|
"device_shelf_name": "Sci-Fi",
|
|
"sync_direction": "bidirectional"
|
|
}
|
|
}
|