918-git-images-111dconfigfileconfigure-oglivegit-imageslgromero-new-oglivemainmaint-cronmount-efivarfsmultivmmultivm-ogboot-installerogClonningEngineogboot-installer-jenkinsoglive-ipv6test-python-scriptsticket-301ticket-50ticket-50-oldticket-577ticket-585ticket-611ticket-612ticket-693ticket-700ubu24tplunification2use-local-agent-oglivevarios-instalacion
Last change
on this file since 174c223 was
b317d24,
checked in by OpenGnSys Support Team <soporte-og@…>, 6 years ago
|
#915 add POST refresh command to REST API in ogAdmServer
Forces client to fetch and run any pending command from the server,
reload its local configuration file and re-start its selection menu.
curl -X POST http://127.0.0.1:8888/refresh -d @refresh.json
Request
POST /refresh
{"clients": [ "192.168.2.1" ] }
Reply:
200 OK
|
-
Property mode set to
100755
|
File size:
597 bytes
|
Rev | Line | |
---|
[1a08c06] | 1 | curl -X POST http://127.0.0.1:8888/clients -d @post_clients.json |
---|
[ea03692] | 2 | curl -X GET http://127.0.0.1:8888/clients |
---|
[73c4bdff] | 3 | curl -X POST http://127.0.0.1:8888/wol -d @wol.json |
---|
[775f6f0] | 4 | curl -X POST http://127.0.0.1:8888/shell/run -d @post_shell_run.json |
---|
[165cea3] | 5 | curl -X POST http://127.0.0.1:8888/shell/output -d @post_shell_output.json |
---|
[22ab637] | 6 | curl -X POST http://127.0.0.1:8888/session -d @session.json |
---|
[b231a5a] | 7 | curl -X POST http://127.0.0.1:8888/poweroff -d @poweroff.json |
---|
[68270b3] | 8 | curl -X POST http://127.0.0.1:8888/reboot -d @reboot.json |
---|
[5513435] | 9 | curl -X POST http://127.0.0.1:8888/stop -d @stop.json |
---|
[b317d24] | 10 | curl -X POST http://127.0.0.1:8888/refresh -d @refresh.json |
---|
Note: See
TracBrowser
for help on using the repository browser.