All Products
Search
Document Center

ApsaraVideo VOD:GetMediaAuditResultTimeline

Last Updated:Dec 19, 2024

Queries the timelines of all snapshots that violate content regulations.

Operation description

Note By default, only details of snapshots that violate content regulations and potentially violate content regulations are returned.

This operation is available only in the Singapore region.

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

Request parameters

ParameterTypeRequiredDescriptionExample
MediaIdstringYes

The ID of the video.

93ab850b4f6f*****54b6e91d24d81d4

Response parameters

ParameterTypeDescriptionExample
object

The response parameters.

RequestIdstring

The ID of the request.

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

The collection of review result timelines.

Pornarray<object>

The collection of pornographic content timelines.

Pornobject
Scorestring

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
Timestampstring

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

3005
Labelstring

The category of the review result. Valid values:

  • porn
  • sexy
  • normal
porn
Terrorismarray<object>

The collection of terrorist content timelines.

Terrorismobject
Scorestring

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
Timestampstring

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

3005
Labelstring

The category of the review result. Valid values:

  • normal
  • bloody
  • explosion
  • outfit
  • logo
  • weapon
  • politics
  • violence
  • crowd
  • parade
  • carcrash
  • flag
  • location
  • others
normal
Logoobject
Scorestring

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
Timestampstring

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

13
Labelstring

The category of the review result. Valid values:

  • normal: normal content.
  • TV: controlled TV station logo.
  • trademark: trademark.
logo
Livearray<object>

The collection of undesirable content timelines.

Liveobject
Scorestring

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
Timestampstring

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

12
Labelstring

The categories of undesired content review results. 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.
pip
Adarray<object>

The collection of ad timelines.

Adobject
Scorestring

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
Timestampstring

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

10
Labelstring

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: abuse in text.
  • terrorism: terrorist content in text.
  • contraband: prohibited content in text.
  • spam: spam content.
  • npx: illegal ad.
  • qrcode: QR code.
  • programCode: mini program code.
ad

Examples

Sample success responses

JSONformat

{
  "RequestId": "6438BD76-D523-46FC-956F-****",
  "MediaAuditResultTimeline": {
    "Porn": [
      {
        "Score": "100.00",
        "Timestamp": "3005",
        "Label": "porn"
      }
    ],
    "Terrorism": [
      {
        "Score": "100.00",
        "Timestamp": "3005",
        "Label": "normal"
      }
    ],
    "Logo": [
      {
        "Score": "100",
        "Timestamp": "13",
        "Label": "logo"
      }
    ],
    "Live": [
      {
        "Score": "100",
        "Timestamp": "12",
        "Label": "pip"
      }
    ],
    "Ad": [
      {
        "Score": "100",
        "Timestamp": "10",
        "Label": "ad"
      }
    ]
  }
}

Error codes

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