Cisco Prime Infrastructure API
Prime Infrastructure API Documentation

GET

# GET info/uptime

- Jump To

### Resource Information

Rate Limiting? | Yes
Sorting? | No
Paging? | No
Filtering? | No
Response Formats | xml json
HTTP Methods | GET

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

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

    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <mgmtResponse rootUrl="https://192.168.116.207/webacs/api/v1/op/info/info/uptime" requestUrl="https://192.168.116.207/webacs/api/v1/op/info/uptime" responseType="operation">
        <applicationInfoDTO>
            <applicationUptime>String value</applicationUptime>
            <defaultGateway>String value</defaultGateway>
            <domainName>String value</domainName>
            <hostName>String value</hostName>
            <serverTime>2013-07-02T18:07:54.147-07:00</serverTime>
            <serverUptime>String value</serverUptime>
            <totalMemory>2</totalMemory>
        </applicationInfoDTO>
    </mgmtResponse>

### Sample JSON Response Payload

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

    {
      "mgmtResponse" : {
        "@rootUrl" : "https : \/\/192.168.116.207\/webacs\/api\/v1\/op\/info\/info\/uptime",
        "@requestUrl" : "https : \/\/192.168.116.207\/webacs\/api\/v1\/op\/info\/uptime",
        "@responseType" : "operation",
        "applicationInfoDTO" : {
          "applicationUptime" : "String value",
          "defaultGateway" : "String value",
          "domainName" : "String value",
          "hostName" : "String value",
          "serverTime" : "2013-07-02T18 : 07 : 54.148-07 : 00",
          "serverUptime" : "String value",
          "totalMemory" : 2
        }
      }
    }