Querying a Continuous Presence Layout
Description
This API is used to query a continuous presence layout saved in a meeting.
Debugging
You can debug this API in API Explorer.
URI
GET /v1/mmc/control/conferences/layOut
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
conferenceID |
Yes |
String |
Meeting ID. |
Request Parameters
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
X-Conference-Authorization |
Yes |
String |
Meeting control token, which can be obtained by calling the API for Obtaining a Meeting Control Token. |
Response Parameters
Status code: 200
Parameter |
Type |
Description |
---|---|---|
returnCode |
Integer |
Result code. Minimum value: 0 Maximum value: 2147483647 |
returnDesc |
String |
Result description. |
picLayouts |
Array of RestPicLayout objects |
Continuous presence layout. |
Parameter |
Type |
Description |
---|---|---|
switchTime |
Integer |
Interval for displaying participants in turn, in seconds. Minimum value: 10 |
picNum |
Integer |
Number of screens in the continuous presence. Minimum value: 1 |
layOutName |
String |
Name of the continuous presence layout. |
imageType |
String |
Layout type. |
uuid |
String |
Layout UUID. |
subscriberInPics |
Array of PicInfoNotify objects |
Screen list. |
Parameter |
Type |
Description |
---|---|---|
index |
Integer |
Number of each screen in continuous presence. The number starts from 1. |
id |
Array of strings |
SIP numbers of the participants in each screen. The SIP numbers can be obtained by calling the API for Querying the Corporate Directory. |
share |
Integer |
Whether a stream is a presentation. |
Status code: 400
Parameter |
Type |
Description |
---|---|---|
error_code |
String |
Error code. |
error_msg |
String |
Error message. |
Example Request
PUT https://{endpoint}/v1/mmc/control/conferences/layOut?conferenceID=914370850
Example Response
Status code: 200
Operation successful.
{ "returnCode" : 0, "returnDesc" : "Success", "picLayouts" : [ { "uuid" : "aa3aaaf349f511edbea72fd2b9a0ad61", "imageType" : "Two", "switchTime" : 10, "layOutName" : "my_saved_layout", "subscriberInPics" : [ { "index" : 1, "id" : [ "+99111221231895886#Desktop" ], "share" : 0 }, { "index" : 2, "id" : [ "+99111221231894887#Desktop" ], "share" : 0 } ] } ] }
Status code: 400
Invalid parameters.
{ "error_code" : "MMC.111072065", "error_msg" : "CONF_NOT_FOUND_OR_AUTH_FAILED" }
Status Codes
Status Code |
Description |
---|---|
200 |
Operation successful. |
400 |
Invalid parameters. |
Error Codes
If an error code starting with MMC or USG is returned when you use this API, rectify the fault by following the instructions provided in Huawei Cloud API Error Center.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot