All URIs are relative to http://localhost
Method | HTTP request | Description |
---|---|---|
health_check_data_get | GET /api/backend/v1/HealthCheck | healthcheck |
health_check_data_get()
healthcheck
- Basic Authentication (ApiKey):
from __future__ import print_function
import time
import fastreport_cloud_sdk
from fastreport_cloud_sdk.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to http://localhost
# See configuration.py for a list of all supported configuration parameters.
configuration = fastreport_cloud_sdk.Configuration(
host = "http://localhost"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure HTTP basic authorization: ApiKey
configuration = fastreport_cloud_sdk.Configuration(
username = 'YOUR_USERNAME',
password = 'YOUR_PASSWORD'
)
# Configure Bearer authorization (JWT): JWT
configuration = fastreport_cloud_sdk.Configuration(
access_token = 'YOUR_BEARER_TOKEN'
)
# Enter a context with an instance of the API client
with fastreport_cloud_sdk.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = fastreport_cloud_sdk.HealthCheckApi(api_client)
try:
# healthcheck
api_instance.health_check_data_get()
except ApiException as e:
print("Exception when calling HealthCheckApi->health_check_data_get: %s\n" % e)
- Bearer (JWT) Authentication (JWT):
from __future__ import print_function
import time
import fastreport_cloud_sdk
from fastreport_cloud_sdk.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to http://localhost
# See configuration.py for a list of all supported configuration parameters.
configuration = fastreport_cloud_sdk.Configuration(
host = "http://localhost"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure HTTP basic authorization: ApiKey
configuration = fastreport_cloud_sdk.Configuration(
username = 'YOUR_USERNAME',
password = 'YOUR_PASSWORD'
)
# Configure Bearer authorization (JWT): JWT
configuration = fastreport_cloud_sdk.Configuration(
access_token = 'YOUR_BEARER_TOKEN'
)
# Enter a context with an instance of the API client
with fastreport_cloud_sdk.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = fastreport_cloud_sdk.HealthCheckApi(api_client)
try:
# healthcheck
api_instance.health_check_data_get()
except ApiException as e:
print("Exception when calling HealthCheckApi->health_check_data_get: %s\n" % e)
This endpoint does not need any parameter.
void (empty response body)
- Content-Type: Not defined
- Accept: Not defined
Status code | Description | Response headers |
---|---|---|
200 | Our backend is alive! | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]