Put Complete Upload
The PUT /recordings/<RECORDING_ID>/complete_upload/ endpoint is used to tell Dubber that multi part uploading for a new recording has been completed.
Within the body of the request you must send a JSON array defining the part number and the e_tag value returned by AWS in the Put Upload call for each part.
Example request:
curl -H "Authorization: Bearer <ACCESS_TOKEN>" –X PUT
https://api.dubber.net/sandbox/v1/recordings/<RECORDING_ID>/complete_upload/ -H "Content-Type:application/json" -d '
{
"parts":[
{
"part_number":"1",
"e_tag":"26a8a9c355301c288e45a91b500bfdfa"
}
]
}'
Example response:
HTTP/1.1 201 Created
Cache-Control: max-age=0, private, must-revalidate
Content-Type: application/json; charset=utf-8
Date: Wed, 23 Oct 2013 02:36:28 GMT
ETag: "260c1177220ed2c7a85780c4e29afa8b"
Server: nginx/1.1.19
Status: 201 Created
X-Mashery-Responder: prod-j-worker-ap-se-2b-02.mashery.com
X-Rack-Cache: invalidate, pass
X-Request-Id: 8053fb3124353deb8da7f018960068db
X-Runtime: 3.514774
transfer-encoding: chunked
Connection: keep-alive
{
"self": "https://api.dubber.net/sandbox/v1/recordings/<RECORDING_ID>",
"recording_url": "sbox/U1199731224/1daa2b0b-ba2d-46c9-8f9d-4a54fd49e2eb/sometest.mp3",
"account": "https://api.dubber.net/sandbox/v1/accounts/<ACCOUNT_ID>",
"id": "0592604015",
"to": "61422331122",
"to_label": "61422331122",
"from": "61422331123",
"call_type": "inbound",
"recording_type": "recording",
"channel": "61422331122",
"status": "Pending",
"start_time": "Thu, 22 Aug 2013 09:39:12 +0800",
"end_time": "Thu, 22 Aug 2013 09:40:12 +0800",
"duration": 60,
"date_created": "Mon, 08 Aug 2016 07:10:23 +0000",
"date_updated": "Mon, 08 Aug 2016 07:26:09 +0000"
} Docs Navigation
- Welcome
- Authorisation flow for Dubber Marketplace apps
- Common Details
- Samples
- Authorization by Password
- Authorization by Code
- Authorization by Bearer Assertion
- Refresh Token
- Token Revocation
- Get API resource profile
- Get Account Details
- Post Account Details
- Put Account Details
- Account Retention periods
- Get Account Users
- Post Account Users
- Post Account Users (with User Level Plans)
- Get Account Recordings
- Post Account Recordings
- Find User
- Get User Details
- Put User Details
- Put User Details (with User Level Plans)
- Delete User Details
- Put Recording Metadata
- Post Recording Tags
- Delete Recording Tags
- Get Recording Details
- Get Recording Link
- Get Recording Waveform
- Delete Recording Details
- Post Account DUB Points
- Post Account DUB Points (with User Level Plans)
- Get Account DUB Points
- Find DUB Point
- Get DUB Point
- Put Move DUB Point
- Put Move Unidentified DUB Point
- Put DUB Point (change product)
- Delete DUB Point
- Get Group Details
- AI information
- Get Group Groups Index
- Get Group Accounts Index
- Get Group Unidentified DUB Points
- Post Group Details
- Post Group Users
- Get Account Teams
- Post Account Teams
- Delete Account Teams
- Get Account Team Member
- Post Account Team Member
- Put Account Team Members
- Delete Account Team Member
- Get Account Team Members Dub Points
- Post Account Team Member DUB Point
- Delete Account Team Member DUB Point
- Get/Post Insights Export
- Data exports
- Rest Hooks
- Multi Part Uploads
- MS Teams Settings
- Provisioning Example