2020-02-16 15:11:37 +00:00
|
|
|
Nut
|
2018-05-06 13:25:26 +00:00
|
|
|
~~~
|
|
|
|
|
2020-02-16 15:11:37 +00:00
|
|
|
.. csv-table:: Resources (DiagnosticsController.php)
|
2018-05-06 13:25:26 +00:00
|
|
|
:header: "Method", "Module", "Controller", "Command", "Parameters"
|
|
|
|
:widths: 4, 15, 15, 30, 40
|
|
|
|
|
2020-02-16 15:11:37 +00:00
|
|
|
"``GET``","nut","diagnostics","upsstatus",""
|
2021-03-08 11:22:26 +00:00
|
|
|
|
|
|
|
.. csv-table:: Service (ServiceController.php)
|
|
|
|
:header: "Method", "Module", "Controller", "Command", "Parameters"
|
|
|
|
:widths: 4, 15, 15, 30, 40
|
|
|
|
|
2022-10-19 15:21:08 +00:00
|
|
|
"``POST``","nut","service","reconfigure",""
|
|
|
|
"``POST``","nut","service","restart",""
|
|
|
|
"``POST``","nut","service","start",""
|
2021-03-08 11:22:26 +00:00
|
|
|
"``GET``","nut","service","status",""
|
2022-10-19 15:21:08 +00:00
|
|
|
"``POST``","nut","service","stop",""
|
2021-03-08 11:22:26 +00:00
|
|
|
|
|
|
|
"``<<uses>>``", "", "", "", "*model* `Nut.xml <https://github.com/opnsense/plugins/blob/master/sysutils/nut/src/opnsense/mvc/app/models/OPNsense/Nut/Nut.xml>`__"
|
|
|
|
|
|
|
|
.. csv-table:: Service (SettingsController.php)
|
|
|
|
:header: "Method", "Module", "Controller", "Command", "Parameters"
|
|
|
|
:widths: 4, 15, 15, 30, 40
|
|
|
|
|
|
|
|
"``GET``","nut","settings","get",""
|
2022-10-19 15:21:08 +00:00
|
|
|
"``POST``","nut","settings","set",""
|
2021-03-08 11:22:26 +00:00
|
|
|
|
|
|
|
"``<<uses>>``", "", "", "", "*model* `Nut.xml <https://github.com/opnsense/plugins/blob/master/sysutils/nut/src/opnsense/mvc/app/models/OPNsense/Nut/Nut.xml>`__"
|