调用GetMediaAuditResultDetail获取智能审核结果详情。通过此接口可实时查询审核结果详情。
- 默认只返回违规、疑似违规的审核截图详情。
- 审核结果的图片资源仅在点播提供的免费存储上保留2周,超过2周将自动删除。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
请求参数
名称 | 类型 | 是否必选 | 示例值 | 描述 |
---|---|---|---|---|
Action | String | 是 | GetMediaAuditResultDetail |
系统规定参数。取值:GetMediaAuditResultDetail。 |
MediaId | String | 是 | 93ab850b4f6f*****54b6e91d24d81d4 |
视频ID。 |
PageNo | Integer | 是 | 1 |
视频内容审核结果页码。默认值为1,每页最多返回20条记录。 |
返回数据
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
MediaAuditResultDetail | Struct |
审核结果详情。 |
|
List | Array of List |
视频审核结果详情列表。 |
|
AdLabel | String | normal |
广告命中标签。取值:
|
AdScore | String | 100 |
取值范围: |
LiveLabel | String | normal |
不良场景命中标签。取值:
|
LiveScore | String | 100 |
取值范围: |
LogoLabel | String | normal |
logo命中标签。取值:
|
LogoScore | String | 100 |
取值范围: |
PornLabel | String | normal |
鉴黄命中标签。取值:
|
PornScore | String | 100.00 |
取值范围: |
TerrorismLabel | String | normal |
暴恐涉政命中标签,取值:
|
TerrorismScore | String | 100.00 |
取值范围: |
Timestamp | String | 3005 |
视频中的位置。单位:毫秒。 |
Url | String | http://temp-testbucket.oss-cn-shanghai.aliyuncs.com/aivideocensor/****.jpg |
图片的地址。 |
Total | Integer | 2 |
视频审核结果截图总数量。 |
RequestId | String | 6438BD76-D523-46FC-956F-**** |
请求ID。 |
示例
请求示例
https://vod.aliyuncs.com/?Action=GetMediaAuditResultDetail
&MediaId=93ab850b4f6f*****54b6e91d24d81d4
&PageNo=1
&<公共请求参数>
正常返回示例
XML
格式
<GetMediaAuditResultDetailResponse>
<RequestId>6438BD76-D523-46FC-956F-****</RequestId>
<MediaAuditResultDetail>
<Total>2</Total>
<List>
<LogoLabel>normal</LogoLabel>
<LiveScore>100</LiveScore>
<PornLabel>normal</PornLabel>
<TerrorismLabel>normal</TerrorismLabel>
<TerrorismScore>100.00</TerrorismScore>
<AdScore>100</AdScore>
<PornScore>100.00</PornScore>
<AdLabel>normal</AdLabel>
<LogoScore>100</LogoScore>
<LiveLabel>normal</LiveLabel>
<Timestamp>3005</Timestamp>
<Url>http://temp-testbucket.oss-cn-shanghai.aliyuncs.com/aivideocensor/****.jpg</Url>
</List>
</MediaAuditResultDetail>
</GetMediaAuditResultDetailResponse>
JSON
格式
{
"RequestId": "6438BD76-D523-46FC-956F-****",
"MediaAuditResultDetail": {
"Total": 2,
"List": {
"LogoLabel": "normal",
"LiveScore": 100,
"PornLabel": "normal",
"TerrorismLabel": "normal",
"TerrorismScore": 100,
"AdScore": 100,
"PornScore": 100,
"AdLabel": "normal",
"LogoScore": 100,
"LiveLabel": "normal",
"Timestamp": 3005,
"Url": "http://temp-testbucket.oss-cn-shanghai.aliyuncs.com/aivideocensor/****.jpg"
}
}
}
错误码
访问错误中心查看更多错误码。
在文档使用中是否遇到以下问题
更多建议
匿名提交