Add routes to implement
This commit is contained in:
parent
a3f9ad17c0
commit
bcf6e8a33b
@ -212,6 +212,14 @@ async fn main() -> std::io::Result<()> {
|
||||
.route("/api/vnc", web::get().to(vm_controller::vnc))
|
||||
// Groups controller
|
||||
.route("/api/group/list", web::get().to(groups_controller::list))
|
||||
// TODO list VM
|
||||
// TODO start VM
|
||||
// TODO stop VM
|
||||
// TODO suspend VM
|
||||
// TODO resume VM
|
||||
// TODO kill VM
|
||||
// TODO reset VM
|
||||
// TODO screenshot VM
|
||||
// Network controller
|
||||
.route(
|
||||
"/api/network/create",
|
||||
|
Loading…
Reference in New Issue
Block a user