mirror of
https://github.com/opnsense/docs
synced 2024-10-30 21:20:20 +00:00
update api endpoints
This commit is contained in:
parent
feb41d8d82
commit
4de4e97f44
@ -8,6 +8,15 @@ Core
|
||||
"``GET``","core","menu","search",""
|
||||
"``GET``","core","menu","tree",""
|
||||
|
||||
.. csv-table:: Service (ServiceController.php)
|
||||
:header: "Method", "Module", "Controller", "Command", "Parameters"
|
||||
:widths: 4, 15, 15, 30, 40
|
||||
|
||||
"``POST``","core","service","restart","$name,$id=''"
|
||||
"``GET``","core","service","search",""
|
||||
"``POST``","core","service","start","$name,$id=''"
|
||||
"``POST``","core","service","stop","$name,$id=''"
|
||||
|
||||
.. csv-table:: Resources (SystemController.php)
|
||||
:header: "Method", "Module", "Controller", "Command", "Parameters"
|
||||
:widths: 4, 15, 15, 30, 40
|
||||
|
@ -11,3 +11,14 @@ Openvpn
|
||||
"``POST``","openvpn","export","storePresets","$vpnid"
|
||||
"``GET``","openvpn","export","templates",""
|
||||
"``POST``","openvpn","export","validatePresets","$vpnid"
|
||||
|
||||
.. csv-table:: Service (ServiceController.php)
|
||||
:header: "Method", "Module", "Controller", "Command", "Parameters"
|
||||
:widths: 4, 15, 15, 30, 40
|
||||
|
||||
"``POST``","openvpn","service","killSession",""
|
||||
"``POST``","openvpn","service","restartService","$id=null"
|
||||
"``GET``","openvpn","service","searchRoutes",""
|
||||
"``GET``","openvpn","service","searchSessions",""
|
||||
"``POST``","openvpn","service","startService","$id=null"
|
||||
"``POST``","openvpn","service","stopService","$id=null"
|
||||
|
@ -5,4 +5,4 @@ Backup
|
||||
:header: "Method", "Module", "Controller", "Command", "Parameters"
|
||||
:widths: 4, 15, 15, 30, 40
|
||||
|
||||
"``GET``","backup","backup","download",""
|
||||
"``GET``","backup","backup","download","$format='plain'"
|
||||
|
Loading…
Reference in New Issue
Block a user