Getting basic information from every Image Storage

Format

MethodGET
URL

/imagestorages

Request contentsEmpty
Successful answerBasicImageStorageInfo Object Array
Non-successful answerErrorMessage Object
Unexpected errorHTTP 500

BasicImageStorageInfo Object

Schema

image_storage_idStringImage Storage's unique identifier
volumesBasicVolumeInfo ArrayList of Volumes present in this Image Storage
external_volumesBasicVolumeInfo ArrayList of External Volumes present in this Image Storage
gluster_volumesBasicVolumeInfo ArrayList 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_idStringVolume's unique identifier
image_storage_idStringImage Storage's unique identifier (Volume's parent)
statusStringCurrent state. Either "ok", "error" or "unknown"

JSON example

{
    "volume_id": "samsung_ssd",
    "status": "ok",
    "image_storage_id": "internal"
}