Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
Hi there,
Could you give an example of a date, in particular for the expires field for the Create Shared Link With Settings endpoint? I'm struggling to get it to work, keep keeping bad requests.
From the docs: %Y-%m-%dT%H:%M:%SZ
My implementation in PHP:
date('Y-m-dTH:i:sZ', time() + $a_number_of_seconds)
(which outputs 2021-05-15BST11:23:323600)
I assume I shouldn't put the percentage symbols in the date?
If you could give me the PHP date format that would be great 🙂 Otherwise a full date example (not just the format) would help.
Thanks
Nevermind, figured it out. I needed to be a bit more literal! The T and Z should appear as such in the date, so:
2021-05-15T11:23:32Z
Nevermind, figured it out. I needed to be a bit more literal! The T and Z should appear as such in the date, so:
2021-05-15T11:23:32Z
Hi there!
If you need more help you can view your support options (expected response time for a 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!