We are aware of the issue with the badge emails resending to everyone, we apologise for the inconvenience - learn more here.
Forum Discussion
Jeff B.63
2 years agoCollaborator | Level 8
Get a folders public link using the dropbox API in Azure logic apps
We use Dropbox to store pictures from every jobsite we work on. The estimator puts his pics in the folder for the crews to view and later the crews put their images in the same folder. I have been ...
- 10 months ago
Jeff B.63 wrote:The example in the blog uses curl but I need HTTP. I tried the online conversion tool from GitHub but it just gets syntax errors. ...
Hi Jeff B.63,
You can add -v option (verbose) in every curl command and you'll get entire HTTP request in the console output as is. 😉
Jeff B.63 wrote:... I have my AppKey and AppSecret but what is the authorization code and do I need a redirect URI since I want the response to come right back to the HTTP request?
The authorization code is something you should receive from the authorization page where you (or your application user - whoever is) grant permission to access account resources. It can be copied by hand or received automatic using redirect URI - the choice is yours. So, no, it's not mandatory usage of redirect URI. Take a look here how you can perform the same without redirect URI.
Hope this helps.
Greg-DB
2 years agoDropbox Staff
The Dropbox API does offer the ability to create and retrieve shared links programmatically.
To create a shared links for a file or folder, you should call the /2/sharing/create_shared_link_with_settings endpoint. To retrieve existing shared links, you would call /2/sharing/list_shared_links.
By the way, those are links to the documentation for the HTTPS endpoints themselves, but we recommend using one of the official SDKs if possible. Those have corresponding native methods for the HTTPS endpoints.
- Jeff B.632 years agoCollaborator | Level 8
This is a little outside my wheelhouse but I am giving it a go. This is what I have tried but something is wrong and I am not sure if I am on the right track or not. Some guidance would be appreciated.
Here is the raw input:
{"method": "GET","queries": {"direct_only": "true","path": "/~ Pictures - All/2023/236056 - 459 Jellicoe Cres/"},"headers": {"Authorization": "*sanitized*","Content-Type": "application/json"}}And here is the raw output:{"statusCode": 404,"headers": {"Date": "Mon, 24 Apr 2023 20:37:35 GMT","Server": "envoy","Vary": "Accept-Encoding","X-Dropbox-Response-Origin": "far_remote","X-Dropbox-Request-Id": "43295fb3e28a44578e11c9600a9e2579","Transfer-Encoding": "chunked","Content-Type": "text/html"},Error (404) We can't find the page you're looking for.}- Здравко2 years agoLegendary | Level 20
Jeff B.63, Take a look on documentation! There POST request is always used. 🙋 GET is not for listing. The call parameters have to reside in request body, JSON encoded (as you correctly have specified in a header). Where is this JSON right now? 🧐😉
- Greg-DB2 years agoDropbox Staff
Jeff B.63 As Здравко noted, your request is not formatted properly. You can find information on how to call the endpoint in the documentation. The API v2 Explorer can also be useful for prototyping these calls; you can click "Show Code" to see how the call would be constructed in a few different clients.
About Discuss Dropbox Developer & API
Make connections with other developers
795 PostsLatest Activity: 7 days 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!