From fd03c16eca085423267c163137b28ccb60de8db0 Mon Sep 17 00:00:00 2001
From: Matthias Nott <mnott@mnsoft.org>
Date: Wed, 25 Feb 2026 00:45:13 +0100
Subject: [PATCH] feat: multi-compose rebuild (Seafile), cancel endpoint, schedule router, project descriptor
---
app/main.py | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/app/main.py b/app/main.py
index 8b702ec..3bd1d5b 100644
--- a/app/main.py
+++ b/app/main.py
@@ -10,7 +10,7 @@
from starlette.datastructures import MutableHeaders
from starlette.types import ASGIApp, Receive, Scope, Send
-from app.routers import backups, promote, rebuild, registry, restore, services, status, sync_data, system
+from app.routers import backups, cancel, promote, rebuild, registry, restore, schedule, services, status, sync_data, system
logging.basicConfig(
level=logging.INFO,
@@ -64,6 +64,8 @@
app.include_router(sync_data.router, prefix="/api/sync", tags=["sync"])
app.include_router(registry.router, prefix="/api/registry", tags=["registry"])
app.include_router(rebuild.router, prefix="/api/rebuild", tags=["rebuild"])
+app.include_router(schedule.router, prefix="/api/schedule", tags=["schedule"])
+app.include_router(cancel.router, prefix="/api/operations", tags=["operations"])
# ---------------------------------------------------------------------------
# Index route — serves index.html with content-hashed asset URLs.
--
Gitblit v1.3.1