
# 审核消息体
#### 审核结果消息体参考
```
{
"event_type": "reviewComplete",
"review_info": {
"asset_id": "793636b27b961fb5e35de6580203951b",
"status": "SUCCEED",
"suggestion": "BLOCK",
"text": {
"suggestion": "PASS"
},
"cover": [{
"suggestion": "BLOCK",
"offset": 0,
"url": "https://179.cdn-vod.huaweicloud.com/asset/793636b27b961fb5e35de6580203951b/cover/Cover0.jpg",
"politics": [],
"terrorism": [{
"confidence": "0.0",
"label": "bloody"
}, {
"confidence": "0.0",
"label": "fire"
}, {
"confidence": "0.0",
"label": "gun"
}, {
"confidence": "0.0",
"label": "knife"
}, {
"confidence": "0.0",
"label": "flag"
}, {
"confidence": "0.0",
"label": "symbol"
}, {
"confidence": "0.0",
"label": "dress"
}, {
"confidence": "0.9984",
"label": "crowd"
}, {
"confidence": "0.0",
"label": "tiananmen"
}, {
"confidence": "0.0016",
"label": "normal"
}],
"porn": [{
"confidence": "0.6997",
"label": "normal"
}, {
"confidence": "0.00040",
"label": "porn"
}, {
"confidence": "0.2999",
"label": "sexy"
}]
}],
"video": [{
"suggestion": "BLOCK",
"offset": 0,
"url": "https://179.cdn-vod.huaweicloud.com/asset/793636b27b961fb5e35de6580203951b/snapshot/sample0/0.jpg",
"politics": [],
"terrorism": [{
"confidence": "0.0",
"label": "bloody"
}, {
"confidence": "0.0",
"label": "fire"
}, {
"confidence": "0.0",
"label": "gun"
}, {
"confidence": "0.0",
"label": "knife"
}, {
"confidence": "0.0",
"label": "flag"
}, {
"confidence": "0.0",
"label": "symbol"
}, {
"confidence": "0.0",
"label": "dress"
}, {
"confidence": "0.9984",
"label": "crowd"
}, {
"confidence": "0.0",
"label": "tiananmen"
}, {
"confidence": "0.0016",
"label": "normal"
}],
"porn": [{
"confidence": "0.6997",
"label": "normal"
}, {
"confidence": "0.00040",
"label": "porn"
}, {
"confidence": "0.2999",
"label": "sexy"
}]
}, {
"suggestion": "BLOCK",
"offset": 1,
"url": "https://179.cdn-vod.huaweicloud.com/asset/793636b27b961fb5e35de6580203951b/snapshot/sample0/1.jpg",
"politics": [],
"terrorism": [{
"confidence": "0.0",
"label": "bloody"
}, {
"confidence": "0.0",
"label": "fire"
}, {
"confidence": "0.0",
"label": "gun"
}, {
"confidence": "0.0",
"label": "knife"
}, {
"confidence": "0.0",
"label": "flag"
}, {
"confidence": "0.0",
"label": "symbol"
}, {
"confidence": "0.0",
"label": "dress"
}, {
"confidence": "0.9958",
"label": "crowd"
}, {
"confidence": "0.0",
"label": "tiananmen"
}, {
"confidence": "0.0042",
"label": "normal"
}],
"porn": [{
"confidence": "0.6993",
"label": "normal"
}, {
"confidence": "0.001",
"label": "porn"
}, {
"confidence": "0.2997",
"label": "sexy"
}]
}
```
#### 审核消息体说明
表1ReviewInfo结构定义 
| 参数         | 说明                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
|:---|:---|
| asset_id   | 媒资ID                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| status     | 事件状态。 - SUCCEED：审核成功  - FAILED：审核失败                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| suggestion | 检测结果是否通过。 block：包含敏感信息，不通过。 pass：不包含敏感信息，通过。 review：需要人工复检。 说明 当同时检测多个场景时，suggestion的值以最可能包含敏感信息的场景为准。即任一场景出现了block则总的suggestion为block，所有场景都pass时suggestion为pass，这两种情况之外则一定有场景需要review，此时suggestion为review。状态为成功时才有此值。                                                                                                                                                                                                                                                                                                                  |
| text       | 文本检测结果。状态为成功时才有此值。 - suggestion：检测结果是否通过。 - block：包含敏感信息，不通过。  - pass：不包含敏感信息，通过。  - review：需要人工复查。    - politics：涉政敏感词列表。  - porn：涉黄敏感词列表。  - abuse：辱骂敏感词列表。   |
| cover      | 封面检测结果。状态为成功时才有此值。 具体结构参考[表2]。                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| video      | 视频检测结果。状态为成功时才有此值。 具体结构参考[表2]。                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| error_code | 错误码。状态为失败时才有此值。                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| error_msg  | 错误描述。状态为失败时才有此值。                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
   
 表2PictureReviewRet结构定义 
| 参数         | 说明                                                                                                                                                                                                                                                                                                                                                         |
|:---|:---|
| suggestion | 检测结果是否通过。 block：包含敏感信息，不通过。 pass：不包含敏感信息，通过。 review：需要人工复查。                                                                                                                                                                                                     |
| url        | 对应截图/封面的访问url。                                                                                                                                                                                                                                                                                                                                             |
| offset     | 截图在视频中的时间偏移值，单位为秒。封面不涉及此字段。                                                                                                                                                                                                                                                                                                                                |
| politics   | 政治因素审核结果。 - confidence：置信度，取值介于0与1之间。  - label：每个检测结果的标签化说明，在politics场景中label为对应的政治人物信息，在terrorism场景中label为对应的暴恐元素（枪支、刀具、火灾等） 信息，在porn场景中label为对应的涉黄元素（涉黄、性感等）信息。         |
| terrorism  | 暴恐元素审核结果。 - confidence：置信度，取值介于0与1之间。  - label：每个检测结果的标签化说明，在politics场景中label为对应的政治人物信息，在terrorism场景中label为对应的暴恐元素（枪支、刀具、火灾等） 信息，在porn场景中label为对应的涉黄元素（涉黄、性感等）信息。       |
| porn       | 涉黄内容审核结果。 - confidence：置信度，取值介于0与1之间。  - label：每个检测结果的标签化说明，在politics场景中label为对应的政治人物信息，在terrorism场景中label为对应的暴恐元素（枪支、刀具、火灾等） 信息，在porn场景中label为对应的涉黄元素（涉黄、性感等）信息。   |
   
