summaryrefslogtreecommitdiffstats
path: root/admin/WebConsole/rest
diff options
context:
space:
mode:
authorramon <ramongomez@us.es>2017-12-14 13:22:15 +0000
committerramon <ramongomez@us.es>2017-12-14 13:22:15 +0000
commit3bf09ba36ef87167703b79d56c330c979fd1302c (patch)
treeb90f33254fb208c9f7f1311e6e958d6c6c545b43 /admin/WebConsole/rest
parentfce0af30c330da39d8af2bf97c895b3fbec4d62b (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')
-rw-r--r--admin/WebConsole/rest/opengnsys-api.yml30
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