All URIs are relative to http://localhost/service/rest
| Method | HTTP request | Description |
|---|---|---|
| get_system_status_checks | GET /v1/status/check | Health check endpoint that returns the results of the system status checks |
| is_available | GET /v1/status | Health check endpoint that validates server can respond to read requests |
| is_writable | GET /v1/status/writable | Health check endpoint that validates server can respond to read and write requests |
get_system_status_checks()
Health check endpoint that returns the results of the system status checks
from __future__ import print_function
import time
import nexus_api_python_client
from nexus_api_python_client.rest import ApiException
from pprint import pprint
# Enter a context with an instance of the API client
with nexus_api_python_client.ApiClient() as api_client:
# Create an instance of the API class
api_instance = nexus_api_python_client.StatusApi(api_client)
try:
# Health check endpoint that returns the results of the system status checks
api_instance.get_system_status_checks()
except ApiException as e:
print("Exception when calling StatusApi->get_system_status_checks: %s\n" % e)This endpoint does not need any parameter.
void (empty response body)
No authorization required
- Content-Type: Not defined
- Accept: Not defined
| Status code | Description | Response headers |
|---|---|---|
| 200 | The system status check results | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
is_available()
Health check endpoint that validates server can respond to read requests
from __future__ import print_function
import time
import nexus_api_python_client
from nexus_api_python_client.rest import ApiException
from pprint import pprint
# Enter a context with an instance of the API client
with nexus_api_python_client.ApiClient() as api_client:
# Create an instance of the API class
api_instance = nexus_api_python_client.StatusApi(api_client)
try:
# Health check endpoint that validates server can respond to read requests
api_instance.is_available()
except ApiException as e:
print("Exception when calling StatusApi->is_available: %s\n" % e)This endpoint does not need any parameter.
void (empty response body)
No authorization required
- Content-Type: Not defined
- Accept: Not defined
| Status code | Description | Response headers |
|---|---|---|
| 200 | Available to service requests | - |
| 503 | Unavailable to service requests | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
is_writable()
Health check endpoint that validates server can respond to read and write requests
from __future__ import print_function
import time
import nexus_api_python_client
from nexus_api_python_client.rest import ApiException
from pprint import pprint
# Enter a context with an instance of the API client
with nexus_api_python_client.ApiClient() as api_client:
# Create an instance of the API class
api_instance = nexus_api_python_client.StatusApi(api_client)
try:
# Health check endpoint that validates server can respond to read and write requests
api_instance.is_writable()
except ApiException as e:
print("Exception when calling StatusApi->is_writable: %s\n" % e)This endpoint does not need any parameter.
void (empty response body)
No authorization required
- Content-Type: Not defined
- Accept: Not defined
| Status code | Description | Response headers |
|---|---|---|
| 200 | Available to service requests | - |
| 503 | Unavailable to service requests | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]