All Products
Search
Document Center

ApsaraVideo VOD:GetMediaAuditResultDetail

Last Updated:Apr 16, 2024

Queries the details of automated review results. You can call this operation to query the details of review results in real time.

Operation description

  • By default, only details of snapshots that violate content regulations and potentially violate content regulations are returned.
  • ApsaraVideo VOD stores the snapshots in the automated review results free of charge for two weeks. After this period, the snapshots are automatically deleted.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

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:GetMediaAuditResultDetailRead
  • All Resources
    *
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
MediaIdstringYes

The ID of the video.

93ab850b4f6f*****54b6e91d24d81d4
PageNointegerYes

The page number of the review result to return. The default value is 1. A maximum of 20 records can be returned on each page.

1

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The ID of the request.

6438BD76-D523-46FC-956F-****
MediaAuditResultDetailobject

Details about review results.

Totalinteger

The total number of snapshots returned.

2
Listobject []

The review results returned.

TerrorismScorestring

The score of the review result category. It is representative of the confidence. Valid values: [0.00-100.00]. The value is rounded down to 10 decimal places.

100.00
AdLabelstring

The category of the ad review result. Valid values:

  • normal: normal content
  • ad: ad or text violation
normal
PornLabelstring

The category of the pornographic content review result. Valid values:

  • normal
  • porn
  • sexy
normal
PornScorestring

The score of the review result category. It is representative of the confidence. Valid values: [0.00-100.00]. The value is rounded down to 10 decimal places.

100.00
LiveLabelstring

The category of the undesirable scene review result. Valid values:

  • normal: The video does not contain undesirable scenes.
  • live: The video contains undesirable scenes.
normal
Urlstring

The URL of the image.

http://temp-testbucket.oss-cn-shanghai.aliyuncs.com/aivideocensor/****.jpg
Timestampstring

The position in the video. Unit: milliseconds.

3005
AdScorestring

The score of the review result category. It is representative of the confidence. Valid values: [0.00-100.00]. The value is rounded down to 10 decimal places.

100
LiveScorestring

The score of the review result category. It is representative of the confidence. Valid values: [0.00-100.00]. The value is rounded down to 10 decimal places.

100
LogoScorestring

The score of the review result category. It is representative of the confidence. Valid values: [0.00-100.00]. The value is rounded down to 10 decimal places.

100
LogoLabelstring

The category of the logo review result. Valid values:

  • normal
  • tlogo
normal
TerrorismLabelstring

The category of the terrorist content review result.

  • normal: normal
  • terrorism: terrorist content
  • outfit: special costume
  • logo: special logo
  • weapon: weapon
  • politics: politically sensitive content
  • others: other terrorist content and politically sensitive content
normal

Examples

Sample success responses

JSONformat

{
  "RequestId": "6438BD76-D523-46FC-956F-****",
  "MediaAuditResultDetail": {
    "Total": 2,
    "List": [
      {
        "TerrorismScore": "100.00",
        "AdLabel": "normal",
        "PornLabel": "normal",
        "PornScore": "100.00",
        "LiveLabel": "normal",
        "Url": "http://temp-testbucket.oss-cn-shanghai.aliyuncs.com/aivideocensor/****.jpg",
        "Timestamp": "3005",
        "AdScore": "100",
        "LiveScore": "100",
        "LogoScore": "100",
        "LogoLabel": "normal",
        "TerrorismLabel": "normal"
      }
    ]
  }
}

Error codes

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