Asset Upload Locations and TTL
Copy link to clipboard
Copied
I am on the free tier of the API service working on a POC for my company. I have successfully uploaded a Word document using the asset REST API service. I have also used the document generation service REST API to generate a pdf by merging the JSON object and the templetized Word doc.
Questions:
- Is there a way to access the "Internal Adobe Storage" to view the uploaded documents?
- Can we run the document generation API on an existing doucment that lives on the our "personal" adobe cloud storage?
- What is the the time to live for the links containing the generated document given by the document generation REST API service?
I am trying to figure out if I need to invoke a document generation merge everytime a user wants to view a documents because the asset links might expire over time.
Copy link to clipboard
Copied
"Is there a way to access the "Internal Adobe Storage" to view the uploaded documents?" No
"Can we run the document generation API on an existing doucment that lives on the our "personal" adobe cloud storage?" You can if it's on Sharepoint or S3, see here: https://developer.adobe.com/document-services/docs/overview/pdf-services-api/howtos/pdf-external-sto.... These options are expanding _very_ soon.
"What is the the time to live for the links containing the generated document given by the document generation REST API service?" 24 hours. So if you want to run document generation with one Word template and N sets of data with one process, ie a script that gets data from a database, then you can upload the Word document, do your loop and make N calls, and you should be good to go.
Copy link to clipboard
Copied
@Raymond CamdenThanks for the details.
Where can I find documentation on the 24h TTL?
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Thank you!
Copy link to clipboard
Copied
FYI, our REST API lets you make a DELETE call on the asset to remove it immediately if you need. Let me know if you need help with that.

