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: StringUTC, com fração de segundo.
confidence: f64De 0 a 1 (na API de chave, conf vai de 0 a 100).
event: WebhookRecognitionCreatedEvent§id: StringO id da leitura; é o mesmo id de GET /api/v1/recognitions e de GET /api/v1/detections/{id}/image.
plate: String§source: WebhookRecognitionCreatedSourcecamera: lida por uma câmera; api: enviada por foto.
tenant_id: StringO espaço de trabalho dono da leitura.