/cloud/image/get_changelog
GET https://api.sitehost.nz/1.0/cloud/image/get_changelog.json
Returns the change log for a public SiteHost image.
Query Parameters
Parameter | Type | Required | Description |
client_id | integer | Yes | The ID for the client who is requesting the change log.Example: 1 |
code | string | Yes | The code for the image.Example: sitehost-php55 |
Code Samples
JavaScript PHP Rails Pythonvar xmlHttp = new XMLHttpRequest();
xmlHttp.open("GET", "https://api.sitehost.nz/1.0/cloud/image/get_changelog.json?apikey=your_key_here&client_id=1&code=sitehost-php55", false);
xmlHttp.send();
var response = xmlHttp.responseText;
Response
200:application/json
{
"return": {
"code": "sitehost-php55",
"label": "None",
"changelog": "**VERSION: 1.0.0**\n - php 5.5.30\n\n**VERSION: 1.0.1**\n ..."
},
"msg": "Successful",
"status": true
}
"return": {
"code": "sitehost-php55",
"label": "None",
"changelog": "**VERSION: 1.0.0**\n - php 5.5.30\n\n**VERSION: 1.0.1**\n ..."
},
"msg": "Successful",
"status": true
}