Referência da APIGatilhos
Reconcile automatically whenever an ingestion adds records to either dataset
Authorization
apiKey AuthorizationBearer <token>
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
ruleset_id*string
Match
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$Format
uuidruleset_version?integer
Pin a version; omit to follow the latest
Range
1 <= value <= 9007199254740991left_dataset_id*string
Match
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$Format
uuidright_dataset_id*string
Match
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$Format
uuidlookback_days?integer
Only records ingested in the last N days take part; default 90
Range
1 <= value <= 3660debounce_seconds?integer
Wait this long without new ingestions before the job starts
Range
1 <= value <= 3600max_wait_seconds?integer
Start the job at most this long after the first ingestion; default 1800, at least debounce_seconds
Range
1 <= value <= 86400Response Body
application/json
application/problem+json
curl -X POST "https://example.com/v1/triggers" \ -H "Content-Type: application/json" \ -d '{ "ruleset_id": "ca688a19-2766-4b2c-aefa-28d16a464773", "left_dataset_id": "cb62a89e-6ea5-4cc0-b5b1-5e46e13b5681", "right_dataset_id": "63e40be6-71bb-4521-bff6-3e1b9d7738e8" }'{ "id": "string", "ruleset_id": "string", "ruleset_version": -9007199254740991, "left_dataset_id": "string", "right_dataset_id": "string", "lookback_days": -9007199254740991, "debounce_seconds": -9007199254740991, "max_wait_seconds": -9007199254740991, "enabled": true, "created_at": "2019-08-24T14:15:22Z"}
