Current User Lectures API

with drip content and full access

GET /v1/:school_id/current_user/courses/:course_id/lectures/:id

Parameters

Name Description
school_id school_id
course_id course_id
id id

Request

Headers

Accept: application/json

Route

GET /v1/129/current_user/courses/79/lectures/18

Query Parameters

{}: 

cURL

curl "http://localhost:3000/v1/129/current_user/courses/79/lectures/18" -X GET \
	-H "Accept: application/json" \
	-H "Content-Type: application/json" \
	-H "Client-Token: mobile" \
	-H "Sso-Token: ayfzmY5J87czxaAZWe2V" \
	-H "Host: api.worksonmy.computer"

Response

Headers

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

Status

200 OK

Body

{
  "lecture": {
    "id": 18,
    "name": "Lecture Name 17",
    "is_published": true,
    "position": 1,
    "school_id": 129,
    "course_id": 79,
    "lecture_section_id": 95,
    "created_at": "2019-10-31T22:00:29Z",
    "updated_at": "2019-10-31T22:00:29Z",
    "drip_content": null,
    "attachments": [

    ],
    "primary_attachment": null
  }
}