Skip to Content
OpenETL
ReferenceAPIIncident Service

List incidents

Newest first. The parent workspaces/{workspace}/pipelines/- lists every pipeline's.

GET
/v1/workspaces/{workspace}/pipelines/{pipeline}/incidents

Newest first. The parent workspaces/{workspace}/pipelines/- lists every pipeline's.

Path Parameters

workspace*string

The workspace id.

pipeline*string

The pipeline id.

Query Parameters

state?string

Unset: every state.

Formatenum
Value in"INCIDENT_STATE_UNSPECIFIED""INCIDENT_STATE_OPEN""INCIDENT_STATE_RESOLVED"
pageSize?integer
Formatint32
pageToken?string

Response Body

OK

application/json
  1. response
incidents?array<>
nextPageToken?string
Example Request
curl -X GET 'http://localhost:8080/v1/workspaces/string/pipelines/string/incidents'
Example Response
{  "incidents": [    {      "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"    }  ],  "nextPageToken": "string"}