Readiness Status Query API

Function

Queries the service readiness status.

Format

Operation type: GET

URL: https://{ip}:{port}/v1/readiness

  • Preferably set {ip} to POD_IP in Configuration Description. If the environment variable is not configured, set {ip} to the value of manage_ip parameter in the ms_coordinator.json configuration file.
  • Preferably set {port} to {status_port} in Starting Coordinator. If the parameter is not configured, set {port} to the value of the status_port parameter in the ms_coordinator.json configuration file.

Request Parameters

None

Usage Example

Request example:

GET https://{ip}:{port}/v1/readiness

Response example:

There is no content when the service is ready.

Output Description

  • Status code 200: The service is ready and the message body is empty.
  • Status code 503: The service is not ready and the message body is empty.