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:
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user