Skip to content

Commit

Permalink
Note deprecated functions/endpoints in attempts API (#346)
Browse files Browse the repository at this point in the history
Follow up to #345
  • Loading branch information
svix-daniel authored Mar 28, 2022
1 parent 457efb7 commit 0ab89a9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions server/svix-server/src/v1/endpoints/attempt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit 0ab89a9

Please sign in to comment.