mirror of
https://github.com/opnsense/docs.git
synced 2026-04-17 07:51:27 -05:00
update api docs (using scripts)
This commit is contained in:
@@ -62,31 +62,22 @@ Quagga
|
||||
"``GET``","quagga","diagnostics","bfdcounters",""
|
||||
"``GET``","quagga","diagnostics","bfdneighbors",""
|
||||
"``GET``","quagga","diagnostics","bfdsummary",""
|
||||
"``GET``","quagga","diagnostics","bgpneighbors","$format=""json"""
|
||||
"``GET``","quagga","diagnostics","bgproute","$format=""json"""
|
||||
"``GET``","quagga","diagnostics","bgproute4","$format=""json"""
|
||||
"``GET``","quagga","diagnostics","bgproute6","$format=""json"""
|
||||
"``GET``","quagga","diagnostics","bgpsummary","$format=""json"""
|
||||
"``GET``","quagga","diagnostics","generalroute","$format=""json"""
|
||||
"``GET``","quagga","diagnostics","generalroute4","$format=""json"""
|
||||
"``GET``","quagga","diagnostics","generalroute6","$format=""json"""
|
||||
"``GET``","quagga","diagnostics","bgpneighbors",""
|
||||
"``GET``","quagga","diagnostics","bgpsummary",""
|
||||
"``GET``","quagga","diagnostics","generalrunningconfig",""
|
||||
"``GET``","quagga","diagnostics","ospfdatabase","$format=""json"""
|
||||
"``GET``","quagga","diagnostics","ospfinterface","$format=""json"""
|
||||
"``GET``","quagga","diagnostics","ospfneighbor","$format=""json"""
|
||||
"``GET``","quagga","diagnostics","ospfoverview","$format=""json"""
|
||||
"``GET``","quagga","diagnostics","ospfroute","$format=""json"""
|
||||
"``GET``","quagga","diagnostics","ospfv3database","$format=""json"""
|
||||
"``GET``","quagga","diagnostics","ospfv3interface","$format=""json"""
|
||||
"``GET``","quagga","diagnostics","ospfv3neighbor","$format=""json"""
|
||||
"``GET``","quagga","diagnostics","ospfv3overview","$format=""json"""
|
||||
"``GET``","quagga","diagnostics","ospfv3route","$format=""json"""
|
||||
"``GET``","quagga","diagnostics","ospfdatabase",""
|
||||
"``GET``","quagga","diagnostics","ospfinterface",""
|
||||
"``GET``","quagga","diagnostics","ospfoverview",""
|
||||
"``GET``","quagga","diagnostics","ospfv3interface",""
|
||||
"``GET``","quagga","diagnostics","ospfv3overview",""
|
||||
"``GET``","quagga","diagnostics","searchBgproute4",""
|
||||
"``GET``","quagga","diagnostics","searchBgproute6",""
|
||||
"``GET``","quagga","diagnostics","searchGeneralroute4",""
|
||||
"``GET``","quagga","diagnostics","searchGeneralroute6",""
|
||||
"``GET``","quagga","diagnostics","searchOspfneighbor",""
|
||||
"``GET``","quagga","diagnostics","searchOspfroute",""
|
||||
"``GET``","quagga","diagnostics","searchOspfv3database",""
|
||||
"``GET``","quagga","diagnostics","searchOspfv3route","$format=""json"""
|
||||
|
||||
.. csv-table:: Resources (GeneralController.php)
|
||||
:header: "Method", "Module", "Controller", "Command", "Parameters"
|
||||
|
||||
23
source/development/api/plugins/wazuhagent.rst
Normal file
23
source/development/api/plugins/wazuhagent.rst
Normal file
@@ -0,0 +1,23 @@
|
||||
Wazuhagent
|
||||
~~~~~~~~~~
|
||||
|
||||
.. csv-table:: Service (ServiceController.php)
|
||||
:header: "Method", "Module", "Controller", "Command", "Parameters"
|
||||
:widths: 4, 15, 15, 30, 40
|
||||
|
||||
"``POST``","wazuhagent","service","reconfigure",""
|
||||
"``POST``","wazuhagent","service","restart",""
|
||||
"``POST``","wazuhagent","service","start",""
|
||||
"``GET``","wazuhagent","service","status",""
|
||||
"``POST``","wazuhagent","service","stop",""
|
||||
|
||||
"``<<uses>>``", "", "", "", "*model* `WazuhAgent.xml <https://github.com/opnsense/plugins/blob/master/security/wazuh-agent/src/opnsense/mvc/app/models/OPNsense/WazuhAgent/WazuhAgent.xml>`__"
|
||||
|
||||
.. csv-table:: Service (SettingsController.php)
|
||||
:header: "Method", "Module", "Controller", "Command", "Parameters"
|
||||
:widths: 4, 15, 15, 30, 40
|
||||
|
||||
"``GET``","wazuhagent","settings","get",""
|
||||
"``POST``","wazuhagent","settings","set",""
|
||||
|
||||
"``<<uses>>``", "", "", "", "*model* `WazuhAgent.xml <https://github.com/opnsense/plugins/blob/master/security/wazuh-agent/src/opnsense/mvc/app/models/OPNsense/WazuhAgent/WazuhAgent.xml>`__"
|
||||
@@ -1,6 +1,60 @@
|
||||
Wireguard
|
||||
~~~~~~~~~
|
||||
|
||||
.. csv-table:: Resources (ClientController.php)
|
||||
:header: "Method", "Module", "Controller", "Command", "Parameters"
|
||||
:widths: 4, 15, 15, 30, 40
|
||||
|
||||
"``POST``","wireguard","client","addClient",""
|
||||
"``POST``","wireguard","client","delClient","$uuid"
|
||||
"``GET``","wireguard","client","get",""
|
||||
"``GET``","wireguard","client","getClient","$uuid=null"
|
||||
"``*``","wireguard","client","searchClient",""
|
||||
"``POST``","wireguard","client","set",""
|
||||
"``POST``","wireguard","client","setClient","$uuid"
|
||||
"``POST``","wireguard","client","toggleClient","$uuid"
|
||||
|
||||
"``<<uses>>``", "", "", "", "*model* `Client.xml <https://github.com/opnsense/plugins/blob/master/net/wireguard-go/src/opnsense/mvc/app/models/OPNsense/Wireguard/Client.xml>`__"
|
||||
|
||||
.. csv-table:: Service (GeneralController.php)
|
||||
:header: "Method", "Module", "Controller", "Command", "Parameters"
|
||||
:widths: 4, 15, 15, 30, 40
|
||||
|
||||
"``GET``","wireguard","general","get",""
|
||||
"``GET``","wireguard","general","getStatus",""
|
||||
"``POST``","wireguard","general","set",""
|
||||
|
||||
"``<<uses>>``", "", "", "", "*model* `General.xml <https://github.com/opnsense/plugins/blob/master/net/wireguard-go/src/opnsense/mvc/app/models/OPNsense/Wireguard/General.xml>`__"
|
||||
|
||||
.. csv-table:: Resources (ServerController.php)
|
||||
: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","get",""
|
||||
"``GET``","wireguard","server","getServer","$uuid=null"
|
||||
"``*``","wireguard","server","searchServer",""
|
||||
"``POST``","wireguard","server","set",""
|
||||
"``POST``","wireguard","server","setServer","$uuid=null"
|
||||
"``POST``","wireguard","server","toggleServer","$uuid"
|
||||
|
||||
"``<<uses>>``", "", "", "", "*model* `Server.xml <https://github.com/opnsense/plugins/blob/master/net/wireguard-go/src/opnsense/mvc/app/models/OPNsense/Wireguard/Server.xml>`__"
|
||||
|
||||
.. csv-table:: Service (ServiceController.php)
|
||||
:header: "Method", "Module", "Controller", "Command", "Parameters"
|
||||
:widths: 4, 15, 15, 30, 40
|
||||
|
||||
"``POST``","wireguard","service","reconfigure",""
|
||||
"``POST``","wireguard","service","restart",""
|
||||
"``GET``","wireguard","service","showconf",""
|
||||
"``GET``","wireguard","service","showhandshake",""
|
||||
"``POST``","wireguard","service","start",""
|
||||
"``GET``","wireguard","service","status",""
|
||||
"``POST``","wireguard","service","stop",""
|
||||
|
||||
"``<<uses>>``", "", "", "", "*model* `General.xml <https://github.com/opnsense/plugins/blob/master/net/wireguard-go/src/opnsense/mvc/app/models/OPNsense/Wireguard/General.xml>`__"
|
||||
|
||||
.. csv-table:: Resources (ClientController.php)
|
||||
:header: "Method", "Module", "Controller", "Command", "Parameters"
|
||||
:widths: 4, 15, 15, 30, 40
|
||||
@@ -34,6 +88,7 @@ Wireguard
|
||||
"``POST``","wireguard","server","delServer","$uuid"
|
||||
"``GET``","wireguard","server","get",""
|
||||
"``GET``","wireguard","server","getServer","$uuid=null"
|
||||
"``GET``","wireguard","server","keyPair",""
|
||||
"``*``","wireguard","server","searchServer",""
|
||||
"``POST``","wireguard","server","set",""
|
||||
"``POST``","wireguard","server","setServer","$uuid=null"
|
||||
@@ -45,8 +100,10 @@ Wireguard
|
||||
:header: "Method", "Module", "Controller", "Command", "Parameters"
|
||||
:widths: 4, 15, 15, 30, 40
|
||||
|
||||
"``POST``","wireguard","service","reconfigure",""
|
||||
"``POST``","wireguard","service","reconfigure",""
|
||||
"``POST``","wireguard","service","restart",""
|
||||
"``GET``","wireguard","service","show",""
|
||||
"``GET``","wireguard","service","showconf",""
|
||||
"``GET``","wireguard","service","showhandshake",""
|
||||
"``POST``","wireguard","service","start",""
|
||||
|
||||
Reference in New Issue
Block a user