Can get XML network definition

This commit is contained in:
2023-12-11 18:41:59 +01:00
parent 2d5dc9237e
commit 375bdb1a46
11 changed files with 135 additions and 18 deletions

View File

@ -199,6 +199,10 @@ async fn main() -> std::io::Result<()> {
"/api/network/{uid}",
web::get().to(network_controller::get_single),
)
.route(
"/api/network/{uid}/src",
web::get().to(network_controller::single_src),
)
.route(
"/api/network/{uid}",
web::put().to(network_controller::update),