Storage node dashboard API (v0.35.5)

With v0.35.3 the storage node dashboard API endpoints have changed. If you don’t know how to open the dashboard API please take a look at the old thread here: Storage node dashboard API (v0.19.0)

The new endpoints are:
/api/sno
/api/sno/satellites
/api/sno/satellite/${id}
/api/notifications/list?page=1&limit=10

In the code I can also see the following endpoints but I was not able to test them:
/api/notifications/readall
/api/notifications/${id}/read

3 Likes

@greener Hope you have some time to update the prometheus-exporter to the new endpoints :slight_smile:
Would be greatly appreciated!
Good that we have a slow rollout, so there is some time until it hits all the docker installations :smiley:

/api/notifications/readall
/api/notifications/${id}/read

this not work, but may be because i not have notifications
/api/notifications/list?page=1&limit=10 giveresult, that i have 0 of them

Just so I understand correctly, it’s just the endpoints that has changed, not they JSON key;Values?

Where can I find all Dashboard api call like
curl -s http://ipaddress:14002/api/dashboard | jq .data.satellites?

I moved your post to here. Please, take a look on a topic

The output format has changed a bit too, there is no “data” object anymore.

curl -s “127.0.0.1:14002/api/sno/” | jq .satellites

The “/” after sno is required, without it I get a 301

2 Likes

It is strange that resource end point isn’t consistent.

/api/sno gives me <a href="/api/sno/">Moved Permanently</a>.
but /api/sno/ works
meanwhile /api/satellites returns resource.

/api/sno/ should be without slash at the end, don’t you think? Using v 1.0.1
Not a big deal considering how many endpoints we have but still

A few SNO includding me see that /api/sno queries may be slow. Up to few minites per call.

is it on raspberry on full power PC?

On Atom D510. Before v0.35 all works fine.

did you tried after write after restart? or after some time after restart, becase on start it make extencive work for some tome to calculate space

Yes. Hours and days after restart.