2
0
mirror of https://github.com/opnsense/docs synced 2024-11-17 03:25:33 +00:00
opensense-docs/source/development/api/plugins/wireguard.rst

32 lines
1.2 KiB
ReStructuredText
Raw Normal View History

Wireguard
2018-09-22 09:27:11 +00:00
~~~~~~~~~
.. csv-table:: Resources (ClientController.php)
2018-09-22 09:27:11 +00:00
: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=null"
"``*``","wireguard","client","searchClient",""
"``POST``","wireguard","client","setClient","$uuid"
"``POST``","wireguard","client","toggleClient","$uuid"
2018-09-22 09:27:11 +00:00
.. csv-table:: Resources (ServerController.php)
2018-09-22 09:27:11 +00:00
:header: "Method", "Module", "Controller", "Command", "Parameters"
:widths: 4, 15, 15, 30, 40
"``POST``","wireguard","server","addServer","$uuid=null"
"``POST``","wireguard","server","delServer","$uuid"
"``GET``","wireguard","server","getServer","$uuid=null"
"``*``","wireguard","server","searchServer",""
"``POST``","wireguard","server","setServer","$uuid=null"
"``POST``","wireguard","server","toggleServer","$uuid"
2018-09-22 09:27:11 +00:00
.. csv-table:: Service (ServiceController.php)
2018-09-22 09:27:11 +00:00
:header: "Method", "Module", "Controller", "Command", "Parameters"
:widths: 4, 15, 15, 30, 40
"``GET``","wireguard","service","showconf",""
"``GET``","wireguard","service","showhandshake",""