security-cameras.camera.delete
Delete a camera by id. Tenant-scoped.
Input parameters
| Field | Type | Required | Notes |
|---|---|---|---|
id | string | yes |
Output fields
| Field | Type | Required | Notes |
|---|---|---|---|
ok | literal | yes | One of: true |
security-cameras.camera.upsert
Create or update a camera behind a connection. `streamId` is the go2rtc source name. Pass `id` to update, omit to insert.
Input parameters
| Field | Type | Required | Notes |
|---|---|---|---|
id | string | no | |
connectionId | string | yes | |
streamId | string | yes | |
name | string | yes | |
location | string | no | |
sortOrder | integer | no | Default: 0 |
active | boolean | no | Default: true |
Output fields
| Field | Type | Required | Notes |
|---|---|---|---|
id | string | yes |
security-cameras.connection.delete
Delete a go2rtc connection by id. Tenant-scoped. Cascade-deletes the cameras behind it.
Input parameters
| Field | Type | Required | Notes |
|---|---|---|---|
id | string | yes |
Output fields
| Field | Type | Required | Notes |
|---|---|---|---|
ok | literal | yes | One of: true |
security-cameras.connection.upsert
Create or update a go2rtc connection (the property's camera gateway). Pass `id` to update, omit to insert. `credentials` (optional username/password/token) is stored encrypted.
Input parameters
| Field | Type | Required | Notes |
|---|---|---|---|
id | string | no | |
label | string | yes | |
baseUrl | string | yes | |
credentials | object | no | Default: {} |
credentials.username | string | no | |
credentials.password | string | no | |
credentials.token | string | no | |
active | boolean | no | Default: true |
Output fields
| Field | Type | Required | Notes |
|---|---|---|---|
id | string | yes |
security-cameras.list
List security cameras for this tenant (id, name, location, active). Credentials and stream ids are NOT returned — view/edit via the operator settings UI.
Input parameters
Returns object.
Output fields
| Field | Type | Required | Notes |
|---|---|---|---|
cameras | array of object | yes | |
cameras.id | string | yes | |
cameras.name | string | yes | |
cameras.location | string · nullable | yes | |
cameras.active | boolean | yes | |
cameras.connectionId | string | yes |
security-cameras.snapshot
Current still image of one security camera (long side 1568 px) — e.g. to check who is at the entrance. Camera ids from `security-cameras.list`. Owner only; every call is logged in the camera access log. Surveillance image: fetch only for a concrete operational reason. Requires confirmation.
Input parameters
| Field | Type | Required | Notes |
|---|---|---|---|
cameraId | string | yes |
Output fields
| Field | Type | Required | Notes |
|---|---|---|---|
aufgenommenUm | string | yes | |
breite | integer | yes | |
hoehe | integer | yes | |
bild | object | yes | |
bild.data | string | yes | |
bild.mimeType | literal | yes | One of: image/jpeg |
security-cameras.test_connection
Test a stored camera connection (go2rtc): reachable or not, and which stream names it offers. Connection ids from `security-cameras.list`. Returns no credentials. Owner only. Read-only.
Input parameters
| Field | Type | Required | Notes |
|---|---|---|---|
connectionId | string | yes |
Output fields
| Field | Type | Required | Notes |
|---|---|---|---|
ok | boolean | yes | |
streams | array of string | yes | |
error | string | no |