Incidents

The incidents API provides the core functionality of searching ThirdEye incidents.

See the Incident Objects section for a description of the various objects consumed and returned by these APIs.

Incident.getIncidentById

The Incidents.getIncidentById method returns an Incident object as described below, or null if the requested Incident does not exist.

Parameter Type Description
incidentId Integer The internal ID of the Incident

Return: An Incident object or null

Incident Objects

Incident

Field Type Description
incidentId Int The internal Incident ID of the device
summary String The generated or edited summary of the Incident
severity String NONE,DEBUG,INFORMATIONAL,NOTICE,WARNING,ERROR,CRITICAL,ALERT,EMERGENCY
priority String LOW,MEDIUM,HIGH
status String OPEN,RESOLVED,WORKING,DEFERRED
resolution String PENDING,FIXED,EXPECTED,TRANSIENT
assignee String The username of the user assigned to the Incident
clearState String NOT_CLEARED,CLEARING,CLEARED
created Date The timestamp of when the Incident was created
modified Date The timestamp of when the Incident was last modified
resolved Date The timestamp of when the Incident was resolved
nodes Int The number of nodes associated with the Incident
triggers Int The number of triggers associated with the Incident
occurrences Int The number of occurrences associated with the Incident

PageData

Attribute Type Description
offset Integer The starting offset in the results to begin retrieving pageSize number of Incident objects. This value is required when PageData is used as a parameter.
pageSize Integer The maximum number of Incident objects to retrieve in a single method call. This value is required when PageData is used as a parameter.
total Integer This value is set and retrieved from the server when an offset of zero (0) is passed. This indicates the total number of Incident objects available. This value is ignored when PageData is used as a parameter.
incidents Array An array of Incident objects. This value is ignored when PageData is used as a parameter.