RaspAP / raspap-webgui

Simple wireless AP setup & management for Debian-based devices
https://raspap.com/
GNU General Public License v3.0
4.47k stars 792 forks source link

RestAPI - I;d like to be able to get how RaspAP is configured #1619

Open frankozland opened 4 months ago

frankozland commented 4 months ago

Is your feature request related to a problem?

I can pick thru settings files but it might be more elegant (and consistent) to have restapi return these

Describe the solution you'd like

Getters to answer: What is hostap interface? What is Client interface? What vpn tunnel (wg0,tun0)? What vpn option is enabled? What is dhcp server interface? What is public ip address?

Nice to have (separate req): How many clients are connected now? What are their machine names/mac addresses? How long have they been connected? Is openvpn detected as UP? Is hostapd detected as UP? Is dhcp detected as UP?

Nice to have (separate req): Restart services thru raspap (contained) single call shut it all down in proper sequence single call bring it all up in proper sequence Switch openvpn ovpn file and restart openvpn

Describe alternatives you've considered

A clear and concise description of any alternative solutions or features you've considered.

Additional context

Add any other context or screenshots about the feature request here.