Skip to main content

Camera Management

Camera management spans three controllers that handle direct camera operations, public-facing configuration, and access control relationships.

Axis Camera Operations​

The AxisCameraController provides direct communication with Axis cameras through the VAPIXService:

EndpointMethodPurpose
/axiscamera/{deviceId}/statusGETQuery camera system status
/axiscamera/{deviceId}/propertiesGETGet device info (model, firmware, serial)
/axiscamera/{deviceId}/applicationsGETList installed ACAP applications
/axiscamera/{deviceId}/overlayPOSTSet text/image overlay on camera feed
/axiscamera/{deviceId}/overlayDELETERemove overlay
/axiscamera/{deviceId}/overlay/restorePOSTRestore default overlay

Overlay Management​

Overlays are text or image annotations displayed on the camera feed. The API allows administrators to:

  • Set overlay text (e.g., camera name, location)
  • Upload overlay images
  • Restore overlays after camera firmware updates

Frontend Cameras​

The FrontEndCamerasController manages camera configurations that are exposed to the public-facing frontend application:

EndpointMethodPurpose
/frontendcamerasGETList all cameras visible to the frontend
/frontendcameras/{id}GETGet a single camera's public config
/frontendcamerasPUTUpdate frontend-visible properties

This controller surfaces a subset of the full device configuration β€” only properties relevant to the frontend (name, location, thumbnail URL, online status).

User-Agency-Camera Relationships​

The UserAgencyCameraController manages the three-way relationship between users, agencies, and cameras:

EndpointMethodPurpose
/useragencycamera/usersGETList all users
/useragencycamera/agenciesGETList all agencies
/useragencycamera/user/{userId}/camerasGETGet cameras a user can access
/useragencycamera/agency/{agencyId}/camerasGETGet cameras assigned to an agency
/useragencycamera/agency/{agencyId}/camerasPUTAssign cameras to an agency

Access Flow​

  1. Users belong to one or more agencies
  2. Agencies are granted access to specific cameras
  3. A user's effective camera access is the union of all their agency assignments
  4. This model supports scenarios like fire departments, law enforcement, and research institutions each seeing only their relevant cameras