https://xxxxxx/v4/live_engine_http_srv/add_robot?sdkappid=88888888&identifier=admin&usersig=xxx&random=99999999&contenttype=json
Parameters | Description |
xxxxxx | Domain name corresponding to the country/region where your SDKAppID is located: China: console.tim.qq.com Singapore: adminapisgp.im.qcloud.com United States: adminapiusa.im.qcloud.com |
v4/live_engine_http_srv/add_robot | Request API |
sdkappid | Create an assigned SDKAppID for the Live application |
identifier | |
usersig | The generated signature of the App administrator account. For specific operations, see Generating UserSig |
random | Enter a random 32-bit unsigned integer in the range of 0 to 4294967295 |
contenttype | The request format has a fixed value of json |
{"RoomId":"mix1","RobotList_Account":["brennanli"]}
Field | Type | Required | Description |
RoomId | String | Required | room ID, up to 48 bytes |
RobotList_Account | Array | Required |
{"ActionStatus": "OK","ErrorInfo": "","ErrorCode": 0,"RequestId": "Id-8c9858f01e954611ae2d4c1b1ed7d583-O-Seq-52720"}
Field | Type | Description |
ActionStatus | String | Request processing result. OK: processing successful; FAIL: failure |
ErrorCode | Integer | Error code. 0: success; non-0: failure |
ErrorInfo | String | Error message |
RequestId | String | Unique request ID. It is returned for each request. RequestId is required for locating a problem |
Error Code | Description |
100001 | Internal server error, please retry. |
100002 | Invalid parameter. Check whether the request is correct according to the error description. |
100006 | The room type required is the Live room type. |
100004 | The room does not exist or is dissolved. |