diff options
author | Javier Sánchez Parra <jsanchez@soleta.eu> | 2019-10-07 14:00:12 +0200 |
---|---|---|
committer | OpenGnSys Support Team <soporte-og@soleta.eu> | 2019-10-08 14:00:47 +0200 |
commit | 01e77f4cb263497f543b7dbc7730decd7e6808ca (patch) | |
tree | 6a66c710b58ea4c63d481742c3c348fb8136eb50 /tests/create_incremental_image.json | |
parent | e3af7eed4d0bb9b82bdb591eb20f259c428625f8 (diff) |
#915 Add POST "image/create/basic" command to REST API in ogAdmServer
This patch implements the command "image/create/basic" that provides
partitioning and formatting functionality.
Request:
POST /image/create/basic
{
"clients":[
"192.168.56.11"
],
"disk":"1",
"partition":"1",
"code":"131",
"id":"8",
"name":"debianbasica",
"repository":"192.168.56.10",
"sync_params":{
"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