Ping

Ping Cloud API by core instance ID

Ping Cloud API by core instance ID

POSThttps://cloud-api.calyptia.com/v1/aggregators/{aggregatorID}/ping
Authorization
Path parameters
aggregatorID*string (uuid)
Response

OK

Body
nextPingstring (duration)
Request
const response = await fetch('https://cloud-api.calyptia.com/v1/aggregators/{aggregatorID}/ping', {
    method: 'POST',
    headers: {
      "Authorization": "Bearer <token>"
    },
});
const data = await response.json();
Response
{
  "nextPing": "30s"
}