{ "opencollection": "1.0.0", "info": { "name": "Screendoor Files Labels API", "version": "1" }, "request": { "auth": { "type": "apikey", "key": "api_key", "value": "{{api_key}}", "placement": "query" } }, "items": [ { "info": { "name": "Labels", "type": "folder" }, "items": [ { "info": { "name": "List labels", "type": "http" }, "http": { "method": "GET", "url": "https://screendoor.dobt.co/api/projects/:project_id/labels", "params": [ { "name": "project_id", "value": "", "type": "path", "description": "The id of the project." } ] }, "docs": "Returns the labels defined for a project." }, { "info": { "name": "Create a label", "type": "http" }, "http": { "method": "POST", "url": "https://screendoor.dobt.co/api/projects/:project_id/labels", "params": [ { "name": "project_id", "value": "", "type": "path", "description": "The id of the project." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Creates a new label for the project." }, { "info": { "name": "Retrieve a label", "type": "http" }, "http": { "method": "GET", "url": "https://screendoor.dobt.co/api/projects/:project_id/labels/:name", "params": [ { "name": "project_id", "value": "", "type": "path", "description": "The id of the project." }, { "name": "name", "value": "", "type": "path", "description": "The name of the resource (URL-encoded)." } ] }, "docs": "Returns a single label by name." }, { "info": { "name": "Update a label", "type": "http" }, "http": { "method": "PUT", "url": "https://screendoor.dobt.co/api/projects/:project_id/labels/:name", "params": [ { "name": "project_id", "value": "", "type": "path", "description": "The id of the project." }, { "name": "name", "value": "", "type": "path", "description": "The name of the resource (URL-encoded)." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Updates the name or color of a label." }, { "info": { "name": "Delete a label", "type": "http" }, "http": { "method": "DELETE", "url": "https://screendoor.dobt.co/api/projects/:project_id/labels/:name", "params": [ { "name": "project_id", "value": "", "type": "path", "description": "The id of the project." }, { "name": "name", "value": "", "type": "path", "description": "The name of the resource (URL-encoded)." } ] }, "docs": "Removes a label from the project." } ] } ], "bundled": true }