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>
This commit is contained in:
30
bruno/Config - Authorized Device.bru
Normal file
30
bruno/Config - Authorized Device.bru
Normal file
@@ -0,0 +1,30 @@
|
||||
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.
|
||||
}
|
||||
Reference in New Issue
Block a user