Class IncidentManager

Constructors

Properties

apiClient: AxiosInstance

Methods

  • This will acknowledge an ongoing incident, preventing further escalations.

    Parameters

    • incident_id: string
    • __namedParameters: {
          acknowledged_by?: string;
      } = {}
      • Optional acknowledged_by?: string

    Returns Promise<any>

  • Returns either a newly created incident, or validation errors.

    Parameters

    • newIncident: any

    Returns Promise<any>

  • Permanently deletes an existing incident.

    Parameters

    • incident_id: string

      Incident ID you want to remove

    Returns Promise<boolean>

    True if success

  • Returns a list of all your incidents.

    Parameters

    • __namedParameters: {
          page?: number;
          per_page?: number;
      } = {}
      • Optional page?: number
      • Optional per_page?: number

    Returns Promise<any>

  • Returns a list of timeline items for the given incident.

    Parameters

    • incident_id: string

    Returns Promise<any>

  • This will resolve an ongoing incident.

    Parameters

    • incident_id: string
    • __namedParameters: {
          resolved_by?: string;
      } = {}
      • Optional resolved_by?: string

    Returns Promise<any>

  • Update the attributes of an existing incident. Send only the parameters you wish to change

    Parameters

    • incident_id: string

      Incident ID you want to change

    • newIncident: Partial<any>

    Returns Promise<any>

Generated using TypeDoc