An AttachedMediaUploadComplete event is generated after an attached media asset file is uploaded.
|EventTime||String||The time when the event occurs. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.|
|EventType||String||The type of the event. Set this parameter to AttachedMediaUploadComplete.|
|AttachedMediaId||String||The ID of the attached media asset.|
|Size||Long||The size of the attached media asset file that is uploaded. Unit: bytes.|
|FileURL||String||The URL of the attached media asset file that is uploaded.|
|Status||String||Indicates whether the upload is successful. A value of success indicates that the upload is successful.|
Note: The ApsaraVideo for VOD server supports resumable uploads and cannot determine whether an upload task is intentionally paused or has failed. Therefore, no event notification is sent upon an upload failure.
- For an HTTP callback, write the following code as the HTTP POST request body.
- For an MNS callback, write the following code as the message body.