2
0
mirror of https://github.com/opnsense/docs synced 2024-11-05 06:00:36 +00:00
opensense-docs/source/development/api/plugins/wireguard.rst

42 lines
1.5 KiB
ReStructuredText
Raw Normal View History

2018-09-22 09:27:11 +00:00
wireguard
~~~~~~~~~
.. csv-table:: Settings
:header: "Method", "Module", "Controller", "Command", "Parameters"
:widths: 4, 15, 15, 30, 40
"``GET``","wireguard","general","get",""
"``POST``","wireguard","general","set",""
.. csv-table:: Service
:header: "Method", "Module", "Controller", "Command", "Parameters"
:widths: 4, 15, 15, 30, 40
"``POST``","wireguard","service","restart",""
"``POST``","wireguard","service","start",""
"``POST``","wireguard","service","stop",""
.. csv-table:: Resources
:header: "Method", "Module", "Controller", "Command", "Parameters"
:widths: 4, 15, 15, 30, 40
"``POST``","wireguard","client","addclient",""
"``POST``","wireguard","client","delclient","$uuid"
"``GET``","wireguard","client","getclient","$uuid"
"``GET``","wireguard","client","searchclient",""
"``POST``","wireguard","client","setclient","$uuid"
"``POST``","wireguard","client","toggleclient","$uuid"
"``POST``","wireguard","server","addserver",""
"``POST``","wireguard","server","delserver","$uuid"
"``GET``","wireguard","server","getserver","$uuid"
"``GET``","wireguard","server","searchserver",""
"``POST``","wireguard","server","setserver","$uuid"
"``POST``","wireguard","server","toggleserver","$uuid"
.. csv-table:: Other
:header: "Method", "Module", "Controller", "Command", "Parameters"
:widths: 4, 15, 15, 30, 40
"","wireguard","service","showconf",""
"","wireguard","service","showhandshake",""