All Products
Document Center


Last Updated: Sep 05, 2018

Event type


Event description

A FileUploadComplete event is generated after the VoD server receives an uploaded video file.

Event content

Name Type Description
EventTime String The time when the event occurs in UTC-8. Format: yyyy-MM-ddTHH:mm:ssZ.
EventType String The type of the event. The value is FileUploadComplete.
VideoId String The ID of the video.
Size Long The size of the uploaded file in bytes.
FileUrl String The URL of the uploaded file.

Note: Since VoD supports resumable uploading, it cannot determine whether an upload task is paused or failed. Therefore, no notification is sent for an upload failure event.

Callback example

The following example shows the body of an HTTP POST request for HTTP callbacks.

  1. {
  2. "EventTime": "2017-03-20T07:49:17Z",
  3. "EventType": "FileUploadComplete",
  4. "VideoId": "43q9fjasjdflask",
  5. "Size": 1439213,
  6. "FileUrl":""
  7. }