opnsense-docs/source/development/api/core/syslog.rst

31 lines
1.3 KiB
ReStructuredText
Raw Normal View History

2020-02-16 10:08:40 -05:00
Syslog
~~~~~~
.. csv-table:: Service (ServiceController.php)
:header: "Method", "Module", "Controller", "Command", "Parameters"
:widths: 4, 15, 15, 30, 40
2021-03-08 06:23:28 -05:00
"``GET``","syslog","service","reconfigure",""
"``GET``","syslog","service","restart",""
"``GET``","syslog","service","start",""
2020-02-16 10:08:40 -05:00
"``GET``","syslog","service","stats",""
2021-03-08 06:23:28 -05:00
"``GET``","syslog","service","status",""
"``GET``","syslog","service","stop",""
2020-02-16 10:08:40 -05:00
2020-04-07 14:53:31 -04:00
"``<<uses>>``", "", "", "", "*model* `Syslog.xml <https://github.com/opnsense/core/blob/master/src/opnsense/mvc/app/models/OPNsense/Syslog/Syslog.xml>`__"
2020-02-16 10:08:40 -05:00
.. csv-table:: Resources (SettingsController.php)
:header: "Method", "Module", "Controller", "Command", "Parameters"
:widths: 4, 15, 15, 30, 40
"``POST``","syslog","settings","addDestination",""
"``POST``","syslog","settings","delDestination","$uuid"
2021-03-08 06:23:28 -05:00
"``GET``","syslog","settings","get",""
2020-02-16 10:08:40 -05:00
"``GET``","syslog","settings","getDestination","$uuid=null"
"``*``","syslog","settings","searchDestinations",""
2021-03-08 06:23:28 -05:00
"``GET``","syslog","settings","set",""
2020-02-16 10:08:40 -05:00
"``POST``","syslog","settings","setDestination","$uuid"
"``POST``","syslog","settings","toggleDestination","$uuid,$enabled=null"
2020-04-07 14:53:31 -04:00
"``<<uses>>``", "", "", "", "*model* `Syslog.xml <https://github.com/opnsense/core/blob/master/src/opnsense/mvc/app/models/OPNsense/Syslog/Syslog.xml>`__"