This section will cover additional methods for working with Callaba streaming API nodes.
Returns a JSON object with parameters.
curl -X 'POST' \'http://1.2.3.4/api/utils/getStat' \-H 'accept: application/json' \-H 'x-access-token: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjYyMGJlYjA2MTM3YmIzMDAyYzhmNjAwYSIsImlhdCI6MTY0NzM2NDM3NSwiZXhwIjoxNjQ5OTU2Mzc1fQ.gScR-FPsfmsFvFW59eCH4-jThF2qcZ-2QYKwlN_wswE' \-H 'Content-Type: application/json' \-d ''
{"cpuUsage": 11.76,"drive": {"totalGb": "88.0","usedGb": "44.6","freeGb": "43.4","usedPercentage": "50.7","freePercentage": "49.3"},"RAM": {"totalMemMb": 15904.04,"usedMemMb": 9855.47,"freeMemMb": 6048.57,"usedMemPercentage": 61.97,"freeMemPercentage": 38.03}}
Returns data on outgoing and incoming network bandwidth.
curl -X 'POST' \'http://1.2.3.4/api/utils/speedtest' \-H 'accept: application/json' \-H 'x-access-token: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjYyMGJlYjA2MTM3YmIzMDAyYzhmNjAwYSIsImlhdCI6MTY0NzM2NDM3NSwiZXhwIjoxNjQ5OTU2Mzc1fQ.gScR-FPsfmsFvFW59eCH4-jThF2qcZ-2QYKwlN_wswE' \-H 'Content-Type: application/json' \-d ''
{"timestamp":"2022-03-15T17:51:30.000Z","ping": {"jitter":12.785,"latency":99.965},"download": {"bandwidth":274653,"bytes":2490572,"elapsed":9407},"upload":{"bandwidth":244916,"bytes":1465282,"elapsed":6007},"packetLoss":0,"isp":"London ISP","interface":}
Get a list of ports used by the Callaba Engine.
Returns an array of objects containing the properties:
curl -X 'POST' \'http://1.2.3.4/api/utils/getUsedPorts' \-H 'accept: application/json' \-H 'x-access-token: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjYyMGJlYjA2MTM3YmIzMDAyYzhmNjAwYSIsImlhdCI6MTY0NzM2NDM3NSwiZXhwIjoxNjQ5OTU2Mzc1fQ.gScR-FPsfmsFvFW59eCH4-jThF2qcZ-2QYKwlN_wswE' \-H 'Content-Type: application/json' \-d ''
[{"port": 1935,"transport": "UDP"},{"port": 1945,"transport": "TCP"}]