主頁(yè) > 服務(wù)與支持 > 開(kāi)發(fā)平臺(tái) > 服務(wù)端API參考 > 會(huì)議控制 > 接口參考 查詢(xún)?cè)诰€會(huì)議列表
更新時(shí)間:2019-11-19
管理員或普通用戶(hù)可以通過(guò)該接口查詢(xún)會(huì)議列表。管理員可以查詢(xún)管理權(quán)限域內(nèi)所有的會(huì)議,普通用戶(hù)僅能查詢(xún)當(dāng)前自己帳號(hào)管理的會(huì)議。不帶查詢(xún)參數(shù)時(shí),默認(rèn)查詢(xún)權(quán)限范圍內(nèi)正在召開(kāi)的會(huì)議,按開(kāi)始時(shí)間升序排列。
請(qǐng)求方法 |
GET |
---|---|
請(qǐng)求地址 |
/conferences/online |
傳輸協(xié)議 |
HTTPS |
參數(shù) |
是否必須 |
類(lèi)型 |
位置 |
描述 |
---|---|---|---|---|
userUUID |
否 |
String |
URL |
待查詢(xún)的會(huì)議預(yù)定者的用戶(hù)UUID。
說(shuō)明:
僅管理員有權(quán)限查詢(xún)權(quán)限范圍內(nèi)的所有帳號(hào),普通帳號(hào)僅能查詢(xún)自己的。 內(nèi)置會(huì)議默認(rèn)是登錄帳號(hào)。 |
pageIndex |
否 |
Int |
URL |
指定返回的頁(yè)面索引。該值必須大于0。 默認(rèn)為“1”。 |
pageSize |
否 |
Int |
URL |
指定返回的記錄數(shù)。默認(rèn)值由會(huì)議AS定義,默認(rèn)是“20”,最大值為“500”。 |
queryAll |
否 |
Boolean |
URL |
指定是否查詢(xún)企業(yè)下所有用戶(hù)的會(huì)議記錄。 如果登錄帳號(hào)不是企業(yè)管理員,則該字段無(wú)效。 如果該字段為“true”,則“userUUID”字段無(wú)效。 |
condition |
否 |
String |
URL |
查詢(xún)用來(lái)當(dāng)作關(guān)鍵詞的字符串。 |
Authorization |
是 |
String |
Header |
授權(quán)令牌。將執(zhí)行鑒權(quán)響應(yīng)的accessToken進(jìn)行Base64轉(zhuǎn)碼操作。 樣例:Basic Base64(accessToken) |
參數(shù) |
類(lèi)型 |
描述 |
---|---|---|
returnCode |
Int |
返回碼。 |
returnDesc |
String |
返回描述。 |
data |
會(huì)議信息列表。 |
GET /conferences/online?pageIndex=1&pageSize=5 Connection: keep-alive Authorization: Basic dVFpdlVnU1FEQzB0UDlOT3VWanNaYkJUZDBwRVA1ajd3 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:20:51 GMT Content-Type: application/json;charset=UTF-8 Content-Length: 1410 Connection: keep-alive Pragma: No-cache Cache-Control: no-cache http_proxy_id: afebdbf50a938b965304c57d5c15676a Server: api-gateway X-Request-Id: be9dc6ff2eba30835ca2a5dfe2c4914d { "returnCode": 0, "returnDesc": "Success", "data": { "pageIndex": 1, "pageSize": 5, "totalCount": 1, "countTotal": true, "totalPages": 1, "lastPage": true, "nextPage": 2, "firstPage": true, "prePage": 0, "orderBySetted": false, "offset": 0, "data": [ { "conferenceID": "914018507", "mediaTypes": "Data,Voice", "subject": "語(yǔ)音會(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", "confUUID": "cbb9e294a2e811e98fc4651c4e204b42" } ] } }
curl -k -i -X GET -H 'Authorization:Basic dVFpdlVnU1FEQzB0UDlOT3VWanNaYkJUZDBwRVA1ajd3' https://api.meeting.huaweicloud.com/conferences/online?pageIndex=1&pageSize=5