Getting basic information from every ImageStorage
Format
Method | GET |
---|---|
URL | /imagestorages |
Request contents | Empty |
Successful answer | BasicImageStorageInfo Object Array |
Non-successful answer | ErrorMessage Object |
Unexpected error | HTTP 500 |
BasicImageStorageInfo Object
Schema
image_storage_id | String | ImageStorage's unique identifier |
---|---|---|
volumes | BasicVolumeInfo Array | List of Volumes present on this ImageStorage |
external_volumes | BasicExternalVolumeInfo Array | List of External Volumes present on this ImageStorage |
JSON example
{ "image_storage_id" : "internal" , "volumes" : [{ "volume_id" : "samsung_ssd" , "status" : "ok" , "image_storage_id" : "internal" }], "external_volumes" : [{ "volume_id" : "home_flexvdi" , "status" : "ok" , "image_storage_id" : "internal" }] } |
BasicVolumeInfo Object
Schema
volume_id | String | Volume's unique identifier |
---|---|---|
image_storage_id | String | ImageStorage's unique identifier (Volume's parent) |
status | String | Current state. Either "ok", "error" or "unknown" |
JSON example
{ "volume_id" : "samsung_ssd" , "status" : "ok" , "image_storage_id" : "internal" } |
BasicExternalVolumeInfo Object
Schema
volume_id | String | ExternalVolume's unique identifier |
---|---|---|
image_storage_id | String | ImageStorage's unique identifier (ExternalVolume's parent) |
status | String | Current state. Either "ok", "error" or "unknown" |
JSON example
{ "volume_id" : "home_flexvdi" , "status" : "ok" , "image_storage_id" : "internal" } |