Skip to main content

AlertTriggeredWebhookEvent

Type Alias AlertTriggeredWebhookEvent 

Source
pub type AlertTriggeredWebhookEvent = WebhookAlertTriggered;
Expand description

The payload of alert.triggered. The fields are the body’s own, flat: there is no wrapper around them.

Aliased Type§

pub struct AlertTriggeredWebhookEvent {
    pub camera_id: Option<String>,
    pub captured_at: String,
    pub confidence: f64,
    pub event: WebhookAlertTriggeredEvent,
    pub id: String,
    pub plate: String,
    pub recognition_id: String,
    pub rule_id: String,
    pub rule_name: String,
    pub skip: Option<Vec<String>>,
    pub tenant_id: String,
}

Fields§

§camera_id: Option<String>

Ausente se a leitura não veio de uma câmera.

§captured_at: String§confidence: f64

De 0 a 1.

§event: WebhookAlertTriggeredEvent§id: String

O id do disparo.

§plate: String§recognition_id: String

A leitura que disparou o alerta.

§rule_id: String§rule_name: String§skip: Option<Vec<String>>

Os destinos que as listas de permitidos e de bloqueados excluíram deste disparo (internal, channel:, partner:). Presente só quando algum foi excluído; é informação, não há o que fazer com ela.

§tenant_id: String