diff options
author | Javier Sánchez Parra <jsanchez@soleta.eu> | 2019-10-10 13:03:30 +0200 |
---|---|---|
committer | OpenGnSys Support Team <soporte-og@soleta.eu> | 2019-10-11 11:57:08 +0200 |
commit | d52c6d085af04ec5eb5b15410b3e0c93b5407f07 (patch) | |
tree | c4690a89fbefae6740964ff8a986bfa2c886c438 /tests/restore_incremental_image.json | |
parent | 45f414e32cd28bb4567f881deddd7e0283c998b4 (diff) |
#915 Add POST "image/restore/incremental" command to REST API in ogAdmServer
This patch implements the command "image/restore/incremental" that provides
partitioning and formatting functionality.
Request:
POST /image/restore/incremental
{
"clients":[
"192.168.56.11",
"192.168.56.12"
],
"disk":"1",
"partition":"1",
"id":"8",
"name":"test",
"repository":"192.168.56.10",
"profile":"25",
"type":"MULTICAST_9000:full-duplex:239.194.2.11:70M:4:60",
"sync_params":{
"diff_id":"10",
"diff_name":"testdiff",
"path":"",
"method":"1",
"sync":"2",
"diff":"0",
"remove":"1",
"compress":"0",
"cleanup":"0",
"cache":"0",
"cleanup_cache":"0",
"remove_dst":"0"
}
}
Reply:
200 OK
Diffstat (limited to 'tests/restore_incremental_image.json')
0 files changed, 0 insertions, 0 deletions