2
0
mirror of https://github.com/opnsense/docs synced 2024-11-17 03:25:33 +00:00
opensense-docs/source/development/api/plugins/bind.rst
2021-03-08 12:22:38 +01:00

79 lines
3.4 KiB
ReStructuredText

Bind
~~~~
.. csv-table:: Resources (AclController.php)
:header: "Method", "Module", "Controller", "Command", "Parameters"
:widths: 4, 15, 15, 30, 40
"``POST``","bind","acl","addAcl",""
"``POST``","bind","acl","delAcl","$uuid"
"``GET``","bind","acl","get",""
"``GET``","bind","acl","getAcl","$uuid=null"
"``*``","bind","acl","searchAcl",""
"``GET``","bind","acl","set",""
"``POST``","bind","acl","setAcl","$uuid"
"``POST``","bind","acl","toggleAcl","$uuid"
"``<<uses>>``", "", "", "", "*model* `Acl.xml <https://github.com/opnsense/plugins/blob/master/dns/bind/src/opnsense/mvc/app/models/OPNsense/Bind/Acl.xml>`__"
.. csv-table:: Service (DnsblController.php)
:header: "Method", "Module", "Controller", "Command", "Parameters"
:widths: 4, 15, 15, 30, 40
"``GET``","bind","dnsbl","get",""
"``GET``","bind","dnsbl","set",""
"``<<uses>>``", "", "", "", "*model* `Dnsbl.xml <https://github.com/opnsense/plugins/blob/master/dns/bind/src/opnsense/mvc/app/models/OPNsense/Bind/Dnsbl.xml>`__"
.. csv-table:: Resources (DomainController.php)
:header: "Method", "Module", "Controller", "Command", "Parameters"
:widths: 4, 15, 15, 30, 40
"``POST``","bind","domain","addDomain","$uuid=null"
"``POST``","bind","domain","delDomain","$uuid"
"``GET``","bind","domain","get",""
"``GET``","bind","domain","getDomain","$uuid=null"
"``*``","bind","domain","searchDomain",""
"``GET``","bind","domain","set",""
"``POST``","bind","domain","setDomain","$uuid=null"
"``POST``","bind","domain","toggleDomain","$uuid"
"``<<uses>>``", "", "", "", "*model* `Domain.xml <https://github.com/opnsense/plugins/blob/master/dns/bind/src/opnsense/mvc/app/models/OPNsense/Bind/Domain.xml>`__"
.. csv-table:: Service (GeneralController.php)
:header: "Method", "Module", "Controller", "Command", "Parameters"
:widths: 4, 15, 15, 30, 40
"``GET``","bind","general","get",""
"``GET``","bind","general","set",""
"``<<uses>>``", "", "", "", "*model* `General.xml <https://github.com/opnsense/plugins/blob/master/dns/bind/src/opnsense/mvc/app/models/OPNsense/Bind/General.xml>`__"
.. csv-table:: Resources (RecordController.php)
:header: "Method", "Module", "Controller", "Command", "Parameters"
:widths: 4, 15, 15, 30, 40
"``POST``","bind","record","addRecord",""
"``POST``","bind","record","delRecord","$uuid"
"``GET``","bind","record","get",""
"``GET``","bind","record","getRecord","$uuid=null"
"``*``","bind","record","searchRecord",""
"``GET``","bind","record","set",""
"``POST``","bind","record","setRecord","$uuid=null"
"``POST``","bind","record","toggleRecord","$uuid"
"``<<uses>>``", "", "", "", "*model* `Record.xml <https://github.com/opnsense/plugins/blob/master/dns/bind/src/opnsense/mvc/app/models/OPNsense/Bind/Record.xml>`__"
.. csv-table:: Service (ServiceController.php)
:header: "Method", "Module", "Controller", "Command", "Parameters"
:widths: 4, 15, 15, 30, 40
"``GET``","bind","service","dnsbl",""
"``GET``","bind","service","reconfigure",""
"``GET``","bind","service","restart",""
"``GET``","bind","service","start",""
"``GET``","bind","service","status",""
"``GET``","bind","service","stop",""
"``<<uses>>``", "", "", "", "*model* `General.xml <https://github.com/opnsense/plugins/blob/master/dns/bind/src/opnsense/mvc/app/models/OPNsense/Bind/General.xml>`__"