{ "opencollection": "1.0.0", "info": { "name": "Skilljar Assets Domains > Published Courses > Prerequisites API", "version": "1.0.0" }, "items": [ { "info": { "name": "Domains > Published Courses > Prerequisites", "type": "folder" }, "items": [ { "info": { "name": "domains_published_courses_published_course_prerequisites_list", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/v1/domains/:domain_name/published-courses/:published_course_id/published-course-prerequisites", "params": [ { "name": "domain_name", "value": "", "type": "path" }, { "name": "page", "value": "", "type": "query", "description": "A page number within the paginated result set." }, { "name": "published_course_id", "value": "", "type": "path" } ], "auth": { "type": "basic", "username": "{{username}}", "password": "{{password}}" } }, "docs": "Retrieve a paginated list of prerequisites for a PublishedCourse belonging to your organization." }, { "info": { "name": "domains_published_courses_published_course_prerequisites_create", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/v1/domains/:domain_name/published-courses/:published_course_id/published-course-prerequisites", "params": [ { "name": "domain_name", "value": "", "type": "path" }, { "name": "published_course_id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "basic", "username": "{{username}}", "password": "{{password}}" } }, "docs": "Link a prerequisite course to a PublishedCourse.\n\nReturns a `201 Created` response on success." }, { "info": { "name": "domains_published_courses_published_course_prerequisites_destroy", "type": "http" }, "http": { "method": "DELETE", "url": "{{baseUrl}}/v1/domains/:domain_name/published-courses/:published_course_id/published-course-prerequisites/:prerequisite_published_course_id", "params": [ { "name": "domain_name", "value": "", "type": "path" }, { "name": "prerequisite_published_course_id", "value": "", "type": "path" }, { "name": "published_course_id", "value": "", "type": "path" } ], "auth": { "type": "basic", "username": "{{username}}", "password": "{{password}}" } }, "docs": "Unlink a prerequisite from a PublishedCourse. Returns a `204 No Content` response on success." } ] } ], "bundled": true }