快工助手跨境电商知识与商机助手

video_upload_result_push

Shopee 官方资料 · Shopee Open Platform 推送机制(Push Mechanism) · 适合开发者

stable本次发布有变化全部展示

来自 Shopee 官方资料快照 ·

打开官方原文 ↗
  1. 当前资料结构化阅读页
  2. 固定快照已留存,可追溯
  3. 官方原文可核对
查看技术与溯源信息
平台 / profile
Shopee / profile.shopee.push_mechanism
语言
en-US
发布版本
cn-20260909-2
标签
zhuge/sourceplatform/shopeeaudience/developercategory/api_doctopic/apitopic/developertopic/pushtopic/shopee-push

资料正文

§1 video_upload_result_push

Get notified immediately when a video upload reaches a final status (SUCCEEDED, FAILED, or CANCELLED). Intermediate status (INITIATED, UPLOADING, UPLOADED, PROCESSING) are not pushed to avoid unnecessary callbacks, can call v2.media.get_video_upload_result if need progress updates.

#

§2 Overview

Overview

FieldValue
Push code38
Timeout (seconds)3
Retry strategy (seconds)300, 1800, 10800
Guaranteed deliveryNo
#

§3 Push parameters

Push parameters

NameTypeRequiredSampleDescription
dataobject
data.video_upload_idstringsg-11110201-6kh48-mepm7a0ttcw3c3The unique ID of the upload task.
data.statusstringSUCCEEDEDFinal status of the upload task. Possible values: - SUCCEEDED; - FAILED; - CANCELLED; Note: Intermediate status (INITIATED, UPLOADING, UPLOADED, PROCESSING) are not pushed to avoid unnecessary callbacks, can call v2.media.get_video_upload_result if need progress updates.
data.reasonstringDetailed fail or cancel reason, will be returned if status is FAILED or CANCELLED.
data.video_infoobjectTranscoded video info, will be returned if status is SUCCEEDED.
data.video_info.video_urlstringhttp://play-src.vod.shopee.com/api/v4/11110201/mms/sg-11110201-6kh48-mepm7a0ttcw3c3.Video playback URL.
data.video_info.video_thumbnail_urlstringhttp://img.sp.mms.shopee.sg/sg-11110201-6kh48-mepm7a0ttcw3c3_coverVideo thumbnail image URL.
data.video_info.thumbnail_widthint321920Video thumbnail image width.
data.video_info.thumbnail_heightint321080Video thumbnail image height.
data.video_info.durationint32105Video duration in seconds.
data.video_info.resolutionstring960x540Video resolution, e.g., "1280x1280".
data.update_timetimestamp1758018336The time of video status updates.
codeint3238Shopee's unique identifier for a push notification.
timestamptimestamp1758018336Timestamp that indicates the message was sent.
#

§4 Sample

Sample

{
   "data": {
       "status": "SUCCEEDED",
       "reason": "",
       "update_time": 1758018336,
       "video_info": {
           "video_url": "http://play-src.vod.shopee.com/api/v4/11110201/mms/sg-11110201-6kh48-mepm7a0ttcw3c3.",
           "video_thumbnail_url": "http://img.sp.mms.shopee.sg/sg-11110201-6kh48-mepm7a0ttcw3c3_cover",
           "thumbnail_width": 1920,
           "thumbnail_height": 1080,
           "duration": 105,
           "resolution": "960x540"
       }
   },
   "code": 37,
   "timestamp": 1758018336
}
#

§5 Update log

Update log

DateChange
2025-09-19New Push
#