EIDA / eida-statistics

Aggregated statistics of EIDA nodes
GNU General Public License v3.0
0 stars 0 forks source link

Replace datacenter and network management API with an information method #32

Closed jschaeff closed 1 year ago

jschaeff commented 1 year ago

/nodes/id would show the information about a node, which is basically it's default restriction policy

More info could be added in the future, for instance, latest payload submitted ?

vpet98 commented 1 year ago

There is a /_nodes method already that returns a list of available nodes. Maybe it would be a bit confusing to have similar names. For now, I am thinking of leaving the name /nodes_restriction_policy for this method and I can change it in the future if we decide to add more information about a node to the results of this method.

jschaeff commented 1 year ago

OK.

We should also think about the consistency of node/datacenter terminology ...

As it goes, maybe we should replace all datacenter parameters for node.