调用GetMediaAuditResultTimeline获取到所有违规内容截图的时间点。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
请求参数
名称 | 类型 | 是否必选 | 示例值 | 描述 |
---|---|---|---|---|
Action | String | 是 | GetMediaAuditResultTimeline |
系统规定参数。取值:GetMediaAuditResultTimeline。 |
MediaId | String | 是 | 93ab850b4f6f*****54b6e91d24d81d4 |
视频ID。 |
返回数据
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
MediaAuditResultTimeline | Struct |
审核结果时间线的集合。 |
|
Ad | Array of Ad |
广告时间线集合。 |
|
Label | String | ad |
审核结果分类。取值:
|
Score | String | 100 |
审核结果分类的分值。取值范围: |
Timestamp | String | 10 |
视频中的位置。单位:毫秒。 |
Live | Array of Live |
不良场景时间线集合。 |
|
Label | String | pip |
审核结果分类。取值:
|
Score | String | 100 |
审核结果分类的分值。取值范围: |
Timestamp | String | 12 |
视频中的位置。单位:毫秒。 |
Logo | Array of Logo |
logo时间线集合。 |
|
Label | String | logo |
审核结果分类。取值:
|
Score | String | 100 |
审核结果分类的分值。取值范围: |
Timestamp | String | 13 |
视频中的位置。单位:毫秒。 |
Porn | Array of Porn |
鉴黄时间线集合。 |
|
Label | String | porn |
审核结果分类。当场景为鉴黄时,取值范围:
|
Score | String | 100.00 |
审核结果分类的分值。取值范围: |
Timestamp | String | 3005 |
视频中的位置。单位:毫秒。 |
Terrorism | Array of Terrorism |
暴恐时间线集合。 |
|
Label | String | normal |
审核结果分类。当场景是暴恐时,取值范围:
|
Score | String | 100.00 |
审核结果分类的分值。 |
Timestamp | String | 3005 |
视频中的位置。单位:毫秒。 |
RequestId | String | 6438BD76-D523-46FC-956F-**** |
请求ID。 |
示例
请求示例
https://vod.aliyuncs.com/?Action=GetMediaAuditResultTimeline
&MediaId=93ab850b4f6f*****54b6e91d24d81d4
&<公共请求参数>
正常返回示例
XML
格式
<GetMediaAuditResultTimelineResponse>
<RequestId>6438BD76-D523-46FC-956F-****</RequestId>
<MediaAuditResultTimeline>
<Ad>
<Score>100</Score>
<Label>porn</Label>
<Timestamp>3005</Timestamp>
</Ad>
<Ad>
<Score>100</Score>
<Label>normal</Label>
<Timestamp>3005</Timestamp>
</Ad>
<Ad>
<Score>100</Score>
<Label>logo</Label>
<Timestamp>13</Timestamp>
</Ad>
<Ad>
<Score>100</Score>
<Label>pip</Label>
<Timestamp>12</Timestamp>
</Ad>
<Ad>
<Score>100</Score>
<Label>ad</Label>
<Timestamp>10</Timestamp>
</Ad>
<Terrorism>
<Score>100</Score>
<Label>porn</Label>
<Timestamp>3005</Timestamp>
</Terrorism>
<Terrorism>
<Score>100</Score>
<Label>normal</Label>
<Timestamp>3005</Timestamp>
</Terrorism>
<Terrorism>
<Score>100</Score>
<Label>logo</Label>
<Timestamp>13</Timestamp>
</Terrorism>
<Terrorism>
<Score>100</Score>
<Label>pip</Label>
<Timestamp>12</Timestamp>
</Terrorism>
<Terrorism>
<Score>100</Score>
<Label>ad</Label>
<Timestamp>10</Timestamp>
</Terrorism>
<Live>
<Score>100</Score>
<Label>porn</Label>
<Timestamp>3005</Timestamp>
</Live>
<Live>
<Score>100</Score>
<Label>normal</Label>
<Timestamp>3005</Timestamp>
</Live>
<Live>
<Score>100</Score>
<Label>logo</Label>
<Timestamp>13</Timestamp>
</Live>
<Live>
<Score>100</Score>
<Label>pip</Label>
<Timestamp>12</Timestamp>
</Live>
<Live>
<Score>100</Score>
<Label>ad</Label>
<Timestamp>10</Timestamp>
</Live>
<Porn>
<Score>100</Score>
<Label>porn</Label>
<Timestamp>3005</Timestamp>
</Porn>
<Porn>
<Score>100</Score>
<Label>normal</Label>
<Timestamp>3005</Timestamp>
</Porn>
<Porn>
<Score>100</Score>
<Label>logo</Label>
<Timestamp>13</Timestamp>
</Porn>
<Porn>
<Score>100</Score>
<Label>pip</Label>
<Timestamp>12</Timestamp>
</Porn>
<Porn>
<Score>100</Score>
<Label>ad</Label>
<Timestamp>10</Timestamp>
</Porn>
<Logo>
<Score>100</Score>
<Label>porn</Label>
<Timestamp>3005</Timestamp>
</Logo>
<Logo>
<Score>100</Score>
<Label>normal</Label>
<Timestamp>3005</Timestamp>
</Logo>
<Logo>
<Score>100</Score>
<Label>logo</Label>
<Timestamp>13</Timestamp>
</Logo>
<Logo>
<Score>100</Score>
<Label>pip</Label>
<Timestamp>12</Timestamp>
</Logo>
<Logo>
<Score>100</Score>
<Label>ad</Label>
<Timestamp>10</Timestamp>
</Logo>
</MediaAuditResultTimeline>
</GetMediaAuditResultTimelineResponse>
JSON
格式
{
"RequestId": "6438BD76-D523-46FC-956F-****",
"MediaAuditResultTimeline": {
"Ad": [
{
"Score": 100,
"Label": "porn",
"Timestamp": 3005
},
{
"Score": 100,
"Label": "normal",
"Timestamp": 3005
},
{
"Score": 100,
"Label": "logo",
"Timestamp": 13
},
{
"Score": 100,
"Label": "pip",
"Timestamp": 12
},
{
"Score": 100,
"Label": "ad",
"Timestamp": 10
}
],
"Terrorism": [
{
"Score": 100,
"Label": "porn",
"Timestamp": 3005
},
{
"Score": 100,
"Label": "normal",
"Timestamp": 3005
},
{
"Score": 100,
"Label": "logo",
"Timestamp": 13
},
{
"Score": 100,
"Label": "pip",
"Timestamp": 12
},
{
"Score": 100,
"Label": "ad",
"Timestamp": 10
}
],
"Live": [
{
"Score": 100,
"Label": "porn",
"Timestamp": 3005
},
{
"Score": 100,
"Label": "normal",
"Timestamp": 3005
},
{
"Score": 100,
"Label": "logo",
"Timestamp": 13
},
{
"Score": 100,
"Label": "pip",
"Timestamp": 12
},
{
"Score": 100,
"Label": "ad",
"Timestamp": 10
}
],
"Porn": [
{
"Score": 100,
"Label": "porn",
"Timestamp": 3005
},
{
"Score": 100,
"Label": "normal",
"Timestamp": 3005
},
{
"Score": 100,
"Label": "logo",
"Timestamp": 13
},
{
"Score": 100,
"Label": "pip",
"Timestamp": 12
},
{
"Score": 100,
"Label": "ad",
"Timestamp": 10
}
],
"Logo": [
{
"Score": 100,
"Label": "porn",
"Timestamp": 3005
},
{
"Score": 100,
"Label": "normal",
"Timestamp": 3005
},
{
"Score": 100,
"Label": "logo",
"Timestamp": 13
},
{
"Score": 100,
"Label": "pip",
"Timestamp": 12
},
{
"Score": 100,
"Label": "ad",
"Timestamp": 10
}
]
}
}
错误码
访问错误中心查看更多错误码。
在文档使用中是否遇到以下问题
更多建议
匿名提交