Skip to main content

v2.media.upload_video_part

POST /api/v2/media/upload_video_part

Use this API to upload a video file in parts.

Endpoint URL

URL: https://partner.shopeemobile.com/api/v2/media/upload_video_part

Common Request Parameters

NameTypeSampleDescription
partner_idint1Partner ID is assigned upon registration is successful. Required for all requests.
timestamptimestamp1610000000This is to indicate the timestamp of the request. Required for all requests. Expires in 5 minutes.
signstringe318d3e932719916a9f9ebb57e2011961bd47abfa54a36e040d050d8931596e2Signature generated by partner_id, api path, timestamp and partner_key via HMAC-SHA256 hashing algorithm. More details: https://open.shopee.com/documents?module=87&type=2&id=58&version=2

Request Parameters

NameTypeRequiredSampleDescription
video_upload_idstringTruesg-11110201-6kh48-mepm7a0ttcw3c3The unique ID of the upload task, returned by v2.media.init_video_upload.
part_seqint32True0Sequence number of this part, starting from 0.
part_contentfileTrueThe content of this part of file. Part size should be exactly equal to part_size returned in v2.media.init_video_upload, except last part of file.
part_md5stringTrue995bbc002c3ef797addcb010f64626eaMD5 checksum of this part for data integrity validation.

Response Parameters

NameTypeSampleDescription
errorstringIndicate error type if hit error. Empty if no error happened.
messagestringIndicate error details if hit error. Empty if no error happened.
warningstringIndicate warning message you should take care.
request_idstringe3e3e7f33ee8a35723ec3e694708a301The identifier for an API request for error tracking.