Does the Forge API support 2-legged bearer tokens for Bim360 Team hub types? - autodesk-forge

The Forge API works like a champ for Bim360 Docs hub types using 2-legged bearer token. However, I can't find documentation that confirms whether or not 2-legged authentication works for Bim360 Team hubs. Can anyone confirm this? Thanks.

You can use Data Management API to access BIM 360 Docs hubs using 2 legged OAuth, which is intended for background automation. You may consider adding the x-user-id header to enforce permissions.

Related

What's the difference between admin.b360 and developer.api Autodesk's services?

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/

BIM 360 Regional Support via API

A question has come up about BIM 360 cross regional support and what it means for people using the data management API.
We are using the BIM 360 data management API to integrate with our product. Our customers will be creating their own Forge Apps and will register them with us. We are using https://developer.api.autodesk.com as the root URI for our requests. Will requests to the base URI be automatically routed to the correct region?
The request URI does not need to change. The servers available for BIM 360 are US and EMEA regions. You can find out how to use the Model Derivative API and the Viewer API with the following post.
https://forge.autodesk.com/blog/bim-360-docs-api-changes-access-data-european-data-center

Autodesk Forge 403 When Trying to Retrieve Issues

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.

Can we access custom metadata attributes from BIM 360 docs using Forge API?

Using the forge API, we would like to query models by custom fields created in bim 360 docs (see screenshot). Could the API somehow provide us this possibility? We have investigated the data management api but can't find any request that handle custom attributes.
Unfortunately, Attribute API is not available for BIM 360 Docs yet, so this is not possible to obtain attribute data by API now. Apologies for any inconvenience caused. However, you can keep eyes on here for recent updates:
https://forums.autodesk.com/t5/bim-360-docs-forum/new-bim-360-release-notes-and-bim-360-roadmap/td-p/7753472
https://forums.autodesk.com/t5/bim-360-docs-forum/latest-updates-new-knowledge-network-articles-bim-360-docs/td-p/7738068

Can we access A360 or other forge Hubs using Azure credentials

Is it possible to link the Azure identity management with A360 and other hubs of Autodesk?
It is pain to map the A360 accounts with Azure accounts. If Azure single sign on can be used, it will simplify things a lot.
Currently Autodesk ID is the only supported SSO provider for the Forge Platform.
Sorry for the bad news.