Lectures API

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

Accept: application/json
X-Api-Token: pk2FT5Dhs3jARtnYrHjsyMtb4maRGrzGKg
X-Api-Email: user-11@example.com

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

Content-Type: application/json; charset=utf-8
Content-Length: 15

Status

200 OK

Body

{
  "lectures": [

  ]
}