XYBotV2协议接口
  1. Tool
XYBotV2协议接口
  • Friend
    • /AcceptFriend
      POST
    • /GetContact
      POST
    • /GetContractDetail
      POST
    • /GetContractList
      POST
  • Group
    • /AddChatroomMember
      POST
    • /GetChatroomInfo
      POST
    • /GetChatroomInfoNoAnnounce
      POST
    • /GetChatroomMemberDetail
      POST
    • /GetChatroomQRCode
      POST
    • /InviteChatroomMember
      POST
  • Login
    • /AutoHeartbeatStart
      POST
    • /AutoHeartbeatStatus
      POST
    • /AutoHeartbeatStop
      POST
    • /AwakenLogin
      POST
    • /CheckUuid
      POST
    • /GetCachedInfo
      POST
    • /GetQRCode
      POST
    • /Heartbeat
      POST
    • /LogOut
      POST
  • Tool
    • /CdnDownloadImg
      POST
    • /CheckDatabaseOK
      GET
    • /DownloadAttach
      POST
    • /DownloadImg
      POST
    • /DownloadVideo
      POST
    • /DownloadVoice
      POST
    • /GetCdnDns
      POST
    • /IsRunning
      GET
    • /SetProxy
      POST
    • /SetStep
      POST
  • HongBao
    • /GetHongBaoDetail
  • User
    • /GetMyQRCode
    • /GetProfile
  • Message
    • /RevokeMsg
    • /SendAppMsg
    • /SendCDNFileMsg
    • /SendCDNImgMsg
    • /SendCDNVideoMsg
    • /SendCardMsg
    • /SendEmojiMsg
    • /SendImageMsg
    • /SendShareLink
    • /SendTextMsg
    • /SendVideoMsg
    • /SendVoiceMsg
    • /Sync
  1. Tool

/GetCdnDns

POST
/GetCdnDns
Tool
获取CDN DNS

请求参数

Body 参数application/json
Wxid
string 
必需
示例
{
    "Wxid": "string"
}

示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/GetCdnDns' \
--header 'Content-Type: application/json' \
--data-raw '{
    "Wxid": "string"
}'

返回响应

🟢200OK
application/json
Body
Code
integer 
可选
Data
object (mm.GetCDNDnsResponse) 
可选
BaseResponse
object (mm.BaseResponse) 
可选
appDnsInfo
object (mm.CDNDnsInfo) 
可选
cdnDnsRuleBuf
array[integer]
可选
defaultConfig
object (mm.CDNClientConfig) 
可选
disasterConfig
object (mm.CDNClientConfig) 
可选
dnsInfo
object (mm.CDNDnsInfo) 
可选
fakeCdnDnsRuleBuf
array[integer]
可选
fakeDnsInfo
object (mm.CDNDnsInfo) 
可选
getCdnDnsIntervalMs
integer 
可选
snsDnsInfo
object (mm.CDNDnsInfo) 
可选
Message
string 
可选
Success
boolean 
可选
示例
{
    "Code": 0,
    "Data": {
        "BaseResponse": {
            "errMsg": {
                "string": "string"
            },
            "ret": 0
        },
        "appDnsInfo": {
            "authKey": {
                "buffer": [
                    0
                ],
                "iLen": 0
            },
            "expireTime": 0,
            "fakeUin": 0,
            "fontIPList": [
                {
                    "string": "string"
                }
            ],
            "frontID": 0,
            "frontIPCount": 0,
            "frontIPPortCount": 0,
            "frontIPPortList": [
                {
                    "portCount": 0,
                    "portList": [
                        0
                    ]
                }
            ],
            "newAuthkey": {
                "buffer": [
                    0
                ],
                "iLen": 0
            },
            "uin": 0,
            "ver": 0,
            "zoneDomain": "string",
            "zoneID": 0,
            "zoneIPCount": 0,
            "zoneIPList": [
                {
                    "string": "string"
                }
            ],
            "zoneIPPortCount": 0,
            "zoneIPPortList": [
                {
                    "portCount": 0,
                    "portList": [
                        0
                    ]
                }
            ]
        },
        "cdnDnsRuleBuf": [
            0
        ],
        "defaultConfig": {
            "c2CRWTimeout": 0,
            "c2CRetryInterval": 0,
            "c2CShowErrorDelayMs": 0,
            "snsRWTimeout": 0,
            "snsRetryInterval": 0,
            "snsShowErrorDelayMs": 0
        },
        "disasterConfig": {
            "c2CRWTimeout": 0,
            "c2CRetryInterval": 0,
            "c2CShowErrorDelayMs": 0,
            "snsRWTimeout": 0,
            "snsRetryInterval": 0,
            "snsShowErrorDelayMs": 0
        },
        "dnsInfo": {
            "authKey": {
                "buffer": [
                    0
                ],
                "iLen": 0
            },
            "expireTime": 0,
            "fakeUin": 0,
            "fontIPList": [
                {
                    "string": "string"
                }
            ],
            "frontID": 0,
            "frontIPCount": 0,
            "frontIPPortCount": 0,
            "frontIPPortList": [
                {
                    "portCount": 0,
                    "portList": [
                        0
                    ]
                }
            ],
            "newAuthkey": {
                "buffer": [
                    0
                ],
                "iLen": 0
            },
            "uin": 0,
            "ver": 0,
            "zoneDomain": "string",
            "zoneID": 0,
            "zoneIPCount": 0,
            "zoneIPList": [
                {
                    "string": "string"
                }
            ],
            "zoneIPPortCount": 0,
            "zoneIPPortList": [
                {
                    "portCount": 0,
                    "portList": [
                        0
                    ]
                }
            ]
        },
        "fakeCdnDnsRuleBuf": [
            0
        ],
        "fakeDnsInfo": {
            "authKey": {
                "buffer": [
                    0
                ],
                "iLen": 0
            },
            "expireTime": 0,
            "fakeUin": 0,
            "fontIPList": [
                {
                    "string": "string"
                }
            ],
            "frontID": 0,
            "frontIPCount": 0,
            "frontIPPortCount": 0,
            "frontIPPortList": [
                {
                    "portCount": 0,
                    "portList": [
                        0
                    ]
                }
            ],
            "newAuthkey": {
                "buffer": [
                    0
                ],
                "iLen": 0
            },
            "uin": 0,
            "ver": 0,
            "zoneDomain": "string",
            "zoneID": 0,
            "zoneIPCount": 0,
            "zoneIPList": [
                {
                    "string": "string"
                }
            ],
            "zoneIPPortCount": 0,
            "zoneIPPortList": [
                {
                    "portCount": 0,
                    "portList": [
                        0
                    ]
                }
            ]
        },
        "getCdnDnsIntervalMs": 0,
        "snsDnsInfo": {
            "authKey": {
                "buffer": [
                    0
                ],
                "iLen": 0
            },
            "expireTime": 0,
            "fakeUin": 0,
            "fontIPList": [
                {
                    "string": "string"
                }
            ],
            "frontID": 0,
            "frontIPCount": 0,
            "frontIPPortCount": 0,
            "frontIPPortList": [
                {
                    "portCount": 0,
                    "portList": [
                        0
                    ]
                }
            ],
            "newAuthkey": {
                "buffer": [
                    0
                ],
                "iLen": 0
            },
            "uin": 0,
            "ver": 0,
            "zoneDomain": "string",
            "zoneID": 0,
            "zoneIPCount": 0,
            "zoneIPList": [
                {
                    "string": "string"
                }
            ],
            "zoneIPPortCount": 0,
            "zoneIPPortList": [
                {
                    "portCount": 0,
                    "portList": [
                        0
                    ]
                }
            ]
        }
    },
    "Message": "string",
    "Success": true
}
修改于 2025-02-18 03:50:52
上一页
/DownloadVoice
下一页
/IsRunning
Built with