Ping API
Ping API
#340430
Description
Resource
/CIRBA/api/ping
Supported Operations
Table: Ping API Supported Operations
Operation |
HTTP Method |
Input |
Output |
Description |
Ping the Densify API subsystem |
GET /CIRBA/api/ping |
Query String Parameter:
|
Used to return the status of a connectivity test to the Densify API subsystem with no authorization. See Response Elements for the returned output. |
Parameters
Table: Ping API Query String Parameters
Parameter Name |
Type |
Description |
(optional) |
integer |
The maximum time, in seconds, for the Densify API Server to respond before returning a timeout error. If the timeout parameter is not specified, then the default timeout is set to 30 seconds. The valid range of timeout is between 15 and 180 seconds. Specifying any value outside of the valid range will produce a malformed request error. |
Response
The following table list elements and possible status codes returned from the /ping request.
Element |
Type |
Description |
string |
Detailed message of the status response. |
|
errorCode |
Possible response code values of the /ping request include:
|
Note: Other response error messages could indicate issues with the Densify web server or other connectivity issues to the web server.
Examples
The following example shows you a ping request to the Densify API subsystem with a timeout threshold of 100 seconds.

Request:
GET /CIRBA/api/ping?timeout=100
Response:
{
"message" : "ok",
"status" : 200
}
The following example shows you a ping request with an invalid timeout value.

Request:
GET /CIRBA/api/ping?timeout=10
Response:
{
"message" : "Timeout value valid range: 15-180",
"status" : 400
}