All Products
Search
Document Center

ApsaraVideo VOD:Auxiliary media asset upload completed

Last Updated:Jan 28, 2026

This topic describes the AttachedMediaUploadComplete event, its content, and sample callbacks.

Event type

AttachedMediaUploadComplete

Event description

The AttachedMediaUploadComplete event occurs after an auxiliary media asset file is successfully uploaded.

Event content

Parameter Name

Type

Required

Description

EventTime

String

Yes

The time when the event is generated, in UTC. The format is yyyy-MM-ddTHH:mm:ssZ.

EventType

String

Yes

The event type. This is a required parameter. The value is fixed to AttachedMediaUploadComplete.

AttachedMediaId

String

Yes

The ID of the auxiliary media asset.

Size

Long

Yes

The size of the uploaded file, in bytes.

FileURL

String

Yes

The URL of the uploaded auxiliary media asset file.

Status

String

Yes

Indicates whether the auxiliary media asset was successfully uploaded.

  • success: Successful.

  • fail: Failed.

Note

Because resumable uploads are supported, the Video on Demand (VOD) server cannot determine whether an upload is temporarily paused or has failed. Therefore, no event notification is sent for a failed upload.

Sample callbacks

The following is a callback example.

  • For HTTP callbacks, the following content is the HTTP POST body.

  • For MNS callbacks, the following content is the message body.

{ 
    "EventTime": "2019-01-20T07:49:17Z",
    "EventType": "AttachedMediaUploadComplete", 
    "AttachedMediaId": "62cb3151eba52js82j2da3b55bc5****", 
    "Size": 14333,
    "FileURL": "https://example.aliyundoc.com/ABEBDE1JSU79FD4D****/ba52js82j2da3b55bc5****.png",
    "Status":"success"
}