Go to file
Javier Sánchez Parra f61fd9a488 #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
2019-10-09 15:27:59 +02:00
sources #915 Add POST "image/restore/basic" command to REST API in ogAdmServer 2019-10-09 15:27:59 +02:00
tests #915 Add test for POST /image/create/basic command 2019-10-08 14:01:14 +02:00
Makefile #915 add initial REST API for ogAdmServer 2019-05-27 13:02:37 +02:00
ogAdmServer.cfg #915 update installer to add APITOKEN= to ogAdmServer.cfg 2019-06-24 13:46:10 +02:00