Cloud: get
Request
HTTP request
GET /cloud/v1/<cloudId> HTTP/1.1
Parameters
Parameter name | Value | Description |
---|---|---|
Path parameters | ||
cloudId | String | ID of cloud |
Optional query parameters | ||
projection | string | Projection settings; comma separeted string see |
Request Body
This method does not support request body.
Response
If successful, this method returns a cloud resource in the response body.
Response HTTP status code
HTTP status code | Description |
---|---|
200 | Success, cloud resource |
404 | Cloud does not exist |
For more information about HTTP codes, click here.
Rate limit
Detailed information for cloud rate limitation is available on Shardimage developers.
SDK
use shardimage\shardimagephp\auth\Client;
$client = new Client([
'apiKey' => '<apiKey>',
'apiSecret' => '<apiSecret>',
'imageSecret' => '<imageSecret>',
]);
$cloud = $client->getCloudService()->view('<cloudId>');