Getting the BIM 360 Scene ID in Unity - autodesk-forge

How can I retrieve the scene ID without using postman?
I’m using the Forge toolkit for Unity and the 2legged auth. Is it absolutely necessary to use postman?

As Samuel said, Postman is just one of many ways to make calls to REST APIs such as the Forge AR/VR Toolkit. You can make these calls from other 3rd party applications, or from your own code.
In case of the AR/VR Toolkit, you can obtain the list of scenes available for a specific model URN using the GET /arkit/v1/{urn}/scenes endpoint.

Related

How to distinguish BIM 360 vs ACC/unified projects?

(Update: There may or may not be any such thing as a "unified project". But there is definitely a button on my Account Admin->Projects screen that says "Go to unified projects", hence my confusion. It just takes me to a list of all projects.)
Since some API endpoints are not compatible between the two types of projects, (see https://forge.autodesk.com/en/docs/acc/v1/overview/bim-360-compatibility/compatibility-table/), it would be nice to know, programmatically, which type of project you are dealing with.
The response from https://developer.api.autodesk.com/hq/v1/accounts/:hub_id/projects lists, for example, the exact same details regardless. Is there another call that would give more info?
I know that the BIM 360 projects start with "b.", but not in the above list.
Just poking around, the BIM 360 API endpoint https://developer.api.autodesk.com/hq/v1/accounts/:account_id/projects apparently returns only(?) BIM 360 projects, complete with "b.". But if I want ALL projects, and simply need to know the difference? I could make both calls and parse the differences; but one call with the correct info would be great, if it exists.
The endpoint I meant is: https://forge.autodesk.com/en/docs/data/v2/reference/http/hubs-hub_id-projects-GET/. It is for project information in the general context. The one you pointed out is for getting project information in the context of BIM360.
Data Management is a general API. e.g. you manage your (as a web application) manage models and data in your own buckets (on Forge), this goes with Data Management. BIM360 or ACC or Fusion360 etc is the platform that manages model or data for end users, in a format of more user-orientated structure like hub>>project>>folder>>item>>version etc. These fall into Data Management. BIM 360 API will be more specific in the context of BIM360. e.g. Admin API (like what you are using), Issue API, RFI API, Cost API , Model Coordination API etc.
As to united project, it means the project list managed within Autodesk Construction Cloud (ACC), which includes BIM360 projects and ACC projects. In another word, a united portal to access the two types of projects. To distinguish the two types, the attribute I mentioned in the last email is the indicator. Hope it explains.

Forge capture API by Autodesk in my Unity App

I am a unity game developer and I want to create 3d mesh generation from images in my unity App. I found a link of Forge Autodesk
Is it possible with "Reality check API" to implement this.
Any suggestion/SDK will be helpful.
If you simply want to generate static assets for your Unity app from photos locally, you could just look at Autodesk ReCap. The Forge Reality Capture APIs would be useful if you wanted to generate the meshes in the cloud instead. I'm afraid we don't have an SDK for these APIs but you could probably put together a simple bash script using curl based on the official tutorial.

problem with forge AR / VR toolkit and BIM360

I'm trying to create a scene for Autodek forge ar / vr toolkit taking the .rvt model from BIM360.
I have already managed to create a scene and load it in unity but uploading the model manually
When creating a scene for documents from BIM 360 Docs, there are a couple of things that are different compared to designs you upload manually:
The access token you use when communicating with the AR/VR Toolkit server must be "3-legged", i.e., obtained from the user login workflow.
When creating the AR/VR scene, you need to specify the BIM 360-specific information (like project ID or document version ID) in the prj property as well: https://app.swaggerhub.com/apis/cyrillef/forge-ar_kit/1.2.1#/ARVR-Toolkit/create_scene.

SDK for .NET Forge Data Management search items API

Does anybody have already built an SDK for .NET, using the filters and find items calls for the Forge Data Management API?
Did you check the NuGet we have for Forge? https://www.nuget.org/packages/Autodesk.Forge/
I'm not sure if it contains the calls you are requesting but you could use this to build it yourself.

How can I access the one board in JIRA Agile via the JSON REST API?

If I want to access JIRA Agile's One Board via the JIRA JSON API, how do I go about that?
Is there one place I can query to find out what the swim lanes are, and another place I can get information about tickets that will include data that determine what swim lanes they are in?
How much of the JIRA API is available programmatically?
Start with the REST Browser plugin and the jira-python library which shows how to use some of the JIRA Agile REST API
You can use following REST api to get all Boards.
GET /rest/agile/1.0/board
And then to get one board of your choice, you can use this :
GET /rest/agile/1.0/board/{boardId}
Here is the link for JIRA Agile