I was trying the Forge ARKit API (https://app.swaggerhub.com/apis/cyrillef/forge-ar_kit/2.0.0#/info) and I was able to load a revit model in Unity through the asset (http://forgetoolkit.com/#/unityPackage). Then I saw that the API has an url to download a model as UnityPackage (https://app.swaggerhub.com/apis/cyrillef/forge-ar_kit/2.0.0#/ARKit/get_unity), but unfortunately I get a 501 status Not Implemented.
I'm doing a GET request to "https://developer-api-beta.autodesk.io/modelderivative/v2/arkit/{{urn}}/unity" with the Authorization token and the same urn base64url I used for the other urls.
Related
I am working on the Autodesk forge 3D models (.rvt,.ifc,.pdf etc) .And when I select any model and it uses https://developer.api.autodesk.com/derivativeservice/v2/regions/eu/manifest/{urn} api to load the model after that If I open any model it won't open because of the 404 error. And if I open that particular model for the very first time It loads properly.
Can anyone help me finding the reason of 404 (model not found) on autodesk developer api?
Assuming that you are using OSS (buckets/objects), you must ensure the Data Retention Policy of the bucket where your files are. If your bucket is transient, files are deleted after 24 hours.
Using Get bucket details endpoint, you'll find the retention policy of your bucket.
Then you can also use Get Objects endpoint to list files in bucket.
I'm trying to implement Forge API endpoints wrapper and I faced with situation, where I can create user via this endpoint https://developer.api.autodesk.com/hq/v1/accounts/:account_id/users but I can't find endpoint for removing users (not inactivation). I found that for user deleting WebUI of BIM360 actually using https://admin.b360.eu.autodesk.com/users/:user_id/destroy endpoint, but I can't find description of this endpoint anywhere. What's the difference between developer's API and admon.b360 stuff?
I cannot find that endpoint on our API documentation. If you only see it under the dev tools, it could be an internal endpoint of the BIM360 services that can only be accessed by BIM360 itself.
Commonly, user-accessible BIM360 APIs are exposed under the base URL https://developer.api.autodesk.com/. If you don't see it listed on the Forge BIM360 API documentation, it means the function you're looking for is not available at this moment, unfortunately.
https://forge.autodesk.com/en/docs/bim360/v1/reference/http/
I am trying to use autodesk's model derivative api to read metadata of revit files. To do so, it needs to convert revit file to svf format. I'm trying to use https://developer.api.autodesk.com/modelderivative/v2/designdata/job endpoint to do so following official example here https://forge.autodesk.com/en/docs/model-derivative/v2/tutorials/extract-metadata-from-source-file/. I used same authorization header for creating bucket, uploading file. It has data:creat, data:read, data:write.
So I'm not sure why it didn't work for the job endpoint. Is this because I don't have access to model derivative apis?
Please make sure that Model Derivative API is enabled for your Forge app on the My Apps website
It turns out that urn should be objectid which also includes the file name.
Using the Autodesk Forge Auth API, I can get a bearer token for my app and I can get the ID of the user. I want to get a list of Fusion 360 files that the user owns. How can I do this? It seems like it would be part of the Data Management API, but I can't find it.
I use the forge api for data management to ask for the hubs for a user. I get a response that has a 200 status, but there is nothing in the response - no data and nothing like what is in the example.
Any ideals as to how to get those files?
If the GET Hubs response is empty, most likely that user don't have any hub. Is there any warning or error on the response body?
And this tutorial should help you get started, or try this live sample (source in .NET)
I'm following the Issue Retrieval tutorial: https://forge.autodesk.com/en/docs/bim360/v1/tutorials/retrieve-issues/
After getting a token I'm able to retrieve my hubs, then my projects, but when it comes time to retrieve issues in a project I am getting a 403 forbidden.
Trying to retrieve issues with the following URL:
https://developer.api.autodesk.com/issues/v1/containers/[issue_container_id]/issues
where [issue_container_id] is retrieved from data[0].relationships.issues.data.id from the https://developer.api.autodesk.com/project/v1/hubs/[hub_id]/projects response
My auth token scope is data:read and I've even tried with data:read and data:write since I was initially trying to write an issue, but also got a 403.
My Forge app has access to BIM 360 API, Data Management API, and WebHook API.
My BIM 360 integration gives the Forge app acess to BIM 360 Account Admin and Document management.
According to our engineering team, BIM360 Issue APIs support three-legged token only currently. Apologizing for the confusion, the tutorial will be updated soon.