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:
28
bruno/Config - Unauthorized Device.bru
Normal file
28
bruno/Config - Unauthorized Device.bru
Normal file
@@ -0,0 +1,28 @@
|
||||
meta {
|
||||
name: Config - Unauthorized Device
|
||||
type: http
|
||||
seq: 3
|
||||
}
|
||||
|
||||
get {
|
||||
url: {{baseUrl}}/api/v1/config
|
||||
body: none
|
||||
auth: none
|
||||
}
|
||||
|
||||
headers {
|
||||
X-Password: invalid-password
|
||||
}
|
||||
|
||||
assert {
|
||||
res.status: eq 200
|
||||
res.body.authorized: eq false
|
||||
res.body.config: isEmpty
|
||||
}
|
||||
|
||||
docs {
|
||||
Get configuration for an unauthorized password.
|
||||
|
||||
This request uses a password that is NOT in the authorized_devices.json list.
|
||||
Expected response shows authorized: false with empty config object.
|
||||
}
|
||||
Reference in New Issue
Block a user