So I’ve tried to pull my vetting status for my nodes (named storagenode1, storagenode2, and storagenode3) and I’m running this command with “storagenodeX” replaced with one of the proper node names:
for sat in `docker exec -i storagenodeX wget -qO
- localhost:14002/api/sno | jq .satellites[].id -r`;
do docker exec -i storagenodeX wget -qO
- localhost:14002/api/sno/satellite/$sat | jq .id,.audit;
done
So the earnings calculator worked, and that’s great. I’ve now found my vetting status.
But the command I was using with the API matches what you linked to in the post about the API changing. Has there been another change to the API that causes this command to not work?
OK, I found where my error was. When I compared my command to Alexey’s linked command they looked identical. But there was a single missing character in the string. Either I mis-typed the “audits” ID or copied a bad command. I just had “audit” in mine. So now I get results that do not come back null:
But as Stob said the vetting information is no longer in the API’s response data. So I guess it’s not that I can use the earnings calculator to get vetting info, but that one must use the calculator to see the status.