918-git-images-111dconfigure-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 240a4dc was
9381fdf,
checked in by OpenGnSys Support Team <soporte-og@…>, 5 years ago
|
#915 Rename POST /image/setup for /setup in REST API
This patch renames the setup command to avoid semantic confusion.
|
-
Property mode set to
100755
|
File size:
1.9 KB
|
Rev | Line | |
---|
[2ccec278] | 1 | API_KEY="07b3bfe728954619b58f0107ad73acc1" |
---|
| 2 | |
---|
| 3 | curl -X POST -H "Authorization: $API_KEY" http://127.0.0.1:8888/clients -d @post_clients.json |
---|
| 4 | curl -X GET -H "Authorization: $API_KEY" http://127.0.0.1:8888/clients |
---|
| 5 | curl -X POST -H "Authorization: $API_KEY" http://127.0.0.1:8888/wol -d @wol.json |
---|
| 6 | curl -X POST -H "Authorization: $API_KEY" http://127.0.0.1:8888/shell/run -d @post_shell_run.json |
---|
| 7 | curl -X POST -H "Authorization: $API_KEY" http://127.0.0.1:8888/shell/output -d @post_shell_output.json |
---|
| 8 | curl -X POST -H "Authorization: $API_KEY" http://127.0.0.1:8888/session -d @session.json |
---|
| 9 | curl -X POST -H "Authorization: $API_KEY" http://127.0.0.1:8888/poweroff -d @poweroff.json |
---|
| 10 | curl -X POST -H "Authorization: $API_KEY" http://127.0.0.1:8888/reboot -d @reboot.json |
---|
| 11 | curl -X POST -H "Authorization: $API_KEY" http://127.0.0.1:8888/stop -d @stop.json |
---|
| 12 | curl -X POST -H "Authorization: $API_KEY" http://127.0.0.1:8888/refresh -d @refresh.json |
---|
[1316c877] | 13 | curl -X POST -H "Authorization: $API_KEY" http://127.0.0.1:8888/hardware -d @post_clients.json |
---|
[a0f41fc] | 14 | curl -X POST -H "Authorization: $API_KEY" http://127.0.0.1:8888/software -d @post_clients.json |
---|
[7f2dd15] | 15 | curl -X POST -H "Authorization: $API_KEY" http://127.0.0.1:8888/image/create -d @create_image.json |
---|
[fc15dd1] | 16 | curl -X POST -H "Authorization: $API_KEY" http://127.0.0.1:8888/image/restore -d @restore_image.json |
---|
[9381fdf] | 17 | curl -X POST -H "Authorization: $API_KEY" http://127.0.0.1:8888/setup -d @setup_image.json |
---|
[8bf781d] | 18 | curl -X POST -H "Authorization: $API_KEY" http://127.0.0.1:8888/image/create/basic -d @create_basic_image.json |
---|
[ca96a72] | 19 | curl -X POST -H "Authorization: $API_KEY" http://127.0.0.1:8888/image/create/incremental -d @create_incremental_image.json |
---|
[4d4ec59] | 20 | curl -X POST -H "Authorization: $API_KEY" http://127.0.0.1:8888/image/restore/basic -d @restore_basic_image.json |
---|
[55adaee1] | 21 | curl -X POST -H "Authorization: $API_KEY" http://127.0.0.1:8888/image/restore/incremental -d @restore_incremental_image.json |
---|
[3ca392f] | 22 | curl -X POST -H "Authorization: $API_KEY" http://127.0.0.1:8888/run/schedule -d @run_schedule.json |
---|
Note: See
TracBrowser
for help on using the repository browser.