All Products
Search
Document Center

ApsaraVideo VOD:FileUploadComplete

Last Updated:Aug 04, 2025

This topic describes the notification content of the FileUploadComplete event and provides sample callbacks.

Event type

FileUploadComplete

Event description

The FileUploadComplete event is generated after files are uploaded to ApsaraVideo VOD.

Event notification content

Parameter

Type

Required

Description

EventTime

String

Yes

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

EventType

String

Yes

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

VideoId

String

Yes

The ID of the video.

Size

Long

No

The size of the uploaded file. Unit: bytes.

FileUrl

String

No

The URL of the uploaded file.

Status

String

Yes

Indicates whether the file is uploaded.

  • success: Indicates that the operation was successful.

  • fail: The file fails to be uploaded.

Extend

String

No

The custom parameters. This parameter is a JSON string.

Note

The VOD service cannot determine whether an upload job is interrupted or fails because resumable upload is supported. Therefore, no notification is sent if an upload job fails.

Sample callbacks

Description:

  • For an HTTP callback, the following content is the HTTP POST body.

  • For an MNS callback, the following content is the message body.

{ 
    "Status": "success",
    "EventTime": "2017-03-20T07:49:17Z",
    "EventType": "FileUploadComplete", 
    "VideoId": "43q91jdh7df****", 
    "Size": 1439213,
    "FileUrl":"http://example-bucket-****.oss-cn-shanghai.aliyuncs.com/27ffc438-164h67f57ef-0005-6884-51a-1****.mp4",
    "Extend": "{\"test\":\"your extend data\"}"
}