检索“描述"或“自定义属性"使用 Autodesk Forge API 的字段 [英] Retrieving "Description" or "Custom Attribute" fields using Autodesk Forge API

查看:26
本文介绍了检索“描述"或“自定义属性"使用 Autodesk Forge API 的字段的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们正在尝试使用 Autodesk Forge API 请求/命令检索 BIM360 Docs 中所示的描述或自定义属性字段.

We are trying to retrieve the description or custom attribute field as shown in BIM360 Docs using Autodesk Forge API requests/commands.

我们尝试了以下请求来检索有关特定文件的信息:

We have tried the following requests to retrieve information about a specific file:

我们获得了很多关于我们的文件的信息/数据,但在我们获得的响应中我们看不到描述字段和自定义属性.

We get a lot of information/data about our files, but we cannot see the Description field neither a Custom Attribute in the responses that we are getting.

"data": {
        "type": "versions",
        "id": "urn:adsk.wipprod:fs.file:vf.WKuhlYuyR8uK2WT8HE1bCQ?version=20",
        "attributes": {
            "name": "TESTING",
            "displayName": "TESTING",
            "createTime": "2019-07-29T09:37:33.0000000Z",
            "createUserId": "*****",
            "createUserName": "TESTING",
            "lastModifiedTime": "2019-08-05T08:27:10.0000000Z",
            "lastModifiedUserId": "*****",
            "lastModifiedUserName": "TESTING",
            "versionNumber": 20,
            "storageSize": 27020,
            "fileType": "xlsx",
            "extension": {
                "type": "versions:autodesk.bim360:File",
                "version": "1.0",
                "schema": {
                    "href": "https://developer.api.autodesk.com/schema/v1/versions/versions:autodesk.bim360:File-1.0"
                },
                "data": {
                    "processState": "PROCESSING_COMPLETE",
                    "extractionState": "UNSUPPORTED",
                    "splittingState": "NOT_SPLIT",
                    "revisionDisplayLabel": "20",
                    "sourceFileName": "TESTING"
                }
            }
        },
...
}

在所有这些字段中,我们预计还会出现描述"或自定义属性"字段(如 BIM360 DOCS 中所示).¿是否可以使用 API 请求检索这些字段?

Among all of these fields, we expected the fields "Description" or "Custom Attributes" to appear as well (As they are shown in BIM360 DOCS). ¿Is it possible to retrive these fields using API requests?

推荐答案

目前无法从 BIM 360 Docs 检索自定义属性信息,但新的 API 正在开发中,目前处于 Private Beta 测试中取回此信息,请在不久的将来与我们联系,因为这将很快可用.谢谢你的理解.

At the moment it is not possible to retrieve Custom Attribute information from BIM 360 Docs, But a new API is under development and in Private Beta testing at the moment to get this information back, Please check back with us in a near future since this will become available soon. Thank you for understanding.

这篇关于检索“描述"或“自定义属性"使用 Autodesk Forge API 的字段的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆