Skip to Content
OpenETL
ReferenceAPIIncident Service

Resolve incident

Resolves an open incident, such as one fixed in a way the control plane can't see. If it happens again, a new one opens.

POST
/v1/workspaces/{workspace}/pipelines/{pipeline}/incidents/{incident}:resolve

Resolves an open incident, such as one fixed in a way the control plane can't see. If it happens again, a new one opens.

Path Parameters

workspace*string

The workspace id.

pipeline*string

The pipeline id.

incident*string

The incident id.

Request Body

application/json
  1. body
name?string
comment?string

Recorded in the resolution.

Response Body

OK

application/json
  1. response
incident?
Example Request
curl -X POST 'http://localhost:8080/v1/workspaces/string/pipelines/string/incidents/string:resolve' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response
{  "incident": {    "name": "string",    "class": "INCIDENT_CLASS_UNSPECIFIED",    "code": "string",    "stream": "string",    "state": "INCIDENT_STATE_UNSPECIFIED",    "severity": "INCIDENT_SEVERITY_UNSPECIFIED",    "summary": "string",    "message": "string",    "nextSteps": "string",    "fingerprint": "string",    "occurrences": 0,    "actions": [      {        "kind": "HEAL_ACTION_KIND_UNSPECIFIED",        "state": "HEAL_ACTION_STATE_UNSPECIFIED",        "description": "string",        "time": "2019-08-24T14:15:22Z"      }    ],    "details": {      "property1": "string",      "property2": "string"    },    "sync": "string",    "firstSeenTime": "2019-08-24T14:15:22Z",    "lastSeenTime": "2019-08-24T14:15:22Z",    "resolveTime": "2019-08-24T14:15:22Z",    "resolution": "string"  }}