External Disks API
Action |
Method |
Payload Required |
API |
---|---|---|---|
To get a list of external disks |
GET |
No |
/api/operational/system/ext-disks |
Example: GET External Disks API
curl -X GET -v -k -u admin:admin https://1.2.3.4/api/operational/system/ext-disks
* Trying 172.19.147.237...
* Connected to 172.19.147.237 (172.19.147.237) port 443 (#0)
* TLS 1.2 connection using TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
* Server certificate: Cisco-Enterprise-NFVIS-Self-Signed-Certificate
* Server auth using Basic with user 'admin'
> GET /api/operational/system/ext-disks HTTP/1.1
> Host: 172.19.147.237
> Authorization: Basic YWRtaW46YWRtaW4=
> User-Agent: curl/7.43.0
> Accept: */*
>
< HTTP/1.1 204 No Conten
< Server: nginx/1.6.3
< Date: Fri, 26 Aug 2016 23:03:50 GMT
< Content-Type: application/vnd.yang.collection+xml
< Content-Length: 0
< Connection: keep-alive
< Cache-Control: private, no-cache, must-revalidate, proxy-revalidate
< Pragma: no-cache
<
<name>extdatastore1</data>