In BIM360, how can I restore a file or plan ( item ) to a prior version . This is possible in the BIM360 UI, see attached 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 ??
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/
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.