Backend resource · STATIC DECLARATIONS
Camera Actions API reference · mansoq-teleicu-devices
Static source contract for Camera Actions: 6 declared or inherited operation mappings, schema/field evidence and authorization/refusal references. Deployment and behavioral review remain explicit.
Static API contract — behavior review pending. Source baseline f6e9f05f76d4.
Enable JavaScript to inspect structured operation, parameter, schema and permission evidence. Download this reference and its evidence.
Declared route and availability
This resource is declared in mansoq-teleicu-devices at /api/{installed_plugin_prefix}/actions/. plugin/local mount; actual prefix and enablement require deployment verification A registered path and an indexed handler do not prove deployment availability, user permission or production readiness.
Operation map
| Method | Path | Action | Evidence |
|---|---|---|---|
| GET | /api/{installed_plugin_prefix}/actions/{external_id}/get_status/ |
get_status | @action declaration |
| GET | /api/{installed_plugin_prefix}/actions/{external_id}/get_presets/ |
get_presets | @action declaration |
| POST | /api/{installed_plugin_prefix}/actions/{external_id}/goto_preset/ |
goto_preset | @action declaration |
| POST | /api/{installed_plugin_prefix}/actions/{external_id}/absolute_move/ |
absolute_move | @action declaration |
| POST | /api/{installed_plugin_prefix}/actions/{external_id}/relative_move/ |
relative_move | @action declaration |
| GET | /api/{installed_plugin_prefix}/actions/{external_id}/stream_token/ |
stream_token | @action declaration |
get_status · GET
GET /api/{installed_plugin_prefix}/actions/{external_id}/get_status/ — action get_status. static contract extracted; runtime/permission/payload behavior review pending.
Path and deployment-context parameters:
| Location | Parameter | Type | Required |
|---|---|---|---|
| deployment mount | installed_plugin_prefix | deployment-selected mount prefix | true |
| path | external_id | router lookup string; semantic ID validation requires handler/schema review | true |
Observed authorization checks: can_view_camera_stream. Helper/queryset evidence is included; this is not proof of complete security review.
Declared refusal/error evidence: PermissionDenied: You do not have permission to view video stream; ValidationError (dynamic detail; inspect source); ValidationError: Gateway not found.
get_presets · GET
GET /api/{installed_plugin_prefix}/actions/{external_id}/get_presets/ — action get_presets. static contract extracted; runtime/permission/payload behavior review pending.
Path and deployment-context parameters:
| Location | Parameter | Type | Required |
|---|---|---|---|
| deployment mount | installed_plugin_prefix | deployment-selected mount prefix | true |
| path | external_id | router lookup string; semantic ID validation requires handler/schema review | true |
Observed authorization checks: can_view_camera_stream. Helper/queryset evidence is included; this is not proof of complete security review.
Declared refusal/error evidence: PermissionDenied: You do not have permission to view video stream; ValidationError (dynamic detail; inspect source); ValidationError: Gateway not found.
goto_preset · POST
POST /api/{installed_plugin_prefix}/actions/{external_id}/goto_preset/ — action goto_preset. static contract extracted; runtime/permission/payload behavior review pending.
Path and deployment-context parameters:
| Location | Parameter | Type | Required |
|---|---|---|---|
| deployment mount | installed_plugin_prefix | deployment-selected mount prefix | true |
| path | external_id | router lookup string; semantic ID validation requires handler/schema review | true |
decorator request: GotoPresetRequestSpec. Declared fields below; inherited fields are retained in the schema inventory.
| Field | Type | Required | Constraints |
|---|---|---|---|
| preset | int | None | true | No extra constraint extracted |
Observed authorization checks: can_control_camera_ptz. Helper/queryset evidence is included; this is not proof of complete security review.
Declared refusal/error evidence: PermissionDenied: You do not have permission to control device; ValidationError (dynamic detail; inspect source); ValidationError: Gateway not found.
absolute_move · POST
POST /api/{installed_plugin_prefix}/actions/{external_id}/absolute_move/ — action absolute_move. static contract extracted; runtime/permission/payload behavior review pending.
Path and deployment-context parameters:
| Location | Parameter | Type | Required |
|---|---|---|---|
| deployment mount | installed_plugin_prefix | deployment-selected mount prefix | true |
| path | external_id | router lookup string; semantic ID validation requires handler/schema review | true |
decorator request: PTZPayloadSpec. Declared fields below; inherited fields are retained in the schema inventory.
| Field | Type | Required | Constraints |
|---|---|---|---|
| x | float | true | No extra constraint extracted |
| y | float | true | No extra constraint extracted |
| zoom | float | true | No extra constraint extracted |
Observed authorization checks: can_control_camera_ptz. Helper/queryset evidence is included; this is not proof of complete security review.
Declared refusal/error evidence: PermissionDenied: You do not have permission to control device; ValidationError (dynamic detail; inspect source); ValidationError: Gateway not found.
relative_move · POST
POST /api/{installed_plugin_prefix}/actions/{external_id}/relative_move/ — action relative_move. static contract extracted; runtime/permission/payload behavior review pending.
Path and deployment-context parameters:
| Location | Parameter | Type | Required |
|---|---|---|---|
| deployment mount | installed_plugin_prefix | deployment-selected mount prefix | true |
| path | external_id | router lookup string; semantic ID validation requires handler/schema review | true |
decorator request: PTZPayloadSpec. Declared fields below; inherited fields are retained in the schema inventory.
The declared field table is shown at its first occurrence in this reference; this operation links the same schema.
Observed authorization checks: can_control_camera_ptz. Helper/queryset evidence is included; this is not proof of complete security review.
Declared refusal/error evidence: PermissionDenied: You do not have permission to control device; ValidationError (dynamic detail; inspect source); ValidationError: Gateway not found.
stream_token · GET
GET /api/{installed_plugin_prefix}/actions/{external_id}/stream_token/ — action stream_token. static contract extracted; runtime/permission/payload behavior review pending.
Path and deployment-context parameters:
| Location | Parameter | Type | Required |
|---|---|---|---|
| deployment mount | installed_plugin_prefix | deployment-selected mount prefix | true |
| path | external_id | router lookup string; semantic ID validation requires handler/schema review | true |
Observed authorization checks: can_view_camera_stream. Helper/queryset evidence is included; this is not proof of complete security review.
Declared refusal/error evidence: ValidationError (dynamic detail; inspect source); PermissionDenied: You do not have permission to view video stream; ValidationError: Gateway not found.
Integration review checklist
Confirm the installed route and full schema; review authentication, organization/facility scoping, all accepted fields, value-state and date/time semantics, idempotency, pagination, response/exception branches and the allowed correction/reversal workflow. Test positive and negative cases with synthetic data. This source reference does not establish external certification or replace an illustrated user procedure.
Pinned source evidence
Links require access to the private source repository.
- repositories/teleicu/mansoq-teleicu-devices/camera_device/urls.py:10
- repositories/teleicu/mansoq-teleicu-devices/camera_device/viewsets/actions.py:17
- repositories/teleicu/mansoq-teleicu-devices/camera_device/viewsets/actions.py:65
- repositories/teleicu/mansoq-teleicu-devices/camera_device/viewsets/actions.py:52
- repositories/teleicu/mansoq-teleicu-devices/camera_device/viewsets/actions.py:37
- repositories/teleicu/mansoq-teleicu-devices/camera_device/viewsets/actions.py:21
- repositories/teleicu/mansoq-teleicu-devices/camera_device/viewsets/actions.py:73
- repositories/teleicu/mansoq-teleicu-devices/camera_device/viewsets/actions.py:82
- repositories/teleicu/mansoq-teleicu-devices/camera_device/viewsets/actions.py:58
- repositories/teleicu/mansoq-teleicu-devices/camera_device/viewsets/actions.py:13
- repositories/teleicu/mansoq-teleicu-devices/camera_device/viewsets/actions.py:92
- repositories/teleicu/mansoq-teleicu-devices/camera_device/spec.py:52
- repositories/teleicu/mansoq-teleicu-devices/camera_device/viewsets/actions.py:102
- repositories/teleicu/mansoq-teleicu-devices/camera_device/viewsets/actions.py:111