ReferenceAPIIncident Service
List incidents
Newest first. The parent workspaces/{workspace}/pipelines/- lists every pipeline's.
GET
Newest first. The parent workspaces/{workspace}/pipelines/- lists every pipeline's.
workspace*stringThe workspace id.
pipeline*stringThe pipeline id.
state?stringUnset: every state.
Format
enumValue in
"INCIDENT_STATE_UNSPECIFIED""INCIDENT_STATE_OPEN""INCIDENT_STATE_RESOLVED"pageSize?integerFormat
int32pageToken?stringOK
application/json- response
incidents?array<>nextPageToken?stringcurl -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"}