View the data volume details.

Request information

Request line (RequestLine)

Get /volumes/{name} HTTP/1.1

Request line parameter (URI Param)

None.

Special request header (RequestHead)

None.

Request body (RequestBody)

None.

Response information

Response line (ResponseLine)

HTTP/1.1 200 OK

Response body (ResponseBody)

JSON object

  
   "Name": "volume",  
   "Driver": "***",  
   "Mountpoint": "/mnt/acs_mnt/**/***",  
   "Labels": null,  
   "Scope": "", 
   "Node": "***", 
   "Refs": []
Name Type Description
Name string The data volume name.
Driver string

The type of the data volume driver: ossfs.

Mountpoint string The mount point of the data volume on the host: /mnt/acs_mnt/**/***.
Labels map[string]string The metadata information of the data volume.
Scope string The data volume management range. global indicates the cluster level. local indicates inside the host.
Node string The host name of the node in which the data volume resides.
Refs []VolumeRef The list of containers that use this data volume. For more information, see the definition of VolumeRef.

VolumeRef data type:

Name Type Description
Name string Container name
ID string Container ID

Example

Response example

 
   "Name": "volume",  
   "Driver": "ossfs",  
   "Mountpoint": "/mnt/acs_mnt/ossfs/bucket",  
   "Labels": null,  
   "Scope": "", 
   "Node": "asd903233s23q-node1", 
   "Refs": []