Skip to content

Latest commit

 

History

History
49 lines (29 loc) · 772 Bytes

HealthApi.md

File metadata and controls

49 lines (29 loc) · 772 Bytes

Flagr::HealthApi

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

# 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