{ "opencollection": "1.0.0", "info": { "name": "Skilljar Assets Courses > Labels API", "version": "1.0.0" }, "items": [ { "info": { "name": "Courses > Labels", "type": "folder" }, "items": [ { "info": { "name": "courses_labels_list", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/v1/courses/:course_id/labels", "params": [ { "name": "course_id", "value": "", "type": "path" }, { "name": "page", "value": "", "type": "query", "description": "A page number within the paginated result set." } ], "auth": { "type": "basic", "username": "{{username}}", "password": "{{password}}" } }, "docs": "List all labels associated with a course.\n\nReturns a paginated list of label associations for the specified course." }, { "info": { "name": "courses_labels_create", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/v1/courses/:course_id/labels", "params": [ { "name": "course_id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "basic", "username": "{{username}}", "password": "{{password}}" } }, "docs": "Associate a label with a course.\n\nCreates a new association between the specified label and course." }, { "info": { "name": "courses_labels_retrieve", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/v1/courses/:course_id/labels/:label_id", "params": [ { "name": "course_id", "value": "", "type": "path" }, { "name": "label_id", "value": "", "type": "path" } ], "auth": { "type": "basic", "username": "{{username}}", "password": "{{password}}" } }, "docs": "Retrieve a label association for a course.\n\nReturns details for the label association identified by `label_id` for the given course." }, { "info": { "name": "courses_labels_destroy", "type": "http" }, "http": { "method": "DELETE", "url": "{{baseUrl}}/v1/courses/:course_id/labels/:label_id", "params": [ { "name": "course_id", "value": "", "type": "path" }, { "name": "label_id", "value": "", "type": "path" } ], "auth": { "type": "basic", "username": "{{username}}", "password": "{{password}}" } }, "docs": "Remove a label association from a course.\n\nDeletes the association between the specified label and course." } ] } ], "bundled": true }