Add a route to get the list of inbox entries
This commit is contained in:
@ -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(
|
||||
|
Reference in New Issue
Block a user