chunkUpload


<< Back to Tvider API Documentation

 

chunkUpload

Uploads a media file in chunks. Each individual chunk of the file is uploaded using this method.

 

URL:

http://chunk-upload.tvider.com/api/chunkUpload/mediaId/{mediaId}/fileSize/{fileSize}/chunkOffset/{chunkOffset}/chunkLength/{chunkLength}

 

HTTP Method:

POST

 

Requires Authentication:

false 

 

Parameters: (the complete URL will contain these parameters)

 

Usage notes:

               Binary data of the file needs to be included in the body of the request.

               Key: "Content-Type"

               Value: contentMimeType (same as set in initChunkUpload)

               Key: "Content-Length"

               Value: chunkLength

 

Response:

               {"result":

                    {"uploadStatus":"File is successfully uploaded.",

                    "uploadedFileLength":4409,

                    "mediaId":4122

                    },

               "error":null,

               "responseTime":"Response Time: 0.0 s"

               }

 

<< Back to Tvider API Documentation