2
0
mirror of https://github.com/opnsense/docs synced 2024-11-05 06:00:36 +00:00
opensense-docs/source/development/api/plugins/clamav.rst
2022-10-19 17:21:08 +02:00

41 lines
1.7 KiB
ReStructuredText

Clamav
~~~~~~
.. csv-table:: Service (GeneralController.php)
:header: "Method", "Module", "Controller", "Command", "Parameters"
:widths: 4, 15, 15, 30, 40
"``GET``","clamav","general","get",""
"``POST``","clamav","general","set",""
"``<<uses>>``", "", "", "", "*model* `General.xml <https://github.com/opnsense/plugins/blob/master/security/clamav/src/opnsense/mvc/app/models/OPNsense/ClamAV/General.xml>`__"
.. csv-table:: Service (ServiceController.php)
:header: "Method", "Module", "Controller", "Command", "Parameters"
:widths: 4, 15, 15, 30, 40
"``POST``","clamav","service","freshclam",""
"``POST``","clamav","service","reconfigure",""
"``POST``","clamav","service","restart",""
"``POST``","clamav","service","start",""
"``GET``","clamav","service","status",""
"``POST``","clamav","service","stop",""
"``GET``","clamav","service","version",""
"``<<uses>>``", "", "", "", "*model* `General.xml <https://github.com/opnsense/plugins/blob/master/security/clamav/src/opnsense/mvc/app/models/OPNsense/ClamAV/General.xml>`__"
.. csv-table:: Resources (UrlController.php)
:header: "Method", "Module", "Controller", "Command", "Parameters"
:widths: 4, 15, 15, 30, 40
"``POST``","clamav","url","addUrl",""
"``POST``","clamav","url","delUrl","$uuid"
"``GET``","clamav","url","get",""
"``GET``","clamav","url","getUrl","$uuid=null"
"``*``","clamav","url","searchUrl",""
"``POST``","clamav","url","set",""
"``POST``","clamav","url","setUrl","$uuid"
"``POST``","clamav","url","toggleUrl","$uuid"
"``<<uses>>``", "", "", "", "*model* `Url.xml <https://github.com/opnsense/plugins/blob/master/security/clamav/src/opnsense/mvc/app/models/OPNsense/ClamAV/Url.xml>`__"