A health check can be performed on the API calling the /ping
endpoint.
Definition
GET https://api.treasuryprime.com/ping
Returns an HTTP status 200 if the API is available.
Example Request
$ curl -u "$API_KEY_ID:$API_KEY_VALUE" https://api.treasuryprime.com/ping
Example Response
{
"api_version": "1",
"version": "1.10.165-g284f828c",
"time": "2020-12-08T06:27:07.204Z"
}