简体   繁体   中英

Way to download file with BIM360 Data Management API

I am in front of a problem using some limitation of Microsoft Power Automate, I have a flow that need to copy one file at a moment and sometime I have file that are more than 100mb and Power Automate doesn't accept http request larger than 100mb.

I am using the classical get_version then get_object. Is there another way to download "large" files from B360?

Thanks !

Issue from PowerAutomate

GET Object provides a header Range that allows you to download file by chunk. One demo call is available with the help document:

curl -v 
"https://developer.api.autodesk.com/oss/v2/buckets/apptestbucket/objects/test.txt"
 -X GET
 -H "Authorization: Bearer ShiAeQ67rdNSfmyEmtGW8Lnrcqto"
 -H "Range: bytes=44-83"

My colleague Bryan produced a blog on download manifest by chunk. It follows the similar header. The blog demos how to use this header in code. https://forge.autodesk.com/blog/download-large-derivatives-chunks

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM