diff options
author | ramon <ramongomez@us.es> | 2018-02-20 09:52:04 +0000 |
---|---|---|
committer | ramon <ramongomez@us.es> | 2018-02-20 09:52:04 +0000 |
commit | e7d4fbb71c341ee719402962eeb2d2b9112470db (patch) | |
tree | 3cd9c7357a8dc8e93ec52173d14973677ea4c040 /admin/WebConsole/rest | |
parent | 12e87828e8ee4f8de4e81550b21640eb3ae1eba5 (diff) |
#730: Cambios menores:
- Correcciones en comentarios.
- Corrección al actualizar la BD.
- Incluir {{{curl}}} en lista de paquetes a instalar en ogLive.
- Volver a activar Wake-On-Lan al arrancar clientes.
git-svn-id: https://opengnsys.es/svn/branches/version1.1@5601 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'admin/WebConsole/rest')
-rw-r--r-- | admin/WebConsole/rest/ogagent.php | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/admin/WebConsole/rest/ogagent.php b/admin/WebConsole/rest/ogagent.php index 8acbdd4f..65c6cf64 100644 --- a/admin/WebConsole/rest/ogagent.php +++ b/admin/WebConsole/rest/ogagent.php @@ -24,7 +24,7 @@ function writeLog($message = "") { * @note Route: /ogagent/started, Method: POST, Format: JSON * @param string ip IP address * @param string mac MAC (Ethernet) address - * @param string ostype OS type (Linux, Windows) + * @param string ostype OS type (Linux, Windows, macOS) * @param string osversion OS version * @param string secret random secret key to access client's REST API * @return Null string if OK, else error message. @@ -85,7 +85,7 @@ EOD; * @note Route: /ogagent/stopped, Method: POST, Format: JSON * @param string ip IP address * @param string mac MAC (Ethernet) address - * @param string ostype OS type (Linux, Windows) + * @param string ostype OS type (Linux, Windows, macOS) * @param string osversion OS version * @return Null string if OK, else error message. */ @@ -123,6 +123,9 @@ $app->post('/ogagent/stopped', * @note Route: /ogagent/loggedin, Method: POST, Format: JSON * @param string ip IP address * @param string user username + * @param string language session language + * @param string ostype OS type (Linux, Windows, macOS) + * @param string osversion OS version * @return Null string if OK, else error message. */ $app->post('/ogagent/loggedin', |