initial opnsense connections page

This commit is contained in:
2024-11-02 01:26:41 -07:00
parent 3b2ed4ddea
commit 922e4c0580
12 changed files with 254 additions and 4 deletions

View File

@@ -0,0 +1,28 @@
meta {
name: Get Interfaces
type: http
seq: 2
}
post {
url: https://opnsense.home/api/wireguard/service/show
body: json
auth: inherit
}
headers {
Content-Type: application/json
Accept: application/json
}
body:json {
{
"current": 1,
"rowCount": 7,
"sort": {},
"searchPhrase": "",
"type": [
"interface"
]
}
}

View File

@@ -0,0 +1,28 @@
meta {
name: Get Peers
type: http
seq: 1
}
post {
url: https://opnsense.home/api/wireguard/service/show
body: json
auth: inherit
}
headers {
Content-Type: application/json
Accept: application/json
}
body:json {
{
"current": 1,
"rowCount": 7,
"sort": {},
"searchPhrase": "",
"type": [
"peer"
]
}
}