Flagr::HealthApi

July 17, 2020 ยท View on GitHub

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

MethodHTTP requestDescription
get_healthGET /health

get_health

Health get_health

Check if Flagr is healthy

Example

# load the gem
require 'rbflagr'

api_instance = Flagr::HealthApi.new

begin
  result = api_instance.get_health
  p result
rescue Flagr::ApiError => e
  puts "Exception when calling HealthApi->get_health: #{e}"
end

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