All URIs are relative to https://api.invoicetronic.com
| Method | HTTP request | Description |
|---|---|---|
| health_get | GET /health | Health check |
health_get()
Health check
Returns the health status of the API and its dependencies. No authentication required. Rate limited to 12 requests per minute.
- Basic Authentication (Basic):
import invoicetronic_sdk
from invoicetronic_sdk.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://api.invoicetronic.com
# See configuration.py for a list of all supported configuration parameters.
configuration = invoicetronic_sdk.Configuration(
host = "https://api.invoicetronic.com"
)
# 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: Basic
configuration = invoicetronic_sdk.Configuration(
username = os.environ["USERNAME"],
password = os.environ["PASSWORD"]
)
# Enter a context with an instance of the API client
with invoicetronic_sdk.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = invoicetronic_sdk.HealthApi(api_client)
try:
# Health check
api_instance.health_get()
except Exception as e:
print("Exception when calling HealthApi->health_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 | OK | - |
| 429 | Too Many Requests | - |
| 503 | Service Unavailable | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]