2
0
mirror of https://github.com/opnsense/docs synced 2024-10-30 21:20:20 +00:00
opensense-docs/source/development/api/plugins/proxy.rst

65 lines
3.0 KiB
ReStructuredText
Raw Normal View History

2024-02-20 14:52:06 +00:00
Proxy
~~~~~
.. csv-table:: Service (ServiceController.php)
:header: "Method", "Module", "Controller", "Command", "Parameters"
:widths: 4, 15, 15, 30, 40
"``POST``","proxy","service","downloadacls",""
"``POST``","proxy","service","fetchacls",""
"``POST``","proxy","service","reconfigure",""
"``POST``","proxy","service","refreshTemplate",""
"``POST``","proxy","service","reset",""
"``GET``","proxy","service","restart",""
"``POST``","proxy","service","restart",""
"``GET``","proxy","service","start",""
"``POST``","proxy","service","start",""
"``GET``","proxy","service","status",""
"``POST``","proxy","service","stop",""
"``<<uses>>``", "", "", "", "*model* `Proxy.xml <https://github.com/opnsense/plugins/blob/master/www/squid/src/opnsense/mvc/app/models/OPNsense/Proxy/Proxy.xml>`__"
.. csv-table:: Resources (SettingsController.php)
:header: "Method", "Module", "Controller", "Command", "Parameters"
:widths: 4, 15, 15, 30, 40
"``POST``","proxy","settings","addPACMatch",""
"``POST``","proxy","settings","addPACProxy",""
"``POST``","proxy","settings","addPACRule",""
"``POST``","proxy","settings","addRemoteBlacklist",""
"``POST``","proxy","settings","delPACMatch","$uuid"
"``POST``","proxy","settings","delPACProxy","$uuid"
"``POST``","proxy","settings","delPACRule","$uuid"
"``POST``","proxy","settings","delRemoteBlacklist","$uuid"
"``POST``","proxy","settings","fetchRBCron",""
"``GET``","proxy","settings","get",""
"``GET``","proxy","settings","getPACMatch","$uuid=null"
"``GET``","proxy","settings","getPACProxy","$uuid=null"
"``GET``","proxy","settings","getPACRule","$uuid=null"
"``GET``","proxy","settings","getRemoteBlacklist","$uuid=null"
"``*``","proxy","settings","searchPACMatch",""
"``*``","proxy","settings","searchPACProxy",""
"``*``","proxy","settings","searchPACRule",""
"``GET``","proxy","settings","searchRemoteBlacklists",""
"``POST``","proxy","settings","set",""
"``POST``","proxy","settings","setPACMatch","$uuid"
"``POST``","proxy","settings","setPACProxy","$uuid"
"``POST``","proxy","settings","setPACRule","$uuid"
"``POST``","proxy","settings","setRemoteBlacklist","$uuid"
"``POST``","proxy","settings","togglePACRule","$uuid"
"``POST``","proxy","settings","toggleRemoteBlacklist","$uuid"
"``<<uses>>``", "", "", "", "*model* `Proxy.xml <https://github.com/opnsense/plugins/blob/master/www/squid/src/opnsense/mvc/app/models/OPNsense/Proxy/Proxy.xml>`__"
.. csv-table:: Resources (TemplateController.php)
:header: "Method", "Module", "Controller", "Command", "Parameters"
:widths: 4, 15, 15, 30, 40
"``GET``","proxy","template","get",""
"``GET``","proxy","template","get",""
"``POST``","proxy","template","reset",""
"``POST``","proxy","template","set",""
"``POST``","proxy","template","set",""
"``<<uses>>``", "", "", "", "*model* `Proxy.xml <https://github.com/opnsense/plugins/blob/master/www/squid/src/opnsense/mvc/app/models/OPNsense/Proxy/Proxy.xml>`__"