|
|
@ -57,7 +57,7 @@ class ComputeHandler:
|
|
|
|
response.json([c for c in controller.computes.values()])
|
|
|
|
response.json([c for c in controller.computes.values()])
|
|
|
|
|
|
|
|
|
|
|
|
@Route.put(
|
|
|
|
@Route.put(
|
|
|
|
r"/computes/{compute_id:.+}",
|
|
|
|
r"/computes/{compute_id}",
|
|
|
|
description="Get a compute server information",
|
|
|
|
description="Get a compute server information",
|
|
|
|
status_codes={
|
|
|
|
status_codes={
|
|
|
|
200: "Compute server updated",
|
|
|
|
200: "Compute server updated",
|
|
|
@ -107,7 +107,7 @@ class ComputeHandler:
|
|
|
|
response.json(compute)
|
|
|
|
response.json(compute)
|
|
|
|
|
|
|
|
|
|
|
|
@Route.delete(
|
|
|
|
@Route.delete(
|
|
|
|
r"/computes/{compute_id:.+}",
|
|
|
|
r"/computes/{compute_id}",
|
|
|
|
parameters={
|
|
|
|
parameters={
|
|
|
|
"compute_id": "Compute UUID"
|
|
|
|
"compute_id": "Compute UUID"
|
|
|
|
},
|
|
|
|
},
|
|
|
|