summaryrefslogtreecommitdiffstats
path: root/admin/WebConsole/rest/opengnsys-api.yml
diff options
context:
space:
mode:
authorramon <ramongomez@us.es>2017-02-06 13:40:18 +0000
committerramon <ramongomez@us.es>2017-02-06 13:40:18 +0000
commit9a39c75c31620c1494b40d27784b2e47bf2a11ec (patch)
treed7dfd5973be687153cc909c0fb2d3089e6dc5a86 /admin/WebConsole/rest/opengnsys-api.yml
parent1108dfa5159c65064b6b0e8f3838efe2bdae14a1 (diff)
#708: Corregir algunas erratas en r5169 y aƱadir comprobaciĆ³n de cliente ya reservado en ruta {{{.../reserve}}}
git-svn-id: https://opengnsys.es/svn/branches/version1.1@5172 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'admin/WebConsole/rest/opengnsys-api.yml')
-rw-r--r--admin/WebConsole/rest/opengnsys-api.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/admin/WebConsole/rest/opengnsys-api.yml b/admin/WebConsole/rest/opengnsys-api.yml
index 0cd6c697..e847f242 100644
--- a/admin/WebConsole/rest/opengnsys-api.yml
+++ b/admin/WebConsole/rest/opengnsys-api.yml
@@ -801,7 +801,7 @@ paths:
- client
- remotepc
/ous/{ouid}/labs/{labid}/clients/{clientid}/unreserve:
- get:
+ delete:
description: Unreserve a client, clear its session data and send a poweroff operation.
parameters:
- name: ouid
@@ -1062,7 +1062,7 @@ paths:
- server
- image
/ous/{ouid}/images/{imageid}/reserve:
- get:
+ post:
description: |
Reserve a random client with an installed image and send a boot/reboot operation.
If `labid` is specified, then choose a `client` defined in this lab.