From 0ab89a92f01b15dcdd9399ea86c16983ce206468 Mon Sep 17 00:00:00 2001 From: Daniel Lyne <100604337+svix-daniel@users.noreply.github.com> Date: Mon, 28 Mar 2022 13:58:44 -0400 Subject: [PATCH] Note deprecated functions/endpoints in attempts API (#346) Follow up to #345 --- server/svix-server/src/v1/endpoints/attempt.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/server/svix-server/src/v1/endpoints/attempt.rs b/server/svix-server/src/v1/endpoints/attempt.rs index a6638e3e9..f9fac99df 100644 --- a/server/svix-server/src/v1/endpoints/attempt.rs +++ b/server/svix-server/src/v1/endpoints/attempt.rs @@ -601,10 +601,12 @@ pub fn router() -> Router { .nest( "msg/:msg_id", Router::new() + // NOTE: [`list_messageattempts`] is deprecated .route("/attempt/", get(list_messageattempts)) .route("/attempt/:attempt_id/", get(get_messageattempt)) .route("/endpoint/", get(list_attempted_destinations)) .route("/endpoint/:endp_id/resend/", post(resend_webhook)) + // NOTE: [`list_attempts_for_endpoint`] is deprecated .route( "/endpoint/:endp_id/attempt/", get(list_attempts_for_endpoint),