27 Mar 2024

Promoted, restored, uploaded

If you need to know if a specific file version is the result of an upload, a restore, or a promote operation, then you can use the revisionDisplayLabel and the version's type to help with that.

1) Restored

If the previous version of the file had the type versions:autodesk.core:Deleted then the file has been restored.

2) Promoted

If the previous version of the file did not have the type versions:autodesk.core:Deleted but one of the earlier versions had the same revisionDisplayLabel then it's been promoted