更新時間:2019-11-19
管理員或普通用戶可以通過該接口查詢會議列表。管理員可以查詢管理權限域內(nèi)所有的會議,普通用戶僅能查詢當前自己帳號管理的會議。不帶查詢參數(shù)時,默認查詢權限范圍內(nèi)正在召開的會議,按開始時間升序排列。
請求方法 |
GET |
---|---|
請求地址 |
/conferences/online |
傳輸協(xié)議 |
HTTPS |
參數(shù) |
是否必須 |
類型 |
位置 |
描述 |
---|---|---|---|---|
userUUID |
否 |
String |
URL |
待查詢的會議預定者的用戶UUID。
說明:
僅管理員有權限查詢權限范圍內(nèi)的所有帳號,普通帳號僅能查詢自己的。 內(nèi)置會議默認是登錄帳號。 |
pageIndex |
否 |
Int |
URL |
指定返回的頁面索引。該值必須大于0。 默認為“1”。 |
pageSize |
否 |
Int |
URL |
指定返回的記錄數(shù)。默認值由會議AS定義,默認是“20”,最大值為“500”。 |
queryAll |
否 |
Boolean |
URL |
指定是否查詢企業(yè)下所有用戶的會議記錄。 如果登錄帳號不是企業(yè)管理員,則該字段無效。 如果該字段為“true”,則“userUUID”字段無效。 |
condition |
否 |
String |
URL |
查詢用來當作關鍵詞的字符串。 |
Authorization |
是 |
String |
Header |
授權令牌。將執(zhí)行鑒權響應的accessToken進行Base64轉(zhuǎn)碼操作。 樣例:Basic Base64(accessToken) |
參數(shù) |
類型 |
描述 |
---|---|---|
returnCode |
Int |
返回碼。 |
returnDesc |
String |
返回描述。 |
data |
會議信息列表。 |
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": "語音會議", "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