donaldzou / WGDashboard

Simple dashboard for WireGuard VPN written in Python & Vue.js
https://donaldzou.github.io/WGDashboard-Documentation/
Apache License 2.0
1.62k stars 241 forks source link

API Functions #407

Closed Arxad closed 2 weeks ago

Arxad commented 1 month ago

How can I create a new Peer using the API? Right now, I'm only particularly interested in "Update Peer Settings". I want to create a new Peer by passing only the "configuration name" and "peer name" (so that the rest of the parameters are set automatically, like in a dashboard ). How can I get a list of unoccupied IP addresses?

Thank you for your work!

donaldzou commented 1 month ago

Hi @Arxad , I'm still updating the API doc and hopefully I can get those 2 features you mentioned up there in the next 24 hours ;) Will let u know!

donaldzou commented 1 month ago

Hi @Arxad , I've updated the API documentation and added those endpoint :)

Let me know if you have any questions :)

donaldzou commented 2 weeks ago

Closing this issue due to inactivity :)