question

RingOfStorms avatar image
RingOfStorms asked

Storage : Multipart upload and download

Does Telnyx intend to support multipart upload and downloads, it isn't very clear in the current docs https://devdocs.telnyx.com/openapi/storage/tag/Object/#tag/Object/operation/PutObject if it supports starting a multipart upload which would be used with the parts/uploadId parameters. Aws has https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateMultipartUpload.html

Similar question about the downloading side: AWS has Range and Part number support on Get object https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObject.

Also, doesn't appear to be an appropriate topic like storage here to select so I did resources.

resources
10 |600

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

brandonmcnabb avatar image
brandonmcnabb answered

Hello! Thanks for the questions!

Telnyx does support multipart upload. I apologize that it isn't documented clearly, and will work with our team to make the appropriate updates. For now, you can follow along with the S3 docs, or for a quick crash course:

  • Create a multipart upload by running a POST https://storage.telnyx.com/{ {bucket_name}}/{ {object_name}}?uploads request. The response will include an upload ID that you will use in the subsequent requests

  • Upload parts by running a PUT https://storage.telnyx.com/{ {bucket_name}}/{ {object_name}}?partNumber={ {partNumber}}&uploadId={ {uploadId}} request. Make sure to specify the part number and include the appropriate upload ID

  • Complete the multipart upload by running a POST https://storage.telnyx.com/{ {bucket_name}}/{ {object_name}}?uploadId={ {uploadId}} request

To answer your second question, we do not currently support Range or partNumber for the GetObject request. We can add that to our roadmap!

Let me know if you have any further questions, or need any additional support! Happy to help!

10 |600

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

$$ANON_USER$$ avatar image
$$ANON_USER$$ answered

Hello! Thanks for the questions!

Telnyx does support multipart upload. I apologize that it isn't documented clearly, and will work with our team to make the appropriate updates. For now, you can follow along with the S3 docs, or for a quick crash course:

  • Create a multipart upload by running a POST https://storage.telnyx.com/{ {bucket_name}}/{ {object_name}}?uploads request. The response will include an upload ID that you will use in the subsequent requests

  • Upload parts by running a PUT https://storage.telnyx.com/{ {bucket_name}}/{ {object_name}}?partNumber={ {partNumber}}&uploadId={ {uploadId}} request. Make sure to specify the part number and include the appropriate upload ID

  • Complete the multipart upload by running a POST https://storage.telnyx.com/{ {bucket_name}}/{ {object_name}}?uploadId={ {uploadId}} request

To answer your second question, we do not currently support Range or partNumber for the GetObject request. We can add that to our roadmap!

Let me know if you have any further questions, or need any additional support! Happy to help!

10 |600

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

$$ANON_USER$$ avatar image
$$ANON_USER$$ answered

Hello! Thanks for the questions!

Telnyx does support multipart upload. I apologize that it isn't documented clearly, and will work with our team to make the appropriate updates. For now, you can follow along with the S3 docs, or for a quick crash course:

  • Create a multipart upload by running a POST https://storage.telnyx.com/{ {bucket_name}}/{ {object_name}}?uploads request. The response will include an upload ID that you will use in the subsequent requests

  • Upload parts by running a PUT https://storage.telnyx.com/{ {bucket_name}}/{ {object_name}}?partNumber={ {partNumber}}&uploadId={ {uploadId}} request. Make sure to specify the part number and include the appropriate upload ID

  • Complete the multipart upload by running a POST https://storage.telnyx.com/{ {bucket_name}}/{ {object_name}}?uploadId={ {uploadId}} request

To answer your second question, we do not currently support Range or partNumber for the GetObject request. We can add that to our roadmap!

Let me know if you have any further questions, or need any additional support! Happy to help!

10 |600

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

RingOfStorms avatar image
RingOfStorms answered

Thanks for the info on multipart upload, that makes sense.

Looking forward to seeing Range support in the future, thanks

10 |600

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Manage Your Content