Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 9 additions & 7 deletions docs/openapi/monitoring-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -5187,7 +5187,7 @@
"Invites"
],
"summary": "Resend invite",
"operationId": "resend",
"operationId": "resend_1",
"parameters": [
{
"name": "inviteId",
Expand Down Expand Up @@ -13234,7 +13234,7 @@
"Service Subscriptions"
],
"summary": "Update alert sensitivity for a subscription",
"description": "Controls which external incidents trigger alerts: ALL (any status change), INCIDENTS_ONLY (real vendor incidents, default), MAJOR_ONLY (only DOWN-level incidents).",
"description": "Controls which external incidents trigger alerts and whether they page anyone: ALL (any status change, paged), INCIDENTS_ONLY (real vendor incidents, paged), MAJOR_ONLY (only DOWN-level incidents, paged), AWARENESS (real vendor incidents tracked silently — visible on the dashboard but no alert channels fire; default for new subscriptions).",
"operationId": "updateAlertSensitivity",
"parameters": [
{
Expand Down Expand Up @@ -13357,7 +13357,7 @@
"Service Subscriptions"
],
"summary": "Subscribe to a service or a component of a service",
"description": "Idempotent — returns the existing subscription if an identical one exists. Omit the request body or set componentId to null for a whole-service subscription. Free tier: max 10 subscriptions. Paid tier: unlimited.",
"description": "Idempotent — returns the existing subscription if an identical one exists. Omit the request body or set componentId to null for a whole-service subscription. When alertSensitivity is omitted, new subscriptions default to AWARENESS (silent tracking — the incident appears on the dashboard but no alert channels fire). PATCH /alert-sensitivity to opt in to paging. Free tier: max 10 subscriptions. Paid tier: unlimited.",
"operationId": "subscribe_1",
"parameters": [
{
Expand Down Expand Up @@ -29880,8 +29880,9 @@
"nullable": true
},
"alertSensitivity": {
"pattern": "ALL|AWARENESS|INCIDENTS_ONLY|MAJOR_ONLY",
"type": "string",
"description": "Alert sensitivity level. Defaults to INCIDENTS_ONLY when not provided.",
"description": "Alert sensitivity: ALL (any status change), INCIDENTS_ONLY (real vendor incidents, page on every one), MAJOR_ONLY (only DOWN-level incidents), AWARENESS (track silently — show on dashboard, never send alerts). Defaults to AWARENESS when not provided — silent tracking is the friendliest first-run choice; switch to one of the paging modes to opt in to alert-channel fan-out.",
"nullable": true
}
},
Expand Down Expand Up @@ -29965,9 +29966,10 @@
"alertSensitivity": {
"minLength": 1,
"type": "string",
"description": "Alert sensitivity: ALL (synthetic + real incidents), INCIDENTS_ONLY (real vendor incidents, default), MAJOR_ONLY (real + DOWN severity)",
"description": "Alert sensitivity: ALL (synthetic + real incidents, paged), INCIDENTS_ONLY (real vendor incidents, paged), MAJOR_ONLY (real + DOWN severity, paged), AWARENESS (real vendor incidents tracked silently — visible on dashboard, never paged; default for new subscriptions)",
"enum": [
"ALL",
"AWARENESS",
"INCIDENTS_ONLY",
"MAJOR_ONLY"
]
Expand Down Expand Up @@ -33174,9 +33176,9 @@
"properties": {
"alertSensitivity": {
"minLength": 1,
"pattern": "ALL|INCIDENTS_ONLY|MAJOR_ONLY",
"pattern": "ALL|AWARENESS|INCIDENTS_ONLY|MAJOR_ONLY",
"type": "string",
"description": "Alert sensitivity: ALL (any status change), INCIDENTS_ONLY (real vendor incidents, default), MAJOR_ONLY (only DOWN-level incidents)"
"description": "Alert sensitivity: ALL (any status change), INCIDENTS_ONLY (real vendor incidents, page on every one), MAJOR_ONLY (only DOWN-level incidents), AWARENESS (track silently — show on dashboard, never send alerts; default for new subscriptions)"
}
},
"description": "Request body for updating alert sensitivity on a service subscription"
Expand Down
16 changes: 8 additions & 8 deletions src/lib/api.generated.ts
Original file line number Diff line number Diff line change
Expand Up @@ -618,7 +618,7 @@ export interface paths {
get?: never;
put?: never;
/** Resend invite */
post: operations["resend"];
post: operations["resend_1"];
delete?: never;
options?: never;
head?: never;
Expand Down Expand Up @@ -1521,7 +1521,7 @@ export interface paths {
head?: never;
/**
* Update alert sensitivity for a subscription
* @description Controls which external incidents trigger alerts: ALL (any status change), INCIDENTS_ONLY (real vendor incidents, default), MAJOR_ONLY (only DOWN-level incidents).
* @description Controls which external incidents trigger alerts and whether they page anyone: ALL (any status change, paged), INCIDENTS_ONLY (real vendor incidents, paged), MAJOR_ONLY (only DOWN-level incidents, paged), AWARENESS (real vendor incidents tracked silently — visible on the dashboard but no alert channels fire; default for new subscriptions).
*/
patch: operations["updateAlertSensitivity"];
trace?: never;
Expand All @@ -1537,7 +1537,7 @@ export interface paths {
put?: never;
/**
* Subscribe to a service or a component of a service
* @description Idempotent — returns the existing subscription if an identical one exists. Omit the request body or set componentId to null for a whole-service subscription. Free tier: max 10 subscriptions. Paid tier: unlimited.
* @description Idempotent — returns the existing subscription if an identical one exists. Omit the request body or set componentId to null for a whole-service subscription. When alertSensitivity is omitted, new subscriptions default to AWARENESS (silent tracking — the incident appears on the dashboard but no alert channels fire). PATCH /alert-sensitivity to opt in to paging. Free tier: max 10 subscriptions. Paid tier: unlimited.
*/
post: operations["subscribe_1"];
delete?: never;
Expand Down Expand Up @@ -6081,7 +6081,7 @@ export interface components {
* @description ID of the component to subscribe to. Omit or null for whole-service subscription.
*/
componentId?: string | null;
/** @description Alert sensitivity level. Defaults to INCIDENTS_ONLY when not provided. */
/** @description Alert sensitivity: ALL (any status change), INCIDENTS_ONLY (real vendor incidents, page on every one), MAJOR_ONLY (only DOWN-level incidents), AWARENESS (track silently — show on dashboard, never send alerts). Defaults to AWARENESS when not provided — silent tracking is the friendliest first-run choice; switch to one of the paging modes to opt in to alert-channel fan-out. */
alertSensitivity?: string | null;
};
/** @description An org-level service subscription with current status information */
Expand Down Expand Up @@ -6115,10 +6115,10 @@ export interface components {
componentId?: string | null;
component?: components["schemas"]["ServiceComponentDto"] | null;
/**
* @description Alert sensitivity: ALL (synthetic + real incidents), INCIDENTS_ONLY (real vendor incidents, default), MAJOR_ONLY (real + DOWN severity)
* @description Alert sensitivity: ALL (synthetic + real incidents, paged), INCIDENTS_ONLY (real vendor incidents, paged), MAJOR_ONLY (real + DOWN severity, paged), AWARENESS (real vendor incidents tracked silently — visible on dashboard, never paged; default for new subscriptions)
* @enum {string}
*/
alertSensitivity: "ALL" | "INCIDENTS_ONLY" | "MAJOR_ONLY";
alertSensitivity: "ALL" | "AWARENESS" | "INCIDENTS_ONLY" | "MAJOR_ONLY";
/**
* Format: date-time
* @description When the organization subscribed to this service
Expand Down Expand Up @@ -7155,7 +7155,7 @@ export interface components {
};
/** @description Request body for updating alert sensitivity on a service subscription */
UpdateAlertSensitivityRequest: {
/** @description Alert sensitivity: ALL (any status change), INCIDENTS_ONLY (real vendor incidents, default), MAJOR_ONLY (only DOWN-level incidents) */
/** @description Alert sensitivity: ALL (any status change), INCIDENTS_ONLY (real vendor incidents, page on every one), MAJOR_ONLY (only DOWN-level incidents), AWARENESS (track silently — show on dashboard, never send alerts; default for new subscriptions) */
alertSensitivity: string;
};
UpdateApiKeyRequest: {
Expand Down Expand Up @@ -11803,7 +11803,7 @@ export interface operations {
};
};
};
resend: {
resend_1: {
parameters: {
query?: never;
header?: never;
Expand Down