{ "opencollection": "1.0.0", "info": { "name": "Buildkite REST AccessToken Rules API", "version": "2.0" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "Rules", "type": "folder" }, "items": [ { "info": { "name": "List rules", "type": "http" }, "http": { "method": "GET", "url": "https://api.buildkite.com/v2/organizations/:org/rules", "params": [ { "name": "org", "value": "", "type": "path", "description": "Organization slug." } ] }, "docs": "List rules" }, { "info": { "name": "Create rule", "type": "http" }, "http": { "method": "POST", "url": "https://api.buildkite.com/v2/organizations/:org/rules", "params": [ { "name": "org", "value": "", "type": "path", "description": "Organization slug." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Create rule" }, { "info": { "name": "Get rule", "type": "http" }, "http": { "method": "GET", "url": "https://api.buildkite.com/v2/organizations/:org/rules/:uuid", "params": [ { "name": "org", "value": "", "type": "path", "description": "Organization slug." }, { "name": "uuid", "value": "", "type": "path" } ] }, "docs": "Get rule" }, { "info": { "name": "Delete rule", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.buildkite.com/v2/organizations/:org/rules/:uuid", "params": [ { "name": "org", "value": "", "type": "path", "description": "Organization slug." }, { "name": "uuid", "value": "", "type": "path" } ] }, "docs": "Delete rule" } ] } ], "bundled": true }