-
-
Notifications
You must be signed in to change notification settings - Fork 792
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FEATURE REQUEST: Rest API for AP management #1498
Comments
this is quite a big feature, so idk if this is anything "we" should want |
Agreed that the level of effort is somewhat non-trivial. However it's a frequently requested feature #1372 #602 #393 (probably more examples) and would indeed make RaspAP more useful for IoT / HA applications. I've been gradually moving the project toward more PHP class definitions (see contents of |
cool! |
Sure, totally open to a non-PHP approach. FastAPI is great, I've played with it a bit in the past. |
quick update, i have the system info already implemented, moving on to wifi info: the following parts i cannot implement because of having zero knowledge about php: i'll continue this weekend |
That was quick 😅 Re: PHP or implementing API endpoints, generally, I'm happy to give advice and/or contribute code as needed. |
Hey @billz the API is progressing quite nicely, can i ask to get insider access? what is your opinion on this? the branch is quite cluttered, but if you're interested, here is the progress: https://github.com/NL-TCH/raspap-docker/tree/API-alpha |
@billz can you give feedback on the branch?
|
@NL-TCH great! I'll carve out some time and give it a round of testing. |
Image built successfully. Started the container per usual. The
Opening http://raspberrypi.local:8081/docs loads the interactive FastAPI docs (very nice). Tried several endpoints - all the ones I tested worked as expected. eg.: GET http://raspberrypi.local:8081/ap
Amazing work! |
Is your feature request related to a problem?
No, but with the RestAPI a whole new world of automation opens, like HA integration with automation based on connected clients, etc...
Describe the solution you'd like
A Rest API with functionality like:
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
None
Additional context
Add any other context or screenshots about the feature request here.
The text was updated successfully, but these errors were encountered: