主頁 > 服務(wù)與支持 > 開發(fā)平臺(tái) > 服務(wù)端API參考 > 會(huì)議控制 > 接口參考 查詢在線會(huì)議信息
更新時(shí)間:2019-11-19
管理員或普通用戶可以通過該接口查詢指定在線會(huì)議詳情。管理員可以查詢管理權(quán)限域內(nèi)所有的會(huì)議,普通用戶僅能查詢當(dāng)前自己的帳號(hào)管理的會(huì)議。
請求方法 |
GET |
---|---|
請求地址 |
/conferences/{conferenceid}/online |
傳輸協(xié)議 |
HTTPS |
參數(shù) |
是否必須 |
類型 |
位置 |
描述 |
---|---|---|---|---|
conferenceid |
是 |
String |
URL |
會(huì)議標(biāo)識(shí)。 |
pageIndex |
否 |
Int |
URL |
指定返回的與會(huì)者列表的頁面索引。該值必須大于0。 默認(rèn)為“1”。 |
pageSize |
否 |
Int |
URL |
指定返回的與會(huì)者記錄數(shù)。默認(rèn)值由會(huì)議AS定義。 |
condition |
否 |
String |
URL |
用來作關(guān)鍵詞查詢的字符串。 |
Authorization |
是 |
String |
Header |
授權(quán)令牌。將執(zhí)行鑒權(quán)響應(yīng)的accessToken進(jìn)行Base64轉(zhuǎn)碼操作。 樣例:Basic Base64(accessToken) |
type |
否 |
Int |
Header |
默認(rèn)值為“0”。 |
queryType |
否 |
Int |
Header |
當(dāng)“type”為“2”時(shí),該字段有效。
默認(rèn)值為“0”。 |
參數(shù) |
類型 |
描述 |
---|---|---|
returnCode |
Int |
返回碼。 |
returnDesc |
String |
返回描述。 |
data |
會(huì)議詳細(xì)信息。 |
GET /conferences/914018507/online?pageIndex=1&pageSize=5 Connection: keep-alive Authorization: Basic UlBFUmR2Sk80TEV5bXNzam02WVh2bGY1RXduUnNKU2dY user-agent: WeLink-desktop Host: api.meeting.huaweicloud.com User-Agent: Apache-HttpClient/4.5.3 (Java/1.8.0_191)
HTTP/1.1 200 Date: Wed, 10 Jul 2019 08:58:52 GMT Content-Type: application/json;charset=UTF-8 Content-Length: 1394 Connection: keep-alive Expires: 0 Pragma: No-cache Cache-Control: no-cache http_proxy_id: 1e4af24ea29c6641dd73e3a6a027f007 Server: api-gateway X-Request-Id: 696def7842d59349fd7e33319dce3e21 { "returnCode": 0, "returnDesc": "Success", "data": { "conferenceData": { "conferenceID": "914018507", "mediaTypes": "Data,Voice", "subject": "語音會(huì)議", "size": 1, "timeZoneID": "56", "startTime": "2019-07-10 08:00", "endTime": "2019-07-10 09:15", "conferenceState": "Created", "accessNumber": "+991119", "language": "zh-CN", "passwordEntry": [ { "conferenceRole": "chair", "password": "745814" }, { "conferenceRole": "general", "password": "569768" } ], "userUUID": "881c30b9781543d1862ca66f8a0e7b41", "scheduserName": "test002", "multiStreamFlag": 0, "conferenceType": 0, "isAutoMute": 1, "isAutoRecord": 0, "chairJoinUri": "https://nmeeting.huaweicloud.com/#/j/914018507/fa49efbc7f0ab0833b7f6cc5892c5cdc99eec645e6908318", "guestJoinUri": "https://nmeeting.huaweicloud.com/#/j/914018507/26ca29637369bce24845ffa73b902ff1e853a4260a6748de", "recordType": 0, "recordAuxStream": 0, "confConfigInfo": { "inviteMode": "AUTO_INVITE", "prolongLength": 15, "dispatchMode": "AUTO_DISPATCH", "isGuestFreePwd": false, "isSendNotify": true, "isSendSms": true, "isAutoMute": true }, "vmrFlag": 0, "scheduleVmr": false, "isHasRecordFile": false, "partAttendeeInfo": [ { "phone": "+991116002971", "name": "test002", "role": 0, "isMute": 0, "type": "normal" } ], "terminlCount": 0, "normalCount": 1, "deptName": "test001" }, "data": { "pageIndex": 1, "pageSize": 5, "totalCount": 0, "countTotal": false, "totalPages": 0, "lastPage": false, "nextPage": 0, "firstPage": false, "prePage": 0, "orderBySetted": false, "offset": 0, "data": [] } } }
curl -k -i -X GET -H 'Authorization:Basic UlBFUmR2Sk80TEV5bXNzam02WVh2bGY1RXduUnNKU2dY' 'https://api.meeting.huaweicloud.com/conferences/914018507/online?pageIndex=1&pageSize=5'