api_docs: Document "/invites/{invite_id}/resend" endpoint.

This commit is contained in:
Vector73
2024-06-07 20:41:42 +05:30
committed by Tim Abbott
parent ef88057d2c
commit faa06497ed
6 changed files with 57 additions and 5 deletions

View File

@@ -318,7 +318,7 @@ v1_api_and_json_patterns = [
# invites -> zerver.views.invite
rest_path("invites", GET=get_user_invites, POST=invite_users_backend),
rest_path("invites/<int:invite_id>", DELETE=revoke_user_invite),
rest_path("invites/<int:prereg_id>/resend", POST=resend_user_invite_email),
rest_path("invites/<int:invite_id>/resend", POST=resend_user_invite_email),
# invites/multiuse -> zerver.views.invite
rest_path("invites/multiuse", POST=generate_multiuse_invite_backend),
# invites/multiuse -> zerver.views.invite