2
0
mirror of https://github.com/opnsense/docs synced 2024-11-05 06:00:36 +00:00
opensense-docs/source/development/api/plugins/apcupsd.rst
2022-10-19 17:21:08 +02:00

25 lines
1.0 KiB
ReStructuredText

Apcupsd
~~~~~~~
.. csv-table:: Service (ServiceController.php)
:header: "Method", "Module", "Controller", "Command", "Parameters"
:widths: 4, 15, 15, 30, 40
"``GET``","apcupsd","service","getUpsStatus",""
"``POST``","apcupsd","service","reconfigure",""
"``POST``","apcupsd","service","restart",""
"``POST``","apcupsd","service","start",""
"``GET``","apcupsd","service","status",""
"``POST``","apcupsd","service","stop",""
"``<<uses>>``", "", "", "", "*model* `Apcupsd.xml <https://github.com/opnsense/plugins/blob/master/sysutils/apcupsd/src/opnsense/mvc/app/models/OPNsense/Apcupsd/Apcupsd.xml>`__"
.. csv-table:: Service (SettingsController.php)
:header: "Method", "Module", "Controller", "Command", "Parameters"
:widths: 4, 15, 15, 30, 40
"``GET``","apcupsd","settings","get",""
"``POST``","apcupsd","settings","set",""
"``<<uses>>``", "", "", "", "*model* `Apcupsd.xml <https://github.com/opnsense/plugins/blob/master/sysutils/apcupsd/src/opnsense/mvc/app/models/OPNsense/Apcupsd/Apcupsd.xml>`__"