{ "opencollection": "1.0.0", "info": { "name": "Sentry Alerts Metric Alerts API", "version": "0.0.1" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "Metric Alerts", "type": "folder" }, "items": [ { "info": { "name": "Sentry List an organization's metric alert rules", "type": "http" }, "http": { "method": "GET", "url": "https://sentry.io/api/0/organizations/:organization_id_or_slug/alert-rules/", "params": [ { "name": "organization_id_or_slug", "value": "", "type": "path", "description": "The ID or slug of the organization." }, { "name": "cursor", "value": "", "type": "query", "description": "Pagination cursor." } ] }, "docs": "Returns a list of metric alert rules for an organization." }, { "info": { "name": "Sentry Create a metric alert rule for an organization", "type": "http" }, "http": { "method": "POST", "url": "https://sentry.io/api/0/organizations/:organization_id_or_slug/alert-rules/", "params": [ { "name": "organization_id_or_slug", "value": "", "type": "path", "description": "The ID or slug of the organization." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Creates a new metric alert rule for the given organization." }, { "info": { "name": "Sentry Retrieve a metric alert rule for an organization", "type": "http" }, "http": { "method": "GET", "url": "https://sentry.io/api/0/organizations/:organization_id_or_slug/alert-rules/:alert_rule_id/", "params": [ { "name": "organization_id_or_slug", "value": "", "type": "path", "description": "The ID or slug of the organization." }, { "name": "alert_rule_id", "value": "", "type": "path", "description": "The ID of the metric alert rule." } ] }, "docs": "Returns a specific metric alert rule." }, { "info": { "name": "Sentry Update a metric alert rule", "type": "http" }, "http": { "method": "PUT", "url": "https://sentry.io/api/0/organizations/:organization_id_or_slug/alert-rules/:alert_rule_id/", "params": [ { "name": "organization_id_or_slug", "value": "", "type": "path", "description": "The ID or slug of the organization." }, { "name": "alert_rule_id", "value": "", "type": "path", "description": "The ID of the metric alert rule." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Updates a metric alert rule." }, { "info": { "name": "Sentry Delete a metric alert rule", "type": "http" }, "http": { "method": "DELETE", "url": "https://sentry.io/api/0/organizations/:organization_id_or_slug/alert-rules/:alert_rule_id/", "params": [ { "name": "organization_id_or_slug", "value": "", "type": "path", "description": "The ID or slug of the organization." }, { "name": "alert_rule_id", "value": "", "type": "path", "description": "The ID of the metric alert rule." } ] }, "docs": "Deletes a metric alert rule." } ] } ], "bundled": true }