Closed huyvohcmc closed 4 years ago
Why was close?
@julioalucero because it doesn't.
@huyvohcmc Filestack support it https://www.filestack.com/docs/concepts/workflows/virus-detection/. But seems that this library still does not support send something like:
client.upload(filepath: 'tmp/test.pdf', options: {'workflows': ["23dfd7cb-359e-4e53-8918-dca35790a74b"]})
Or I'm sending the wrong params 🤔, I didn't found docs about it
For the records, the correct url is:
https://cdn.filestackcontent.com/<APIKEY>/store=workflows:["<workflow_id>"]/<external-url>
Updated: To use a Workflow the correct url is to use the workflow_id without quotes:
https://cdn.filestackcontent.com/<APIKEY>/store=workflows:[<workflow_id>]/<external-url>
@julioalucero @huyvohcmc I apologize for a late reponse. In filestack-ruby 2.7.0, I've added a workflows support.
Now you should be able to do: client.upload(filepath: 'tmp/test.pdf', options: { workflows: ["23dfd7cb-359e-4e53-8918-dca35790a74b"]})
.
Let me know if it helps.
Sorry to ask this question but does filestack scan viruses for every uploaded file? Is there a doc somewhere?