opnsense-docs/source/development/api/plugins/vnstat.rst

29 lines
1.2 KiB
ReStructuredText
Raw Permalink Normal View History

Vnstat
2018-09-22 05:27:11 -04:00
~~~~~~
2021-03-08 06:22:26 -05:00
.. csv-table:: Service (GeneralController.php)
:header: "Method", "Module", "Controller", "Command", "Parameters"
:widths: 4, 15, 15, 30, 40
"``GET``","vnstat","general","get",""
2022-10-19 11:21:08 -04:00
"``POST``","vnstat","general","set",""
2021-03-08 06:22:26 -05:00
"``<<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)
2018-09-22 05:27:11 -04:00
:header: "Method", "Module", "Controller", "Command", "Parameters"
:widths: 4, 15, 15, 30, 40
"``GET``","vnstat","service","daily",""
"``GET``","vnstat","service","hourly",""
"``GET``","vnstat","service","monthly",""
2022-10-19 11:21:08 -04:00
"``POST``","vnstat","service","reconfigure",""
"``GET``","vnstat","service","resetdb",""
2022-10-19 11:21:08 -04:00
"``POST``","vnstat","service","restart",""
"``POST``","vnstat","service","start",""
2021-03-08 06:22:26 -05:00
"``GET``","vnstat","service","status",""
2022-10-19 11:21:08 -04:00
"``POST``","vnstat","service","stop",""
2022-01-27 05:45:11 -05:00
"``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>`__"