TonicDM Product API (0.0.5)
Main Product API
https://developers-internal.tonicdm.com/_mock/tonicdm-product/
https://us-api.tonicdm.com/
https://de-api.tonicdm.com/
https://ie-api.tonicdm.com/
Request
For large files (over 100Mb), initiate a multi-part upload with this endpoint, then call ...
to get the URL to upload each chunk, then when all the chunks are uploaded call ...
to finalize the upload.
This endpoint returns the AWS UploadId as a string that must be used in subsequent calls.
- Mock server
https://developers-internal.tonicdm.com/_mock/tonicdm-product/fileset/multi-part-initialize
- Server located in the USA
https://us-api.tonicdm.com/fileset/multi-part-initialize
- Server located in Germany
https://de-api.tonicdm.com/fileset/multi-part-initialize
- Server located in Ireland
https://ie-api.tonicdm.com/fileset/multi-part-initialize
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://developers-internal.tonicdm.com/_mock/tonicdm-product/fileset/multi-part-initialize?filesetId=8e8aa42241794371ae9d0ed7b67a8c86&contentType=string&filePathNameExt=string' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'
Successfully returned a presigned URL for uploading a file to AWS S3.
Timestamp of the URL generation. Combine with X-Amz-Expires to determine the expiry time.
The number of seconds the URL will be valid. Combine with X-Amz-Date to determine the expiry time. The upload needs to be startedd before this time, but can run as long as needed to deliver the data.
{ "X-Amz-Algorithm": "AWS4-HMAC-SHA256", "X-Amz-Date": "20240823T224600Z", "X-Amz-SignedHeaders": "content-type%3Bhost", "X-Amz-Credential": "AKI3GAIOBE2IAUG5IZUA%2F20240823%2Fus-east-1%2Fs3%2Faws4_request", "X-Amz-Expires": 600, "X-Amz-Signature": "6c45fece459e8cf8f124c13eba64702b0f7b0fcb769ecaf397479f65e1204d80" }
Request
Presigned URLs are used to upload a file into the Fileset specified by the Fileset ID in the request.
- For small files (under 100Mb), call this endpoint and upload the file to it.
- For large files (over 100Mb), Initiate a multi-part upload with
..
then call this endpoint to get the URL to upload each chunk, then when all the chunks are uploaded call...
to finalize the upload.
When the Presigned URL is used, the Response will include an etag which must be saved and submitted with the Finalize call.
- Mock server
https://developers-internal.tonicdm.com/_mock/tonicdm-product/fileset/presigned-url
- Server located in the USA
https://us-api.tonicdm.com/fileset/presigned-url
- Server located in Germany
https://de-api.tonicdm.com/fileset/presigned-url
- Server located in Ireland
https://ie-api.tonicdm.com/fileset/presigned-url
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://developers-internal.tonicdm.com/_mock/tonicdm-product/fileset/presigned-url?filesetId=8e8aa42241794371ae9d0ed7b67a8c86' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'
Successfully returned a presigned URL for uploading a file to AWS S3.
Timestamp of the URL generation. Combine with X-Amz-Expires to determine the expiry time.
The number of seconds the URL will be valid. Combine with X-Amz-Date to determine the expiry time. The upload needs to be startedd before this time, but can run as long as needed to deliver the data.
{ "X-Amz-Algorithm": "AWS4-HMAC-SHA256", "X-Amz-Date": "20240823T224600Z", "X-Amz-SignedHeaders": "content-type%3Bhost", "X-Amz-Credential": "AKI3GAIOBE2IAUG5IZUA%2F20240823%2Fus-east-1%2Fs3%2Faws4_request", "X-Amz-Expires": 600, "X-Amz-Signature": "6c45fece459e8cf8f124c13eba64702b0f7b0fcb769ecaf397479f65e1204d80" }
- Mock server
https://developers-internal.tonicdm.com/_mock/tonicdm-product/fileset/multi-part-finalize
- Server located in the USA
https://us-api.tonicdm.com/fileset/multi-part-finalize
- Server located in Germany
https://de-api.tonicdm.com/fileset/multi-part-finalize
- Server located in Ireland
https://ie-api.tonicdm.com/fileset/multi-part-finalize
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://developers-internal.tonicdm.com/_mock/tonicdm-product/fileset/multi-part-finalize?filesetId=8e8aa42241794371ae9d0ed7b67a8c86' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'
Successfully returned a presigned URL for uploading a file to AWS S3.
Timestamp of the URL generation. Combine with X-Amz-Expires to determine the expiry time.
The number of seconds the URL will be valid. Combine with X-Amz-Date to determine the expiry time. The upload needs to be startedd before this time, but can run as long as needed to deliver the data.
{ "X-Amz-Algorithm": "AWS4-HMAC-SHA256", "X-Amz-Date": "20240823T224600Z", "X-Amz-SignedHeaders": "content-type%3Bhost", "X-Amz-Credential": "AKI3GAIOBE2IAUG5IZUA%2F20240823%2Fus-east-1%2Fs3%2Faws4_request", "X-Amz-Expires": 600, "X-Amz-Signature": "6c45fece459e8cf8f124c13eba64702b0f7b0fcb769ecaf397479f65e1204d80" }