2
0
mirror of https://github.com/opnsense/docs synced 2024-11-18 21:28:29 +00:00
opensense-docs/source/development/api/core/firewall.rst

53 lines
2.4 KiB
ReStructuredText
Raw Normal View History

2020-02-16 15:08:40 +00:00
Firewall
~~~~~~~~
.. csv-table:: Resources (AliasController.php)
:header: "Method", "Module", "Controller", "Command", "Parameters"
:widths: 4, 15, 15, 30, 40
"``POST``","firewall","alias","addItem",""
"``POST``","firewall","alias","delItem","$uuid"
"``GET``","firewall","alias","export",""
2021-03-08 11:23:28 +00:00
"``GET``","firewall","alias","get",""
2020-02-16 15:08:40 +00:00
"``GET``","firewall","alias","getAliasUUID","$name"
"``GET``","firewall","alias","getGeoIP",""
"``GET``","firewall","alias","getItem","$uuid=null"
2021-09-28 07:48:48 +00:00
"``GET``","firewall","alias","getTableSize",""
2020-02-16 15:08:40 +00:00
"``POST``","firewall","alias","import",""
"``GET``","firewall","alias","listCountries",""
"``GET``","firewall","alias","listNetworkAliases",""
2020-02-16 15:08:40 +00:00
"``POST``","firewall","alias","reconfigure",""
"``*``","firewall","alias","searchItem",""
2021-03-08 11:23:28 +00:00
"``GET``","firewall","alias","set",""
2020-02-16 15:08:40 +00:00
"``POST``","firewall","alias","setItem","$uuid"
"``POST``","firewall","alias","toggleItem","$uuid,$enabled=null"
2020-04-07 18:53:31 +00:00
"``<<uses>>``", "", "", "", "*model* `Alias.xml <https://github.com/opnsense/core/blob/master/src/opnsense/mvc/app/models/OPNsense/Firewall/Alias.xml>`__"
2020-02-16 15:08:40 +00:00
.. csv-table:: Resources (AliasUtilController.php)
:header: "Method", "Module", "Controller", "Command", "Parameters"
:widths: 4, 15, 15, 30, 40
"``POST``","firewall","alias_util","add","$alias"
"``GET``","firewall","alias_util","aliases",""
"``POST``","firewall","alias_util","delete","$alias"
2021-07-28 13:59:13 +00:00
"``POST``","firewall","alias_util","findReferences",""
2020-02-16 15:08:40 +00:00
"``POST``","firewall","alias_util","flush","$alias"
"``GET``","firewall","alias_util","list","$alias"
2021-07-28 13:59:13 +00:00
"``GET``","firewall","alias_util","updateBogons",""
.. csv-table:: Resources (CategoryController.php)
:header: "Method", "Module", "Controller", "Command", "Parameters"
:widths: 4, 15, 15, 30, 40
"``POST``","firewall","category","addItem",""
"``POST``","firewall","category","delItem","$uuid"
2021-03-08 11:23:28 +00:00
"``GET``","firewall","category","get",""
"``GET``","firewall","category","getItem","$uuid=null"
"``*``","firewall","category","searchItem",""
2021-07-28 13:59:13 +00:00
"``*``","firewall","category","searchNoCategoryItem",""
2021-03-08 11:23:28 +00:00
"``GET``","firewall","category","set",""
"``POST``","firewall","category","setItem","$uuid"
"``<<uses>>``", "", "", "", "*model* `Category.xml <https://github.com/opnsense/core/blob/master/src/opnsense/mvc/app/models/OPNsense/Firewall/Category.xml>`__"