查询账号可用的接入点列表。
GET /client/dynamics/account/endpoint/info
| 参数名 | 类型 | 描述 |
| x-merchant-token | String | 商户令牌 |
| x-merchant-code | String | 商户代码 |
| 参数名 | 必选 | 类型 | 描述 |
| accountId | 是 | Long | 用户账号ID |
fetch('/client/dynamics/account/endpoint/info?accountId=1', {
method: 'GET',
headers: {
'x-merchant-token': 'your_token',
'x-merchant-code': 'your_code'
}
})
.then(response => response.json())
.then(data => console.log(data));
{
"total": 1,
"rows": [
{
"accountId": "384933",
"endpointHost": "gate-us.host.io",
"endpointPort": 13233,
"supportedProtocol": "http"
}
],
"code": 200,
"msg": "查询成功"
}
| 参数名 | 类型 | 描述 |
| accountId | String | 账户ID |
| endpointHost | String | 接入点主机地址 |
| endpointPort | Integer | 接入点端口号 |
| supportedProtocol | String | 支持的协议 (如 http, socks5 等) |