We are aware of the issue with the badge emails resending to everyone, we apologise for the inconvenience - learn more here.
Forum Discussion
AlecF
3 years agoExplorer | Level 4
Node/JS SDK - /get_temporary_link
Hello,
getting started w/ Dropbox and have a couple of questions re /get_temporary_link.
(1) I saw that the Java SDK has a direct method for `.get_temporary_link()`, see here , but I cann...
Здравко
3 years agoLegendary | Level 20
- AlecF3 years agoExplorer | Level 4
Hi Здравко,
thanks for that, I see that the function is called
.filesGetTemporaryLink(arg)
in the Node SDK...
But re my question (2), I assume in order to set a custom TTL, I'd rather have to use
sharingCreateSharedLinkWithSettings(arg)
and then specify a custom value in expires parameter ?
Which brings me to another question, what is the format of the timestamp string ?
The definition for Timestamp listed here simply says "string", which could mean anything...
Thanks !
- Здравко3 years agoLegendary | Level 20
AlecF wrote:...
Which brings me to another question, what is the format of the timestamp string ?
...
Take a look on 2/sharing/create_shared_link_with_settings (in parameters section):
...
settings SharedLinkSettings? The requested settings for the newly created shared link. This field is optional.SharedLinkSettings
require_password Boolean? Boolean flag to enable or disable password protection. This field is optional.
link_password String? If require_password is true, this is needed to specify the password to access the link. This field is optional.
expires Timestamp(format="%Y-%m-%dT%H:%M:%SZ")? Expiration time of the shared link. By default the link won't expire. This field is optional.
...
...
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,877 PostsLatest Activity: 7 hours agoIf you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X or Facebook.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!