All URIs are relative to /
Method | HTTP request | Description |
---|---|---|
healthyz | GET /healthyz | Check whether the node is healthy. |
readyz | GET /readyz | Check whether the node is ready to accept connections. |
startedz | GET /startedz | Check whether the node is started. |
healthyz()
Check whether the node is healthy.
Check whether the node is healthy.
from __future__ import print_function
import time
import hoprd_sdk
from hoprd_sdk.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = hoprd_sdk.ChecksApi()
try:
# Check whether the node is healthy.
api_instance.healthyz()
except ApiException as e:
print("Exception when calling ChecksApi->healthyz: %s\n" % e)
This endpoint does not need any parameter.
void (empty response body)
No authorization required
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
readyz()
Check whether the node is ready to accept connections.
Check whether the node is ready to accept connections.
from __future__ import print_function
import time
import hoprd_sdk
from hoprd_sdk.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = hoprd_sdk.ChecksApi()
try:
# Check whether the node is ready to accept connections.
api_instance.readyz()
except ApiException as e:
print("Exception when calling ChecksApi->readyz: %s\n" % e)
This endpoint does not need any parameter.
void (empty response body)
No authorization required
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
startedz()
Check whether the node is started.
Check whether the node is started.
from __future__ import print_function
import time
import hoprd_sdk
from hoprd_sdk.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = hoprd_sdk.ChecksApi()
try:
# Check whether the node is started.
api_instance.startedz()
except ApiException as e:
print("Exception when calling ChecksApi->startedz: %s\n" % e)
This endpoint does not need any parameter.
void (empty response body)
No authorization required
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]