翻译后删除源文件

Delete source file after translation

是否可以在翻译完成后从 Autodesk Forge 中删除源文件并仍然能够在查看器中查看翻译后的文件?如果是这样,应使用 API 的哪些端点来实现此目的?

Forge平台删除文件有两个API:

  1. DELETE buckets/:bucketKey/objects/:objectName: call this API to delete uploaded model raw files such as RVT, NWD, IFC, OBJ, STL and etc. stored on your own Forge OSS bucket (Forge Data Management API). But this might be unnecessary, the upload files should be removed after 24hours or a month regarding the bucket policies, unless these files are uploaded to a bucket with Persistent policy, see here for the bucket policies.
  2. DELETE :urn/manifest: call this API to delete all derivative bubbles(i.e. the translated files) generated via POST job Forge 模型导数 API.