58
Trends in Web APIs Ronnie Mitra Principal API Architect - EMEA Layer 7 API Academy

Trends in Web APIs Layer 7 API Management Workshop London

Embed Size (px)

Citation preview

Page 1: Trends in Web APIs Layer 7 API Management Workshop London

Trends in Web APIs

Ronnie MitraPrincipal API Architect - EMEALayer 7 API Academy

Page 2: Trends in Web APIs Layer 7 API Management Workshop London

The Layer 7 API Academy

Mission:

To help API Publishers build great APIs

Method:

Conference Presentations

Books, Blogs, Tutorials and Tech Talks

Workshops and Mentoring

Ronnie Mitra Mike Amundsen

Page 3: Trends in Web APIs Layer 7 API Management Workshop London

API

Page 4: Trends in Web APIs Layer 7 API Management Workshop London

int printf ( const char * format, ... );

Page 5: Trends in Web APIs Layer 7 API Management Workshop London

Web API

Page 6: Trends in Web APIs Layer 7 API Management Workshop London

Web API=

Technology

Page 7: Trends in Web APIs Layer 7 API Management Workshop London

REST/JSON? Yes.SOAP/XML? Yes.HTTP/CSV? Yes.

Is it a Web API?

Page 8: Trends in Web APIs Layer 7 API Management Workshop London

Design APIs for your users.

Developer experience is Paramount.

Page 9: Trends in Web APIs Layer 7 API Management Workshop London

API

Page 10: Trends in Web APIs Layer 7 API Management Workshop London

Today

Tomorrow

The Future

Page 11: Trends in Web APIs Layer 7 API Management Workshop London

Today

Page 12: Trends in Web APIs Layer 7 API Management Workshop London

Modern Timeline of Web APIs

2000

Salesforce APIebay API

2002

Amazon API

2004

Flickr API2006

Twitter APIFacebook APIGoogle (Maps) API

2012

Programmableweb.com has 7144 registered APIsSources: apievangelist.com

programmableweb.cominternetarchive.com

Steve Yegge Rantoreilly.com

2005

ebay makes APIs free

2004

First Web 2.0 Conference

2010

Salesforce adds HTTP API

2008

Programmableweb.com has 1000 registered APIs

2005

Programmableweb.com launched54 APIs registered.

Page 13: Trends in Web APIs Layer 7 API Management Workshop London
Page 14: Trends in Web APIs Layer 7 API Management Workshop London

The enterprise model:Start with private APIs…

Page 15: Trends in Web APIs Layer 7 API Management Workshop London

…consider going public in the future

Page 16: Trends in Web APIs Layer 7 API Management Workshop London

Mobile is driving API publishers

Page 17: Trends in Web APIs Layer 7 API Management Workshop London

£££Bandwidth is a key constraint

Page 18: Trends in Web APIs Layer 7 API Management Workshop London
Page 19: Trends in Web APIs Layer 7 API Management Workshop London

{JSON} SOAP

Page 20: Trends in Web APIs Layer 7 API Management Workshop London

HTTP-CRUD is the style of choice.

GETPUT

POSTDELETE

Page 21: Trends in Web APIs Layer 7 API Management Workshop London

/apple/apples/apples?colour=green/bushel/apples/

Designers care about URI design

Page 22: Trends in Web APIs Layer 7 API Management Workshop London

Security remains importantAPI standards have emerged

Page 23: Trends in Web APIs Layer 7 API Management Workshop London

OAuth 2 is gaining popularity

Page 24: Trends in Web APIs Layer 7 API Management Workshop London

SAML

WS-*

Flexibility is the new challenge

LDAP

PKI

Page 25: Trends in Web APIs Layer 7 API Management Workshop London

API publishers are becoming API consumers

Page 26: Trends in Web APIs Layer 7 API Management Workshop London

The primary API management challenge:

BalancingControl and Accessibility

Page 27: Trends in Web APIs Layer 7 API Management Workshop London

API publishers want to encourageutilization

Page 28: Trends in Web APIs Layer 7 API Management Workshop London

Low barriers to accessSelf serviceSelf documenting

Page 29: Trends in Web APIs Layer 7 API Management Workshop London

But, API publishers also want to restrict access to APIs

Page 30: Trends in Web APIs Layer 7 API Management Workshop London

Smart rate limitingSecurity enforcementBrand control

Page 31: Trends in Web APIs Layer 7 API Management Workshop London

Architects want API gateways

Gateway

API

API

InternalExternal

Page 32: Trends in Web APIs Layer 7 API Management Workshop London

Developers demand API portals

Portal

Page 33: Trends in Web APIs Layer 7 API Management Workshop London

Tomorrow

Page 34: Trends in Web APIs Layer 7 API Management Workshop London
Page 35: Trends in Web APIs Layer 7 API Management Workshop London

websockets for bi-directional communication

Page 36: Trends in Web APIs Layer 7 API Management Workshop London

Adaptive APIs – different strokes…

API

Page 37: Trends in Web APIs Layer 7 API Management Workshop London

The SSO saga will continue…

Page 38: Trends in Web APIs Layer 7 API Management Workshop London

OpenID Connect will allow apps to retrieve end userInformation – with permission.

User

Page 39: Trends in Web APIs Layer 7 API Management Workshop London

Bring Your Own Device (BYOD)will drive a new generation of

internal APIs

BYOD

Page 40: Trends in Web APIs Layer 7 API Management Workshop London

The battle for the definition of RESTwill continue...

Page 41: Trends in Web APIs Layer 7 API Management Workshop London

Is this REST?

Page 42: Trends in Web APIs Layer 7 API Management Workshop London

Or is this REST?

HTTP Verbs

URIs

?

Page 43: Trends in Web APIs Layer 7 API Management Workshop London

Terminology is important…

Page 44: Trends in Web APIs Layer 7 API Management Workshop London

..but, focusing on design willimprove your API.

Page 45: Trends in Web APIs Layer 7 API Management Workshop London

The hypermedia feature will become increasingly popular

A

B

Page 46: Trends in Web APIs Layer 7 API Management Workshop London

Links will become a common facet ofWeb APIs

Page 47: Trends in Web APIs Layer 7 API Management Workshop London

<bushel><apple id=“23”/>

</bushel>

http://bushel/apple/23

Page 48: Trends in Web APIs Layer 7 API Management Workshop London

<bushel><link href=“http://bushel/apple/23”>

</bushel>

http://bushel/apple/23

Page 49: Trends in Web APIs Layer 7 API Management Workshop London

The Future

Page 50: Trends in Web APIs Layer 7 API Management Workshop London

The hypermedia style will grow…

Page 51: Trends in Web APIs Layer 7 API Management Workshop London

Templates for input

Task based interaction

Registered content types

Page 52: Trends in Web APIs Layer 7 API Management Workshop London

Standards and conventions will help us build generic APIs.

Page 53: Trends in Web APIs Layer 7 API Management Workshop London

Smarter clients will call APIs they didn’t even know existed.

Page 54: Trends in Web APIs Layer 7 API Management Workshop London

B

Smart

API

Client

A

Page 55: Trends in Web APIs Layer 7 API Management Workshop London

…but new attack surfaces will lead tonew exploits targeted at APIs

Page 56: Trends in Web APIs Layer 7 API Management Workshop London

• Mobile Consumers• Secure APIs• Internal and External APIs

• Adaptive APIs• WebSockets and Open ID• Links in APIs

• Smarter Clients• Smarter attacks

Page 57: Trends in Web APIs Layer 7 API Management Workshop London

Design long lasting APIs

with your users in mind.

Page 58: Trends in Web APIs Layer 7 API Management Workshop London

Trends in Web APIs

Ronnie MitraPrincipal API Architect - EMEALayer 7 API Academy