All Products
Search
Document Center

ApsaraVideo VOD:GetAuditHistory

Last Updated:Dec 19, 2024

Queries the manual review history.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:

  • Operation: the value that you can use in the Action element to specify the operation on a resource.
  • Access level: the access level of each operation. The levels are read, write, and list.
  • Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
    • The required resource types are displayed in bold characters.
    • If the permissions cannot be granted at the resource level, All Resources is used in the Resource type column of the operation.
  • Condition Key: the condition key that is defined by the cloud service.
  • Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
OperationAccess levelResource typeCondition keyAssociated operation
vod:GetAuditHistoryget
*All Resources
*
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
VideoIdstringYes

The ID of the video.

93ab850b4f6f44*****6e91d24d81d4
PageNolongNo

The number of the page to return. Default value: 1.

1
PageSizelongNo

The number of entries to return on each page. Default value: 10. Maximum value: 100.

10
SortBystringNo

The sorting rule of the results. Valid values:

  • CreationTime:Desc: sorts the results based on the creation time in descending order. This is the default value.
  • CreationTime:Asc: sorts the results based on the creation time in ascending order.
CreationTime:Desc

Response parameters

ParameterTypeDescriptionExample
object
Statusstring

The manual review result. Valid values:

  • Normal: The video can be played.
  • Blocked: The video is blocked.
Normal
RequestIdstring

The ID of the request.

04F0F334-1335-43*****D7-6C044FE73368
Totallong

The total number of review records.

2
Historiesarray<object>

The review records.

Historyobject
Statusstring

The manual review result. Valid values:

  • Normal: The video can be played.
  • Blocked: The video is blocked.
Blocked
CreationTimestring

The time when the review record was created. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.

2017-01-11T12:00:00Z
Commentstring

The review comments, which are provided by the reviewer.

Contains nudity
Reasonstring

The reason why the video failed the review. If the video failed the review, specify the reason.

Pornographic video
Auditorstring

The reviewer.

auditor

Examples

Sample success responses

JSONformat

{
  "Status": "Normal",
  "RequestId": "04F0F334-1335-43*****D7-6C044FE73368",
  "Total": 2,
  "Histories": [
    {
      "Status": "Blocked",
      "CreationTime": "2017-01-11T12:00:00Z",
      "Comment": "Contains nudity",
      "Reason": "Pornographic video",
      "Auditor": "auditor"
    }
  ]
}

Error codes

For a list of error codes, visit the Service error codes.