Add a route to get the list of inbox entries

This commit is contained in:
2025-05-08 16:34:00 +02:00
parent b6281be349
commit df7f395e8b
4 changed files with 34 additions and 5 deletions

View File

@ -157,6 +157,7 @@ async fn main() -> std::io::Result<()> {
)
// Inbox controller
.route("/api/inbox", web::post().to(inbox_controller::create))
.route("/api/inbox", web::get().to(inbox_controller::get_list))
// Statistics controller
.route("/api/stats/global", web::get().to(stats_controller::global))
.route(