Lectures
You can create , update , delete lectures that exists in classrooms using our api.
Create a new lecture
{Tenant endpoint}/lectures
type :
headers
Name |
required |
type |
description |
referer
|
YES
|
string
|
The root of the application that is sending the request
(your
website at jusoorlabs.com)
|
accept
|
YES
|
string
|
the basic accept header (always send it as application/json)
|
token
|
YES
|
string
|
The token provided to you once you've registerd with
Jusoor Labs API.
|
parameters
Name |
required |
type |
description |
name
|
YES
|
string
|
The name of the lecture to be created.
|
classroom_id
|
YES
|
integer
|
Id of the classroom that this lecture belongs to.
|
Get specific lecture
{Tenant endpoint}/lectures/{lecture_id}
type :
headers
Name |
required |
type |
description |
referer
|
YES
|
string
|
The root of the application that is sending the request
(your
website at jusoorlabs.com)
|
accept
|
YES
|
string
|
the basic accept header (always send it as application/json)
|
token
|
YES
|
string
|
The token provided to you once you've registerd with
Jusoor Labs API.
|
parameters
Name |
required |
type |
description |
lecture_id
|
YES
|
Integer
|
the id of the desired lecture to get (send in the url not in the body of the
request).
|
Update a lecture
{Tenant endpoint}/lectures/{lecture_id}
type : or (if you send data as form data)
headers
Name |
required |
type |
description |
referer
|
YES
|
string
|
The root of the application that is sending the request
(your
website at jusoorlabs.com)
|
accept
|
YES
|
string
|
the basic accept header (always send it as application/json)
|
token
|
YES
|
string
|
The token provided to you once you've registerd with
Jusoor Labs API.
|
parameters
Name |
required |
type |
description |
lecture_id
|
YES
|
Integer
|
the id of the desired lecture to get (send in the url not in the body of the
request).
|
name
|
YES
|
string
|
the name of the lecture to be created.
|
Delete a lecture
{Tenant endpoint}/lectures/{lecture_id}
type :
headers
Name |
required |
type |
description |
referer
|
YES
|
string
|
The root of the application that is sending the request
(your
website at jusoorlabs.com)
|
accept
|
YES
|
string
|
the basic accept header (always send it as application/json)
|
token
|
YES
|
string
|
The token provided to you once you've registerd with
Jusoor Labs API.
|
parameters
Name |
required |
type |
description |
lecture_id
|
YES
|
Integer
|
the id of the desired lecture to get (send in the url not in the body of the
request).
|