Archived from the Transloadit support forum. Originally posted on May 28, 2014; details may be outdated, see our docs for current behavior. Original thread
How can I get the final S3 url in the notification JSON?
I can get it from the thumbnails, but not from the actual file.
Here’s my template:
{
"steps": {
"pdfthumb": {
"use": ":original",
"robot": "/document/thumbs",
"result": true,
"page": 1,
"width": 75,
"height": 75,
"resize_strategy": "pad",
"background": "#000000"
},
"encode": {
"robot": "/video/encode",
"preset": "ipad-high",
"result": true
},
"videothumb": {
"use": ":original",
"robot": "/video/thumbs",
"result": true,
"count": 2
},
"export": {
"use": [
"pdfthumb",
"encode",
"videothumb"
],
"robot": "/s3/store",
"result": true,
"key": "REDACTED",
"secret": "REDACTED",
"bucket": "spand"
}
}
}