Description
You can call this operation to obtain the manual review history.
Request parameters
Name | Type | Required | Description |
---|---|---|---|
Action | String | Yes | The operation that you want to perform. Set the value to GetAuditHistory. |
VideoId | String | Yes | The video ID. |
PageNo | Long | No | The page number. Default value: 1. |
PageSize | Long | No | The number of data records per page. Default value: 10. Maximum value: 100. |
SortBy | String | No | The sorting rule of results. Valid values: CreationTime:Desc and CreationTime:Asc. Default value: CreationTime:Desc (indicating that results are sorted based on the creation time in descending order). |
Response parameters
Parameter | Type | Description |
---|---|---|
RequestId | String | The GUID generated by Alibaba Cloud for the request. |
Total | Long | The total number of review records. |
Status | String | The manual review result. Type: Enumeration. Valid values: Normal and Blocked. |
Histories | History[] | The list of review records. |
History
Parameter | Type | Description |
---|---|---|
CreationTime | String | The creation time of the review. Specify a date in ISO 8601 format in UTC, that is, YYYY-MM-DDThh:mm:ssZ. For example, a value of 2017-01-11T12:00:00Z indicates 20:00:00 on January 11, 2017, Beijing time. |
Status | String | The manual review result. Type: Enumeration. Valid values: Normal and Blocked. |
Reason | String | The reason why the video failed the review. Specify the reason if the Status parameter is set to Blocked. |
Comment | String | The review comments, which are provided by the reviewer. |
Examples
Sample requests
http://vod.cn-shanghai.aliyuncs.com/?Action=GetAuditHistory&VideoId=93ab850b4f6f44eab54b6e91d24d81d4&Format=JSON&<Common request parameters>
Note: For more information about common request parameters, see Common parameters.
Sample responses
JSON format
{
"RequestId": "04F0F334-1335-436C-A1D7-6C044FE73368",
"Status": "Blocked",
"Histories":[
{
"CreationTime": "2017-12-18T07:39:00Z",
"Status": "Blocked",
"Reason": "Pornographic video",
"Comment": "Contains nudity."
},
{
"CreationTime": "2017-12-18T07:30:00Z",
"Status": "Normal",
"Reason": "",
"Comment": ""
}
]
}