lakefs_enterprise_sdk.HealthCheckApi¶
All URIs are relative to /api/v1
| Method | HTTP request | Description |
|---|---|---|
| health_check | GET /healthcheck |
health_check¶
health_check()
check that the API server is up and running
Example¶
import time
import os
import lakefs_enterprise_sdk
from lakefs_enterprise_sdk.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to /api/v1
# See configuration.py for a list of all supported configuration parameters.
configuration = lakefs_enterprise_sdk.Configuration(
host = "/api/v1"
)
# Enter a context with an instance of the API client
with lakefs_enterprise_sdk.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = lakefs_enterprise_sdk.HealthCheckApi(api_client)
try:
api_instance.health_check()
except Exception as e:
print("Exception when calling HealthCheckApi->health_check: %s\n" % e)
Parameters¶
This endpoint does not need any parameter.
Return type¶
void (empty response body)
Authorization¶
No authorization required
HTTP request headers¶
- Content-Type: Not defined
- Accept: Not defined
HTTP response details¶
| Status code | Description | Response headers |
|---|---|---|
| 204 | NoContent | - |