Image Version Create
Creates a new image version for the image identified by the image difference <diffid>
If the image difference has no changes a full image will be created.
/cfp/v1/imageversion/create
Method | Content Type |
---|---|
GET | application/x-www-form-urlencoded |
Variable | Description | Optional |
---|---|---|
diffid | The <diffid> of a completed image diff |
no |
restart | The default value for restart when installing the created image version. A value of 1 will result in the stop of all servers dependent by this image when performing an install, followed by a restart once install is complete |
no |
accountserviceid | The <accountserviceid> which grants permission to perform image operations |
no |
install_at | The unix timestamp at which to perform a scheduled install or NOW() for install without delay. Currently scheduled updates are not supported so this parameter should be either omitted for manual install or set to NOW()! |
yes |
full | Requests the image version be a full image. This must be set to 1 if called from a diff which had zero changes, otherwise it must be set to 0 or omitted. |
yes |
game_build | A value with identifies the games internal build. (This was game_version) If given then on successful completion the <version> field of Clanforge Game Version value will be set to the specified value. |
yes |
Example Response
{
"imageversionid" : <imageversionid>,
"jobcreated" : <jobcreated>,
"joberror" : <joberror>,
"jobeta" : <jobeta>,
"jobfailed" : <jobfailed>,
"jobprogress" : <jobprogress>,
"jobstart" : <jobstart>,
"jobstateid" : <jobstateid>,
"jobstatename" : <jobstatename>,
"jobupdated" : <jobupdated>
}