diff options
author | Irina Gómez <irinagomez@us.es> | 2021-02-23 12:21:01 +0100 |
---|---|---|
committer | Irina Gómez <irinagomez@us.es> | 2021-02-23 12:21:01 +0100 |
commit | 69fd9c1714660848714351e95a7f28aee115c723 (patch) | |
tree | 56b682a3643e8369c1f2f763a2f5fc7f52607cd1 /admin/WebConsole/rest/opengnsys-api.yml | |
parent | f7e9f6fa49e883383e6e5d107df02ebd730c07e8 (diff) |
#992 REST route /ous/:ouid/labs/:labid/clients/:clntid/init:
Fixes that include global variables, required to add the operating system startup to the action queue.
This route is defined in swagger.
Diffstat (limited to 'admin/WebConsole/rest/opengnsys-api.yml')
-rw-r--r-- | admin/WebConsole/rest/opengnsys-api.yml | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/admin/WebConsole/rest/opengnsys-api.yml b/admin/WebConsole/rest/opengnsys-api.yml index bea6cae2..b63af11a 100644 --- a/admin/WebConsole/rest/opengnsys-api.yml +++ b/admin/WebConsole/rest/opengnsys-api.yml @@ -662,6 +662,35 @@ paths: - server - client - remotepc + /ous/{ouid}/labs/{labid}/clients/{clientid}/init: + post: + description: Send an init operation to a client with an image installed. + parameters: + - $ref: "#/parameters/ouParam" + - $ref: "#/parameters/labParam" + - $ref: "#/parameters/clientParam" + - name: data + in: body + description: Image identificator + required: true + schema: + type: object + properties: + image: + description: Operating System Image Identifier + type: integer + format: int64 + minimum: 0 + required: [ image ] + responses: + "200": + description: Successful response + security: + - apikey: [] + tags: + - server + - client + - remotepc /ous/{ouid}/labs/{labid}/clients/{clientid}/session: post: description: Record session data for a client |