44
Galia Traub Senior Software Engineer BIM 360, Autodesk Extend BIM 360 Docs with the Issues API Mikako Harada AEC Technical Lead & Americas Manager Developer Technical Services, Autodesk

Forge - DevCon 2016: Extend BIM 360 Docs with the Issues Service API

Embed Size (px)

Citation preview

Page 1: Forge - DevCon 2016: Extend BIM 360 Docs with the Issues Service API

Galia Traub

Senior Software EngineerBIM 360, Autodesk

Extend BIM 360 Docs with the Issues API

Mikako Harada

AEC Technical Lead & Americas Manager Developer Technical Services, Autodesk

Page 2: Forge - DevCon 2016: Extend BIM 360 Docs with the Issues Service API

Session Goals

• Preview API’s for BIM 360 Docs

• Give overview of API structure and design

• Get ready for the beta

Page 3: Forge - DevCon 2016: Extend BIM 360 Docs with the Issues Service API

Agenda

• BIM 360 Docs - Product Overview

• BIM 360 Docs - API• Overview

• Data Management API

• Issues API

• Q&A

Page 4: Forge - DevCon 2016: Extend BIM 360 Docs with the Issues Service API

BIM 360 Docs – Product Overview

Page 5: Forge - DevCon 2016: Extend BIM 360 Docs with the Issues Service API

BIM 360 Docs – Product Demo

Page 6: Forge - DevCon 2016: Extend BIM 360 Docs with the Issues Service API

Why BIM 360 Docs?

• Docs as data at center

• Seamless, unified future

DocsHQ

Glue FieldDocsLayout Plan

Page 7: Forge - DevCon 2016: Extend BIM 360 Docs with the Issues Service API

BIM 360 Docs - API

Page 8: Forge - DevCon 2016: Extend BIM 360 Docs with the Issues Service API

BIM 360 Docs – API Overview

• Authentication (OAuth)

• BIM 360 API (Account/HQ Mgmt)

• Data Management API

• Model Derivative API

• Viewer

• Issues API

Page 9: Forge - DevCon 2016: Extend BIM 360 Docs with the Issues Service API

BIM 360 Docs – API Overview

• Authentication (OAuth)

• BIM 360 API (Account/HQ Mgmt)

• Data Management API

• Model Derivative API

• Viewer

• Issues API

Page 10: Forge - DevCon 2016: Extend BIM 360 Docs with the Issues Service API

BIM 360 Docs – API Overview

• Authentication (OAuth)

• BIM 360 API (Account/HQ Mgmt)

• Data Management API

• Model Derivative API

• Viewer

• Issues API

Page 11: Forge - DevCon 2016: Extend BIM 360 Docs with the Issues Service API

BIM 360 Docs – API Overview

• Authentication (OAuth)

• BIM 360 API (Account/HQ Mgmt)I

• Data Management API

• Model Derivative API

• Viewer

• Issues API

Page 12: Forge - DevCon 2016: Extend BIM 360 Docs with the Issues Service API

BIM 360 Docs – API Overview

• Authentication (OAuth)

• BIM 360 API (Account/HQ Mgmt)

• Data Management API

• Model Derivative API

• Viewer

• Issues API

Page 13: Forge - DevCon 2016: Extend BIM 360 Docs with the Issues Service API

BIM 360 Docs – API Overview

• Authentication (OAuth)

• BIM 360 API (Account/HQ Mgmt)

• Data Management API

• Model Derivative API

• Viewer

• Issues API

Page 14: Forge - DevCon 2016: Extend BIM 360 Docs with the Issues Service API

Authentication Methods for BIM 360 Docs

• OAuth2• 2-legged

• Application-only

• 3-legged• User context

• Re-direct to accounts.autodesk.com

https://developer.autodesk.com/en/docs/oauth/v2/overview/

Page 15: Forge - DevCon 2016: Extend BIM 360 Docs with the Issues Service API

Data Management API

Page 16: Forge - DevCon 2016: Extend BIM 360 Docs with the Issues Service API

Data Management API – Overview

• Document Management

• Common across Autodesk products• A360

• Fusion/Life Cycle

• BIM 360 Docs

• Consumer products (Tinker CAD)

• …

Page 17: Forge - DevCon 2016: Extend BIM 360 Docs with the Issues Service API

Data Management API – Service Groups

• Project service

• Data service

• Object storageservice (OSS)

• Schema services

https://developer.autodesk.com/en/docs/data/v2/overview/

Page 18: Forge - DevCon 2016: Extend BIM 360 Docs with the Issues Service API

Data Management API

• JSON API{json:api}http://jsonapi.org/format/

Page 19: Forge - DevCon 2016: Extend BIM 360 Docs with the Issues Service API

Data Management API

• Drill down withTest Harness

Page 20: Forge - DevCon 2016: Extend BIM 360 Docs with the Issues Service API

Learn more: Data Management & Related API Classes

Time Title Focus

Wednesday

2:25 PM Visual Reporting with Connected Design Data Platform, Viewing

3:55 PM Increasing Supply Chain and Manufacturing Capacity with Forge Manufacturing, partner

Thursday

10:50 AM The Path to Forge Platform, Overview

10:50 AM Cloud PDM Demystified – The Future of File Management Manufacturing, PLM

1:00 PM Free Your BIM Data AEC, Model Derivative

2:05 PM Building Data Centric Applications on Forge Manufacturing, partner

3:35 PM Collaborating with Design Data Platform, DM basics

4:40 PM Free Your Design Data Platform, Model Derivative

Page 21: Forge - DevCon 2016: Extend BIM 360 Docs with the Issues Service API

Issues API

Page 22: Forge - DevCon 2016: Extend BIM 360 Docs with the Issues Service API

Outline

• Product demo

• API Intro

• hello world – GET issues

• JSON API

• Demo

• Future work

Page 23: Forge - DevCon 2016: Extend BIM 360 Docs with the Issues Service API

Issues API in Docs

Page 24: Forge - DevCon 2016: Extend BIM 360 Docs with the Issues Service API

Issue Created

POST https://developer.api.autodesk.com/

issues/v1/containers/:container_id/issues*

*internal for now

Page 25: Forge - DevCon 2016: Extend BIM 360 Docs with the Issues Service API

Issue Created

POST https://developer.api.autodesk.com/

issues/v1/containers/:container_id/issues*

*internal for now

Page 26: Forge - DevCon 2016: Extend BIM 360 Docs with the Issues Service API

Issue Created

POST https://developer.api.autodesk.com/

issues/v1/containers/:container_id/issues

Container lets us map this issue to a BIM360 Project

Page 27: Forge - DevCon 2016: Extend BIM 360 Docs with the Issues Service API

Issue Created

Lets go find it

Page 28: Forge - DevCon 2016: Extend BIM 360 Docs with the Issues Service API

{json:api}

• Open standard

• Consistency - shared conventions

• Clear & detailed specification

• 50+ Clients & Implementations

• Details: jsonapi.org

Page 29: Forge - DevCon 2016: Extend BIM 360 Docs with the Issues Service API

{json:api}{

data: […],

meta: { record_count: 186 },

links: {

first: "https…",

last: "https…",

next: "https…"

}

}

Page 30: Forge - DevCon 2016: Extend BIM 360 Docs with the Issues Service API

{json:api}data: [{

id: "<issue_id>",type: "issues",links: {self: "https …/<issue_id>"

},attributes: {title: "Grade of parapet is not to

code",status: "open"…

},}…

]

Page 31: Forge - DevCon 2016: Extend BIM 360 Docs with the Issues Service API

{json:api}{

data: […],

meta: { record_count: 186 },

links: {

first: "https…",

last: "https…",

next: "https…"

}

}

Page 32: Forge - DevCon 2016: Extend BIM 360 Docs with the Issues Service API

Demo

Page 33: Forge - DevCon 2016: Extend BIM 360 Docs with the Issues Service API

issue.status

Page 34: Forge - DevCon 2016: Extend BIM 360 Docs with the Issues Service API

assigned_to & assigned_to_type

• Company

• Role

• Individual User

Page 35: Forge - DevCon 2016: Extend BIM 360 Docs with the Issues Service API

assign & open the issue

Page 36: Forge - DevCon 2016: Extend BIM 360 Docs with the Issues Service API

GET (open, company ) issues

https://developer.api.autodesk.com/issues/v1/containers/:container_id/issues?

filter[status]=open&

filter[assigned_to_type]=company

Page 37: Forge - DevCon 2016: Extend BIM 360 Docs with the Issues Service API

Paging

https://developer.api.autodesk.com/issues/v1/containers/:container_id/issues?

filter[status]=open&

filter[assigned_to_type]=company

page[limit]=100&

page[offset]=0

Page 38: Forge - DevCon 2016: Extend BIM 360 Docs with the Issues Service API

Sparse fields

https://developer.api.autodesk.com/issues/v1/containers/:container_id/issues?

filter[status]=open&

filter[assigned_to_type]=company

page[limit]=100&

page[offset]=0&

fields[issues]=assigned_to

Page 39: Forge - DevCon 2016: Extend BIM 360 Docs with the Issues Service API

Demo

Page 40: Forge - DevCon 2016: Extend BIM 360 Docs with the Issues Service API

Issues Vision

• Provides a toolset to track issues

• Data in the middle approach

• Leverages Forge APIs & BIM 360 Docs’ powerful permissions system

Page 41: Forge - DevCon 2016: Extend BIM 360 Docs with the Issues Service API

Future Capabilities

• Bulk updates for syncing & importing

• Issue creation & updating

• Association to location

• Linking to 3D element

• New Issue types• Quality Issues

• RFIs

• Beyond BIM 360 (A360 & External)

• What else?

Page 42: Forge - DevCon 2016: Extend BIM 360 Docs with the Issues Service API

Thanks! Questions?

Contact us at

[email protected] ( @galiat)

[email protected]

Or come find us at

BIM 360 Tower

Page 43: Forge - DevCon 2016: Extend BIM 360 Docs with the Issues Service API

@AutodeskForge

#ForgeDevCon

Page 44: Forge - DevCon 2016: Extend BIM 360 Docs with the Issues Service API