Skip to main content

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

404
{"code":"040001", "name":"RecordingNotFound",
"message":"Active recording not found",
"httpStatusCode":404}

Recording with UUID recordingId not found.

400
{"code":"010001", "name":"InputValidation",
"message":"State should be either'RECORDING' or PAUSED'",
"httpStatusCode":400}

Supplied data was insufficient or incorrect.

 

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.