raspap-webgui icon indicating copy to clipboard operation
raspap-webgui copied to clipboard

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

Open frankozland opened this issue 1 year ago • 1 comments

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.

frankozland avatar Jul 14 '24 12:07 frankozland

Many of these are addressed in #1749

billz avatar Feb 08 '25 16:02 billz