Skip to content

Latest commit

 

History

History
52 lines (33 loc) · 1.08 KB

HealthApi.md

File metadata and controls

52 lines (33 loc) · 1.08 KB

flagr.HealthApi

All URIs are relative to https://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

Health

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]