0

通过 Autodesk Data Management Forge API 查询模型(项目)时:

GET projects/​:project_id/​folders/​:folder_id/​search

返回data.attributes.displayName的有时与included.attributes.displayName相同 id 的不同。您能否解释一下“包含”和“数据”之间的区别,以及用于获取 A360 项目中显示的名称的当前值的区别。

名称已更改且仅相关数据的示例:

{
    "jsonapi": {
        "version": "1.0"
    },
    "links": {
    },
    "data": [
        {
            "type": "versions",
            "id": "urn:adsk.wipprod:fs.file:vf.00UeaES1TmW67ZUDMfSn1A?version=3",
            "attributes": {
                "name": "56750_A.rvt",
                "displayName": "56750_A.rvt",
                }
            }       
        }
    ],
    "included": [
        {
            "type": "items",
            "id": "urn:adsk.wipprod:dm.lineage:00UeaES1TmW67ZUDMfSn1A",
            "attributes": {
                "displayName": "343435_A.rvt",

            }
        }
    ]
}
4

0 回答 0