Get Recorded Class Videos

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

ParameterTypeDescriptionExample
class_idrequiredClass id10
formatoptionalResponse data formatxml for XML response, default JSON response
searchoptionalClass titlestring

Response XML Example

https://api.braincert.com/v2/getclassrecording?apikey=WbMlO5sAx1fmV&format=xml

Success 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=WbMlO5sAx1fmV

Success 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"
                }]