{ "opencollection": "1.0.0", "info": { "name": "Skilljar Assets Courses > Lessons API", "version": "1.0.0" }, "items": [ { "info": { "name": "Courses > Lessons", "type": "folder" }, "items": [ { "info": { "name": "lessons_list", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/v1/lessons", "params": [ { "name": "course_id", "value": "", "type": "query" }, { "name": "page", "value": "", "type": "query", "description": "A page number within the paginated result set." }, { "name": "page_size", "value": "", "type": "query", "description": "Number of results to return per page." } ], "auth": { "type": "basic", "username": "{{username}}", "password": "{{password}}" } }, "docs": "List all lessons within a specific course.\n\nReturns a paginated list of lessons for the given course. The `course_id` query parameter is required." }, { "info": { "name": "lessons_create", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/v1/lessons", "body": { "type": "json", "data": "{}" }, "auth": { "type": "basic", "username": "{{username}}", "password": "{{password}}" } }, "docs": "Create a new lesson within a course.\n\nAllows you to add a new lesson to a course.\nThe lesson type and required fields depend on the lesson's content type." }, { "info": { "name": "lessons_retrieve", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/v1/lessons/:lesson_id", "params": [ { "name": "lesson_id", "value": "", "type": "path" } ], "auth": { "type": "basic", "username": "{{username}}", "password": "{{password}}" } }, "docs": "Retrieve details for a specific lesson.\n\nReturns all available information about the lesson, including its type, content, and metadata." }, { "info": { "name": "lessons_update", "type": "http" }, "http": { "method": "PUT", "url": "{{baseUrl}}/v1/lessons/:lesson_id", "params": [ { "name": "lesson_id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "basic", "username": "{{username}}", "password": "{{password}}" } }, "docs": "Update an existing lesson.\n\nAllows you to modify lesson details. Both PUT and PATCH requests perform partial updates." }, { "info": { "name": "lessons_partial_update", "type": "http" }, "http": { "method": "PATCH", "url": "{{baseUrl}}/v1/lessons/:lesson_id", "params": [ { "name": "lesson_id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "basic", "username": "{{username}}", "password": "{{password}}" } }, "docs": "Partially update an existing lesson.\n\nAllows you to modify one or more fields of a lesson. Both PUT and PATCH requests perform partial updates." }, { "info": { "name": "lessons_destroy", "type": "http" }, "http": { "method": "DELETE", "url": "{{baseUrl}}/v1/lessons/:lesson_id", "params": [ { "name": "lesson_id", "value": "", "type": "path" } ], "auth": { "type": "basic", "username": "{{username}}", "password": "{{password}}" } }, "docs": "Delete a lesson from a course.\n\nPermanently removes the lesson and its associated content from the course." } ] } ], "bundled": true }