22 Mar 2024
Fetch Description Attribute of File Item of ACC and BIM360
Description is one default attribute with file item of ACC or BIM360. It was not available with Data Management APIs in the past. Now the two APIs support to return this attribute:
- Get File Item: https://aps.autodesk.com/en/docs/data/v2/reference/http/projects-project_id-items-item_id-GET
- Get Folder Contents: https://aps.autodesk.com/en/docs/data/v2/reference/http/projects-project_id-folders-folder_id-contents-GET
Description locates in the extension data of the response: data.attributes.extension.data.
"type": "items",
"id": "urn:adsk.wipprod:dm.lineage:wVyr8vt4SXXX4YLsPF4Ek4gXX",
"attributes": {
"displayName": "Audubon_Architecture-2022.rvt",
"createTime": "2024-03-21T04:55:44.0000000Z",
"createUserId": "200902260532621",
"createUserName": "Xiao Dong Liang",
"lastModifiedTime": "2024-03-21T05:55:50.0000000Z",
"lastModifiedUserId": "200902260532621",
"lastModifiedUserName": "Xiao Dong Liang",
"hidden": false,
"reserved": false,
"extension": {
"type": "items:autodesk.bim360:File",
"version": "1.0",
"schema": {
"href": "https://developer.api.autodesk.com/schema/v1/versions/items:autodesk.bim360:File-1.0"
},
"data": {
"sourceFileName": "Audubon_Architecture-2022.rvt",
"description": "test rvt desc from acc us region"
}
}
}