Custom S3 bucket in DJI Terra Web API?
已完成Hello all,
I Was going through Terra Web APIs and have the following queries -
1. Is there any way to use my own S3 bucket for storing data for processing, currently I need to call "/v2/store/obtain_token" endpoint and get the bucket details where data need to be uploaded for Terra to process it. Uploading data within our bucket is ideal given the clients we deal with
2. The STS token returned by obtain_token is short-lived (10 min) and it's not enough time for users to upload a huge dataset on the bucket. Can we call the endpoint again to get a new token and continue uploading in multiple iterations?
Thanks in advance!
-
Dear Developer, Hello and thank you for reaching out to DJI Innovations. 1. Apologies, this is not supported at the moment. 2. The validity period of the token is quite long. The token used for uploading files must be the same as the one associated with the file in order to bind them together. If a token is obtained for uploading a file and a different token is used for the associated file, the callbackParam returned will not be able to locate the file. You will need to re-upload and bind the files again. We hope that our solution meets your needs satisfactorily. We appreciate your email and wish you a wonderful day! Best Regards, DJI Innovations SDK Technical Support Team -
Thank you for the reply!
I'm a bit confused here - if the token expires in 10 minutes and uploading all files is not yet complete then I need to obtain a new token and upload files, that won't cause any problem right?. Also, each batch needs to be bonded using the same token.
I need to repeat the same process until all my files are uploaded?
请先登录再写评论。
评论
2 条评论