All Products
Document Center


Last Updated: Jul 11, 2019

Event type


Event description

An ImageUploadComplete event is generated after an image file is uploaded.

Event content

Parameter Type Description
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 ImageUploadComplete.
ImageId String The ID of the image.
Size Long The size of the uploaded file. Unit: bytes.
FileURL String The URL of the uploaded file.
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.

Callback example


  • 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.
  1. {
  2. "EventTime": "2017-03-20T07:49:17Z",
  3. "EventType": "ImageUploadComplete",
  4. "ImageId": "xxxxxxxxxxxxxxxxxxxxxx",
  5. "Size": 14333,
  6. "FileURL": ""
  7. "Status":"success"
  8. }