All URIs are relative to https://raw.githubusercontent.com/api
Method | HTTP request | Description |
---|---|---|
liveness | GET /health/liveness | Liveness check |
readiness | GET /health/readiness | Readiness check |
MessageOK liveness()
Liveness check
The test says that the service is alive and yet
import GripmockSdk from '@bavix/gripmock-sdk';
let apiInstance = new GripmockSdk.HealthcheckApi();
apiInstance.liveness().then((data) => {
console.log('API called successfully. Returned data: ' + data);
}, (error) => {
console.error(error);
});
This endpoint does not need any parameter.
No authorization required
- Content-Type: Not defined
- Accept: application/json
MessageOK readiness()
Readiness check
The test indicates readiness to receive traffic
import GripmockSdk from '@bavix/gripmock-sdk';
let apiInstance = new GripmockSdk.HealthcheckApi();
apiInstance.readiness().then((data) => {
console.log('API called successfully. Returned data: ' + data);
}, (error) => {
console.error(error);
});
This endpoint does not need any parameter.
No authorization required
- Content-Type: Not defined
- Accept: application/json