Gets the health status of the xCurrent server's peers. This request requires authorization. The timeout for this operation is 5 seconds.
Segurança
Bearer
- Mock serverhttps://docs.ripple.com/_mock/pt-br/products/payments-odl/api-docs/ripplenet/reference/openapi/heartbeat
- https://[domainPrefix].ripplexcurrent.com/v4https://[domainPrefix].ripplexcurrent.com/v4/heartbeat
curl -i -X GET \
https://docs.ripple.com/_mock/pt-br/products/payments-odl/api-docs/ripplenet/reference/openapi/heartbeat \
-H 'Authorization: YOUR_API_KEY_HERE'Successful response.
Time at which the heartbeat was checked, as an ISO-8601 timestamp in UTC.
Exemplo:"2019-10-01"
RippleNet address of the RippleNet server for which the heartbeat was checked. (Deprecated in favor of 'ripplenet_node' field, has exactly the same value).
Exemplo:"rn.us.ny.new_york"
RippleNet address of the RippleNet server for which the heartbeat was checked.
Exemplo:"rn.us.ny.new_york"
Provides a list of peer RippleNet addresses and their health statuses.
Resposta
{ "time_checked": "2019-10-01", "xcurrent_node": "rn.us.ny.new_york", "ripplenet_node": "rn.us.ny.new_york", "peer_heartbeat_results": { "property1": "HEALTHY", "property2": "HEALTHY" }, "errors": [ "string" ] }