Record a video clip from the camera. Is this still used in the client?
POST /network/{NetworkID}/camera/{CameraID}/clip
- TOKEN-AUTH - session auth token
A command object. See example. This call is asynchronous and is monitored by the Command Status API call using the returned Command Id.
curl --request POST \
--url https://rest-prod.immedia-semi.com/network/1234/camera/123456/clip \
--header 'token-auth: {Auth-Token}'
200 OK
{
"id": 1234567890,
"created_at": "2020-08-23T11:29:35+00:00",
"updated_at": "2020-08-23T11:29:35+00:00",
"execute_time": "2020-08-23T11:29:35+00:00",
"command": "clip",
"state_stage": "rest",
"stage_rest": "2020-08-23T11:29:35+00:00",
"stage_cs_db": null,
"stage_cs_sent": null,
"stage_sm": null,
"stage_dev": null,
"stage_is": null,
"stage_lv": null,
"stage_vs": null,
"state_condition": "new",
"sm_ack": null,
"lfr_ack": null,
"sequence": null,
"attempts": 0,
"transaction": "aTransactionID",
"player_transaction": "aPlayerTransactinoId",
"server": null,
"duration": null,
"by_whom": " - 6.0.13 (8528) #df463ac0",
"diagnostic": false,
"debug": "",
"opts_1": 0,
"target": null,
"target_id": null,
"parent_command_id": null,
"camera_id": 123456,
"siren_id": null,
"firmware_id": null,
"network_id": 1234,
"account_id": 1234,
"sync_module_id": 123456
}