Cisco Evolved Programmable Network Manager API
Evolved Programmable Network Manager API Documentation

GET info/disk

Returns capacity and usage information for the volumes present on the application's server.

Since Product Version: 2.0

Resource Information

Rate Limiting?

No

Sorting?

No

Paging?

No

Filtering?

No

Group Filtering?

No

Aggregation?

No

Response Formats

xml

json

User Group

NBI Read

HTTP Methods

GET

API version v1 is deprecated

This API version has been deprecated. It will be removed in a future release of the product. Please develop new clients using the latest API version. Please modify your existing clients to use a later API version.

Resource URL

/webacs/api/v1/op/info/disk

Response Parameters

Attribute Description

availableCapacity long

Free/available capacity, in KB.

name String

The name of the volume.

usedCapacity long

Used capacity, in KB.

usedPercentage int

The percentage of the volume used, expressed in whole numbers where 100 is 100%.

Sample Payloads

Sample payloads are for information only. They are automatically generated and the values included may not be representative of actual valid data values.

Sample XML Response Payload

https://10.64.88.203/webacs/api/v1/op/info/disk

<?xml version="1.0" ?>
<mgmtResponse responseType="operation" requestUrl="../../../../../pages/common/login.jsp.html" rootUrl="https://10.64.88.203/webacs/api/v1/op">
  <volumeDTO>
    <availableCapacity>2</availableCapacity>
    <name>String value</name>
    <usedCapacity>2</usedCapacity>
    <usedPercentage>1</usedPercentage>
  </volumeDTO>
  <volumeDTO>
    <availableCapacity>12</availableCapacity>
    <name>Another string value</name>
    <usedCapacity>12</usedCapacity>
    <usedPercentage>11</usedPercentage>
  </volumeDTO>
</mgmtResponse>

Sample JSON Response Payload

https://10.64.88.203/webacs/api/v1/op/info/disk.json

{
  "mgmtResponse" : {
    "@responseType" : "operation",
    "@requestUrl" : "https : //10.64.88.203/webacs/api/v1/op/info/disk",
    "@rootUrl" : "https : //10.64.88.203/webacs/api/v1/op",
    "volumeDTO" : [{
      "availableCapacity" : 2,
      "name" : "String value",
      "usedCapacity" : 2,
      "usedPercentage" : 1
    },
    {
      "availableCapacity" : 12,
      "name" : "Another string value",
      "usedCapacity" : 12,
      "usedPercentage" : 11
    }]
  }
}