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

29 lines
1.2 KiB
ReStructuredText

Vnstat
~~~~~~
.. csv-table:: Service (GeneralController.php)
:header: "Method", "Module", "Controller", "Command", "Parameters"
:widths: 4, 15, 15, 30, 40
"``GET``","vnstat","general","get",""
"``POST``","vnstat","general","set",""
"``<<uses>>``", "", "", "", "*model* `General.xml <https://github.com/opnsense/plugins/blob/master/net/vnstat/src/opnsense/mvc/app/models/OPNsense/Vnstat/General.xml>`__"
.. csv-table:: Service (ServiceController.php)
:header: "Method", "Module", "Controller", "Command", "Parameters"
:widths: 4, 15, 15, 30, 40
"``GET``","vnstat","service","daily",""
"``GET``","vnstat","service","hourly",""
"``GET``","vnstat","service","monthly",""
"``POST``","vnstat","service","reconfigure",""
"``GET``","vnstat","service","resetdb",""
"``POST``","vnstat","service","restart",""
"``POST``","vnstat","service","start",""
"``GET``","vnstat","service","status",""
"``POST``","vnstat","service","stop",""
"``GET``","vnstat","service","yearly",""
"``<<uses>>``", "", "", "", "*model* `General.xml <https://github.com/opnsense/plugins/blob/master/net/vnstat/src/opnsense/mvc/app/models/OPNsense/Vnstat/General.xml>`__"