Can get information about a single network
This commit is contained in:
@ -182,6 +182,10 @@ async fn main() -> std::io::Result<()> {
|
||||
web::post().to(network_controller::create),
|
||||
)
|
||||
.route("/api/network/list", web::get().to(network_controller::list))
|
||||
.route(
|
||||
"/api/network/{uid}",
|
||||
web::get().to(network_controller::get_single),
|
||||
)
|
||||
})
|
||||
.bind(&AppConfig::get().listen_address)?
|
||||
.run()
|
||||
|
Reference in New Issue
Block a user