更新時間:2019-11-19
管理員或普通用戶可以通過該接口查詢會議列表。管理員可以查詢管理權限域內(nèi)所有的會議,普通用戶僅能查詢當前帳號管理的會議。不帶查詢參數(shù)時,默認查詢權限范圍內(nèi)正在召開或還未召開的會議。
請求方法 |
GET |
---|---|
請求地址 |
/conferences |
傳輸協(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”字段無效。 |
status |
否 |
Int |
URL |
|
condition |
否 |
String |
URL |
查詢用來當作關鍵詞的字符串。長度限制為1-128個字符。 |
queryConfMode |
否 |
String |
URL |
|
sortType |
否 |
String |
URL |
|
Authorization |
是 |
String |
Header |
授權令牌。將執(zhí)行鑒權響應的accessToken 進行Base64轉碼操作。 樣例:Basic Base64(accessToken) |
參數(shù) |
類型 |
描述 |
---|---|---|
returnCode |
Int |
返回碼。 |
returnDesc |
String |
返回描述。 |
data |
會議信息列表。 |
pageIndex |
Int |
第幾頁。 |
pageSize |
Int |
每頁的記錄數(shù)。 |
totalCount |
Int |
總記錄數(shù)。 |
countTotal |
Boolean |
取值:
|
totalPages |
Int |
總頁數(shù)。 |
lastPage |
Boolean |
是否是最后一頁。取值:
|
nextPage |
Int |
下一頁是第幾頁。 |
firstPage |
Boolean |
是否是第一頁。取值:
|
prePage |
Int |
上一頁是第幾頁。 |
sort |
String[0..*] |
排序字段。 |
orderBySetted |
Boolean |
是否設置排序字段。取值:
|
offset |
Int |
記錄數(shù)偏移,這一頁之前共有多少條。 |
data |
ConferenceInfo[0..*] |
會議信息列表。 |
GET /conferences?pageIndex=1&pageSize=2 Connection: keep-alive Authorization: Basic VFZQdG9tOUcwN2NMWGhMQ1phaXpRUDFsNkdlUzVvT05Q 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: Sat, 09 Mar 2019 06:47:01 GMT Content-Type: application/json;charset=UTF-8 Content-Length: 2450 Connection: keep-alive Expires: 0 Pragma: No-cache Cache-Control: no-cache http_proxy_id: 6fba0eff9f832b463580fb06c5b0ff9c Server: api-gateway X-Request-Id: ac9f75ec3c97c823f128526a924532b2 { "returnCode": 0, "returnDesc": "Success", "data": { "pageIndex": 1, "pageSize": 2, "totalCount": 6, "countTotal": true, "totalPages": 3, "lastPage": false, "nextPage": 2, "firstPage": true, "prePage": 0, "orderBySetted": false, "offset": 0, "data": [ { "conferenceID": "914026152", "mediaTypes": "Data,Voice", "subject": "user01的會議", "size": 1, "startTime": "2019-03-09 06:42", "endTime": "2019-03-09 08:42", "conferenceState": "Created", "accessNumber": "+8657*******", "language": "zh-CN", "passwordEntry": [{ "conferenceRole": "chair", "password": "249410" }, { "conferenceRole": "general", "password": "125641" }], "userUUID": "ff8080816933ab4801694865840a00c2", "scheduserName": "user01", "multiStreamFlag": 0, "conferenceType": 0, "isAutoMute": 0, "isAutoRecord": 0, "chairJoinUri": "https://nmeeting.huaweicloud.com:38443/portal/j/914026152?p=f624660633647a87aa51a8adbd133668e082a56e7bd846e0", "guestJoinUri": "https://nmeeting.huaweicloud.com:38443/portal/j/914026152?p=f5d9ae64af8c306823840288df538e88c40e51aeeb8d465c", "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": "+8657*******", "name": "user01", "role": 1, "isMute": 0, "type": "normal" }], "vmrFlag": 0, "scheduleVmr": false, "isHasRecordFile": false, "terminlCount": 0, "normalCount": 0, "deptName": "huawei_ffl ", "confUUID": "7ab2dc04423611e9b745f3df1cc2b59d" }, { "conferenceID": "914027377", "mediaTypes": "Data,Voice", "subject": "user01的會議", "size": 1, "startTime": "2019-03-09 09:30", "endTime": "2019-03-09 11:30", "conferenceState": "Schedule", "accessNumber": "+8657*******", "language": "zh-CN", "passwordEntry": [ { "conferenceRole": "chair", "password": "779901" }, { "conferenceRole": "general", "password": "439258" }], "userUUID": "ff8080816933ab4801694865840a00c2", "scheduserName": "user01", "multiStreamFlag": 0, "conferenceType": 0, "isAutoMute": 0, "isAutoRecord": 0, "chairJoinUri": "https://nmeeting.huaweicloud.com:38443/portal/j/914027377?p=756d678c1f0ed03985fc9828a17f47105f5bc2cef5a759c0", "guestJoinUri": "https://nmeeting.huaweicloud.com:38443/portal/j/914027377?p=df4137c7be1e1584f74c124bf25621e91181e0ad2aea8767", "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": "+8657*******", "name": "user01", "role": 0, "isMute": 0, "type": "normal" }], "vmrFlag": 0, "scheduleVmr": false, "isHasRecordFile": false, "terminlCount": 0, "normalCount": 0, "deptName": "huawei_ffl ", "confUUID": "0abc19e83fe911e9b6b5c1e119aed030", }] } }
curl -k -i -X GET -H 'Authorization:Basic T2FmNUppeGxvYms0MkZ4am45ZmdPR0dBOE1EYVZtMFBP' https://api.meeting.huaweicloud.com/conferences