Change Status of Recorded Class
This API call is to enable or disable recorded videos. It is just a flag to mark the recording as enabled or not. Based on this, customers can build their logic to list recordings in their page.
Method : POST
Base URL : https://api.braincert.com
API Endpoint : /v2/changestatusrecording?apikey=YOUR_API_KEY_HERE
All requests are POST
and sent to https://api.braincert.com/v2/changestatusrecording?apikey=YOUR_API_KEY_HERE You will retrieve results assuming you have added your appKey, and require parameter.
Request parameters
Parameter | Type | Description | Example |
id | required | Class recording id | 10 |
format | optional | Response data format | xml for XML response, default JSON response |
Response XML Example
https://api.braincert.com/v2/changestatusrecording?apikey=WbMlO5sAx1fmV&format=xmlSuccess Response
<xml >
<rsp status="ok">
<method>changestatusrecording</method>
<record_id>123</record_id>
</rsp>
</xml>
Error Response
<rsp status="error">
<errors> error </errors>
</rsp>
Response JSON Example
https://api.braincert.com/v2/changestatusrecording?apikey=WbMlO5sAx1fmVSuccess Response
[{
"status":"ok",
"method":"changestatusrecording",
"record_id":"20"
}]
Error Response
[{
"status":"error",
"error":"Invalid API KEY"
}]