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

GET info/uptime

Resource Information

Rate Limiting?

Yes

Sorting?

No

Paging?

No

Filtering?

No

Response Formats

xml

json

User Group

NBI Read

HTTP Methods

GET

Returns uptime information as well as information about the application and the server it runs on.

Since Product Version: 2.0

Resource URL

/webacs/api/v1/op/info/uptime

Response Parameters

Type Attribute Name Description

String

applicationUptime

Uptime of this application.

String

defaultGateway

The default gateway used by the server.

String

domainName

The domain name of this server.

boolean

highAvailabilityEnabled

Is high availability enabled on this server.

String

highAvailabilityPrimaryServerHostname

The high availability primary server's hostname.

String

highAvailabilityPrimaryServerIp

The high availability primary server's IP address.

HighAvailabilityRole

highAvailabilityRole

The role this server plays in the high availability group.

Allowed values:

  • UNKNOWN
  • PRIMARY
  • SECONDARY

String

highAvailabilitySecondaryServerHostname

The high availability secondary server's hostname.

String

highAvailabilitySecondaryServerIp

The high availability secondary server's IP address.

String

highAvailabilityVirtualHostname

High availability partners' virtual hostname

String

highAvailabilityVirtualIp

The high availabiliti partners' virtual IP address.

String

hostName

The host name of this server.

Date

serverTime

Time as reported by the server.

String

serverUptime

Uptime of the host server.

long

totalMemory

The total amount of memory on the server in kilobytes.

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://172.25.123.114/webacs/api/v1/op/info/uptime

<?xml version="1.0" ?>
<mgmtResponse responseType="operation" requestUrl="../../../../pages/common/login.jsp.html" rootUrl="https://172.25.123.114/webacs/api/v1/op/">
  <applicationInfoDTO>
    <highAvailabilityEnabled>true</highAvailabilityEnabled>
    <highAvailabilitySecondaryServerIp>String value</highAvailabilitySecondaryServerIp>
    <hostName>String value</hostName>
    <serverUptime>String value</serverUptime>
    <applicationUptime>String value</applicationUptime>
    <defaultGateway>String value</defaultGateway>
    <domainName>String value</domainName>
    <highAvailabilityPrimaryServerHostname>String value</highAvailabilityPrimaryServerHostname>
    <highAvailabilityPrimaryServerIp>String value</highAvailabilityPrimaryServerIp>
    <highAvailabilityRole>UNKNOWN</highAvailabilityRole>
    <highAvailabilitySecondaryServerHostname>String value</highAvailabilitySecondaryServerHostname>
    <highAvailabilityVirtualHostname>String value</highAvailabilityVirtualHostname>
    <highAvailabilityVirtualIp>String value</highAvailabilityVirtualIp>
    <serverTime>2020-07-28T20:30:18.775Z</serverTime>
    <totalMemory>2</totalMemory>
  </applicationInfoDTO>
</mgmtResponse>

Sample JSON Response Payload

https://172.25.123.114/webacs/api/v1/op/info/uptime.json

{
  "mgmtResponse" : {
    "@responseType" : "operation",
    "@requestUrl" : "https : \/\/172.25.123.114\/webacs\/api\/v1\/op\/info\/uptime",
    "@rootUrl" : "https : \/\/172.25.123.114\/webacs\/api\/v1\/op\/",
    "applicationInfoDTO" : {
      "highAvailabilityEnabled" : true,
      "highAvailabilitySecondaryServerIp" : "String value",
      "hostName" : "String value",
      "serverUptime" : "String value",
      "applicationUptime" : "String value",
      "defaultGateway" : "String value",
      "domainName" : "String value",
      "highAvailabilityPrimaryServerHostname" : "String value",
      "highAvailabilityPrimaryServerIp" : "String value",
      "highAvailabilityRole" : "UNKNOWN",
      "highAvailabilitySecondaryServerHostname" : "String value",
      "highAvailabilityVirtualHostname" : "String value",
      "highAvailabilityVirtualIp" : "String value",
      "serverTime" : "2020-07-28T20 : 30 : 18.775Z",
      "totalMemory" : 2
    }
  }
}