Image update create
Documentation for Image update create
Read time 1 minuteLast updated 2 months ago
Create a job to update the game image identified by
<imageid>https://api.multiplay.co.uk/cfp/v1/imageupdate/create
| METHOD |
| GET |
Request parameters
| VARIABLE | DESCRIPTION | OPTIONAL |
| imageid | The | No |
| desc | The | No |
| machineid | The | No |
| accountserviceid | The | No |
| url | The | If the image has a default update URL (If the image doesn't have a default update URL, this parameter isn't optional. If the For more information, refer to the documentation |
Response fields
Field | Type | Description | Optional |
|---|---|---|---|
| updateid | integer | ID of the update | Yes |
| 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/imageupdate/create?<imageid>=&desc=%22exampleDescription%22&machineid=<machineid>&accountserviceid=<accountserviceid>&url=<url>' \ --header 'Authorization: Basic YOUR_AUTH_CREDENTIALS'
Example response
{ "updateid": <updateid>, "jobcreated": <jobcreated>, "joberror": <joberror>, "jobeta": <jobeta>, "jobfailed": <jobfailed>, "jobprogress": <jobprogress>, "jobstart": <jobstart>, "jobstateid": <jobstateid>, "jobstatename": <jobstatename>, "jobupdated": <jobupdated> }