Image install queue

Warning: The API documentation here is for Managed Game Server Hosting (Clanforge). If you’re using Game Server Hosting (Multiplay), refer to the Game Server API documentation.

Queue the image install identified by <jobid>.

https://api.multiplay.co.uk/cfp/v1/imageinstall/<jobid>/queue

METHOD

GET

Request parameters

VARIABLEDESCRIPTIONOPTIONAL
accountserviceidThe <accountserviceid> parameter accepts an account service ID (ASID) associated with the specified resource. The credentials in the request header must have access to the ASID to perform the request.No
jobidThe <jobid> parameter accepts an image install job ID. The identified image install job will be queued.No
mirroringThe <mirroring> parameter accepts a boolean value indicating whether the install job is mirrored.

Set this value to true if the image install <jobid> is mirrored.

Set this value to false if the image install <jobid> isn't mirrored.

You can determine if an install job is mirrored by calling the Image Install Status endpoint.

No

Response fields

FieldTypeDescriptionOptional
versionmirroridintegerID of the version mirror idYes
jobcreatedintegerUnix timestamp of when the job was createdNo
joberrorstringMessage indicating the job errorYes
jobetaintegerUnix timestamp representing the time at which the job is expected to completeYes
jobfailedintegerNumeric flag indicating whether the job has failedNo
jobprogressintegerPercentage between 0 and 100 indicating job progressNo
jobstartstringUnix timestamp of when the job was startedYes
jobstateidintegerJob state ID indicating the state of the jobYes
jobstatenamestringName of the job stateNo
jobupdatedintegerUnix timestamp of when the job was last updatedNo
successbooleanFlag indicating whether this request was a successNo

Example request

curl --location --request GET 'https://api.multiplay.co.uk/cfp/v1/imageinstall/<jobid>/queue?accountserviceid=<accountserviceid>&mirroring=<mirroring>' \
--header 'Authorization: Basic YOUR_AUTH_CREDENTIALS'

Example response for mirror jobs

{
    "versionmirrorid": <versionmirrorid>,
    "jobcreated": <jobcreated>,
    "joberror": <joberror>,
    "jobeta": <jobeta>,
    "jobfailed": <jobfailed>,
    "jobprogress": <jobprogress>,
    "jobstart": <jobstart>,
    "jobstateid": <jobstateid>,
    "jobstatename": <jobstatename>,
    "jobupdated": <jobupdated>
}

Example response for machine jobs

{
    "machinejobid": <machinejobid>,
    "installs_squashed": <installs_squashed>,
    "jobcreated": <jobcreated>,
    "joberror": <joberror>,
    "jobeta": <jobeta>,
    "jobfailed": <jobfailed>,
    "jobprogress": <jobprogress>,
    "jobstart": <jobstart>,
    "jobstateid": <jobstateid>,
    "jobstatename": <jobstatename>,
    "jobupdated": <jobupdated>
}