An ImageUploadComplete event is generated after an image 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 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.
- 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.