Referência da APIAlerts
Send a test alert
POST
Sends a run.completed alert for a project named “Test alert from Dataflow” (data.test: true) to the channel now, even while it is turned off (except the in_app channel: 409 channel_disabled, a test would still reach every member's bell), and waits for the provider's answer (in_app: a notification for every member who can view Dataflow). It does not change the channel's health, nor count against the channel's pace or the one-failure-alert-per-hour rule. An email channel's test goes to its members and confirmed addresses only, one message each. One test per channel every 60 s, and 20 an hour per workspace, every channel together (shared by every server).
ApiKeyAuthheader
X-Api-Key<token>id*stringThe alert channel's id
Length
1 <= lengthSent
application/json- response
ok*trueValue in
truecurl -X POST 'https://dataflow.piloterr.com/v1/alert-channels/string/test'Example Response
{
"ok": true
}