查询企业级会议总体统计数据
描述
该接口用于查询企业内会议数据统计:
- 单日内按小时统计的会议数据。
- 指定日期范围内按日/按月统计的会议数据。
仅旗舰版企业的企业管理员有权限查询。
调试
您可以在API Explorer中调试该接口。
URI
GET /v1/metrics/dashboard/statistic/conference/info
请求参数
|
参数 |
是否必须 |
类型 |
位置 |
描述 |
|---|---|---|---|---|
|
offset |
否 |
Integer |
Query |
查询偏移量。
|
|
limit |
否 |
Integer |
Query |
查询的条目数量。
|
|
timeUnit |
是 |
String |
Query |
查询时间维度,取值:
|
|
startTime |
是 |
String |
Query |
查询时间范围的开始时间,格式根据timeUnit的取值而定。
|
|
endTime |
是 |
String |
Query |
查询时间范围的结束时间,格式根据timeUnit的取值而定。
|
|
category |
是 |
String |
Query |
查询分类,取值:
|
|
X-Access-Token |
是 |
String |
Header |
授权令牌。获取“执行App ID鉴权”响应的accessToken。 |
状态码
|
HTTP状态码 |
描述 |
|---|---|
|
400 |
Bad Request 客户端传参异常。 |
|
401 |
Unauthorized 未鉴权或鉴权失败。 |
|
403 |
Forbidden 权限受限。 |
|
500 |
服务端异常。 |
响应参数
|
参数 |
类型 |
描述 |
|---|---|---|
|
count |
Integer |
总记录数。 |
|
limit |
Integer |
查询条目数量。 |
|
offset |
Integer |
查询偏移量。 |
|
data |
Array of StatisticConferenceDataItem objects |
会议总体数据按时间点统计的查询结果数组。 |
|
参数名称 |
参数类型 |
描述 |
|---|---|---|
|
time |
String |
日期/月份,category = conference_info时有效。 小时,category = conference_hourly_info时有效。 |
|
confCount |
String |
会议数(含VMR)。 category = conference_info时有效。 |
|
confDuration |
String |
会议时长(秒)(含VMR)。 category = conference_info时有效。 |
|
attendeeCount |
String |
与会人次(含VMR)。 category = conference_info时有效。 |
|
confConcurrentUsedCount |
String |
并发会议使用数。 category = conference_info时有效。 |
|
conf24hCount |
String |
小时单位会议数(含VMR)。 category = conference_hourly_info时有效。 |
|
conf24hAttendeeCount |
String |
小时单位与会人次(含VMR)。 category = conference_hourly_info时有效。 |
请求消息示例
GET /v1/metrics/dashboard/statistic/conference/info?timeUnit=D&startTime=2021-03-02&endTime=2021-03-03&category=conference_info&offset=0&limit=20 Connection: keep-alive X-Access-Token: stbX5ElstO5QwOwPB9KGQWUZ1DHoFrTsQjjC 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, 18 Dec 2019 06:20:40 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
{
"count": 2,
"limit": 10,
"offset": 0,
"data": [{
"time": "2021-03-02",
"confCount": "122",
"confDuration": "1124",
"attendeeCount": "261",
"confConcurrentUsedCount": "11"
},
{
"time": "2021-03-03",
"confCount": "122",
"confDuration": "1124",
"attendeeCount": "261",
"confConcurrentUsedCount": "11"
}
]
}
错误码
当您使用华为云会议服务端API时,如果遇到“MBI”开头的错误码,请参考华为云API错误中心。
CURL命令示例
curl -k -i -X GET -H 'X-Access-Token:stbX5ElstO5QwOwPB9KGQWUZ1DHoFrTsQjjC' -s "https://api.meeting.huaweicloud.com/v1/metrics/dashboard/statistic/conference/info?timeUnit=D&startTime=2021-03-02&endTime=2021-03-03&category=conference_info&offset=0&limit=20"