https://xxxxxx/v4/room_engine_http_srv/get_room_member_list?sdkappid=88888888&identifier=admin&usersig=xxx&random=99999999&contenttype=json
Parameter | Description |
xxxxxx | The reserved domain for the country/region where the SDKAppID is located: Singapore : adminapisgp.im.qcloud.com |
v4/room_engine_http_srv/get_room_member_list | Request API |
sdkappid | The SDKAppID assigned by the Chat console when an app is created |
identifier | |
usersig | The Signature generated by the App administrator account. For more details, please refer to Generating UserSig. |
random | Enter a random 32-bit unsigned integer ranging from 0 to 4294967295 |
contenttype | The request format fixed value is json |
{"RoomId": "room-test","Count": 10,"Next": ""}
Field | Type | Attribute | Description |
RoomId | String | Mandatory | Room ID |
Count | Integer | Optional | Fetch number of members, default is 50 |
Next | String | Optional | The position of members pulled last time, use "" for the first call, continue pulling using the Next value returned |
{"ErrorCode": 0,"ErrorInfo": "","ActionStatus": "OK","RequestId": "Id-52f049ba12d741b7a84959700acdb1d5-O-Seq-56287","Response": {"Next": "","MemberList": [{"Member_Account": "user2","NameCard": "123","Role": "RoomOwner","Marks": [1000,1002,1003],"CustomInfo": ""}]}}
Field | Type | Description |
ActionStatus | String | The result of the request process. OK for success, FAIL for failure. |
ErrorCode | Integer | Error code. 0 for success, others for failure. |
ErrorInfo | String | Error message |
RequestId | String | The unique request ID is returned for each request and required to provide this RequestId when locating issues. |
MemberList | Array | Room member list |
Member_Account | String | Room member ID |
NameCard | String | Room member nickname |
Role | String | Room member permissions: Owner, Admin, Member |
Marks | Array | Room member tag |
CustomInfo | String | Room member custom fields |
Error code | Description |
100001 | Internal server error, please retry. |
100002 | Invalid parameter, please check the request for correctness based on the error description. |
100004 | Room does not exist, or it once existed but now has been destroyed. |
100005 | Non-room members |
100006 | Insufficient operational permissions |
Was this page helpful?