提交工单
咨询集成、功能及报价等问题
Queries the default room permissions on a whiteboard.
Listed below are the parameters specific to this request. For the complete list of public request parameters, see Accessing Server APIs - Public parameters..
Parameter | Type | Required | Description |
---|---|---|---|
RoomId |
String |
Yes |
Room ID. |
https://whiteboard-api.zego.im/?Action=GetWhiteboardRoomAuth
&RoomId=RoomName
&<Public request parameters>
Parameter | Type | Description |
---|---|---|
Code |
Number |
Return code. |
Message |
String |
Message. |
RequestId |
String |
Unique request ID generated by ZEGO. |
Data |
Object |
If the value is empty, no permission on whiteboards has been set for the room. |
└ RoomId |
String |
Room ID. |
└ ModuleAuth[] |
Array of Number |
Operation permissions on whiteboards.
|
└ GraphicAuth[] |
Array of Number |
Operation permissions on diagram elements.
|
{
"Code":0,
"Message":"SUCCESS",
"RequestId":"223708046046603340",
"Data":{
"RoomId":"RoomName",
"ModuleAuth":[1,2],
"GraphicAuth":[32,2]
}
}
Listed below are the return codes related to this API. For the complete list of return codes, see Return codes
Return code | Description |
---|---|
120000001 |
Signature authentication failed. |
120000002 |
Incorrect input parameters. |
120000104 |
Failed to query room permissions. |
120000301 |
The room does not exist. |