简体   繁体   English

如何通过 Autodesk-Data-Management-API 在 BIM360 中将先前的项目版本恢复为“当前”版本

[英]How to Restore a prior item version as "current" in BIM360 via Autodesk-Data-Management-API

In BIM360, how can I restore a file or plan ( item ) to a prior version .在 BIM360 中,如何将文件或计划(项目)恢复到以前的版本 This is possible in the BIM360 UI, see attached Snip.这在 BIM360 UI 中是可能的,请参阅附加的 Snip。

Interestingly in the BIM360 UI the restored versions show the old version number (in this example V3 ) are restored documents a new item or an old one ??有趣的是,在 BIM360 UI 中,恢复的版本显示旧版本号(在本例中为V3 )是恢复文档是新项目还是项目

Snip from BIM360 "Restore"从 BIM360“恢复”中截取

You can use the following endpoint to restore the file version to a previous one:您可以使用以下端点将文件版本恢复到以前的版本:

POST projects/:project_id/versions?copyFrom={version_urn}
{
    “jsonapi”: {
        “version”: “1.0”
    },
    “data”: {
        “type”: “versions”
    }
}

For details, please refer https://forge.autodesk.com/en/docs/data/v2/tutorials/delete-and-restore-file/ and https://forge.autodesk.com/en/docs/data/v2/reference/http/projects-project_id-versions-POST/有关详细信息,请参阅https://forge.autodesk.com/en/docs/data/v2/tutorials/delete-and-restore-file/https://forge.autodesk.com/en/docs/data/ v2/reference/http/projects-project_id-versions-POST/

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何使用 Autodesk Forge Data Management API 在 BIM360 Docs 中上传工作共享 Revit 模型 - How to Upload a worksharing Revit model in BIM360 Docs using Autodesk Forge Data Management API 无法从 Autodesk BIM360 获取自定义属性数据以进行数据管理 API - Not able to get custom attribute data from Autodesk BIM360 for data management API 使用BIM360数据管理API下载文件的方法 - Way to download file with BIM360 Data Management API 通过数据管理API列出BIM360中的模型文件 - Listing model files in BIM360 through data management API 如何在Postman上的BIM360中修补项目的版本 - How to PATCH a version of an item in BIM360 on Postman Forge BIM360 数据管理 - Forge BIM360 data management 如何使用 Forge 数据管理 API 在 BIM360 Docs 中找到 Revit 文档衍生 URN - How can I find Revit document derivatives URNs in BIM360 Docs using the Forge Data Management API 使用 Forge DataManagement 在 BIM360 中创建新项目版本时出现 VER_MISMATCH_MIMETYPE 错误 API - VER_MISMATCH_MIMETYPE error when creating new item version in BIM360 with Forge DataManagement API 是否可以通过数据管理 API 为 BIM360 Docs 文件夹实施命名标准? - Is it possible to enforce a naming standard for an BIM360 Docs folder through the data-management API? Data Management Forge API BIM 360 Item Version Relationship Refs 返回无数据,用于获取链接信息 - Data Management Forge API BIM 360 Item Version Relationship Refs returning no data, for acquiring Links Information
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM