mirror of https://github.com/opnsense/docs
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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>`__"
|