initial opnsense connections page
This commit is contained in:
28
bruno/opnsense-api/Get Interfaces.bru
Normal file
28
bruno/opnsense-api/Get Interfaces.bru
Normal 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"
|
||||
]
|
||||
}
|
||||
}
|
||||
28
bruno/opnsense-api/Get Peers.bru
Normal file
28
bruno/opnsense-api/Get Peers.bru
Normal 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"
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user