In my last post I shared the discovery of an App that I've been using quite often since I came across, the name is Insomnia.
This time I tried to create a workflow using the app in order to Upload to BIM 360 Docs, but since I was already helping one of our customers with the Update version I decided to create the following video.
Let me explain the workflow of what I'm currently doing with every endpoint I reach on the App.
That will be the first part to upload the File for the first time. Now let's do this for updating the version of that file. The same process can be applied for 2,3,4....1000 versions of the same file. We will need to repeat Step 5 and 6 in order to create the updated version.
POST Storage Location (use the new ObjectID obtained here)
POST Upload to the New Storage Location, same file with same name
POST Update file version. In this step the end-point will be different from the creation of the first version.
If you notice in the Data above, we will need to make note of the new object ID in Step 1 (Update version process). Get the item ID of the response JSON from Step 7 (first version of the file) or call the GET projects/:project_id/folders/:folder_id/contents endpoint.
Here is the Video demonstrating all the steps explained previously.
Jaime Rosales is a Senior Developer Advocate with Autodesk Forge. He’s part of the team that helps partners/customers create new products and transition to the cloud with the use of Autodesk’s new Platform - Forge. He joined Autodesk in 2011 through the acquisition of Horizontal Systems the company that developed the cloud-based collaboration systems—now known as BIM 360 Glue the Glue. He was responsible for...