API not exposing items:autodesk.bim360:C4RModel - autodesk-forge

Reworded Question
Are items:autodesk.bim360:* objects available through BIM 360 Team hubs, or only through BIM 360 Docs hubs?
Original Description
I am trying to work through the tutorial on https://developer.autodesk.com/en/docs/data/v2/tutorials/publish-model/ and ran into an issue in Step 4. I initiated collaboration from inside Revit, but when I filter the contents to extension items:autodesk.bim360:C4RModel, there are no results returned. All the .rvt files have extension type items:autodesk.core:File.
Here is an abbreviated example:
{
"type": "items",
"id": "urn:adsk.wipprod:dm.lineage:RYWSlvzKSVC_5npo6r4IpQ",
"attributes": {
"displayName": "C4RForgeAPITestProject.rvt",
"extension": {
"type": "items:autodesk.core:File",
"version": "1.0",
}
},
}
After going back and trying step 3 again, I noticed that my results from https://developer.api.autodesk.com/project/v1/hubs/$hubid/projects/$projectId/topFolders had extension type folders:autodesk.core:Folder whereas the tutorial showed folders:autodesk.bim360:Folder
Potentially a separate issue: I was using BIM 360 Team, but then looked at the fact that all the documents say BIM 360 Docs, and figured I might only be able to get to the C4R models through BIM 360 Docs, so I signed up for a trial there, created a brand new project, went to follow the instructions on http://help.autodesk.com/view/RVT/2018/ENU/?guid=GUID-AD16C560-F033-448F-8E9E-93939E40F246 to upload a model, but My collaborate dialog only has two options: Collaborate within your network and Collaborate using the cloud. When I select the latter, I can only see my BIM 360 Team Projects, not my BIM 360 Docs projects.
It feels like I am missing some large piece here. Can anyone help me figure out what that missing piece is?

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.

Autodesk Forge - Document Management "Description" and "Sets" information availability

Is there a way to retrieve the "Description" and "Sets" information for a specific item version in BIM360 Document Management?
I couldn't find any of them in the current Forge available endpoints for neither BIM360 or Data Management APIs:
https://forge.autodesk.com/en/docs/data/v2/reference/http/projects-project_id-items-item_id-GET/
https://forge.autodesk.com/en/docs/data/v2/reference/http/projects-project_id-versions-version_id-GET/
Thanks
I hate to disappoint you, but it is true no API yet for the Description or Sets yet. We have two wishes tickets:
FDM-3124: wish: expose [Description] with GET :Folder Contents
ALEX-24690: [Public API] Expose BIM 360 SET via DM API
I have appended your requests to the two tickets. You patience and understanding are appreciated.

Can I use the Google Places API to see a venue's busy hours?

When searching for a venue in Google, I can usually see the following bar graph displaying how busy the place is each hour:
I am looking at the Google Places API docs, but cannot seem to find the relevant information.
It's not currently possible to get popular or busy times information from Google's Place API.
However, there is an open feature request in Google's Issue Tracker which I suggest starring to increase visibility and subscribe to future notifications:
https://issuetracker.google.com/issues/35827350
BestTime.app provides foot traffic data almost similar to Google Popular Times and Foursquare data, but with more functionality. You can also analyze and filter foot traffic data of multiple places in an area. So you can for example filter places and show only bars that are busy on Friday evening, or show only supermarkets that are quiet on Sunday morning. Or sort the places by foot traffic on a specific hour of the day, or the dwell time (how long people visit a place).
You can view the data through their website tools (e.g. on a heatmap), or get the same data through their software API (Software API tutorial).
Integrating the API is really useful if you want to e.g. make consumer-focused apps/websites to inform people to which place they should and at what time (i.e. automatically curate lists of best places to go).
In the picture above the BestTime.app Radar tool shows foot traffic data for popular attractions in New York City. On the left the a foot traffic prediction is shown for the whole day. The map is overlayed with a heatmap that indicates the predicted foot traffic intensity for current hour per place. Using the filters, in the right panel, you can narrow down your search by selecting for example only the quiet NYC attractions on Friday afternoon.
Disclosure: I work for BestTime.app
The issue in Google maps is assigned, but is being analyzed, but there are some helpful repositories in GitHub to obtain the data with just your API KEY and the place ID. These are the ones I found useful:
This one written in Python and easily let you get the hours by day. Also I found useful this repository written in python and make a web scraping and this one that is written in JavaScript.
Have a look at the Tufuta API documentation. This uses anonymised cell phone data.
Example API here:
[ { "company": "dubaishoppingcenter", "date": "25/08/2020", "day": "Tuesday", "hourtwentyfour": "11", "inference": "59,68,74,48.11737239360809,68,61,63,65,12,20,44,54,59,64", "init": "0", "latitude": "", "live": "48.11737239360809", "location": "dubai", "longitude": "", "maxoccupancy": "347", "month": "August", "quarter": "Q3", "time": "11:45", "truetime": "11:54", "weather": "Windy and Overcast", "year": "2020" } ]
Disclosure: I work for Tufuta

Forge/BIM360: Is there still no way to get at BIM360 Docs custom attributes on files?

I'm trying to read the custom attributes, which are defined at the folder level in BIM360 and then applied to individual file versions.
But I can't find any endpoint that seems to expose them.
Is it still not possible to read/write them?
(I see an Autodesk forum post from April that seems to say no, but I was hoping that they would be visible via the Forge APIs by now?).
Thanks,
Matt
AFAIK, the information of folder/file is provided by Forge Data Management API, this API is used as a common access to many different Autodesk SAAS app like A360 Personal, BIM 360 Team, Fusion Team (formerly known as A360 Team), BIM 360 Docs.
Unfortunately, since the custom attributes are specified only for BIM360 Docs(correct me if I am wrong), so the Folder/Item API of Forge Date Management does not provide that information yet.

Cant get hubs from BIM 360 by using Forge Data Management API

I am trying to get all my hubs from a360 and BIM360.
I already have access to my BIM 360 Account and “Apps & Integrations” is visible to me. Also added integration with Forge application.
I have sent a request with my 3-Legged Token:
curl -X GET -H "Authorization: Bearer wIHYfJt80v2AvkTSUZxxxxxxxxxx" "https://developer.api.autodesk.com/project/v1/hubs"
But responce contains only a360 hubs and error message
"warnings": [
{
"Id": null,
"HttpStatusCode": "403",
"ErrorCode": "BIM360DM_ERROR",
"Title": null,
"Detail": "Failed to get the hubs.",
"AboutLink": null,
"meta": []
}
Could you please explain me what could be wrong? Maybe you had the same issue.
2/23/2017 - Update.
You can access BIM 360 Docs hubs now if you have an enterprise account. For more information, please refer to this post:
https://fieldofviewblog.wordpress.com/2017/01/19/bim-360-enterprise-activating-api-access-to-docs/
11/8/2016 - original.
Right now, the scope of BIM 360 API is limitted to Account level.
Also, it uses 2-legged.
For further explanations, please refer to these page:
https://fieldofviewblog.wordpress.com/2016/08/09/bim-360-api-on-forge/
https://fieldofviewblog.wordpress.com/2016/08/02/bim-360-account-level-api-available-as-preview-beta/
Hope to have it exposed near future.
I hope this clarifies.
This is a old question, but the problem is presenting itself now.
Our application has been connected to BIM 360 Docs, however a request to get all hubs from Forge will not return this BIM 360 Docs hub.
We've verified that the administrator has activated the app in the Administrative tool.
What else should be checked?