Getting basic information from every Image Storage
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 | Image Storage's unique identifier |
---|---|---|
volumes | BasicVolumeInfo Array | List of Volumes present in this Image Storage |
external_volumes | BasicVolumeInfo Array | List of External Volumes present in this Image Storage |
gluster_volumes | BasicVolumeInfo Array | List of Gluster Volumes present in this Image Storage |
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" }], "gluster_volumes": [{ "volume_id": "gluster1", "status": "ok", "image_storage_id": "internal" }] Â }
BasicVolumeInfo Object
Schema
volume_id | String | Volume's unique identifier |
---|---|---|
image_storage_id | String | Image Storage'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" }