Resgistry info and websocket port info not available on `/hostdb/hosts` API
FEATURE REQUEST
Description of Request
The recently introduced websocket port number and registry info (like the size of the free registry) is not available through the API /hostdb/hosts/<pubkey>
in 1.5.1-rc1.
Reason or Need for Feature
External observers might want to know, using the Sia API, if hosts are properly configured to use the newest features of Sia as SkyDB. I plan to use this information on SiaStats.info for the following:
- Reporting the configured Websocket port, and alerting hosts if the port is unreachable
- Reporting the registry entries available on each host, and alerting them if they have not configured it properly or run out of space
- Displaying network aggregated data about the size of the registry available on the network, and track this data over time
Design / Proposal
This information is probably too specific to be included in the hostdb/all
API, but probably would make sense in hostdb/host/<pubkey>
. Any format you come out with should work.