Getting basic information from every ImageStorage

Format

MethodGET
URL

/imagestorages

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

 

BasicImageStorageInfo Object

Schema

image_storage_idStringImageStorage's unique identifier
volumesBasicVolumeInfo ArrayList of Volumes present on this ImageStorage
external_volumesBasicExternalVolumeInfo ArrayList 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_idStringVolume's unique identifier
image_storage_idStringImageStorage'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"
}

 

BasicExternalVolumeInfo Object

Schema

volume_idStringExternalVolume's unique identifier
image_storage_idStringImageStorage's unique identifier (ExternalVolume's parent)
statusStringCurrent state. Either "ok", "error" or "unknown"

JSON example

 

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