2
0
mirror of https://github.com/opnsense/docs synced 2024-10-30 21:20:20 +00:00
This commit is contained in:
Ad Schellevis 2023-07-07 12:05:15 +02:00
parent 8f5ea3663c
commit e747ad1300

View File

@ -2,24 +2,32 @@ Firmware
~~~~~~~~ ~~~~~~~~
OPNsense has several API calls to get and set the firmware configuration: OPNsense has several API calls to get and set the firmware configuration:
.. csv-table:: .. csv-table::
:header: "Method", "Module", "Controller", "Command", "Parameters" :header: "Method", "Module", "Controller", "Command", "Parameters"
:widths: 4, 15, 15, 30, 40 :widths: 4, 15, 15, 30, 40
"``POST``","Core","Firmware","poweroff","" "``POST``","core","firmware","audit",""
"``POST``","Core","Firmware","reboot","" "``POST``","core","firmware","changelog","$version"
"``GET``","Core","Firmware","running","" "``POST``","core","firmware","check",""
"``GET``","Core","Firmware","getFirmwareConfig","" "``POST``","core","firmware","connection",""
"``GET``","Core","Firmware","getFirmwareOptions","" "``GET``","core","firmware","get",""
"``POST``","Core","Firmware","setFirmwareConfig","" "``GET``","core","firmware","getOptions",""
"``GET``","Core","Firmware","info","" "``POST``","core","firmware","health",""
"``GET``","Core","Firmware","status","" "``GET``","core","firmware","info",""
"``POST``","Core","Firmware","status","" "``POST``","core","firmware","log","$clear"
"``POST``","Core","Firmware","audit","" "``POST``","core","firmware","poweroff",""
"``POST``","Core","Firmware","update","" "``POST``","core","firmware","reboot",""
"``POST``","Core","Firmware","upgrade","" "``POST``","core","firmware","resyncPlugins",""
"``GET``","Core","Firmware","upgradestatus","" "``GET``","core","firmware","running",""
"``POST``","Core","Firmware","changelog","$version" "``POST``","core","firmware","set",""
"``POST``","core","firmware","set",""
"``POST``","core","firmware","status",""
"``POST``","core","firmware","syncPlugins",""
"``POST``","core","firmware","update",""
"``POST``","core","firmware","upgrade",""
"``GET``","core","firmware","upgradestatus",""
Examples: Examples:
@ -44,13 +52,14 @@ You can manage the packages and plugins in OPNsense, using these API calls:
:header: "Method", "Module", "Controller", "Command", "Parameters" :header: "Method", "Module", "Controller", "Command", "Parameters"
:widths: 4, 15, 15, 30, 40 :widths: 4, 15, 15, 30, 40
"``POST``","Core","Firmware","install","$pkg_name" "``POST``","core","firmware","details","$package"
"``POST``","Core","Firmware","reinstall","$pkg_name" "``POST``","core","firmware","reinstall","$pkg_name"
"``POST``","Core","Firmware","remove","$pkg_name" "``POST``","core","firmware","remove","$pkg_name"
"``POST``","Core","Firmware","lock","$pkg_name" "``POST``","core","firmware","unlock","$pkg_name"
"``POST``","Core","Firmware","unlock","$pkg_name" "``POST``","core","firmware","install","$pkg_name"
"``POST``","Core","Firmware","details","$pkg_name" "``POST``","core","firmware","license","$package"
"``POST``","Core","Firmware","license","$pkg_name" "``POST``","core","firmware","lock","$pkg_name"
Examples: Examples: