TUICallKit.call() or TUICallKit.groupCall()to initiate a call, please check the Deprecated Document directory. If you have any questions, you can contact: info_rtc@tencent.com.https://xxxxxx/$ver/$servicename/$command?sdkappid=$SDKAppID&identifier=$identifier&usersig=$usersig&random=99999999&contenttype=json
Parameter | Meaning | Value |
https | Request protocol | The request protocol is HTTPS, and the request method is POST. |
xxxxxx | Request domain | Dedicated domain name corresponding to the country/region where the SDKAppID is located: China: console.tim.qq.comSingapore: adminapisgp.im.qcloud.com |
ver | Protocol version number | Fixed as v4 |
servicename | Internal service name. Different service names correspond to different service types. | v4/call_engine_http_srv/get_call_info, where call_engine_http_srv is the servicename. For more details, see REST API List. |
command | Command word, combined with servicename to identify specific business functionality. | Example: v4/call_engine_http_srv/get_call_info, where get_call_info is the command. For more details, see REST API list. |
sdkappid | App obtains the application identifier in the IM console. | Obtain when applying for access. |
identifier | username must be an App administrator account when calling REST API. | |
usersig | The password corresponding to the username. | |
random | Random number parameter indicating the current request | 32-bit unsigned integer random number, value ranges from 0 to 4294967295 |
contenttype | Request format | The fixed value is json. |
{}, needs to be carried.{"ActionStatus": "OK","ErrorInfo": "","ErrorCode": 0,"RequestId": "Id-70e312f1de024af5a36714b7b71da224-O-Seq-63504"// Other response contents of REST API}
Field | Type | Description |
ActionStatus | String | Request processing result. OK means processing successful; FAIL means processing failed. If it is FAIL, ErrorInfo contains the failure reason. |
ErrorInfo | String | Failure reason |
ErrorCode | Integer | Error code: 0 means successful; any other value indicates failure. You can query the Error Code Table for specific reasons. |
RequestId | String | Unique request ID. It is returned for each request. RequestId is required for locating a problem. |
POST /v4/group_open_http_svc/get_appid_group_list?usersig=xxx&identifier=admin&sdkappid=88888888&random=99999999&contenttype=json HTTP/1.1Host: console.tim.qq.comContent-Length: 22{"Limit": 2}
HTTP/1.1 200 OKServer: nginx/1.7.10Date: Fri, 09 Oct 2015 02:59:55 GMTContent-Length: 156Connection: keep-aliveAccess-Control-Allow-Origin: *Access-Control-Allow-Headers: X-Requested-WithAccess-Control-Allow-Methods: POST{"ActionStatus": "OK","ErrorCode": 0,"GroupIdList": [{"GroupId": "@TGS#1YTTZEAEG"},{"GroupId": "@TGS#1KVTZEAEZ"}],"TotalCount": 58530}
Error Code | Description of Meaning |
60002 | HTTP parsing error. Please check the HTTP Request URL Format. |
60003 | HTTP request JSON parsing error. Please check the JSON format. |
60004 | Error in account or signature in the request URL or JSON body. |
60005 | Error in account or signature in the request URL or JSON body. |
60006 | SDKAppID is invalid. Check the validity of the SDKAppID. |
60007 | The REST API call frequency exceeds the limit. Reduce the request frequency. |
60008 | Service request timeout or HTTP request format error. Please check and retry. |
60009 | Request resource error. Please check the request URL. |
60010 | The request requires App administrator permissions. |
60011 | The SDKAppID request frequency exceeds the limit. Reduce the request frequency. |
60012 | The RESTful API requires an SDKAppID. Please check the SDKAppID in the request URL. |
60013 | HTTP response packet JSON parsing error. |
60014 | Account switching timeout. |
60015 | Error in account type in request body. Please confirm that the account is in string format. |
60016 | SDKAppID is disabled. |
60017 | The request is disabled. |
60018 | Frequent requests. Please retry later. |
60019 | Frequent requests. Try again later. |
60020 | Your Professional Edition Package has expired and been disabled. Please log in to Chat purchase page to repurchase a package. It will take effect 5 minutes after purchase. |
60021 | The call source IP of the RestAPI is illegal. |
telnet console.tim.qq.com 443 Confirm whether you can connect to the service port.curl -I https://console.tim.qq.com for a simple test to see if the status code is 200.Feedback