Get Disk Status

Get the usage of a disk.

Request Format

GET http://{apigw-address}/dfs-api/v1.0/metrics/status

Response Parameters

Response parameters
Name Data type Description
status Int Status code
msg String Response message
submsg String Response sub-message
data Object Response data structure, the structure of which is in the table below
Response parameters
Name Data type Description
Usage String Used disk space
Capacity String Disk capacity

Sample

Request Sample

GET http://{apigw-address}/dfs-api/v1.0/metrics/status

Return Sample

{
   "status":"0",
   "msg":"success",
   "submsg":"",
   "data":{
      "Usage":"93827.4755859375 MB",
      "Capacity":"7*30 GB"
   }
}