v1

latestOpenAPI 3.0.0Apache 2.02026-07-174040133.9 KB
Storage Pools

Get storage pool detail by pool ID.

get/v1/storage-pools/{id}

Path parameters

idstring required

Database ID created for a storage pool.

Response

OK

idstring required
created_atstring date-time
updated_atstring date-time
namestring required
storage_idstring
native_storage_pool_idstring
storage_type'block' | 'file' | 'unified'
descriptionstring
status'normal' | 'offline' | 'abnormal'
total_capacityinteger
used_capacityinteger
free_capacityinteger

Example response

{
  "id": "084bf71e-a102-11e7-88a8-e31fe6d52248",
  "created_at": "2017-07-10T14:36:58.014Z",
  "updated_at": "2017-07-10T14:36:58.014Z",
  "storage_id": "084bf71e-a102-11e7-88a8-e31fe6d52248",
  "native_storage_pool_id": "SRP_1"
}