远程连接
GET
server/remoteConnection
请求参数
Authorization
在 Header 添加参数
Authorization
,其值为在 Bearer 之后拼接 Token示例:
Authorization: Bearer ********************
Query 参数
id
integer
服务器ID
默认值:
3624
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'http://probill.local/api/server/remoteConnection?id=3624'
返回响应
🟢200成功
application/json
Body
code
integer
必需
msg
string
必需
time
integer
必需
url
string
必需
示例
{
"code": 0,
"msg": "请求连接成功",
"time": 1741916605,
"url": "https://vnconsole.fastapi.vip/novnc/vnc.html?path=novnc/websockify?token=e6a8b68a1855&password=WvicPde4&autoconnect=true&resize=remote&shared=true&reconnect=true"
}
修改于 2025-03-14 01:52:18