Distribute an OSS Object via Signed URL
A 4-step recipe with Autodesk. We can help you get access.
Recipe · 4 steps
Distribute an OSS Object via Signed URL
with Autodesk
Produce an expiring, credential-free download link for a stored object.
- Read the bucket details to confirm it exists and to surface its retention policy, which determines how long objects in it survive.
- List the objects in the bucket whose key begins with the supplied prefix and take the first match.
- Read the object's metadata. The sha1 and size let the recipient verify the file after downloading it through the signed URL.
- Create a read-only signed URL for the object. The URL carries its own authorization, so the recipient needs no APS token, and it stops working when the expiry passes.
What you'll need to have ready
- bucketKey: The OSS bucket holding the object.
- objectKeyPrefix: Key prefix used to locate the object within the bucket (e.g. "renders/").
- minutesExpiration: How long the signed URL stays valid, in minutes.
For your developer
Arazzo workflow autodesk:distribute-object-signed-url, 4 operations: getBucketDetails → getObjects → getObjectDetails → createSignedUrl. Specs on APIs.io.