All Products
Search
Document Center

ApsaraVideo VOD:GetMediaAuditResultDetail

最終更新日:Jul 29, 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.
  • This operation is available only in the Singapore region.

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

Request parameters

ParameterTypeRequiredDescriptionExample
MediaIdstringYes

The ID of the video.

93ab850b4f6f*****54b6e91d24d81d4
PageNointegerYes

The page number. The default value is 1. A maximum of 20 records can be returned on each page.

1

Response parameters

ParameterTypeDescriptionExample
object

The response parameters.

RequestIdstring

The ID of the request.

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

Details about review results.

Totalinteger

The total number of snapshots returned.

2
Listarray<object>

The review results returned.

object
TerrorismScorestring

The score of the video snapshot in the terrorist content review result. Valid values: [0,100]. The value is rounded down to 10 decimal places. The score is representative of the confidence.

100.00
AdLabelstring

The category of the review result. Valid values:

  • normal: normal content.
  • ad: other ads.
  • politics: political content in text.
  • porn: pornographic content in text.
  • abuse: verbal abuse in text.
  • terrorism: terrorist content in text.
  • contraband: prohibited content in text.
  • spam: spam content in text.
  • npx: illegal ad
  • qrcode: QR code.
  • programCode: mini program code.
normal
PornLabelstring

The category of the review result. Valid values:

  • normal
  • porn
  • sexy
normal
PornScorestring

The score of the video snapshot in the pornographic content review result. Valid values: [0,100]. The value is rounded down to 10 decimal places. The score is representative of the confidence.

100.00
LiveLabelstring

The category of the review result. Valid values:

  • normal: normal content.
  • meaningless: meaningless content, such as a black or white screen.
  • PIP: picture-in-picture.
  • smoking: smoking.
  • drivelive: live broadcasting in a running vehicle.
normal
Urlstring

The URL of the video snapshot.

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

The timestamp of the snapshot in the video. Unit: milliseconds.

3005
AdScorestring

The score of the video snapshot in the ad review result. Valid values: [0,100]. The value is rounded down to 10 decimal places. The score is representative of the confidence.

100
LiveScorestring

The score of the video snapshot in the undesirable content review result. Valid values: [0,100]. The value is rounded down to 10 decimal places. The score is representative of the confidence.

100
LogoScorestring

The score of the video snapshot in the logo review result. Valid values: [0,100]. The value is rounded down to 10 decimal places. The score is representative of the confidence.

100
LogoLabelstring

The category of the review result. Valid values:

  • normal: normal content.
  • TV: controlled TV station logo.
  • trademark: trademark.
normal
TerrorismLabelstring

The category of the review result. Valid values:

  • normal
  • bloody
  • explosion
  • outfit
  • logo
  • weapon
  • politics
  • violence
  • crowd
  • parade
  • carcrash
  • flag
  • location
  • others
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.