diff options
author | ramon <ramongomez@us.es> | 2017-12-14 13:22:15 +0000 |
---|---|---|
committer | ramon <ramongomez@us.es> | 2017-12-14 13:22:15 +0000 |
commit | 3bf09ba36ef87167703b79d56c330c979fd1302c (patch) | |
tree | b90f33254fb208c9f7f1311e6e958d6c6c545b43 /admin/WebConsole/rest/opengnsys-api.yml | |
parent | fce0af30c330da39d8af2bf97c895b3fbec4d62b (diff) |
#743: Mejoras en petición Wake-On-Lan a repositorio:
* documentar API REST,
* hacer una única llamada múltiple a todos los repositorios afectados,
* mostrar aviso si ha habido algún problema de conexión con un repo,
* incluir dependencias de instalación/actualización.
git-svn-id: https://opengnsys.es/svn/branches/version1.1@5534 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'admin/WebConsole/rest/opengnsys-api.yml')
-rw-r--r-- | admin/WebConsole/rest/opengnsys-api.yml | 30 |
1 files changed, 29 insertions, 1 deletions
diff --git a/admin/WebConsole/rest/opengnsys-api.yml b/admin/WebConsole/rest/opengnsys-api.yml index dc41ef9f..81325af6 100644 --- a/admin/WebConsole/rest/opengnsys-api.yml +++ b/admin/WebConsole/rest/opengnsys-api.yml @@ -1017,7 +1017,35 @@ paths: tags: - repository - image - #/repository/poweron + /repository/poweron: + post: + description: send Wake-On-Lan notification to many clients + parameters: + - in: body + name: data + description: Operation data + required: true + schema: + type: object + properties: + macs: + type: array + items: + description: MAC (Ethernet) address + type: string + responses: + "200": + description: Successful response + schema: + type: object + properties: + output: + type: string + security: + - apikey: [] + tags: + - repository + - client /ogagent/started: post: description: Process push notification when OGAgent is started |