All URIs are relative to http://localhost/api/v1
Method | HTTP request | Description |
---|---|---|
get_health | GET /health |
Health get_health
Check if Flagr is healthy
# 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
This endpoint does not need any parameter.
No authorization required
- Content-Type: application/json
- Accept: application/json