I\'m trying to download documents from BIM 360 Docs. If I want to download a file with the type \"type\": \"items:autodesk.bim360:File\"
I just need to get the buck
For BIM 360 Project Folder items, follow the tutorial here to download document.
Basically you will need to obtain the URN of the document from the relationships.storage.data.id
field via GET projects/:project_id/folders/:folder_id/contents
.
For item type items:autodesk.bim360:Document, call GET projects/:project_id/versions/:version_id/relationships/refs
to obtain the storage locations:
"storage": {
"meta": {
"link": {
"href": "/oss/v2/buckets/wipbucket/objects/urn:adsk.objects:os.object:wip.dm.prod%2F9f8bdc3f-e29c-4ada-ab7b-bb8dfa821163.pdf"
}
}
See doc here.