feat: Add reanalyze case functionality

Introduce a new endpoint for reanalyzing cases. This feature allows
administrators
to rebuild analysis input files and enqueue new analysis jobs. The
system will
then generate a new document version, which will become the displayed
document.
This commit is contained in:
2026-04-15 21:19:56 +02:00
parent 7bcd94f0d0
commit 5608c8ba43
5 changed files with 300 additions and 2 deletions
+4
View File
@@ -24,6 +24,10 @@ pub fn api_router() -> Router<AppState> {
"/web/cases/{case_id}/close",
post(case_actions::handle_close_case),
)
.route(
"/web/cases/{case_id}/reanalyze",
post(case_actions::handle_reanalyze_case),
)
.route(
"/web/cases/{case_id}/document",
get(case_actions::handle_document_view),