Skip to main content

send_test

Function send_test 

Source
pub async fn send_test(
    __arg0: State<AppState>,
    user: CurrentUser,
    __arg2: Path<String>,
) -> Result<impl IntoResponse, ApiError>
Expand description

Queues a test message for one destination. Administrators only.

Queued like any event rather than sent inline, so the test exercises the path real alerts take - the dispatcher, its retries, its log - and the screen shows the outcome in the same list.