Gotipath Docs
Stream
  • Documention
  • API Reference
CDN
  • Documention
  • API Reference
Stream
  • Documention
  • API Reference
CDN
  • Documention
  • API Reference
  1. Multipart Upload
  • Getting Started
  • Manage Videos
    • Uploader SDKs
    • Create Video
      POST
    • List Videos
      GET
    • Get Video details
      GET
    • Video delete
      DELETE
    • Update
      PUT
    • Pull Video
      POST
  • Manage Collection
    • Create Collection
      POST
    • Collection List
      GET
    • Show
      GET
    • update
      PUT
    • Delete
      DELETE
  • Multipart Upload
    • Create parts of the original video
      POST
    • Get Presign URL
      GET
    • SignPartUpload
      PUT
    • List parts
      GET
    • Complete Multipart Upload
      POST
    • AbortMultipartUpload
      DELETE
  • Manage Tags
    • Create New Tags
      POST
    • Get All Tags
      GET
  • Manage Livestream
    • Create New Livestream
      POST
    • Delete Live stream
      DELETE
    • Livestream make ban
      PATCH
    • Livestream make unban
      PATCH
    • Get all livestream
      GET
    • Players details
      GET
    • Livestream history
      GET
    • Livestream details
      GET
  • Notifications
    • Webhook notification logs
    • Webhook notification Resend
  • Manage Security Settings
    • Add Access control
    • Get Access control
  1. Multipart Upload

Create parts of the original video

POST
https://apistream.gotipath.com/v1/uploads/s3/multipart
Last modified:2023-11-22 11:25:06
Maintainer:Not configured
Create multiple parts of your video. Make sure each part is at least 5MB (unless the video size itself is less than 5MB then there will be only 1 part)

Request

Header Params
X-Auth-ClientId
string 
required
Default:
ebe8bac0-eaef-4548-8b59-96c9ec38a22b
X-Auth-LibraryId
string 
required
Default:
89898172-d32b-49f8-a94a-bdf0c6ca1bd9
X-Auth-ApiKey
string 
required
Default:
pEBPYVUNMbP7uDsb0W2h3oTjpEqr32fFh/3TNUhvFcJt7/J/hyV+5LctVWONgzaw+w+PpQ
Body Params application/json
filename
string 
required
type
string 
required
metadata
object 
required
name
string 
required
type
string 
required
video_id
string 
required
Example
{
    "filename": "video.mp4",
    "type": "video/mp4",
    "metadata": {
        "name": "Flussonic.mp4",
        "type": "video/mp4",
        "video_id": "3293829482",
        "collection_id":"",
        "library_id":""
    }
}

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://apistream.gotipath.com/v1/uploads/s3/multipart' \
--header 'X-Auth-ClientId;' \
--header 'X-Auth-LibraryId;' \
--header 'X-Auth-ApiKey;' \
--header 'Content-Type: application/json' \
--data-raw '{
    "filename": "video.mp4",
    "type": "video/mp4",
    "metadata": {
        "name": "Flussonic.mp4",
        "type": "video/mp4",
        "video_id": "3293829482",
        "collection_id":"",
        "library_id":""
    }
}'

Responses

🟢200OK
application/json
Body
key
string 
required
The object key for the file. This needs to be returned to allow it to be different from the file.name
uploadId
string 
required
The UploadID returned by S3.
Example
{
    "key": "media/706449f3-b904-4e8b-868e-b65e3373bb7d.mp4",
    "uploadId": "6146a92e-28bd-4801-aee6-9391a5ccdc55"
}
Previous
Delete
Next
Get Presign URL
Built with