Getting full information from a certain DirectStorage

Format

MethodGET
URL

/directstorages/$DIRECT_STORAGE_ID

Request contentsEmpty
Successful answerDirectStorageInfo Object
Non-successful answerErrorMessage Object
Unexpected errorHTTP 500

DirectStorageInfo Object

Schema

direct_storage_idStringDirectStorage's unique identifier
host_listArray de StringList of Hosts linked to this DirectStorage
disksArray de PhysicalDiskInfoList of PhysicalDisks available on this DirectStorage

 JSON example

 

{
    "media_storage_id": "dataon",
    "host_list": ["flexdev01"],
    "disks": [{
        "volume_id": "samsung_ssd",
        "product_number": "Samsung",
        "physical_disk_id": "3500253887013e77e",
        "vendor": "ATA",
        "host_device": "/dev/sdb"
    }]
}

 

PhysicalDiskInfo Object

Schema

 

physical_disk_idStringPhysical disk's unique identifier
product_numberStringProduct number string
vendorStringVendor string
host_deviceStringLinux devices assigned to this device on the first Host
volume_idStringVolume's unique identifier which owns this PhysicalDisk, or empty if free

JSON example

 

{
    "volume_id": "samsung_ssd",
    "product_number": "Samsung",
    "physical_disk_id": "3500253887013e77e",
    "vendor": "ATA",
    "host_device": "/dev/sdb"
}