ae7f532c23 | ||
---|---|---|
easy-rsa@a9cecc747c | ||
templates | ||
.gitignore | ||
.gitmodules | ||
Dockerfile | ||
README.md | ||
main.py | ||
requirements.txt |
README.md
VPN GOLEM
REST API endpoints
endpoint | method | body | description |
---|---|---|---|
/users | GET | get list of users | |
/users | POST | { "name": "johndoe" } |
create new user |
/gateways | GET | get list of gateways | |
/gateways | POST | { "name": "fqdn.domain.tld", "user": "johndoe" } |
create new gateway for user |
/gateway/$fqdn | GET | get info about gateway | |
/gateway/$fqdn | DELETE | delete gateway | |
/gateway/$fqdn/config | GET | get client config file for gateway |