API Improvements Discussion
I'm looking to work on some improvements to the API and opening this issue as a central place to open discussion about what my ideas are and what others ideas are. I intend to update the issue with anything that is decided on to prevent confusion when scrolling through the replies.
To get things started here is what I have in mind so far.
In Progress
- Add /system.raspapVersion
- Add /system.usedDisk
- Add /ap.frequency_band
- Add /clients endpoint
- datapoints
- active_clients_amount
- active_wireless_clients_amount
- active_ethernet_clients_amount
- active_clients
- will have same data as the interface specific list but an additional data point of "connection_type" with value of "wireless", "ethernet" or "unknown"
- keep the existing /clients/{interface} endpoint for ability to get a specific interface's data
Ideas
- More service status datapoints to have a straightforward central way to see how/if things are running. Would likely go in /system and join hostapdStatus
- WiFi client
- list of networks available to connect to
- A POST endpoint to set what to connect to
Other things to note
- Renaming datapoint names to be consistently cased and predictable (eg snake case or camel cased).
API Improvements Discussion
I'm looking to work on some improvements to the API and opening this issue as a central place to open discussion about what my ideas are and what others ideas are. I intend to update the issue with anything that is decided on to prevent confusion when scrolling through the replies.
To get things started here is what I have in mind so far.
In Progress
Ideas
Other things to note