Expand description
Typed models for the Tango webhook management API.
Wire types are mirrored from tango-node/src/models/Webhooks.ts. Every
struct carries #[serde(flatten)] extra: HashMap<String, Value> so a
server-side schema addition surfaces as extra["new_field"] rather than
being dropped during deserialization.
Structsยง
- Webhook
Alert - A filter-based webhook subscription.
- Webhook
Alert Create Input - Request body for
Client::create_webhook_alert. - Webhook
Alert Update Input - PATCH body for
Client::update_webhook_alert. - Webhook
Endpoint - A configured webhook endpoint.
- Webhook
Endpoint Create Input - Request body for
Client::create_webhook_endpoint. - Webhook
Endpoint Update Input - PATCH body for
Client::update_webhook_endpoint. OnlySomefields are sent. - Webhook
Event Type - One event type the server can emit.
- Webhook
Event Types Response - Response from
Client::list_webhook_event_types. - Webhook
Sample Delivery - One timestamped batch of synthetic events in a sample-payload response.
- Webhook
Sample Payload Response - Response from
Client::get_webhook_sample_payload. - Webhook
Sample Payload Sample - Wrapper around the per-type sample-delivery struct used in the all-types
variant of
WebhookSamplePayloadResponse. - Webhook
Test Delivery Result - Response from
Client::test_webhook_endpoint.