Skip to main content

RecognitionCreatedWebhookEvent

Type Alias RecognitionCreatedWebhookEvent 

Source
pub type RecognitionCreatedWebhookEvent = WebhookRecognitionCreated;
Expand description

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

Aliased Type§

pub struct RecognitionCreatedWebhookEvent {
    pub camera_id: Option<String>,
    pub captured_at: String,
    pub confidence: f64,
    pub event: WebhookRecognitionCreatedEvent,
    pub id: String,
    pub plate: String,
    pub source: WebhookRecognitionCreatedSource,
    pub tenant_id: String,
}

Fields§

§camera_id: Option<String>

Ausente numa leitura enviada por foto.

§captured_at: String

UTC, com fração de segundo.

§confidence: f64

De 0 a 1 (na API de chave, conf vai de 0 a 100).

§event: WebhookRecognitionCreatedEvent§id: String

O id da leitura; é o mesmo id de GET /api/v1/recognitions e de GET /api/v1/detections/{id}/image.

§plate: String§source: WebhookRecognitionCreatedSource

camera: lida por uma câmera; api: enviada por foto.

§tenant_id: String

O espaço de trabalho dono da leitura.