Client camera with the integrated Agent software. Add a camera
Adding a camera agent
Permission - camera-agents
Possible values for the status field:
activated - device added and activated by user
After sending an activation request, the agent changes its status to activating and a temporary camera (blank) is created that stores all the necessary information for further creation. After the VMS service receives a successful push to activate the agent, its status changes to activated and a request is automatically sent to add a camera with the data stored in the temporary camera.
{
"name": "camera_agent_1",
"mac": "08:13:c0:00:00:82",
"serial_number": "serial_number"
}
POST /api/v1/camera-agents |
Parameters
string
name, Device name
string
mac, Mac address of the device.
string
serial_number, Device serial number.
200 |
Returns the camera agent object
JSON
|
401 |
Authorization token not sent or not valid |
422 |
Returns a JSON object with an error.
JSON
|