published
GET /api/v1/courses/:course_id/lectures
Parameters
| Name |
Description |
|
course_id
|
couse id
|
|
id
|
id
|
|
id
|
id
|
|
course_id
|
course id
|
|
name
|
name
|
|
is_published
|
publically viewable?
|
|
attachments_attributes
|
attachments attributes
|
Request
Headers
Route
GET /api/v1/courses/7/lectures
Query Parameters
{}:
cURL
curl "http://localhost:3000/api/v1/courses/7/lectures" -X GET \
-H "Accept: application/json" \
-H "X-Api-Token: pk2FT5Dhs3jARtnYrHjsyMtb4maRGrzGKg" \
-H "X-Api-Email: user-11@example.com" \
-H "Content-Type: application/json" \
-H "Host: school.worksonmy.computer"
Response
Headers
Status
200 OK
Body
{
"lectures": [
]
}