Api documentation

The only available documentation is posted here:

But you can checkout GitHub:

So, the endpoint for estimation is http://localhost:14002/api/sno/estimated-payout
The example for PowerShell:

((curl http://localhost:14002/api/sno/estimated-payout).Content | ConvertFrom-Json).currentMonth

And for bash

curl -sL http://localhost:14002/api/sno/estimated-payout | jq '.currentMonth'

You need to divide the result for .payout, .held, .egressBandwidthPayout, .egressRepairAuditPayout, .diskSpacePayout to 100.00 to see them in $, not cents.

2 Likes