mirror of
https://github.com/hanzo-apps/dataroom.git
synced 2026-10-30 14:47:36 +00:00
20 lines
612 B
Plaintext
20 lines
612 B
Plaintext
VERSION 1
|
|
|
|
DESCRIPTION >
|
|
Webhook events are events when a webhook is triggered
|
|
|
|
SCHEMA >
|
|
`timestamp` DateTime64(3) `json:$.timestamp` DEFAULT now(),
|
|
`event_id` String `json:$.event_id`,
|
|
`webhook_id` String `json:$.webhook_id`,
|
|
`url` String `json:$.url`,
|
|
`event` LowCardinality(String) `json:$.event`,
|
|
`http_status` UInt16 `json:$.http_status`,
|
|
`request_body` String `json:$.request_body`,
|
|
`response_body` String `json:$.response_body`,
|
|
`message_id` String `json:$.message_id`
|
|
|
|
ENGINE "MergeTree"
|
|
ENGINE_PARTITION_KEY "toYYYYMM(timestamp)"
|
|
ENGINE_SORTING_KEY "timestamp, webhook_id, event_id"
|