Get liveness of PASJava/PASService/CycleService

get

/PASService/rest/services/v1/health/liveness

Get liveness of PASJava/PASService/CycleService

Request

There are no request parameters for this operation.

There's no request body for this operation.

Back to Top

Response

Supported Media Types

200 Response

successful operation
Body ()
Root Schema : schema
Type: object
Show Source
Nested Schema : checks
Type: array
Show Source
Nested Schema : items
Type: object
Show Source

503 Response

Service Unavailable
Back to Top

Examples

Returns a JSON with all LIVE checks for All services that accepts HTTP/HTTPS requests for PASJava.

Example cURL Command

Use the following cURL command to submit a request on the REST resource:

curl \
    -X GET \
    -H "Content-Type: application/json" \
    -u 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \
    -L "http://server:port/PASService/rest/services/v1/health/liveliness \"

Example Response Body

The following shows an example of the response body in JSON format for PASJava/PASService/CycleService:

The following shows an example of the response body in JSON format for PASJava:

{
  "status": "UP",
  "timestamp": "2025-05-07T12:00:00Z",
  "checks": [
    {
      "server": "Server Name1",
      "status": "UP",
      "host": "linux server name"
    }
  ]
}

The following shows an example of the response body in JSON format for PASService:

{
  "status": "UP",
  "timestamp": "2025-05-07T12:00:00Z",
  "checks": [
    {
      "server": "Server Name1",
      "status": "UP",
      "host": "linux server name"
    }
  ]
}

The following shows an example of the response body in JSON format for CycleService:

{
  "status": "UP",
  "timestamp": "2025-05-07T12:00:00Z",
  "checks": [
    {
      "server": "Server Name1",
      "status": "UP",
      "host": "linux server name"
    }
  ]
}
Back to Top