Least-loaded hermes hosts
GET
/v1/internal/lb/next
const url = 'https://example.com/v1/internal/lb/next';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/v1/internal/lb/nextUp to 10 least-loaded ready hermes hosts, comma-separated IPs, lowest load first, for the FreeSWITCH load balancer. Served from the ranked snapshot (last-known if the refresher is stalled).
Responses
Section titled “Responses”Comma-separated host IPs, lowest-load first.
Media typetext/plain
string
Example
10.0.0.3,10.0.0.7No ready hermes node available.