Resolve a recording-lost incident
consoleSessionvg_session<token>The console's session cookie, set when you sign in. Every operation accepts it, at the role the operation names.
orgId*stringAuthorised orgId; the server must verify organisation/project ownership before any read.
1 <= lengthprojectId*stringAuthorised projectId; the server must verify organisation/project ownership before any read.
1 <= lengthincidentId*stringAn alert incident's id; one from another project, or not a UUID, is not_found.
The resolved incident.
application/json- response
id*stringThe incident.
ruleId*stringThe rule.
"slow-answer""cut-off""job-failed""slow-join""plain-phone""recording-lost""ingress-error"subject*stringWhat the incident is about: an agent for call and job rules, else the trunk, egress or ingress.
state*stringFiring until its resolve condition holds, or a person resolves a lost recording.
"firing""resolved"openedAt*stringWhen it opened.
date-timeresolvedAt*|When it resolved.
date-timeresolvedBy*|condition when the resolve rule held; person for a lost recording a person resolved.
"condition""person"nulloccurrences*|Occurrences grouped into it.
1 <= valuelastOccurrence*The latest thing the rule matched.
holdReason*|Why a firing incident has not resolved when the data cannot decide, such as fewer than 5 calls in the last 30 minutes.
silentSince*|The incident's source has reported nothing since this time. It stays firing: silence never resolves it.
date-timedeliveries*array<>Every delivery of its changes, oldest first.
curl -X POST 'https://example.com/api/v1/org/string/project/string/alert-incidents/string/resolve'{ "id": "string", "ruleId": "slow-answer", "subject": "string", "state": "firing", "openedAt": "2019-08-24T14:15:22Z", "resolvedAt": "2019-08-24T14:15:22Z", "resolvedBy": "condition", "occurrences": 1, "lastOccurrence": { "at": "2019-08-24T14:15:22Z", "where": "string", "detail": "string", "callId": "string" }, "holdReason": "string", "silentSince": "2019-08-24T14:15:22Z", "deliveries": [ { "id": "string", "channel": "email", "change": "firing", "state": "pending", "attempts": 0, "nextAttemptAt": "2019-08-24T14:15:22Z", "status": "string", "message": "string", "deliveredAt": "2019-08-24T14:15:22Z", "createdAt": "2019-08-24T14:15:22Z" } ]}Was this page helpful?