Returns uptime information as well as information about the application and the server it runs on.
Resource URL
/webacs/api/v1/op/info/uptime
Since : 2.0
Response Parameters
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
|
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://szier-m8-106.cisco.com/webacs/api/v1/op/info/uptime
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<mgmtResponse rootUrl="https://szier-m8-106.cisco.com/webacs/api/v1/op/" requestUrl="https://szier-m8-106.cisco.com/webacs/api/v1/op/info/uptime" responseType="operation">
<applicationInfoDTO>
<applicationUptime>String value</applicationUptime>
<defaultGateway>String value</defaultGateway>
<domainName>String value</domainName>
<highAvailabilityEnabled>true</highAvailabilityEnabled>
<highAvailabilityPrimaryServerHostname>String value</highAvailabilityPrimaryServerHostname>
<highAvailabilityPrimaryServerIp>String value</highAvailabilityPrimaryServerIp>
<highAvailabilityRole>UNKNOWN</highAvailabilityRole>
<highAvailabilitySecondaryServerHostname>String value</highAvailabilitySecondaryServerHostname>
<highAvailabilitySecondaryServerIp>String value</highAvailabilitySecondaryServerIp>
<hostName>String value</hostName>
<serverTime>2014-12-04T10:16:43.003-08:00</serverTime>
<serverUptime>String value</serverUptime>
<totalMemory>2</totalMemory>
</applicationInfoDTO>
</mgmtResponse>
Sample JSON Response Payload
https://szier-m8-106.cisco.com/webacs/api/v1/op/info/uptime.json
{
"mgmtResponse" : {
"@rootUrl" : "https : \/\/szier-m8-106.cisco.com\/webacs\/api\/v1\/op\/",
"@requestUrl" : "https : \/\/szier-m8-106.cisco.com\/webacs\/api\/v1\/op\/info\/uptime",
"@responseType" : "operation",
"applicationInfoDTO" : {
"applicationUptime" : "String value",
"defaultGateway" : "String value",
"domainName" : "String value",
"highAvailabilityEnabled" : true,
"highAvailabilityPrimaryServerHostname" : "String value",
"highAvailabilityPrimaryServerIp" : "String value",
"highAvailabilityRole" : "UNKNOWN",
"highAvailabilitySecondaryServerHostname" : "String value",
"highAvailabilitySecondaryServerIp" : "String value",
"hostName" : "String value",
"serverTime" : "2014-12-04T10 : 16 : 43.004-08 : 00",
"serverUptime" : "String value",
"totalMemory" : 2
}
}
}