2
0
mirror of https://github.com/opnsense/docs synced 2024-11-18 21:28:29 +00:00
opensense-docs/source/development/api/plugins/tinc.rst

31 lines
1.3 KiB
ReStructuredText
Raw Normal View History

Tinc
~~~~
.. csv-table:: Service (ServiceController.php)
:header: "Method", "Module", "Controller", "Command", "Parameters"
:widths: 4, 15, 15, 30, 40
"``POST``","tinc","service","reconfigure",""
"``POST``","tinc","service","restart",""
"``POST``","tinc","service","start",""
"``POST``","tinc","service","stop",""
.. csv-table:: Resources (SettingsController.php)
:header: "Method", "Module", "Controller", "Command", "Parameters"
:widths: 4, 15, 15, 30, 40
"``POST``","tinc","settings","delHost","$uuid"
"``POST``","tinc","settings","delNetwork","$uuid"
2021-03-08 11:22:26 +00:00
"``GET``","tinc","settings","get",""
"``GET``","tinc","settings","getHost","$uuid=null"
"``GET``","tinc","settings","getNetwork","$uuid=null"
"``GET``","tinc","settings","searchHost",""
"``GET``","tinc","settings","searchNetwork",""
2022-10-19 15:21:08 +00:00
"``POST``","tinc","settings","set",""
"``POST``","tinc","settings","setHost","$uuid=null"
"``POST``","tinc","settings","setNetwork","$uuid=null"
"``POST``","tinc","settings","toggleHost","$uuid,$enabled=null"
"``POST``","tinc","settings","toggleNetwork","$uuid,$enabled=null"
"``<<uses>>``", "", "", "", "*model* `Tinc.xml <https://github.com/opnsense/plugins/blob/master/security/tinc/src/opnsense/mvc/app/models/OPNsense/Tinc/Tinc.xml>`__"