I am trying to use the api service as in the below link, and trying to get metadata by using derivative urn.
However, the data returning from the service is broken as in below. What can be the problem?
I am trying to use the api service as in the below link, and trying to get metadata by using derivative urn.
However, the data returning from the service is broken as in below. What can be the problem?
If you look at the documentation example, it returns chunked partial content body. For metadata, please use these 2 APIs:
https://forge.autodesk.com/en/docs/model-derivative/v2/reference/http/urn-metadata-GET/
https://forge.autodesk.com/en/docs/model-derivative/v2/reference/http/urn-metadata-guid-GET/
As described in this post, there is multiple ways to get metadata : Accessing Design Metadata Without Viewer
The easiest way is to request the metadata endpoint as @varunpatil already answered.
But if you want to get a Sqlite file, you can download this file using the method described in Petr's post.
If you get a 200
status code in your response, you should have the entire file, 206
means you only get chunked partial content.