Page 1 of 1

File storage base URL

Posted: Wed Sep 28, 2016 5:50 am
by ccortezia
Hi there.

I realised that the generated URL for the files I uploaded to the file storage all have the same prefix, containing some seemingly unique ID sequence. Can I assume this sequence to be the same across the URL's for every every file I upload to the storage under that same account ? I am thinking about using this premise on my application.

Re: File storage base URL

Posted: Wed Sep 28, 2016 11:35 am
by support
Hi,

That is correct, the format of the url for files uploaded to the file repository conforms to the following pattern:

Code: Select all

http://repo.local.plumgroup.com/root/{unique_account_hash}/{folders}*/{filename}
The base part of the url:

Code: Select all

http://repo.local.plumgroup.com/root/{unique_account_hash}
will always be unique to your account, and all files uploaded will be assigned that same base url. You can safely assume that will always be the base path for file uploads in the file repository in your account.

Please feel free to ask if you have any further questions.
Regards,
Plum Support