Queries the information about a drive.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request syntax
POST /v2/drive/get HTTP/1.1
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
body | object | No | The request parameters. | |
drive_id | string | Yes | The drive ID. | 1 |
Response parameters
Examples
Sample success responses
JSON
format
{
"domain_id": "bj1",
"drive_id": "1",
"drive_name": "drv1",
"description": "vipdrive",
"owner": "c9b7a5aa04d14ae3867fdc886fa01da4",
"owner_type": "user",
"drive_type": "normal",
"status": "enabled",
"used_size": 20480,
"total_size": 204800,
"created_at": "2019-08-20T06:51:27.292Z",
"creator": "c9b7a5aa04d14ae3867fdc886fa01da4"
}
Error codes
For a list of error codes, visit the Service error codes.