2
0
mirror of https://github.com/opnsense/docs synced 2024-10-30 21:20:20 +00:00

update api endpoints

This commit is contained in:
Ad Schellevis 2023-11-20 10:51:24 +01:00
parent f91823d4cf
commit b5a0d6fe10
3 changed files with 13 additions and 1 deletions

View File

@ -1,6 +1,17 @@
Core Core
~~~~ ~~~~
.. csv-table:: Resources (BackupController.php)
:header: "Method", "Module", "Controller", "Command", "Parameters"
:widths: 4, 15, 15, 30, 40
"``GET``","core","backup","backups","$host"
"``GET``","core","backup","deleteBackup","$backup"
"``GET``","core","backup","diff","$host,$backup1,$backup2"
"``GET``","core","backup","download","$host,$backup=null"
"``GET``","core","backup","providers",""
"``GET``","core","backup","revertBackup","$backup"
.. csv-table:: Resources (MenuController.php) .. csv-table:: Resources (MenuController.php)
:header: "Method", "Module", "Controller", "Command", "Parameters" :header: "Method", "Module", "Controller", "Command", "Parameters"
:widths: 4, 15, 15, 30, 40 :widths: 4, 15, 15, 30, 40

View File

@ -149,6 +149,7 @@ Diagnostics
"``GET``","diagnostics","systemhealth","getInterfaces","" "``GET``","diagnostics","systemhealth","getInterfaces",""
"``GET``","diagnostics","systemhealth","getRRDlist","" "``GET``","diagnostics","systemhealth","getRRDlist",""
"``GET``","diagnostics","systemhealth","getSystemHealth","$rrd="""",$inverse=0,$detail=-1"
.. csv-table:: Service (TracerouteController.php) .. csv-table:: Service (TracerouteController.php)
:header: "Method", "Module", "Controller", "Command", "Parameters" :header: "Method", "Module", "Controller", "Command", "Parameters"

View File

@ -59,7 +59,7 @@ Wireguard
: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``","wireguard","client","addClient","" "``GET``","wireguard","client","addClient",""
"``POST``","wireguard","client","delClient","$uuid" "``POST``","wireguard","client","delClient","$uuid"
"``GET``","wireguard","client","get","" "``GET``","wireguard","client","get",""
"``GET``","wireguard","client","getClient","$uuid=null" "``GET``","wireguard","client","getClient","$uuid=null"