All URIs are relative to https://www.koronacloud.com/web/api/v3
Method | HTTP request | Description |
---|---|---|
getImage | GET /accounts/{koronaAccountId}/images/{imageId} | displays the image |
getImage(imageId, koronaAccountId)
displays the image
var KoronacloudApiV3 = require('cloud-api-v3-js-client');
var defaultClient = KoronacloudApiV3.ApiClient.instance;
// Configure HTTP basic authorization: basicAuth
var basicAuth = defaultClient.authentications['basicAuth'];
basicAuth.username = 'YOUR USERNAME';
basicAuth.password = 'YOUR PASSWORD';
var apiInstance = new KoronacloudApiV3.ImagesApi();
var imageId = "imageId_example"; // String | id of the related object (important: id should match the uuid-format)
var koronaAccountId = "koronaAccountId_example"; // String | account id of the korona.cloud account
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully.');
}
};
apiInstance.getImage(imageId, koronaAccountId, callback);
Name | Type | Description | Notes |
---|---|---|---|
imageId | String | id of the related object (important: id should match the uuid-format) | |
koronaAccountId | String | account id of the korona.cloud account |
null (empty response body)
- Content-Type: Not defined
- Accept: image/png, image/jpg