Want to know more about Dash? Check out how Amy uses Dropbox and Dash to make her day easier here!
Forum Discussion
Jeff B.63
2 months agoCollaborator | Level 9
Connecting Adobe PDF Services API to Dropbox content
I am trying to implement an Azure Logic App that will combine files into a single PDF using Adobe PDF Services API.
Supposedly, the API can connect directly to documents in my Dropbox.
External Storage for Adobe PDF Services APIs
Adobe PDF Services APIs have added support for accessing files from the external storage of the client directly. The client can invoke the PDF Services API with Signed URLs and files will be automatically accessed from their storage.A Signed URL temporarily provides access to a resource. Signed URLs contain user/authentication information, allowing users without credentials to access the given resource.
PDF Services APIs supports the signed URLs of input and output files in the request body. Please refer to the External Section in Request Body of each API for more details.
DropboxPDF Services APIs can connect with Dropbox using Signed URIs for downloading and uploading the files from Dropbox location without the need for any credentials or access token.
Supported URL Prefixes:
- https://<item-id>.dl.dropboxusercontent.com
- https://content.dropboxapi.com/
Please refer here for more details.
I am trying to use the first one: https://<item-id>.dl.dropboxusercontent.com and I assume that since they are referring to this as a prefix, there must be addition code that follows but the link they provide for more details takes me to Dropbox API documentation.
They also say "Please refer to the External Section in Request Body of each API for more details." but I don't find an External Section when reviewing the Adobe or Dropbox documentation.
I would really like my HTTP request to Adobe to take the file directly from Dropbox without having to deal with getting the content and sending it to Adobe from within my Logic App.
Then I am hoping to save the result right back to dropbox so I don't have to get file content and then write it to Dropbox inside my App.
I am going to cross post this on the Adobe Forum as well.
1 Reply
- Greg-DB2 months ago
Dropbox Community Moderator
Based on this information, it looks like this is referring to the links returned by the Dropbox API /2/files/get_temporary_link and /2/files/get_temporary_upload_link endpoints, for getting links to download and upload files from/to Dropbox, respectively. Those endpoints return links using the mentioned hosts/formats. Please refer to the documentation I linked to there for each of those for more information on using those.
Also, note that those are links to the documentation for the HTTPS endpoints themselves, but we recommend using one of the official SDKs if possible. The SDKs have corresponding native methods for the HTTPS endpoints. (There's also the Dropbox API Explorer, e.g., for /2/files/get_temporary_link and for /2/files/get_temporary_upload_link which can be useful for prototyping and testing out calls.)
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.6,017 PostsLatest Activity: 3 days ago
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
If 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!