Function
Queries the service health status.
Format
Operation type: GET
URL: https://{ip}:{port}v1/node-manager/running-status
- The {ip} field uses the value of the environment variable POD_IP within the server container.
- The {port} field uses the value of the node_manager_port parameter in the node_manager.json configuration file.
Usage Example
Request example:
GET https://{ip}:{port}/v1/node-manager/running-status
Response example:
{
"status": 0,
"errors": []
}
Output Description
Return Value
|
Type
|
Description
|
status
|
int
|
Health status.
- 0: The service is ready.
- 1: The service is running properly.
- 2: The service is abnormal.
- 3: The service is suspended.
- 4: The service is being initialized.
|
errors
|
dict
|
Fault information.
|