Files
subspace-tv/bruno/Config - Authorized Device.bru
Michael Simard 57ad4b0f33 Add subspace-tv FastAPI service with Unraid deployment
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>
2026-01-22 09:22:32 -06:00

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.
}