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

26 lines
984 B
ReStructuredText
Raw Normal View History

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",""
2021-03-08 11:22:26 +00:00
.. csv-table:: Service (SimplifiedSettingsController.php)
:header: "Method", "Module", "Controller", "Command", "Parameters"
:widths: 4, 15, 15, 30, 40
"``GET``","helloworld","simplified_settings","get",""
"``GET``","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>`__"