View Source IncidentIo.IncidentTypesV1 (IncidentIo v0.1.0)
View incident types.
With incident types enabled, you can tailor your process to the situation you're responding to with different custom fields and roles for each incident type.
Summary
Functions
@spec list(IncidentIo.Client.t()) :: IncidentIo.response()
List all incident types for an organisation.
Example
IncidentIo.IncidentTypesV1.list(client)
More information at: https://api-docs.incident.io/tag/Incident-Types-V1#operation/Incident%20Types%20V1_List
@spec show(IncidentIo.Client.t(), binary()) :: IncidentIo.response()
Get a single incident type.
Example
IncidentIo.IncidentTypesV1.show(client, "some-incident-type-id")
More information at: https://api-docs.incident.io/tag/Incident-Types-V1#operation/Incident%20Types%20V1_Show