Skip to content

Latest commit

 

History

History
51 lines (32 loc) · 1.04 KB

HealthApi.md

File metadata and controls

51 lines (32 loc) · 1.04 KB

flagr.HealthApi

All URIs are relative to http://localhost/api/v1

Method HTTP request Description
get_health GET /health

get_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_instance.get_health()
except ApiException as e:
    print("Exception when calling HealthApi->get_health: %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: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]