Pause or Resume a Recording
Pauses or resumes an active recording. PUT method accepts an object with a state property that indicates the desired state of the recording: PAUSED or RECORDING.
Authorizations: Recordings - RECORD
Requests
PUT /apis/recordings/:recordingId
{
"state": "PAUSED"
}
Response
Success
{
"data": {
"id": "bea38704-ef95-4330-9f77-ad52a2c5a8b3",
"session": "ad0eff6f-12b3-4622-893e-a5586046ab82",
"username": "haiadmin",
"state": "PAUSED",
"duration": 1196.283,
"recorders": [
{
"source": "323e1db5-5bb4-4988-85fc-b07605b365c8",
"chunk": "asset-chunk://bea38704-ef95-4330-9f77-ad52a2c5a8b3/3/0/0",
"id": "7"
},
{
"source": "54fde7cd-c734-470e-b188-5d60def4f63a",
"chunk": "asset-chunk://bea38704-ef95-4330-9f77-ad52a2c5a8b3/4/0/0",
"id": "8"
}
],
"ctime": 1399407563,
"title": "InfoDevSession - 06/05/2014, 15:26"
}
}
Error
Code | Payload | Description |
---|---|---|
|
| Recording with UUID |
|
| Supplied data was insufficient or incorrect. |