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

List all incident types for an organisation.

Get a single incident type.

Functions

Link to this function

list(client \\ %Client{})

View Source

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

Link to this function

show(client \\ %Client{}, id)

View Source

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