flagr.HealthApi
May 29, 2020 ยท View on GitHub
All URIs are relative to http://localhost/api/v1
| Method | HTTP request | Description |
|---|---|---|
| get_health | GET /health |
get_health
Health get_health()
Check if Flagr is healthy
Example
from __future__ import print_function
import time
import flagr
from flagr.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = flagr.HealthApi()
try:
api_response = api_instance.get_health()
pprint(api_response)
except ApiException as e:
print("Exception when calling HealthApi->get_health: %s\n" % e)
Parameters
This endpoint does not need any parameter.
Return type
Authorization
No authorization required
HTTP request headers
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]