mirror of
https://github.com/opnsense/docs
synced 2024-11-05 06:00:36 +00:00
30 lines
1.1 KiB
ReStructuredText
30 lines
1.1 KiB
ReStructuredText
Nut
|
|
~~~
|
|
|
|
.. csv-table:: Resources (DiagnosticsController.php)
|
|
:header: "Method", "Module", "Controller", "Command", "Parameters"
|
|
:widths: 4, 15, 15, 30, 40
|
|
|
|
"``GET``","nut","diagnostics","upsstatus",""
|
|
|
|
.. csv-table:: Service (ServiceController.php)
|
|
:header: "Method", "Module", "Controller", "Command", "Parameters"
|
|
:widths: 4, 15, 15, 30, 40
|
|
|
|
"``POST``","nut","service","reconfigure",""
|
|
"``POST``","nut","service","restart",""
|
|
"``POST``","nut","service","start",""
|
|
"``GET``","nut","service","status",""
|
|
"``POST``","nut","service","stop",""
|
|
|
|
"``<<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",""
|
|
"``POST``","nut","settings","set",""
|
|
|
|
"``<<uses>>``", "", "", "", "*model* `Nut.xml <https://github.com/opnsense/plugins/blob/master/sysutils/nut/src/opnsense/mvc/app/models/OPNsense/Nut/Nut.xml>`__"
|