bayesline.api.AsyncIncidentsServiceApi.submit_incident

bayesline.api.AsyncIncidentsServiceApi.submit_incident#

abstract async AsyncIncidentsServiceApi.submit_incident(incident_id: str, source: str, body: dict[str, Any]) IncidentSummaryItem#

Submits an incident with the given ID and source.

Parameters#

incident_idstr

The ID of the incident. Cannot contain any of the following characters: /:*?”<>|-

sourcestr

The source of the incident. Cannot contain any of the following characters: /:*?”<>|-

bodydict[str, Any]

The body of the incident.

Returns#

IncidentSummaryItem

The submitted incident item.