List Class Recording
Method : POST
Base URL : https://api.braincert.com
API Endpoint : /v2/getclassrecording?apikey=YOUR_API_KEY_HERE
All requests are POST
and sent to https://api.braincert.com/v2/getclassrecording?apikey=YOUR_API_KEY_HERE You will retrieve results assuming you have added your appKey, and require parameter.
Request parameters
Parameter | Type | Description | Example |
class_id | required | Class id | 10 |
format | optional | Response data format | xml for XML response, default JSON response |
search | optional | Class title | string |
Response XML Example
https://api.braincert.com/v2/getclassrecording?apikey=WbMlO5sAx1fmV&format=xmlSuccess Response
<xml>
<classid>21</classid>
<recordclass>
<id>6</id>
<classroom_id>21</classroom_id>
<user_id>43</user_id>
<name>video1369233387010_650002050.webm</name>
<fname/>
<status>1</status>
<date_recorded>2014-12-31</date_recorded>
</recordclass>
</xml>
Error Response
<rsp status="error">
<errors> error </errors>
</rsp>
Response JSON Example
https://api.braincert.com/v2/getclassrecording?apikey=WbMlO5sAx1fmVSuccess Response
[{
"id":"6",
"classroom_id":"52",
"user_id":"0",
"name":"video1369233387010_650002050.webm",
"fname":"",
"status":"1",
"date_recorded":"1969-12-31"
},
{
"id":"8",
"classroom_id":"52",
"user_id":"0",
"name":"video1369231601092_104397168.webm",
"fname":"","status":"0",
"date_recorded":"1969-12-31"
}]
Error Response
[{
"status":"error",
"error":"Invalid API KEY"
}]