Create request
Request of create bridge
Endpoint
POST /api/bridge/
Auth
Authorization: Bearer ${token}
Body
Content-Type: application/json
Json
{
"gateway": "",
"upstream": ""
}
Response
Json
[
{
"kind": "status",
"payload": {
"code": 0,
"message": ""
}
},
{
"kind": "entity",
"payload": {
"created_at": 0,
"gateway": "",
"identity": "",
"password": "",
"socket": "",
"traffic": {
"received": 0,
"sent": 0
},
"tunnels": 0,
"upstream": "",
"username": ""
}
}
]
Notes
- Bridge Permission Required