diff options
author | ramon <ramongomez@us.es> | 2017-02-03 08:34:50 +0000 |
---|---|---|
committer | ramon <ramongomez@us.es> | 2017-02-03 08:34:50 +0000 |
commit | 0126b05db2b7c8d08d56e7df83a4c304be66075c (patch) | |
tree | 27cdaa99c68dbbdc83269198c0cb8ba0311898f6 /admin/WebConsole/rest/server.php | |
parent | 7766e7a3e6e5c147d33385eabae487e0bb7ef29f (diff) |
#708: Corrección en mensajes JSON de algunas rutas REST para evitar confusión entre imagen de datos y foto de aula/ordenador; algunas correcciones en fichero de definición de la API REST.
git-svn-id: https://opengnsys.es/svn/branches/version1.1@5166 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'admin/WebConsole/rest/server.php')
-rw-r--r-- | admin/WebConsole/rest/server.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/admin/WebConsole/rest/server.php b/admin/WebConsole/rest/server.php index f3902927..a5b85d78 100644 --- a/admin/WebConsole/rest/server.php +++ b/admin/WebConsole/rest/server.php @@ -434,7 +434,7 @@ EOD; $response['mcastspeed'] = $rs->campos["velmul"]; $response['p2pmode'] = $rs->campos["modp2p"]; $response['p2ptime'] = $rs->campos["timep2p"]; - $response['image'] = $rs->campos["urlfoto"]; + $response['picture'] = $rs->campos["urlfoto"]; jsonResponse(200, $response); } $rs->Cerrar(); @@ -521,7 +521,7 @@ EOD; //$response['menu']['id'] = $rs->campos["idmenu"]; $response['validation'] = $rs->campos["validacion"]==0 ? false: true; $response['boottype'] = $rs->campos["arranque"]; - $response['image'] = $rs->campos["fotoord"]; + $response['picture'] = $rs->campos["fotoord"]; jsonResponse(200, $response); } $rs->Cerrar(); |