Includes FastAPI application with device authentication, Docker configuration, Bruno API tests, and git-based deployment scripts for Unraid. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
31 lines
556 B
Plaintext
31 lines
556 B
Plaintext
meta {
|
|
name: Config - Authorized Device
|
|
type: http
|
|
seq: 2
|
|
}
|
|
|
|
get {
|
|
url: {{baseUrl}}/api/v1/config
|
|
body: none
|
|
auth: none
|
|
}
|
|
|
|
headers {
|
|
X-Password: 1
|
|
}
|
|
|
|
assert {
|
|
res.status: eq 200
|
|
res.body.authorized: eq true
|
|
res.body.config.url: isDefined
|
|
res.body.config.username: isDefined
|
|
res.body.config.password: isDefined
|
|
}
|
|
|
|
docs {
|
|
Get configuration for an authorized password.
|
|
|
|
This request uses password "1" which is in the authorized_devices.json list.
|
|
Expected response includes full configuration with url, username, and password.
|
|
}
|