主题
接口描述 
获取节点拨号状态
请求路径 
GET/v1/nodes/<nodeID>/dial/status
请求参数 
| 名称 | 类型 | 位置 | 必须 | 描述 | 
|---|---|---|---|---|
| Authorization | string | header | 是 | 鉴权 token | 
| nodeID | string | path | 是 | 节点 ID | 
返回值 
| 名称 | 类型 | 描述 | 
|---|---|---|
| dialStatus | string | 节点拨号状态 
 | 
| detail | []DailDetail | 详情 | 
DailDetail 
| 名称 | 类型 | 描述 | 
|---|---|---|
| netDevName | string | 网卡名 | 
| ip | string | ip 地址 | 
| speed | string | 速率 | 
| type | string | 网卡类型 
 | 
| dialStatusInfo | []StatusInfo | 单条线路拨号状态信息 | 
StatusInfo 
| 名称 | 类型 | 描述 | 
|---|---|---|
| account | string | 拨号账户 | 
| password | string | 密码 | 
| vlanId | int | vlanId | 
| adslNum | int | adsl 序列号 | 
| ip | string | ip 地址 | 
| dialStatus | string | 拨号状态 
 | 
| connectStatus | string | 连接状态 
 | 
| ipv6 | string | ipv6 地址 | 
| ipv6ConnectStatus | string | ipv6 连接状态 
 | 
| externalIpv6DialStatus | string | ipv6 外部拨测结果 | 
| lastExternalIpv6DialAt | int64 | 最近一次拨测时间 | 
| bras | string | bras拨号参数 | 
| dialError | string | 拨号失败详情 (只有在 DialStatus 为 failed 时才会出现) | 
| detectedNatType | string | 探测的nat类型 | 
| detectedProvince | string | 探测的省份 | 
| detectedCity | string | 探测的城市 | 
| detectedIsp | string | 探测的运营商 | 
请求示例 
json
返回值示例 
json
正常请求:
  http code 200
{
  "dialStatus": "idle",
  "detail": [
    {
      "netDevName": "eth0",
      "ip": "172.0.0.1",
      "speed": "1Gbit/s",
      "type": "traffic",
      "dialStatusInfo": [
        {
          "account": "05120001110",
          "ip": "120.110.111.112",
          "ipv6": "fe80::d6ae:52ff:fe6c:b36e",
          "ipv6ConnectStatus": "succeed",
          "password": "12345",
          "adslNum": 10,
          "vlanId": 201,
          "dialStatus": "failed",
          "connectStatus": "failed",
          "dialError": "xxxx"
        }
      ]
    }
  ]
}
异常请求:
  http code 4xx/5xx
{
  "code": 4000001,
  "desc": ""
}错误码列表 
| 错误码 | 描述 | 
|---|---|
| 401 | 鉴权失败 | 
| 4000002 | 节点未查找到 | 
| 4000100 | 未查到网卡信息 | 
如接口返回错误码未列举,可在错误码总览中查找