mirror of
https://github.com/opnsense/docs.git
synced 2025-12-12 15:22:04 -06:00
28 lines
978 B
ReStructuredText
28 lines
978 B
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",""
|
|
|
|
.. csv-table:: Resources (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>`__"
|