Development - update api docs

This commit is contained in:
Ad Schellevis 2022-04-13 17:25:36 +02:00
parent bd11903c46
commit 818dc0e123
2 changed files with 40 additions and 6 deletions

View file

@ -16,6 +16,21 @@ Interfaces
"``<<uses>>``", "", "", "", "*model* `Loopback.xml <https://github.com/opnsense/core/blob/master/src/opnsense/mvc/app/models/OPNsense/Interfaces/Loopback.xml>`__"
.. csv-table:: Resources (VlanSettingsController.php)
:header: "Method", "Module", "Controller", "Command", "Parameters"
:widths: 4, 15, 15, 30, 40
"``POST``","interfaces","vlan_settings","addItem",""
"``POST``","interfaces","vlan_settings","delItem","$uuid"
"``GET``","interfaces","vlan_settings","get",""
"``GET``","interfaces","vlan_settings","getItem","$uuid=null"
"``POST``","interfaces","vlan_settings","reconfigure",""
"``*``","interfaces","vlan_settings","searchItem",""
"``GET``","interfaces","vlan_settings","set",""
"``POST``","interfaces","vlan_settings","setItem","$uuid"
"``<<uses>>``", "", "", "", "*model* `Vlan.xml <https://github.com/opnsense/core/blob/master/src/opnsense/mvc/app/models/OPNsense/Interfaces/Vlan.xml>`__"
.. csv-table:: Resources (VxlanSettingsController.php)
:header: "Method", "Module", "Controller", "Command", "Parameters"
:widths: 4, 15, 15, 30, 40

View file

@ -29,13 +29,32 @@ Unbound
:header: "Method", "Module", "Controller", "Command", "Parameters"
:widths: 4, 15, 15, 30, 40
"``POST``","unbound","settings","addDot",""
"``POST``","unbound","settings","delDot","$uuid"
"``POST``","unbound","settings","addDomainOverride",""
"``POST``","unbound","settings","addForward",""
"``POST``","unbound","settings","addHostAlias",""
"``POST``","unbound","settings","addHostOverride",""
"``POST``","unbound","settings","delDomainOverride","$uuid"
"``POST``","unbound","settings","delForward","$uuid"
"``POST``","unbound","settings","delHostAlias","$uuid"
"``POST``","unbound","settings","delHostOverride","$uuid"
"``GET``","unbound","settings","get",""
"``GET``","unbound","settings","getDot","$uuid=null"
"``*``","unbound","settings","searchDot",""
"``GET``","unbound","settings","getDomainOverride","$uuid=null"
"``GET``","unbound","settings","getForward","$uuid=null"
"``GET``","unbound","settings","getHostAlias","$uuid=null"
"``GET``","unbound","settings","getHostOverride","$uuid=null"
"``GET``","unbound","settings","getNameservers",""
"``*``","unbound","settings","searchDomainOverride",""
"``*``","unbound","settings","searchForward",""
"``*``","unbound","settings","searchHostAlias",""
"``*``","unbound","settings","searchHostOverride",""
"``GET``","unbound","settings","set",""
"``POST``","unbound","settings","setDot","$uuid"
"``POST``","unbound","settings","toggleDot","$uuid,$enabled=null"
"``POST``","unbound","settings","setDomainOverride","$uuid"
"``POST``","unbound","settings","setForward","$uuid"
"``POST``","unbound","settings","setHostAlias","$uuid"
"``POST``","unbound","settings","setHostOverride","$uuid"
"``POST``","unbound","settings","toggleDomainOverride","$uuid,$enabled=null"
"``POST``","unbound","settings","toggleForward","$uuid,$enabled=null"
"``POST``","unbound","settings","toggleHostAlias","$uuid,$enabled=null"
"``POST``","unbound","settings","toggleHostOverride","$uuid,$enabled=null"
"``<<uses>>``", "", "", "", "*model* `Unbound.xml <https://github.com/opnsense/core/blob/master/src/opnsense/mvc/app/models/OPNsense/Unbound/Unbound.xml>`__"