簡體   English   中英

從Forge數據管理搜索api返回的數據是否表明已刪除模型?

[英]Is there any data returned from the Forge Data Management Search api to indicate a model is deleted?

在使用GET projects /:project_id / folders /:folder_id / search時,在具有最后刪除版本的模型上的Forge數據管理API,“屬性”中是否有任何信息或其他返回的數據指示文件已刪除?

當前,第二次調用GET projects /:project_id / items /:item_id / versions以確定是否刪除了最新版本(如下),但是最好不要調用另一個請求來獲取此信息。

從/ versions返回JSON(已刪除一些數據):

    "data": [{
        "type": "versions",
        "id": "urn:adsk.wipprod:fs.file:vf.w0cwXPUwQziKIHtKBtYRaA?version=3",
        "attributes": {
            "versionNumber": 3,
            "extension": {
                "type": "versions:autodesk.core:Deleted",
                "version": "1.0",
                "schema": {
                    "href": "https://developer.api.autodesk.com/schema/v1/versions/versions:autodesk.core:Deleted-1.0"
                },
                "data": {
                    "originalName": "**.rvt"
                }
            }
        }]

json attribute.hidden = true似乎表示已刪除。 可以通過filter [hidden] = true訪問。 我將其作為正確答案關閉。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM