Add routes to implement
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing

This commit is contained in:
Pierre HUBERT 2024-11-25 19:19:33 +01:00
parent a3f9ad17c0
commit bcf6e8a33b

View File

@ -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",