Start a new topic
Answered

File storage

Hi, 


I have a general questions regard the File Storage.


This is what I've seen in the documentation:


"Kinvey does not directly serve or accept files. Instead, the Kinvey Files API works by providing a short-lived URL to a third-party cloud storage service from which file(s) can be uploaded or downloaded. Currently, the third-party service used is Google Cloud Storage."


What happens to a download URL link after a week? 

How can I access uploaded files after that period?

Where can I see limitations (storage, access speed) of this storage? 


Thank you,

Ilia.  


Best Answer

Hi,

The download url is valid for 1 hour(By default). After 1 hour the download url becomes invalid and you have to perform a new GET request to get the new download url. If you require the temporary download URL to last longer (or shorter) than one hour, you may optionally specify a custom expiration time (in seconds) using the 'ttl_in_seconds' query parameter. Please find the documentation related to that here.


You can use Kinvey to store and retrieve binary files of size up to 5TB. Files can be of any format. As mentioned in the documentation that kinvey uses Google Cloud Storage for storing files, the access speed will be same of this third party service. Please let me know if you need more information on this (along with your use case).

Regards,
Abhijeet


Answer

Hi,

The download url is valid for 1 hour(By default). After 1 hour the download url becomes invalid and you have to perform a new GET request to get the new download url. If you require the temporary download URL to last longer (or shorter) than one hour, you may optionally specify a custom expiration time (in seconds) using the 'ttl_in_seconds' query parameter. Please find the documentation related to that here.


You can use Kinvey to store and retrieve binary files of size up to 5TB. Files can be of any format. As mentioned in the documentation that kinvey uses Google Cloud Storage for storing files, the access speed will be same of this third party service. Please let me know if you need more information on this (along with your use case).

Regards,
Abhijeet

Great, now it's clear.


Thank you Abhijeet.

The download link is only valid for 1 hour. It will become invalid after an hour so you need to perform a new request.

gmail sign up

Login or Signup to post a comment