Image version create
Documentation for Image version create
Read time 3 minutesLast updated 2 hours ago
Create a new image version for the image identified by the specified image difference
<diffid>
full
1
https://api.multiplay.co.uk/cfp/v1/imageversion/create
METHOD |
GET |
Request parameters
VARIABLE | DESCRIPTION | OPTIONAL |
diffid | The
| No |
restart | The
If set to
If set to
| No |
accountserviceid | The
| No |
full | The
If set to
If omitted or set to
You must set
If you try to create a full install when the previous install was a full install and the
| Yes |
game_build | The
If given then on successful completion the
| Yes |
force | The
If set to
If set to
By default, if there are active allocations when you make this request, it will fail. To bypass this behavior and force the image version creation, set
| Yes |
install_at | The
| Yes |
disable_timeout | The
This value is an integer value representing minutes. Example: a value of
| Yes |
disable_percentage | The
This value is a decimal value between 0.00 and 100.00. Example: with a
| Yes |
Response fields
Field | Type | Description | Optional |
---|---|---|---|
imageversionid | integer | ID of the image | No |
jobcreated | integer | Unix timestamp of when the job was created | No |
joberror | string | Message indicating the job error | Yes |
jobeta | integer | Unix timestamp representing the time at which the job is expected to complete | Yes |
jobfailed | integer | Numeric flag indicating whether the job has failed | No |
jobprogress | integer | Percentage between 0 and 100 indicating job progress | No |
jobstart | string | Unix timestamp of when the job was started | Yes |
jobstateid | integer | Job state ID indicating the state of the job | Yes |
jobstatename | string | Name of the job state | No |
jobupdated | integer | Unix timestamp of when the job was last updated | No |
success | boolean | Flag indicating whether this request was a success | No |
Example request
curl --location --request GET 'https://api.multiplay.co.uk/cfp/v1/imageversion/create?diffid=<diff_id>&restart=<restart>&accountserviceid=<accountserviceid>&install_at=<timestamp>&full=<full>&game_build=<game_build>' \ --header 'Authorization: Basic YOUR_AUTH_CREDENTIALS'
Example response
{ "imageversionid": <imageversionid>, "jobcreated": <jobcreated>, "joberror": <joberror>, "jobeta": <jobeta>, "jobfailed": <jobfailed>, "jobprogress": <jobprogress>, "jobstart": <jobstart>, "jobstateid": <jobstateid>, "jobstatename": <jobstatename>, "jobupdated": <jobupdated> }