Documentation updates: - All docs/ files: Update project references - Bruno API collection: Update collection name and tests - Device setup guides: Update all examples - Implementation plan: Update database schema examples - README files: Update project references Part of project rename to Bookhoard.
24 lines
432 B
Plaintext
24 lines
432 B
Plaintext
meta {
|
|
name: "Update System Configuration"
|
|
type: http
|
|
seq: 4
|
|
}
|
|
|
|
put {
|
|
url: {{base_url}}/api/system/config
|
|
body: json({
|
|
"base_url": "https://bookhoard.example.com",
|
|
"opds_base_url": "https://bookhoard.example.com/opds",
|
|
"api_base_url": "https://bookhoard.example.com/api"
|
|
})
|
|
auth: {
|
|
type: bearer
|
|
bearer: {{admin_token}}
|
|
}
|
|
}
|
|
|
|
assert {
|
|
response.status == 200
|
|
response.body.status == "success"
|
|
}
|