Atom feed of this document
 
 
 

 6.1.1. Set Account Temp URL Metadata Key

To create a Temporary URL, you must first set the metadata header X-Account-Meta-Temp-URL-Key on your Cloud Files account to a key that only you know. This key can be any arbitrary sequence as it is for encoding your account.

Once the key is set, you should not change it while you still want others to be able to access your temporary URL. If you change it, the TempURL becomes invalid (within 60 seconds, which is the cache time for a key) and others will not be allowed to access it.

 

Example 6.1. Set Account Metadata Key for Public Access

  POST /<api version>/<account> HTTP/1.1
  Host: storage.clouddrive.com
  X-Auth-Token: <your auth key>
  X-Account-Meta-Temp-Url-Key: <your key>

Any 2xx response indicates success.



loading table of contents...