{ "opencollection": "1.0.0", "info": { "name": "Skilljar Assets Labels API", "version": "1.0.0" }, "items": [ { "info": { "name": "Labels", "type": "folder" }, "items": [ { "info": { "name": "labels_list", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/v1/labels", "params": [ { "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 labels.\n\nReturns a paginated list of labels available in your organization." }, { "info": { "name": "labels_create", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/v1/labels", "body": { "type": "json", "data": "{}" }, "auth": { "type": "basic", "username": "{{username}}", "password": "{{password}}" } }, "docs": "Create a new label.\n\nUse this endpoint to add a label to your organization. Labels help categorize and organize resources." }, { "info": { "name": "labels_retrieve", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/v1/labels/:label_id", "params": [ { "name": "label_id", "value": "", "type": "path" } ], "auth": { "type": "basic", "username": "{{username}}", "password": "{{password}}" } }, "docs": "Retrieve details for a specific label.\n\nReturns the label's unique identifier and name." }, { "info": { "name": "labels_update", "type": "http" }, "http": { "method": "PUT", "url": "{{baseUrl}}/v1/labels/:label_id", "params": [ { "name": "label_id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "basic", "username": "{{username}}", "password": "{{password}}" } }, "docs": "Update label details.\n\nModify the name or properties of an existing label. Both PUT and PATCH perform partial updates." }, { "info": { "name": "labels_partial_update", "type": "http" }, "http": { "method": "PATCH", "url": "{{baseUrl}}/v1/labels/:label_id", "params": [ { "name": "label_id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "basic", "username": "{{username}}", "password": "{{password}}" } }, "docs": "Update label details.\n\nModify the name or properties of an existing label. Both PUT and PATCH perform partial updates." }, { "info": { "name": "labels_destroy", "type": "http" }, "http": { "method": "DELETE", "url": "{{baseUrl}}/v1/labels/:label_id", "params": [ { "name": "label_id", "value": "", "type": "path" } ], "auth": { "type": "basic", "username": "{{username}}", "password": "{{password}}" } }, "docs": "Delete a label.\n\nPermanently removes the label from your organization. This action cannot be undone." } ] } ], "bundled": true }