Jsflagr.HealthApi
July 20, 2020 ยท View on GitHub
All URIs are relative to http://localhost/api/v1
| Method | HTTP request | Description |
|---|---|---|
| getHealth | GET /health |
getHealth
Health getHealth()
Check if Flagr is healthy
Example
var Jsflagr = require('jsflagr');
var apiInstance = new Jsflagr.HealthApi();
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.getHealth(callback);
Parameters
This endpoint does not need any parameter.
Return type
Authorization
No authorization required
HTTP request headers
- Content-Type: application/json
- Accept: application/json