Version 0.3 - creation attributes, deletion, sorting and etc.
Features:
- Get interface
- Get all peers
- Sort peers, limit, get by page
- Get peer by public key
- Add peer (auto and manual configuration available!)
- Delete peer
Run (Java 20 required!):
sudo java -jar wirerest-0.3.jar \
--wg.interface.name=wg0 #Wireguard interface for which you want to use api, wg0 by default
Server run on port 8081
Swagger UI is available at http://127.0.0.1:8081/swagger-ui
What's Changed
- Created metadata for application properties by @FokiDoki in #29
- Spring MVC -> WebFlux migration by @FokiDoki in #30
- Fixed bug when big wireguard dumps (~1000+ peers) breaks wirerest by @FokiDoki in #32
- Endpoint for peer deletion by @FokiDoki in #34
- No more manually entering the subnet, IP and port of Wireguard! Now it detects automatically by @FokiDoki in #35
- Added some logging and refactor by @FokiDoki in #36
- Added sorting and paging to /peers end point by @FokiDoki in #37
- Create peer with custom parameters by @FokiDoki in #38
Full Changelog: 0.2-ALPHA...0.3-ALPHA