Current User Lectures API

not published

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/128/current_user/courses/78/lectures/17

Query Parameters

{}: 

cURL

curl "http://localhost:3000/v1/128/current_user/courses/78/lectures/17" -X GET \
	-H "Accept: application/json" \
	-H "Content-Type: application/json" \
	-H "Client-Token: mobile" \
	-H "Sso-Token: vsobVkNh1k4N12EyYF2J" \
	-H "Host: api.worksonmy.computer"

Response

Headers

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

Status

401 Unauthorized

Body

{
  "success": false,
  "error": "Unauthorized",
  "status": 401,
  "message": "You can't do that!"
}