Image update
Documentation for Image update
Read time 1 minuteLast updated 3 months ago
Update the game image identified by
<imageid>[!TIP] Check out the S3 example URL.
https://api.multiplay.co.uk/cfp/v1/image/<imageid>/update
| METHOD | CONTENT TYPE |
| GET | application/x-www-form-urlencoded |
Request parameters
| VARIABLE | DESCRIPTION | OPTIONAL |
| accountserviceid | The | No |
| imageid | The | No |
| active | The If set to If set to | No |
Response fields
Field | Type | Description | Optional |
|---|---|---|---|
| active | integer | Indicating the state of the image, for example: 1, 0 | No |
| created_at | string | Time at which the allocation was created | No |
| updated_at | string | Time at which the allocation was updated | No |
| updated_by | integer | ID of the user that requested image update | No |
| latestversionid | integer | ID of the latest image version | No |
| imageid | integer | ID of the image | No |
| path | string | Path to the game files | No |
| created_by | integer | ID of the user that created the image | No |
| gameversionid | integer | ID of the game version | No |
Example request
curl --location -g 'https://api.multiplay.co.uk/cfp/v1/image/<imageid>/update?accountserviceid=<accountserviceid>&active=<active>' \ --header 'Authorization: Basic YOUR_AUTH_CREDENTIALS'
Example response
{ "image": { "active": <active>, "created_at": <created_at>, "updated_at": <updated_at>, "updated_by": <updated_by>, "latestversionid": <latestversionid>, "imageid": <imageid>, "path": <path>, "created_by": <created_by>, "gameversionid": <gameversionid> } }