I am attempting to write some additional functionality to support an already-working application that uses the Data Management, Model Derivative, and Viewer APIs. It does not create versions of files in a Project, because that functionality did not exist when it was written.
Right now we support uploading a file which uploads it to Forge. We store the response from Forge and use that again to get the Viewer working.
The PUT buckets/:bucketKey/objects/:objectName API takes an Object Name for an "upload new version" functionality.
However, the API returns ObjectId, ObjectKey, and ObjectUrn, none of which work for ObjectName in a round trip (I always get 412), and I cannot seem to get anything but 404's from the Get Object API.
I'm using the C# Library in NuGet.
What am I missing?