XYBotV2协议接口
  1. Login
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. Login

/GetQRCode

POST
/GetQRCode
Login
获取登陆二维码

请求参数

Body 参数application/json
DeviceID
string 
可选
DeviceName
string 
可选
ProxyInfo
object (Model.ProxyInfo) 
可选
ProxyIp
string 
可选
ProxyPassword
string 
可选
ProxyUser
string 
可选
示例
{
  "DeviceID": "string",
  "DeviceName": "string",
  "ProxyInfo": {
    "ProxyIp": "string",
    "ProxyPassword": "string",
    "ProxyUser": "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 '/GetQRCode' \
--header 'Content-Type: application/json' \
--data-raw '{
    "DeviceID": "string",
    "DeviceName": "string",
    "ProxyInfo": {
        "ProxyIp": "string",
        "ProxyPassword": "string",
        "ProxyUser": "string"
    }
}'

返回响应

🟢200OK
application/json
Body
Code
integer 
可选
Data
object (Model.GetQRCodeRespData) 
可选
ExpiredTime
string 
可选
QRCodeBase64
string 
可选
QRCodeURL
string 
可选
Uuid
string 
可选
Message
string 
可选
Success
boolean 
可选
示例
{
  "Code": 0,
  "Data": {
    "ExpiredTime": "string",
    "QRCodeBase64": "string",
    "QRCodeURL": "string",
    "Uuid": "string"
  },
  "Message": "string",
  "Success": true
}
上一页
/GetCachedInfo
下一页
/Heartbeat
Built with