Current User Lectures API

preceding drip content

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

Parameters

Name Description
school_id school_id
course_id course_id
id id

Request

Headers

Accept: application/json

Route

GET /v1/137/current_user/courses/87/lectures/27/continue

Query Parameters

{}: 

cURL

curl "http://localhost:3000/v1/137/current_user/courses/87/lectures/27/continue" -X GET \
	-H "Accept: application/json" \
	-H "Content-Type: application/json" \
	-H "Client-Token: mobile" \
	-H "Sso-Token: nfXb_W3ysmuSnLKhLqUf" \
	-H "Host: api.worksonmy.computer"

Response

Headers

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

Status

200 OK

Body

{
  "enrollment": {
    "id": 13,
    "course_id": 87,
    "user_id": 270,
    "created_at": "2019-10-31T22:00:34Z",
    "updated_at": "2019-10-31T22:00:34Z",
    "enrolled_at": "2019-10-31T22:00:34Z",
    "is_active": true,
    "has_full_access": false,
    "percent_complete": 50,
    "completed_at": null,
    "completed_lecture_ids": [
      27
    ],
    "responses": [

    ]
  },
  "next_lecture_id": 28
}