2
0
mirror of https://github.com/opnsense/docs synced 2024-11-17 03:25:33 +00:00
opensense-docs/source/development/api/core/routes.rst
2022-10-19 17:21:08 +02:00

25 lines
975 B
ReStructuredText

Routes
~~~~~~
.. csv-table:: Resources (GatewayController.php)
:header: "Method", "Module", "Controller", "Command", "Parameters"
:widths: 4, 15, 15, 30, 40
"``GET``","routes","gateway","status",""
.. csv-table:: Resources (RoutesController.php)
:header: "Method", "Module", "Controller", "Command", "Parameters"
:widths: 4, 15, 15, 30, 40
"``POST``","routes","routes","addroute",""
"``POST``","routes","routes","delroute","$uuid"
"``GET``","routes","routes","get",""
"``GET``","routes","routes","getroute","$uuid=null"
"``POST``","routes","routes","reconfigure",""
"``*``","routes","routes","searchroute",""
"``POST``","routes","routes","set",""
"``POST``","routes","routes","setroute","$uuid"
"``POST``","routes","routes","toggleroute","$uuid,$disabled=null"
"``<<uses>>``", "", "", "", "*model* `Route.xml <https://github.com/opnsense/core/blob/master/src/opnsense/mvc/app/models/OPNsense/Routes/Route.xml>`__"