最近更新时间:2023.11.10 14:35:44
首次发布时间:2023.09.25 14:35:35
支持查询用户直播截图审核计量数据。支持按照域名维度(含删除域名)查询,数据按天粒度聚合。
下表仅列出该接口特有的请求参数和部分公共参数。更多信息请见公共参数。
参数 | 类型 | 是否必选 | 示例值 | 描述 |
---|---|---|---|---|
Action | String | 是 | DescribeLiveAuditData | 接口名称。当前 API 的名称为 DescribeLiveAuditData 。 |
Version | String | 是 | 2023-01-01 | 接口版本。当前 API 的版本为 2023-01-01 。 |
参数 | 类型 | 是否必选 | 示例值 | 描述 |
---|---|---|---|---|
DomainList | Array of String | 否 | ["live.example1.net","live.example2.net"] | 域名列表,缺省情况表示该用户的所有域名。 |
StartTime | String | 是 | 2022-08-03T00:00:00+08:00 | 查询的起始时间。RFC3339 格式的 UTC 时间,精度为 s。 |
EndTime | String | 是 | 2022-08-04T00:00:00+08:00 | 查询的结束时间。RFC3339 格式的 UTC 时间,精度为 s。 |
Aggregation | Integer | 否 | 86400 | 时间粒度,单位为 s,当前仅支持天粒度,默认值为 86400。单次查询时间跨度为 93 天,历史查询时间范围为 366 天。 |
DetailField | Array of String | 否 |
| 用于指定数据拆分的维度。缺省情况下,表示只显示截图总张数,不做数据拆维展示。支持的取值为 |
下表仅列出本接口特有的返回参数。更多信息请见返回结构。
参数 | 类型 | 示例值 | 描述 |
---|---|---|---|
DomainList | Array of String | ["live.example1.net","live.example2.net"] | 域名列表。 |
StartTime | String | 2022-08-03T00:00:00+08:00 | 查询的起始时间。RFC3339 格式的 UTC 时间,精度为 s。 |
EndTime | String | 2022-08-04T00:00:00+08:00 | 查询的结束时间。RFC3339 格式的 UTC 时间,精度为 s。 |
Aggregation | Integer | 86400 | 时间粒度,单位为 s。 |
DetailField | Array of String | ["Domain"] | 数据拆分的维度。取值为 Domain 时,表示按域名拆分数据。 |
TotalCount | Integer | 711 | 所选域名的已经审核的截图总张数。 |
AuditDataList | Array of AuditDataList | - | 审核截图数据。 |
AuditDetailDataList | Array of AuditDetailDataList | - | 按维度拆分后的详细数据。 |
参数 | 类型 | 示例值 | 描述 |
---|---|---|---|
TimeStamp | String | 2022-08-03T00:00:00+08:00 | 时间片起始时刻。RFC3339 格式的 UTC 时间,精度为 s。 |
Count | Integer | 711 | 截图审核总张数。 |
参数 | 类型 | 示例值 | 描述 |
---|---|---|---|
Domain | String | live.example2.net | 域名。 |
TotalCount | Integer | 0 | 审核总张数。 |
AuditDataList | Array of AuditDataList | - | 审核数据。 |
POST https://live.volcengineapi.com?Action=DescribeLiveAuditData&Version=2023-01-01 { "DomainList": [ "live.example1.net", "live.example2.net" ], "StartTime": "2022-08-03T00:00:00+08:00", "EndTime": "2022-08-04T00:00:00+08:00", "Aggregation": 86400, "DetailField": [ "Domain" ] }
{ "ResponseMetadata": { "RequestId": "202208111530490101742442090201E99C", "Action": "DescribeLiveAuditData", "Version": "2023-01-01", "Service": "live", "Region": "cn-north-1" }, "Result": { "DomainList": [ "live.example1.net", "live.example2.net" ], "StartTime": "2022-08-03T00:00:00+08:00", "EndTime": "2022-08-04T00:00:00+08:00", "Aggregation": 86400, "DetailField": [ "Domain" ], "TotalCount": 711, "AuditDataList": [ { "TimeStamp": "2022-08-03T00:00:00+08:00", "Count": 711 } ], "AuditDetailDataList": [ { "Domain": "live.example1.net", "TotalCount": 711, "AuditDataList": [ { "TimeStamp": "2022-08-03T00:00:00+08:00", "Count": 711 } ] }, { "Domain": "live.example2.net", "TotalCount": 0, "AuditDataList": [ { "TimeStamp": "2022-08-03T00:00:00+08:00", "Count": 0 } ] } ] } }
下表仅列出本接口特有的错误码。更多信息请参见公共错误码获取详细信息。
状态码 | 错误码 | 错误信息 | 说明 |
---|---|---|---|
200 | CommonErr | - | 未分类错误。建议重试,如果仍返回该错误码,请联系技术支持。 |
400 | InvalidParam | - | 输入的参数无效或不符合要求,请参照请求参数说明进行检查。 |
400 | InvalidParam.BindError | Request parameter error, please check input data | 参数未通过校验,请检查参数类型是否正确。 |
403 | RequestForbidden | - | 请求被拒绝,当前账号下无请求的资源(域名空间、域名、应用、配置模版、证书)。 |
404 | ResourceNotFound | - | 未找到资源(域名空间、域名、应用、配置模版、证书)。建议重试,如果仍返回该错误码,请联系技术支持。 |
500 | InternalError | an internal error occurred, please contact the administrator. | 出现内部错误,请联系技术支持。 |
502 | InternalServiceError | an internal error occurred, please contact the administrator. | 服务间出现错误,请联系技术支持。 |
502 | InternalServiceError.BadResponse | an internal error occurred, please contact the administrator. | 服务间出现错误,请联系技术支持。 |
504 | InternalServiceTimeout | Internal Service is timeout. please contact the administrator. | 内部服务超时,请联系技术支持。 |