根据文档(https://forge.autodesk.com/en/docs/data/v2/tutorials/download-file/),我应该从included.relationships.storage.data.id 获取存储对象ID。我可以对上传到 bim360 的所有文件执行此操作,但计划 pdf 文件除外。整个响应中没有任何关于“存储”的内容。
这是我的回复中的“包含”:
''' "included": [ { "type": "versions", "id": "XXX", "attributes": { "name": "1ST FLOOR PLAN", "displayName": "1ST FLOOR PLAN", “createTime”:“2019-01-10T09:19:16Z”、“createUserId”:“3MYGKJ73V3SD”、“createUserName”:“XXX”、“lastModifiedTime”:“2019-01-10T09:19:19Z”、“lastModifiedUserId” ": "XXX", "lastModifiedUserName": "XXX", "versionNumber": 1, "extension": { "类型”:“版本:autodesk.bim360:文档”,“版本”:“1.0”,“模式”:{“href”:“ https://developer.api.autodesk.com/schema/v1/versions/versions :autodesk.bim360:Document-1.0" }, "data": { "processState": "PROCESSING_COMPLETE", "viewableId": "1", "viewableGuid": "XXX", "viewableName": "(1)", "viewableOrder": 1, "sourceFileName ": "A1-1 DIMS FIRST FLOOR DIMENSION PLAN_V1_2019-01-10_09-54-54am.pdf" } } }, "links": { "self": { "href": "XXX" } }, "relationships": {“项目”:{“数据”:{“类型”:“项目”,“id”:“XXX”},“链接”:{“相关”:{“href”:“XXX”}}},“参考”:{“链接”:{“自我”:{“href”:“XXX”},“相关”:{“href”:“XXX”}}},“链接”:{“链接”:{“自我”:{“href”:“XXX”}}},“downloadFormats”:{“链接”:{“相关”:{“href”:“XXX”}}}}}}]'''} } } } } ] '''} } } } } ] '''
我该如何处理?