2
0
mirror of https://github.com/opnsense/docs synced 2024-11-18 21:28:29 +00:00
opensense-docs/source/development/api/plugins/helloworld.rst
2022-10-19 17:21:08 +02:00

26 lines
985 B
ReStructuredText

Helloworld
~~~~~~~~~~
.. csv-table:: Service (ServiceController.php)
:header: "Method", "Module", "Controller", "Command", "Parameters"
:widths: 4, 15, 15, 30, 40
"``POST``","helloworld","service","reload",""
"``POST``","helloworld","service","test",""
.. csv-table:: Resources (SettingsController.php)
:header: "Method", "Module", "Controller", "Command", "Parameters"
:widths: 4, 15, 15, 30, 40
"``GET``","helloworld","settings","get",""
"``POST``","helloworld","settings","set",""
.. csv-table:: Service (SimplifiedSettingsController.php)
:header: "Method", "Module", "Controller", "Command", "Parameters"
:widths: 4, 15, 15, 30, 40
"``GET``","helloworld","simplified_settings","get",""
"``POST``","helloworld","simplified_settings","set",""
"``<<uses>>``", "", "", "", "*model* `HelloWorld.xml <https://github.com/opnsense/plugins/blob/master/devel/helloworld/src/opnsense/mvc/app/models/OPNsense/HelloWorld/HelloWorld.xml>`__"