Add run status polling endpoint and update rota run detail view for real-time status updates

This commit is contained in:
Ross
2025-12-19 21:20:08 +00:00
parent 0cbe968aa5
commit 62010dd09f
3 changed files with 40 additions and 0 deletions
+1
View File
@@ -35,6 +35,7 @@ urlpatterns = [
path("worker/<int:worker_id>/leaves/delete_all/", views.leave_delete_all, name="leave_delete_all"),
path("worker/<int:worker_id>/regenerate_token/", views.regenerate_worker_token, name="regenerate_worker_token"),
path("run/<int:run_id>/", views.rota_run_detail, name="rota_run_detail"),
path("run/<int:run_id>/status/", views.rota_run_status, name="rota_run_status"),
path("run/<int:run_id>/export/html/", views.rota_run_export_html, name="rota_run_export_html"),
path("run/<int:run_id>/export/download/", views.rota_run_export_download, name="rota_run_export_download"),
path("rota/<int:rota_id>/export/builder/", views.rota_export_builder, name="rota_export_builder"),