diff options
author | Javier Sánchez Parra <jsanchez@soleta.eu> | 2019-10-09 11:58:45 +0200 |
---|---|---|
committer | OpenGnSys Support Team <soporte-og@soleta.eu> | 2019-10-09 15:27:59 +0200 |
commit | f61fd9a488eca84055c7cec7b617e407bd711a4e (patch) | |
tree | 1a2f7b4b88638ae39c0e3d21dd0ea4dfbfe6daba /tests/create_incremental_image.json | |
parent | 74061887ee64f5f04c444be1341f83568bb8319e (diff) |
#915 Add POST "image/restore/basic" command to REST API in ogAdmServer
This patch implements the command "image/restore/basic" that provides
partitioning and formatting functionality.
Request:
POST /image/restore/basic
{
"clients":[
"192.168.56.11"
],
"disk":"1",
"partition":"1",
"id":"9",
"name":"test",
"repository":"192.168.56.10",
"profile":"17",
"type":"UNICAST",
"sync_params":{
"path":"",
"method":"1",
"sync":"1",
"diff":"0",
"remove":"1",
"compress":"0",
"cleanup":"0",
"cache":"0",
"cleanup_cache":"0",
"remove_dst":"0"
}
}
Reply:
200 OK
Diffstat (limited to 'tests/create_incremental_image.json')
0 files changed, 0 insertions, 0 deletions