Last change
on this file was
1a8ada1,
checked in by OpenGnSys Support Team <soporte-og@…>, 6 years ago
|
#915: Add POST /image/create command to REST API in ogAdmServer
This patch implements the command "image/create" that creates an image
in a client.
Request:
POST /image/create
{ "clients" : [ "192.168.2.1" ], "disk" : "1", "partition" : "1", "code" : "1", "id" : "1", "name" : "test", "repository" : "192.168.2.2" }
Reply:
200 OK
|
-
Property mode set to
100644
|
File size:
140 bytes
|
Rev | Line | |
---|
[1a8ada1] | 1 | { "clients" : [ "192.168.2.1" ], "disk" : "1", "partition" : "1", "code" : "1", "id" : "1", "name" : "test", "repository" : "192.168.2.4" } |
---|
Note: See
TracBrowser
for help on using the repository browser.