Fetch Lessons

Returns a list of all lessons for a given course

GET {{BASE_URL}}/api/courses/{course_id}/lessons

Path Parameters

Name
Type
Description

course_id

integer

ID of the course

Headers

Name
Type
Description

Authentication

string

Authentication token to track down who is emptying our stocks.

{
  "status": 200,
  "response_code": 0,
  "success": true,
  "errors": [],
  "message": "Lessons retrieved successfully",
  "data": [
    {
      "id": 123,
      "course_id": 45,
      "title": "Introduction to Financial Planning",
      "slide_type": "video",
      "content": "https://youtube.com/watch?v=example",
      "image": "data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQ...",
      "learning_outcomes": [
        "Understand basic financial concepts"
      ],
      "completed": false,
      "status": "not_started"
    },
    {
      "id": 124,
      "course_id": 45,
      "title": "Creating Your Budget",
      "slide_type": "document",
      "content": "UERGLTEuNA0KJcOkw4zDqcS9...",
      "image": "data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQ...",
      "learning_outcomes": [
        "Create a personal budget"
      ],
      "completed": true,
      "status": "completed"
    }
  ]
}

Last updated

Was this helpful?