Add route to create inbox entries

This commit is contained in:
2025-05-06 23:15:49 +02:00
parent 68bc15cccc
commit b6281be349
10 changed files with 192 additions and 3 deletions

View File

@ -155,6 +155,8 @@ async fn main() -> std::io::Result<()> {
"/api/movement/{movement_id}",
web::delete().to(movement_controller::delete),
)
// Inbox controller
.route("/api/inbox", web::post().to(inbox_controller::create))
// Statistics controller
.route("/api/stats/global", web::get().to(stats_controller::global))
.route(