{ "opencollection": "1.0.0", "info": { "name": "Orb Alerts API", "version": "1.0" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "Alerts", "type": "folder" }, "items": [ { "info": { "name": "List alerts", "type": "http" }, "http": { "method": "GET", "url": "https://api.withorb.com/v1/alerts", "params": [ { "name": "customer_id", "value": "", "type": "query" }, { "name": "subscription_id", "value": "", "type": "query" }, { "name": "cursor", "value": "", "type": "query", "description": "An opaque cursor for the next page of results." }, { "name": "limit", "value": "", "type": "query", "description": "The number of items to return per page (default 20, max 100)." } ] }, "docs": "List alerts" }, { "info": { "name": "Create alert", "type": "http" }, "http": { "method": "POST", "url": "https://api.withorb.com/v1/alerts", "body": { "type": "json", "data": "{}" } }, "docs": "Creates a usage, cost, or credit-balance alert on a customer or subscription." }, { "info": { "name": "Fetch alert", "type": "http" }, "http": { "method": "GET", "url": "https://api.withorb.com/v1/alerts/:alert_id", "params": [ { "name": "alert_id", "value": "", "type": "path" } ] }, "docs": "Fetch alert" }, { "info": { "name": "Enable alert", "type": "http" }, "http": { "method": "POST", "url": "https://api.withorb.com/v1/alerts/:alert_id/enable", "params": [ { "name": "alert_id", "value": "", "type": "path" } ] }, "docs": "Enable alert" }, { "info": { "name": "Disable alert", "type": "http" }, "http": { "method": "POST", "url": "https://api.withorb.com/v1/alerts/:alert_id/disable", "params": [ { "name": "alert_id", "value": "", "type": "path" } ] }, "docs": "Disable alert" } ] } ], "bundled": true }