All Products
Search
Document Center

ApsaraVideo VOD:GetAuditHistory

Last Updated:Dec 14, 2022

Queries the manual review history.

Authorization information

The following table is the authorization information corresponding to the API, which can be found in the RAM permission policy statement.Action Used in the element to grant the RAM user or RAM role permission to call this API. The specific instructions are as follows:

  • 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 keyword: refers to the condition keyword defined by the cloud product itself.
  • 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.
Operateaccess levelResource typeconditional keywordAssociation operation
vod:GetAuditHistoryRead
  • VOD
    acs:vod:*:{#accountId}:*/*
    without
without

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

The review records.

object
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

Example

Normal return example

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 API error center.