Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
1

Using external storage for pdf services api

New Here ,
Oct 22, 2023 Oct 22, 2023

im using a curl api to convert pdf into xlsx using adobe pdf services api
and i want to use external storage and my prefered storage is amazon s3
to do this i require an input uri and an output uri and both need to be presign urls
i can make a presign for input uri as i have an object key but i do not know how to make an output uri 

TOPICS
PDF Services API
462
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Oct 23, 2023 Oct 23, 2023
LATEST

So, I've only done this in ColdFusion, Node, and Python. It involves creating a PUT request URL for the bucket and filename for output. Here's my Node code, but it just wraps their SDK so it's probably not too helpful. That being said, if Amazon has a PHP SDK, it may help you find it:

 

async function getSignedUploadUrl(path) {
	let command = new PutObjectCommand({ Bucket: bucket, Key:path });
	return await getSignedUrl(s3Client, command, { expiresIn: 3600 });
}
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources