SlideShare une entreprise Scribd logo
1  sur  40
Six Tactics For Building Successful APIs 
Chris Haddad 
VP Platform Evangelism 
Last Updated: Jan. 2014
2 
About the Presenter 
• VP Platform Evangelism 
• F500/G2000 Advisor 
• Cloudy DevOps for Dev guy 
• API Strategy and SOA Roadmap consultant 
• Architect 
• SaaS and PaaS 
• Service portfolio and infrastructure 
• Java, .NET, JavaScript, Open Source 
• Learn more about me 
• Follow me @cobiacomm on Twitter 
• Blog: http://blog.cobia.net/cobiacomm 
• Decks: http://www.slideshare.net/cobiacomm/ 
• Profle: http://www.linkedin.com/in/cobiacomm/ 
• On Google+ too
What architecture goal-state is 
required? 
http://edcforums.com/threads/the-atwood-collectors-thread-part-2.101226/page-5
Old IT  Responsive IT
Engage your customers and partners 
Mobility, Internet of Everything, and Ecosystem Business Models 
are Transforming The Web
APIs Fit Into A Bigger IT Picture
Connected Business Reference Architecture
Architecture Focus Areas 
Integration 
Expose Services as APIs 
Big Data Streams and Analytics
Architecture Focus Areas 
Identity and Entitlement Management 
Cloud 
AppDev 
Developer Studio 
App Factory 
AS incl. Jaggery), UES, DSS,
Enterprise Service Bus Component Architecture
API-centric Focus 
An API is a business capability delivered over the Internet to 
internal or external consumers 
๏ Network accessible function 
๏ Available using standard web protocols 
๏ With well-defined interfaces 
๏ Designed for access by third-parties
API-centric Focus 
A Managed API is: 
๏ Actively advertised and subscribe-able 
๏ Available with SLAs 
๏ Secured, authenticated, authorized and protected 
๏ Monitored and monetized with analytics
14 
API Centric Capabilities
API-centric Integration 
Capabilities 
๏ Expose APIs for public consumption 
๏ Extend your business through APIs. 
๏ API Branding 
๏ Expose APIs for internal consumption 
๏ Manage the APIs used in internal applications 
๏ Detect Usage Patterns 
๏ Internal Monetization 
๏ Control Access to Cloud Services 
๏ Manage and Secure access from internal applications to cloud services (SalesForce, 
Google Apps, etc.) and between cloud-to-cloud interactions
16 
API Management Platform 
Capabilities 
๏ What the platform must do, at a minimum: 
๏ Users Management (self-sign up, profile management) 
๏ API Publication / API Store 
๏ API Security 
๏ Statistics 
๏ SLA control 
๏ Throttling / Rate Limiting 
๏ API Versioning 
๏ Monetization/Billing 
๏ and more ! 
๏ You could build all of this yourself, but...
Open API and Collaboration
Enterprise SOA and API Integration Platform: 
API-centric View
Six Steps 
๏ Define A Business Model 
๏ Build a Managed API 
๏ API Security 
๏ Reconcile Services and APIs Creation, Lifecycle and 
Governance 
๏ Enterprise Integration 
๏ API Branding and API as a Product == Yields => Monetization
20 
Define a Business Model 
๏ What are the business goals ? 
๏ Enable 3rd-party Mobile Apps 
development ? 
๏ Increase brand recognition ? 
๏ Open new revenue channels ? 
๏ Define Monetization model 
๏ Free ? 
๏ Pay per usage ? 
๏ Free APIs, but paid via Ads
21 
Building a Managed API 
๏ Creating APIs (interface, docs, 
samples,etc.) 
๏ Advertising APIs 
๏ Making APIs subscribe-able 
by consumers 
๏ Associating SLAs 
๏ Securing APIs 
๏ Monetization and Analytics
22 
Services and APIs 
๏ Service deals with implementation 
๏ API deals with subscription (consumer) 
๏ Two very distinct life cycles ! 
๏ You don’t need the service to create the API...
23 
API Versioning Strategies 
๏ Version as a query parameter 
๏ Netflix - http://api.netflix.com/catalog/titles/series/70023522?v=1.5 
๏ Google Data API - “GData-Version: X.0″ or “v=X.0″ 
๏ Version as part of URI 
๏ Salesforce - https://na1.salesforce.com/services/data/v20.0/sobjects/Account/ 
๏ Twitter - https://api.twitter.com/1.1/statuses/mentions_timeline.json 
๏ Version as a date in URI 
๏ Twilio - /2010-04-01/Accounts/{AccountSid}/Calls 
๏ http://www.twilio.com/docs/api/rest/making-calls 
๏ Version as a 
๏ Custom HTTP Header 
๏ Accept Header
24 
API Lifecycle 
๏ An API can pass through multiple states 
๏ For example: 
๏ CREATED 
๏ PUBLISHED 
๏ DEPRECATED 
๏ RETIRED 
๏ BLOCKED 
๏ Should integrate with complete governance lifecycle
25 
API Security 
๏ Security is not an after thought ! 
๏ APIs are part of a much larger enterprise picture 
๏ How will consumers request an access token ? 
๏ Using a SAML 2.0 assertion ? 
๏ Using client_credentials ? 
๏ Using userid/password ? 
๏ Make sure you document thoroughly how developers 
need to manage tokens: 
๏ Tokens are like passwords!
26 
Fine-grained access to APIs 
๏ OAuth2 is all about access control: a token is associated to a scope. 
๏ XACML (eXtensible Access Control Markup Language) is the de-facto 
standard for fine-grained access control. 
๏ OAuth scope can be represented in XACML policies 
๏ Provides fine grain control over what a user/application can do ( i.e. 
you can call GET but not POST on an API)
27 
Passing Auth Information to back-end 
services 
๏ Using JSON Web Tokens 
(JWT) 
๏ Lightweight 
๏ Can be signed 
๏ Easy to parse and consume 
๏ Standard
28 
Generic Facade Pattern 
๏ Pros 
๏ No additional hop in the network 
๏ Single Server to be managed 
๏ More suited for internal deployments 
๏ Cons 
๏ Complexity of integration at edge of network 
๏ API Management layer can’t really scale independently 
๏ Not appropriate for DMZ deployments (direct access to backend services)
29 
Separated Facade & 
Mediation 
๏ API Gateway Layer acts as simple reverse proxy, enforcing basic policies 
๏ Clear separation of concern between layers 
๏ Mediation layer and API management layer scale independently 
๏ Specific security checks/protection at edge of the network 
๏ Provides protocol transformation to the edge of the network
30 
Specific WSO2 Solution 
๏ Our API gateway is actually a full-blown ESB 
under the hood, constrained at UI level. 
๏ You can install the missing ESB features on top 
of API manager and combine both 
architecture layers into a single runtime! 
๏ Makes the choice a deployment one.
API-centric Challenges, 
Requirements, Use Cases 
๏ Enterprise Integration 
๏ Integrate with Enterprise Identity Management, Enterprise Security, and Enterprise Key 
Management Solution 
๏ Integrate with monitoring and statistics dashboard 
๏ Integrate with existing Service Gateways 
๏ Best Practices 
๏ Jump from internal services to external API – what practices are required? 
๏ How does API governance reconcile with service governance?
32 
Typical Deployment
33 
You can’t manage 
what you can’t measure.
34 
Why Analytics and API Management are important 
together? 
๏ Build confidence in the API model 
๏ Understand your customer 
๏ Not just the developer but also the end-user 
๏ Help manage services and versions 
๏ Understand when deprecated services can be retired 
๏ Plan better 
๏ Monitor the growth of aggregated API traffic 
๏ Monitor the growth of specific apps 
๏ Even if you’re not going to put analytics in place, make 
sure you capture all events right from beginning of 
project.
Event Streams 
35
Insight Architecture 
36
Brands Enhance Revenue
Six Steps 
๏ Define A Business Model 
๏ Build a Managed API 
๏ API Security 
๏ Reconcile Services and APIs Creation, Lifecycle and 
Governance 
๏ Enterprise Integration 
๏ API Branding and API as a Product == Yields => Monetization
39 
Download API Manager today! 
๏ http://wso2.com/products/ap 
i-manager/
Contact us !

Contenu connexe

Tendances

Mocking APIs Collaboratively with Postman
Mocking APIs Collaboratively with PostmanMocking APIs Collaboratively with Postman
Mocking APIs Collaboratively with PostmanNordic APIs
 
API SDK Development – Lessons Learned
API SDK Development – Lessons LearnedAPI SDK Development – Lessons Learned
API SDK Development – Lessons LearnedPronovix
 
Implement Web API with Swagger
Implement Web API with SwaggerImplement Web API with Swagger
Implement Web API with SwaggerJiang Wu
 
Scaling API Design - Nordic APIs 2014
Scaling API Design - Nordic APIs 2014Scaling API Design - Nordic APIs 2014
Scaling API Design - Nordic APIs 2014Jason Harmon
 
Scaling API Design
Scaling API DesignScaling API Design
Scaling API DesignJason Harmon
 
Swagger - make your API accessible
Swagger - make your API accessibleSwagger - make your API accessible
Swagger - make your API accessibleVictor Trakhtenberg
 
OpenAPI Spec at Google (Open API Initiative Meetup on 2016-09-15)
OpenAPI Spec at Google (Open API Initiative Meetup on 2016-09-15)OpenAPI Spec at Google (Open API Initiative Meetup on 2016-09-15)
OpenAPI Spec at Google (Open API Initiative Meetup on 2016-09-15)Open API Initiative (OAI)
 
Streamlining API with Swagger.io
Streamlining API with Swagger.ioStreamlining API with Swagger.io
Streamlining API with Swagger.ioVictor Augusteo
 
apidays LIVE Hong Kong 2021 - GraphQL : Beyond APIs, graph your enterprise by...
apidays LIVE Hong Kong 2021 - GraphQL : Beyond APIs, graph your enterprise by...apidays LIVE Hong Kong 2021 - GraphQL : Beyond APIs, graph your enterprise by...
apidays LIVE Hong Kong 2021 - GraphQL : Beyond APIs, graph your enterprise by...apidays
 
apidays LIVE Paris - The Augmented API Design Reviewer by Arnaud Lauret
apidays LIVE Paris - The Augmented API Design Reviewer by Arnaud Lauretapidays LIVE Paris - The Augmented API Design Reviewer by Arnaud Lauret
apidays LIVE Paris - The Augmented API Design Reviewer by Arnaud Lauretapidays
 
Swagger in the API Lifecycle
Swagger in the API LifecycleSwagger in the API Lifecycle
Swagger in the API LifecycleOle Lensmar
 
apidays LIVE Paris - How to build better and consistent APIs at scale by Sami...
apidays LIVE Paris - How to build better and consistent APIs at scale by Sami...apidays LIVE Paris - How to build better and consistent APIs at scale by Sami...
apidays LIVE Paris - How to build better and consistent APIs at scale by Sami...apidays
 
Scaling API Design
Scaling API DesignScaling API Design
Scaling API DesignJason Harmon
 
YAGNI, YMMV and APIs: building a hybrid strategy for your API platform.
YAGNI, YMMV and APIs: building a hybrid strategy for your API platform.YAGNI, YMMV and APIs: building a hybrid strategy for your API platform.
YAGNI, YMMV and APIs: building a hybrid strategy for your API platform.Diogo Lucas
 
Effective API Lifecycle Management
Effective API Lifecycle Management Effective API Lifecycle Management
Effective API Lifecycle Management SmartBear
 
Level 3 REST Makes Your API Browsable
Level 3 REST Makes Your API BrowsableLevel 3 REST Makes Your API Browsable
Level 3 REST Makes Your API BrowsableMatt Bishop
 
Introducing Swagger
Introducing SwaggerIntroducing Swagger
Introducing SwaggerTony Tam
 
Past, Present, Future of APIS
Past, Present, Future of APISPast, Present, Future of APIS
Past, Present, Future of APISJason Harmon
 
Pain Points In API Development? They’re Everywhere
Pain Points In API Development? They’re EverywherePain Points In API Development? They’re Everywhere
Pain Points In API Development? They’re EverywhereNordic APIs
 

Tendances (20)

Mocking APIs Collaboratively with Postman
Mocking APIs Collaboratively with PostmanMocking APIs Collaboratively with Postman
Mocking APIs Collaboratively with Postman
 
API SDK Development – Lessons Learned
API SDK Development – Lessons LearnedAPI SDK Development – Lessons Learned
API SDK Development – Lessons Learned
 
Implement Web API with Swagger
Implement Web API with SwaggerImplement Web API with Swagger
Implement Web API with Swagger
 
Scaling API Design - Nordic APIs 2014
Scaling API Design - Nordic APIs 2014Scaling API Design - Nordic APIs 2014
Scaling API Design - Nordic APIs 2014
 
Scaling API Design
Scaling API DesignScaling API Design
Scaling API Design
 
Swagger - make your API accessible
Swagger - make your API accessibleSwagger - make your API accessible
Swagger - make your API accessible
 
OpenAPI Spec at Google (Open API Initiative Meetup on 2016-09-15)
OpenAPI Spec at Google (Open API Initiative Meetup on 2016-09-15)OpenAPI Spec at Google (Open API Initiative Meetup on 2016-09-15)
OpenAPI Spec at Google (Open API Initiative Meetup on 2016-09-15)
 
Streamlining API with Swagger.io
Streamlining API with Swagger.ioStreamlining API with Swagger.io
Streamlining API with Swagger.io
 
apidays LIVE Hong Kong 2021 - GraphQL : Beyond APIs, graph your enterprise by...
apidays LIVE Hong Kong 2021 - GraphQL : Beyond APIs, graph your enterprise by...apidays LIVE Hong Kong 2021 - GraphQL : Beyond APIs, graph your enterprise by...
apidays LIVE Hong Kong 2021 - GraphQL : Beyond APIs, graph your enterprise by...
 
apidays LIVE Paris - The Augmented API Design Reviewer by Arnaud Lauret
apidays LIVE Paris - The Augmented API Design Reviewer by Arnaud Lauretapidays LIVE Paris - The Augmented API Design Reviewer by Arnaud Lauret
apidays LIVE Paris - The Augmented API Design Reviewer by Arnaud Lauret
 
Swagger in the API Lifecycle
Swagger in the API LifecycleSwagger in the API Lifecycle
Swagger in the API Lifecycle
 
apidays LIVE Paris - How to build better and consistent APIs at scale by Sami...
apidays LIVE Paris - How to build better and consistent APIs at scale by Sami...apidays LIVE Paris - How to build better and consistent APIs at scale by Sami...
apidays LIVE Paris - How to build better and consistent APIs at scale by Sami...
 
Scaling API Design
Scaling API DesignScaling API Design
Scaling API Design
 
Api Design
Api DesignApi Design
Api Design
 
YAGNI, YMMV and APIs: building a hybrid strategy for your API platform.
YAGNI, YMMV and APIs: building a hybrid strategy for your API platform.YAGNI, YMMV and APIs: building a hybrid strategy for your API platform.
YAGNI, YMMV and APIs: building a hybrid strategy for your API platform.
 
Effective API Lifecycle Management
Effective API Lifecycle Management Effective API Lifecycle Management
Effective API Lifecycle Management
 
Level 3 REST Makes Your API Browsable
Level 3 REST Makes Your API BrowsableLevel 3 REST Makes Your API Browsable
Level 3 REST Makes Your API Browsable
 
Introducing Swagger
Introducing SwaggerIntroducing Swagger
Introducing Swagger
 
Past, Present, Future of APIS
Past, Present, Future of APISPast, Present, Future of APIS
Past, Present, Future of APIS
 
Pain Points In API Development? They’re Everywhere
Pain Points In API Development? They’re EverywherePain Points In API Development? They’re Everywhere
Pain Points In API Development? They’re Everywhere
 

En vedette

Design First API's with RAML and SoapUI
Design First API's with RAML and SoapUIDesign First API's with RAML and SoapUI
Design First API's with RAML and SoapUIDaniel Feist
 
API Management Workshop (at Startupbootcamp Berlin)
API Management Workshop (at Startupbootcamp Berlin)API Management Workshop (at Startupbootcamp Berlin)
API Management Workshop (at Startupbootcamp Berlin)3scale
 
10 Tips for Creating Great User Stories
10 Tips for Creating Great User Stories10 Tips for Creating Great User Stories
10 Tips for Creating Great User StoriesRoman Pichler
 
Become a Great Product Manager
Become a Great Product ManagerBecome a Great Product Manager
Become a Great Product ManagerRoman Pichler
 
Funding and Reorganizing in an Economic Downturn
Funding and Reorganizing in an Economic DownturnFunding and Reorganizing in an Economic Downturn
Funding and Reorganizing in an Economic DownturnDr. Shayne Tracy CMC OCC
 
AIA Milwaukee 2013 Year In Review
AIA Milwaukee 2013 Year In ReviewAIA Milwaukee 2013 Year In Review
AIA Milwaukee 2013 Year In ReviewBrenda Taylor
 
Are you in the right vehicle for your journey
Are you in the right vehicle for your journeyAre you in the right vehicle for your journey
Are you in the right vehicle for your journeyRuss Thornton
 
Arup Driving Data Centre Efficiency Through Virtual Reality (Web Version)
Arup Driving Data Centre Efficiency Through Virtual Reality (Web Version)Arup Driving Data Centre Efficiency Through Virtual Reality (Web Version)
Arup Driving Data Centre Efficiency Through Virtual Reality (Web Version)Stuart Hall
 
Highlighting Library Collections
Highlighting Library CollectionsHighlighting Library Collections
Highlighting Library Collectionsjohnbickar
 
Workshop Erfgoedhuis Zh
Workshop Erfgoedhuis ZhWorkshop Erfgoedhuis Zh
Workshop Erfgoedhuis ZhPetra1010
 
OpenID Foundation Presentation to CIO Organization of Multnomah County, Oregon
OpenID Foundation Presentation to CIO Organization of Multnomah County, OregonOpenID Foundation Presentation to CIO Organization of Multnomah County, Oregon
OpenID Foundation Presentation to CIO Organization of Multnomah County, OregonMatterport
 
ORM: Por que isso te interessa? (TDC2010)
ORM: Por que isso te interessa? (TDC2010)ORM: Por que isso te interessa? (TDC2010)
ORM: Por que isso te interessa? (TDC2010)Antonio Zegunis
 
Samsung Galaxy S - Sydney Mobile User Group (August 2010)
Samsung Galaxy S - Sydney Mobile User Group (August 2010)Samsung Galaxy S - Sydney Mobile User Group (August 2010)
Samsung Galaxy S - Sydney Mobile User Group (August 2010)Neerav Bhatt
 
Presentation judyfeb2012
Presentation judyfeb2012Presentation judyfeb2012
Presentation judyfeb2012aileenwilson
 

En vedette (20)

Design First API's with RAML and SoapUI
Design First API's with RAML and SoapUIDesign First API's with RAML and SoapUI
Design First API's with RAML and SoapUI
 
API Management Workshop (at Startupbootcamp Berlin)
API Management Workshop (at Startupbootcamp Berlin)API Management Workshop (at Startupbootcamp Berlin)
API Management Workshop (at Startupbootcamp Berlin)
 
UX and Scrum
UX and ScrumUX and Scrum
UX and Scrum
 
10 Tips for Creating Great User Stories
10 Tips for Creating Great User Stories10 Tips for Creating Great User Stories
10 Tips for Creating Great User Stories
 
Become a Great Product Manager
Become a Great Product ManagerBecome a Great Product Manager
Become a Great Product Manager
 
Funding and Reorganizing in an Economic Downturn
Funding and Reorganizing in an Economic DownturnFunding and Reorganizing in an Economic Downturn
Funding and Reorganizing in an Economic Downturn
 
AIA Milwaukee 2013 Year In Review
AIA Milwaukee 2013 Year In ReviewAIA Milwaukee 2013 Year In Review
AIA Milwaukee 2013 Year In Review
 
Hashtag Marketing by Amex
Hashtag Marketing by Amex Hashtag Marketing by Amex
Hashtag Marketing by Amex
 
Odyssey: The Business of Consulting
Odyssey: The Business of ConsultingOdyssey: The Business of Consulting
Odyssey: The Business of Consulting
 
Are you in the right vehicle for your journey
Are you in the right vehicle for your journeyAre you in the right vehicle for your journey
Are you in the right vehicle for your journey
 
2ScsT141b
2ScsT141b2ScsT141b
2ScsT141b
 
Arup Driving Data Centre Efficiency Through Virtual Reality (Web Version)
Arup Driving Data Centre Efficiency Through Virtual Reality (Web Version)Arup Driving Data Centre Efficiency Through Virtual Reality (Web Version)
Arup Driving Data Centre Efficiency Through Virtual Reality (Web Version)
 
Circular1
Circular1Circular1
Circular1
 
Highlighting Library Collections
Highlighting Library CollectionsHighlighting Library Collections
Highlighting Library Collections
 
Workshop Erfgoedhuis Zh
Workshop Erfgoedhuis ZhWorkshop Erfgoedhuis Zh
Workshop Erfgoedhuis Zh
 
Va4
Va4Va4
Va4
 
OpenID Foundation Presentation to CIO Organization of Multnomah County, Oregon
OpenID Foundation Presentation to CIO Organization of Multnomah County, OregonOpenID Foundation Presentation to CIO Organization of Multnomah County, Oregon
OpenID Foundation Presentation to CIO Organization of Multnomah County, Oregon
 
ORM: Por que isso te interessa? (TDC2010)
ORM: Por que isso te interessa? (TDC2010)ORM: Por que isso te interessa? (TDC2010)
ORM: Por que isso te interessa? (TDC2010)
 
Samsung Galaxy S - Sydney Mobile User Group (August 2010)
Samsung Galaxy S - Sydney Mobile User Group (August 2010)Samsung Galaxy S - Sydney Mobile User Group (August 2010)
Samsung Galaxy S - Sydney Mobile User Group (August 2010)
 
Presentation judyfeb2012
Presentation judyfeb2012Presentation judyfeb2012
Presentation judyfeb2012
 

Similaire à Six Steps To Build A Successful API

API, Integration, and SOA Convergence
API, Integration, and SOA ConvergenceAPI, Integration, and SOA Convergence
API, Integration, and SOA ConvergenceKasun Indrasiri
 
Reshape Integration - Think Beyond the ESB
Reshape Integration - Think Beyond the ESBReshape Integration - Think Beyond the ESB
Reshape Integration - Think Beyond the ESBWSO2
 
Delivering New Digital Experiences Fast - Introducing Choreo
Delivering New Digital Experiences Fast - Introducing ChoreoDelivering New Digital Experiences Fast - Introducing Choreo
Delivering New Digital Experiences Fast - Introducing ChoreoWSO2
 
The Best of Both Worlds: Introducing WSO2 API Manager 4.0.0
The Best of Both Worlds: Introducing WSO2 API Manager 4.0.0The Best of Both Worlds: Introducing WSO2 API Manager 4.0.0
The Best of Both Worlds: Introducing WSO2 API Manager 4.0.0WSO2
 
WSO2 User Group Bangalore Meetup
WSO2 User Group Bangalore MeetupWSO2 User Group Bangalore Meetup
WSO2 User Group Bangalore MeetupWSO2
 
API Management within a Microservice Architecture
API Management within a Microservice ArchitectureAPI Management within a Microservice Architecture
API Management within a Microservice ArchitectureWSO2
 
API Management Within a Microservices Architecture
API Management Within a Microservices Architecture API Management Within a Microservices Architecture
API Management Within a Microservices Architecture Nadeesha Gamage
 
Introducing The WSO2 Platform
Introducing The WSO2 Platform Introducing The WSO2 Platform
Introducing The WSO2 Platform WSO2
 
ESB Evaluation Framework
ESB Evaluation Framework ESB Evaluation Framework
ESB Evaluation Framework WSO2
 
webMethods 10.5 and webMethods.io Integration: Everything You Must Know
webMethods 10.5 and webMethods.io Integration: Everything You Must KnowwebMethods 10.5 and webMethods.io Integration: Everything You Must Know
webMethods 10.5 and webMethods.io Integration: Everything You Must KnowKellton Tech Solutions Ltd
 
WSO2- OSC Korea - Accelerating Digital Businesses with APIs
WSO2- OSC Korea - Accelerating Digital Businesses with APIsWSO2- OSC Korea - Accelerating Digital Businesses with APIs
WSO2- OSC Korea - Accelerating Digital Businesses with APIsWSO2
 
API Management in Digital Transformation
API Management in Digital TransformationAPI Management in Digital Transformation
API Management in Digital TransformationAditya Thatte
 
SOA and API Convergence
SOA and API Convergence SOA and API Convergence
SOA and API Convergence WSO2
 
5 Pillars of Building Enterprise0grade APIs
5 Pillars of Building Enterprise0grade APIs5 Pillars of Building Enterprise0grade APIs
5 Pillars of Building Enterprise0grade APIsWSO2
 
Meetup 2022 - API Gateway landscape.pdf
Meetup 2022 - API Gateway landscape.pdfMeetup 2022 - API Gateway landscape.pdf
Meetup 2022 - API Gateway landscape.pdfLuca Mattia Ferrari
 
INTERFACE by apidays - API Success: Running a Successful API Program by Nelso...
INTERFACE by apidays - API Success: Running a Successful API Program by Nelso...INTERFACE by apidays - API Success: Running a Successful API Program by Nelso...
INTERFACE by apidays - API Success: Running a Successful API Program by Nelso...apidays
 
API Gateways are going through an identity crisis
API Gateways are going through an identity crisisAPI Gateways are going through an identity crisis
API Gateways are going through an identity crisisChristian Posta
 
APIs for biz dev 2.0 - Which business model to win in the API Economy?
APIs for biz dev 2.0 - Which business model to win in the API Economy?APIs for biz dev 2.0 - Which business model to win in the API Economy?
APIs for biz dev 2.0 - Which business model to win in the API Economy?3scale
 
Exposing Business Functionalities with SOA, Integration and API Management
Exposing Business Functionalities with SOA, Integration and API ManagementExposing Business Functionalities with SOA, Integration and API Management
Exposing Business Functionalities with SOA, Integration and API ManagementWSO2
 

Similaire à Six Steps To Build A Successful API (20)

API, Integration, and SOA Convergence
API, Integration, and SOA ConvergenceAPI, Integration, and SOA Convergence
API, Integration, and SOA Convergence
 
Reshape Integration - Think Beyond the ESB
Reshape Integration - Think Beyond the ESBReshape Integration - Think Beyond the ESB
Reshape Integration - Think Beyond the ESB
 
Delivering New Digital Experiences Fast - Introducing Choreo
Delivering New Digital Experiences Fast - Introducing ChoreoDelivering New Digital Experiences Fast - Introducing Choreo
Delivering New Digital Experiences Fast - Introducing Choreo
 
The Best of Both Worlds: Introducing WSO2 API Manager 4.0.0
The Best of Both Worlds: Introducing WSO2 API Manager 4.0.0The Best of Both Worlds: Introducing WSO2 API Manager 4.0.0
The Best of Both Worlds: Introducing WSO2 API Manager 4.0.0
 
WSO2 User Group Bangalore Meetup
WSO2 User Group Bangalore MeetupWSO2 User Group Bangalore Meetup
WSO2 User Group Bangalore Meetup
 
API Management within a Microservice Architecture
API Management within a Microservice ArchitectureAPI Management within a Microservice Architecture
API Management within a Microservice Architecture
 
API Management Within a Microservices Architecture
API Management Within a Microservices Architecture API Management Within a Microservices Architecture
API Management Within a Microservices Architecture
 
Introducing The WSO2 Platform
Introducing The WSO2 Platform Introducing The WSO2 Platform
Introducing The WSO2 Platform
 
ESB Evaluation Framework
ESB Evaluation Framework ESB Evaluation Framework
ESB Evaluation Framework
 
webMethods 10.5 and webMethods.io Integration: Everything You Must Know
webMethods 10.5 and webMethods.io Integration: Everything You Must KnowwebMethods 10.5 and webMethods.io Integration: Everything You Must Know
webMethods 10.5 and webMethods.io Integration: Everything You Must Know
 
Guide to an API-first Strategy
Guide to an API-first StrategyGuide to an API-first Strategy
Guide to an API-first Strategy
 
WSO2- OSC Korea - Accelerating Digital Businesses with APIs
WSO2- OSC Korea - Accelerating Digital Businesses with APIsWSO2- OSC Korea - Accelerating Digital Businesses with APIs
WSO2- OSC Korea - Accelerating Digital Businesses with APIs
 
API Management in Digital Transformation
API Management in Digital TransformationAPI Management in Digital Transformation
API Management in Digital Transformation
 
SOA and API Convergence
SOA and API Convergence SOA and API Convergence
SOA and API Convergence
 
5 Pillars of Building Enterprise0grade APIs
5 Pillars of Building Enterprise0grade APIs5 Pillars of Building Enterprise0grade APIs
5 Pillars of Building Enterprise0grade APIs
 
Meetup 2022 - API Gateway landscape.pdf
Meetup 2022 - API Gateway landscape.pdfMeetup 2022 - API Gateway landscape.pdf
Meetup 2022 - API Gateway landscape.pdf
 
INTERFACE by apidays - API Success: Running a Successful API Program by Nelso...
INTERFACE by apidays - API Success: Running a Successful API Program by Nelso...INTERFACE by apidays - API Success: Running a Successful API Program by Nelso...
INTERFACE by apidays - API Success: Running a Successful API Program by Nelso...
 
API Gateways are going through an identity crisis
API Gateways are going through an identity crisisAPI Gateways are going through an identity crisis
API Gateways are going through an identity crisis
 
APIs for biz dev 2.0 - Which business model to win in the API Economy?
APIs for biz dev 2.0 - Which business model to win in the API Economy?APIs for biz dev 2.0 - Which business model to win in the API Economy?
APIs for biz dev 2.0 - Which business model to win in the API Economy?
 
Exposing Business Functionalities with SOA, Integration and API Management
Exposing Business Functionalities with SOA, Integration and API ManagementExposing Business Functionalities with SOA, Integration and API Management
Exposing Business Functionalities with SOA, Integration and API Management
 

Plus de Chris Haddad

High Productivity Platform
High Productivity PlatformHigh Productivity Platform
High Productivity PlatformChris Haddad
 
Lightweight ESB Alternatives
Lightweight ESB AlternativesLightweight ESB Alternatives
Lightweight ESB AlternativesChris Haddad
 
Eight Miles High: Build Cloud-native and Cloud-aware Systems
Eight Miles High: Build Cloud-native and Cloud-aware SystemsEight Miles High: Build Cloud-native and Cloud-aware Systems
Eight Miles High: Build Cloud-native and Cloud-aware SystemsChris Haddad
 
Cloaking Devices, CyberPersonas, and Neutral Zones
Cloaking Devices, CyberPersonas, and Neutral ZonesCloaking Devices, CyberPersonas, and Neutral Zones
Cloaking Devices, CyberPersonas, and Neutral ZonesChris Haddad
 
Steampunk App Servers in
Steampunk App Servers in Steampunk App Servers in
Steampunk App Servers in Chris Haddad
 
Bring N-Tier Apps to containers 2015 ContainerCon
Bring N-Tier Apps to containers  2015 ContainerConBring N-Tier Apps to containers  2015 ContainerCon
Bring N-Tier Apps to containers 2015 ContainerConChris Haddad
 
Overcome DevOps Adoption Barriers to Accelerate Software Delivery
Overcome DevOps Adoption Barriers to Accelerate Software DeliveryOvercome DevOps Adoption Barriers to Accelerate Software Delivery
Overcome DevOps Adoption Barriers to Accelerate Software DeliveryChris Haddad
 
Who is Accessing My API?
Who is Accessing My API?Who is Accessing My API?
Who is Accessing My API?Chris Haddad
 
Deploy at scale with CoreOS Kubernetes and Apache Stratos
Deploy at scale with CoreOS Kubernetes and Apache StratosDeploy at scale with CoreOS Kubernetes and Apache Stratos
Deploy at scale with CoreOS Kubernetes and Apache StratosChris Haddad
 
Merging microservices architecture with SOA practices
Merging microservices architecture with SOA practicesMerging microservices architecture with SOA practices
Merging microservices architecture with SOA practicesChris Haddad
 
Connected Architecture Fabric Creating a Connected World
Connected Architecture Fabric Creating a Connected WorldConnected Architecture Fabric Creating a Connected World
Connected Architecture Fabric Creating a Connected WorldChris Haddad
 
Establishing SOA Focused Enterprise Architecture
Establishing SOA Focused Enterprise ArchitectureEstablishing SOA Focused Enterprise Architecture
Establishing SOA Focused Enterprise ArchitectureChris Haddad
 
Java PaaS Apache Stratos
Java PaaS   Apache StratosJava PaaS   Apache Stratos
Java PaaS Apache StratosChris Haddad
 
Spreadsheets To API
Spreadsheets To APISpreadsheets To API
Spreadsheets To APIChris Haddad
 
Shadow IT Risk and Reward
Shadow IT Risk and RewardShadow IT Risk and Reward
Shadow IT Risk and RewardChris Haddad
 
Gaining Startup Speed with DevOps PaaS
Gaining Startup Speed with DevOps PaaSGaining Startup Speed with DevOps PaaS
Gaining Startup Speed with DevOps PaaSChris Haddad
 
Enabling cloud-native, complex enterprise development and deployment in the C...
Enabling cloud-native, complex enterprise development and deployment in the C...Enabling cloud-native, complex enterprise development and deployment in the C...
Enabling cloud-native, complex enterprise development and deployment in the C...Chris Haddad
 
Business driven IT design
Business driven IT designBusiness driven IT design
Business driven IT designChris Haddad
 
SOA and API Convergence Strategy and Tactics
SOA and API Convergence Strategy and TacticsSOA and API Convergence Strategy and Tactics
SOA and API Convergence Strategy and TacticsChris Haddad
 
Responsive IT and Connected Business
Responsive IT and Connected BusinessResponsive IT and Connected Business
Responsive IT and Connected BusinessChris Haddad
 

Plus de Chris Haddad (20)

High Productivity Platform
High Productivity PlatformHigh Productivity Platform
High Productivity Platform
 
Lightweight ESB Alternatives
Lightweight ESB AlternativesLightweight ESB Alternatives
Lightweight ESB Alternatives
 
Eight Miles High: Build Cloud-native and Cloud-aware Systems
Eight Miles High: Build Cloud-native and Cloud-aware SystemsEight Miles High: Build Cloud-native and Cloud-aware Systems
Eight Miles High: Build Cloud-native and Cloud-aware Systems
 
Cloaking Devices, CyberPersonas, and Neutral Zones
Cloaking Devices, CyberPersonas, and Neutral ZonesCloaking Devices, CyberPersonas, and Neutral Zones
Cloaking Devices, CyberPersonas, and Neutral Zones
 
Steampunk App Servers in
Steampunk App Servers in Steampunk App Servers in
Steampunk App Servers in
 
Bring N-Tier Apps to containers 2015 ContainerCon
Bring N-Tier Apps to containers  2015 ContainerConBring N-Tier Apps to containers  2015 ContainerCon
Bring N-Tier Apps to containers 2015 ContainerCon
 
Overcome DevOps Adoption Barriers to Accelerate Software Delivery
Overcome DevOps Adoption Barriers to Accelerate Software DeliveryOvercome DevOps Adoption Barriers to Accelerate Software Delivery
Overcome DevOps Adoption Barriers to Accelerate Software Delivery
 
Who is Accessing My API?
Who is Accessing My API?Who is Accessing My API?
Who is Accessing My API?
 
Deploy at scale with CoreOS Kubernetes and Apache Stratos
Deploy at scale with CoreOS Kubernetes and Apache StratosDeploy at scale with CoreOS Kubernetes and Apache Stratos
Deploy at scale with CoreOS Kubernetes and Apache Stratos
 
Merging microservices architecture with SOA practices
Merging microservices architecture with SOA practicesMerging microservices architecture with SOA practices
Merging microservices architecture with SOA practices
 
Connected Architecture Fabric Creating a Connected World
Connected Architecture Fabric Creating a Connected WorldConnected Architecture Fabric Creating a Connected World
Connected Architecture Fabric Creating a Connected World
 
Establishing SOA Focused Enterprise Architecture
Establishing SOA Focused Enterprise ArchitectureEstablishing SOA Focused Enterprise Architecture
Establishing SOA Focused Enterprise Architecture
 
Java PaaS Apache Stratos
Java PaaS   Apache StratosJava PaaS   Apache Stratos
Java PaaS Apache Stratos
 
Spreadsheets To API
Spreadsheets To APISpreadsheets To API
Spreadsheets To API
 
Shadow IT Risk and Reward
Shadow IT Risk and RewardShadow IT Risk and Reward
Shadow IT Risk and Reward
 
Gaining Startup Speed with DevOps PaaS
Gaining Startup Speed with DevOps PaaSGaining Startup Speed with DevOps PaaS
Gaining Startup Speed with DevOps PaaS
 
Enabling cloud-native, complex enterprise development and deployment in the C...
Enabling cloud-native, complex enterprise development and deployment in the C...Enabling cloud-native, complex enterprise development and deployment in the C...
Enabling cloud-native, complex enterprise development and deployment in the C...
 
Business driven IT design
Business driven IT designBusiness driven IT design
Business driven IT design
 
SOA and API Convergence Strategy and Tactics
SOA and API Convergence Strategy and TacticsSOA and API Convergence Strategy and Tactics
SOA and API Convergence Strategy and Tactics
 
Responsive IT and Connected Business
Responsive IT and Connected BusinessResponsive IT and Connected Business
Responsive IT and Connected Business
 

Six Steps To Build A Successful API

  • 1. Six Tactics For Building Successful APIs Chris Haddad VP Platform Evangelism Last Updated: Jan. 2014
  • 2. 2 About the Presenter • VP Platform Evangelism • F500/G2000 Advisor • Cloudy DevOps for Dev guy • API Strategy and SOA Roadmap consultant • Architect • SaaS and PaaS • Service portfolio and infrastructure • Java, .NET, JavaScript, Open Source • Learn more about me • Follow me @cobiacomm on Twitter • Blog: http://blog.cobia.net/cobiacomm • Decks: http://www.slideshare.net/cobiacomm/ • Profle: http://www.linkedin.com/in/cobiacomm/ • On Google+ too
  • 3. What architecture goal-state is required? http://edcforums.com/threads/the-atwood-collectors-thread-part-2.101226/page-5
  • 4. Old IT  Responsive IT
  • 5. Engage your customers and partners Mobility, Internet of Everything, and Ecosystem Business Models are Transforming The Web
  • 6. APIs Fit Into A Bigger IT Picture
  • 8. Architecture Focus Areas Integration Expose Services as APIs Big Data Streams and Analytics
  • 9. Architecture Focus Areas Identity and Entitlement Management Cloud AppDev Developer Studio App Factory AS incl. Jaggery), UES, DSS,
  • 10.
  • 11. Enterprise Service Bus Component Architecture
  • 12. API-centric Focus An API is a business capability delivered over the Internet to internal or external consumers ๏ Network accessible function ๏ Available using standard web protocols ๏ With well-defined interfaces ๏ Designed for access by third-parties
  • 13. API-centric Focus A Managed API is: ๏ Actively advertised and subscribe-able ๏ Available with SLAs ๏ Secured, authenticated, authorized and protected ๏ Monitored and monetized with analytics
  • 14. 14 API Centric Capabilities
  • 15. API-centric Integration Capabilities ๏ Expose APIs for public consumption ๏ Extend your business through APIs. ๏ API Branding ๏ Expose APIs for internal consumption ๏ Manage the APIs used in internal applications ๏ Detect Usage Patterns ๏ Internal Monetization ๏ Control Access to Cloud Services ๏ Manage and Secure access from internal applications to cloud services (SalesForce, Google Apps, etc.) and between cloud-to-cloud interactions
  • 16. 16 API Management Platform Capabilities ๏ What the platform must do, at a minimum: ๏ Users Management (self-sign up, profile management) ๏ API Publication / API Store ๏ API Security ๏ Statistics ๏ SLA control ๏ Throttling / Rate Limiting ๏ API Versioning ๏ Monetization/Billing ๏ and more ! ๏ You could build all of this yourself, but...
  • 17. Open API and Collaboration
  • 18. Enterprise SOA and API Integration Platform: API-centric View
  • 19. Six Steps ๏ Define A Business Model ๏ Build a Managed API ๏ API Security ๏ Reconcile Services and APIs Creation, Lifecycle and Governance ๏ Enterprise Integration ๏ API Branding and API as a Product == Yields => Monetization
  • 20. 20 Define a Business Model ๏ What are the business goals ? ๏ Enable 3rd-party Mobile Apps development ? ๏ Increase brand recognition ? ๏ Open new revenue channels ? ๏ Define Monetization model ๏ Free ? ๏ Pay per usage ? ๏ Free APIs, but paid via Ads
  • 21. 21 Building a Managed API ๏ Creating APIs (interface, docs, samples,etc.) ๏ Advertising APIs ๏ Making APIs subscribe-able by consumers ๏ Associating SLAs ๏ Securing APIs ๏ Monetization and Analytics
  • 22. 22 Services and APIs ๏ Service deals with implementation ๏ API deals with subscription (consumer) ๏ Two very distinct life cycles ! ๏ You don’t need the service to create the API...
  • 23. 23 API Versioning Strategies ๏ Version as a query parameter ๏ Netflix - http://api.netflix.com/catalog/titles/series/70023522?v=1.5 ๏ Google Data API - “GData-Version: X.0″ or “v=X.0″ ๏ Version as part of URI ๏ Salesforce - https://na1.salesforce.com/services/data/v20.0/sobjects/Account/ ๏ Twitter - https://api.twitter.com/1.1/statuses/mentions_timeline.json ๏ Version as a date in URI ๏ Twilio - /2010-04-01/Accounts/{AccountSid}/Calls ๏ http://www.twilio.com/docs/api/rest/making-calls ๏ Version as a ๏ Custom HTTP Header ๏ Accept Header
  • 24. 24 API Lifecycle ๏ An API can pass through multiple states ๏ For example: ๏ CREATED ๏ PUBLISHED ๏ DEPRECATED ๏ RETIRED ๏ BLOCKED ๏ Should integrate with complete governance lifecycle
  • 25. 25 API Security ๏ Security is not an after thought ! ๏ APIs are part of a much larger enterprise picture ๏ How will consumers request an access token ? ๏ Using a SAML 2.0 assertion ? ๏ Using client_credentials ? ๏ Using userid/password ? ๏ Make sure you document thoroughly how developers need to manage tokens: ๏ Tokens are like passwords!
  • 26. 26 Fine-grained access to APIs ๏ OAuth2 is all about access control: a token is associated to a scope. ๏ XACML (eXtensible Access Control Markup Language) is the de-facto standard for fine-grained access control. ๏ OAuth scope can be represented in XACML policies ๏ Provides fine grain control over what a user/application can do ( i.e. you can call GET but not POST on an API)
  • 27. 27 Passing Auth Information to back-end services ๏ Using JSON Web Tokens (JWT) ๏ Lightweight ๏ Can be signed ๏ Easy to parse and consume ๏ Standard
  • 28. 28 Generic Facade Pattern ๏ Pros ๏ No additional hop in the network ๏ Single Server to be managed ๏ More suited for internal deployments ๏ Cons ๏ Complexity of integration at edge of network ๏ API Management layer can’t really scale independently ๏ Not appropriate for DMZ deployments (direct access to backend services)
  • 29. 29 Separated Facade & Mediation ๏ API Gateway Layer acts as simple reverse proxy, enforcing basic policies ๏ Clear separation of concern between layers ๏ Mediation layer and API management layer scale independently ๏ Specific security checks/protection at edge of the network ๏ Provides protocol transformation to the edge of the network
  • 30. 30 Specific WSO2 Solution ๏ Our API gateway is actually a full-blown ESB under the hood, constrained at UI level. ๏ You can install the missing ESB features on top of API manager and combine both architecture layers into a single runtime! ๏ Makes the choice a deployment one.
  • 31. API-centric Challenges, Requirements, Use Cases ๏ Enterprise Integration ๏ Integrate with Enterprise Identity Management, Enterprise Security, and Enterprise Key Management Solution ๏ Integrate with monitoring and statistics dashboard ๏ Integrate with existing Service Gateways ๏ Best Practices ๏ Jump from internal services to external API – what practices are required? ๏ How does API governance reconcile with service governance?
  • 33. 33 You can’t manage what you can’t measure.
  • 34. 34 Why Analytics and API Management are important together? ๏ Build confidence in the API model ๏ Understand your customer ๏ Not just the developer but also the end-user ๏ Help manage services and versions ๏ Understand when deprecated services can be retired ๏ Plan better ๏ Monitor the growth of aggregated API traffic ๏ Monitor the growth of specific apps ๏ Even if you’re not going to put analytics in place, make sure you capture all events right from beginning of project.
  • 38. Six Steps ๏ Define A Business Model ๏ Build a Managed API ๏ API Security ๏ Reconcile Services and APIs Creation, Lifecycle and Governance ๏ Enterprise Integration ๏ API Branding and API as a Product == Yields => Monetization
  • 39. 39 Download API Manager today! ๏ http://wso2.com/products/ap i-manager/

Notes de l'éditeur

  1. http://www.candlepowerforums.com/vb/showthread.php?140691-The-Official-Atwood-collectors-thread/page7
  2. Mobility, Internet of Everything, and Ecosystem Business Models are Transforming The Web towards a new interaction model, and businesses must adapt. Without adapting business practices and IT systems towards web API interaction, organizations will be unable to maintain or increase engagement with customers and partners.   People are shifting away from destination sites (e.g. Yahoo, Google Search, CNET, CNN) and social networks (e.g. Facebook, Twitter) towards accessing information and interacting with businesses using Web APIs and local apps.
  3. When defining a roadmap to align IT’s pace with business agility expectations, establish IT team objectives that quicken IT solution development and delivery, offer new technology as on-demand shared services, and enhance your team’s ability to rapidly satisfy emerging business use cases (e.g. social collaboration, mobile application connectivity, ecosystem partnering). Open source PaaS, Open APIs, and Open Ecosystems are accelerating agility, empowering developers, and enabling innovative business strategies.  In a recently published white paper, I describe how adopting a New IT plan can create a responsive IT team. The path to New IT requires moving away from traditional application platforms, traditional team structure, and traditional information flows.  Responsive IT teams are adapting their infrastructure, processes and tooling to re-invent the application platform and re-think application delivery.  The New IT architecture underlying Responsive IT intelligently incorporates Cloud Platforms, BigData Analytics, Enterprise DevOps, and API first development.
  4. Open APIs are empowering developers by delivering business building blocks. Teams can rapidly compose solutions to meet shifting business demand by re-using Open Data and Open APIs. Teams are embracing long tail development communities that enable innovative business ecosystem strategies to emerge, with Open Data and Open API foundations. In a New IT operations model, instead of being a single-purpose delivery team, IT serves as a broker and validator of solution building blocks. Manage APIs for external value chain and customer use in mobile Apps. Establish tiers of service, track usage of APIs, social data collection, social data analytics, versioning. Also use internally to track internal re-use, ease of re-use, control access “Layer 7 and Wso2 Blend service integration and a good api Consumer experience. Most API management adopters among our clients will need to build their corporate platforms on existing systems and integration efforts. So they will need a good client app developer portal, traffic management sophistication, and the means to map, convert, and manage existing service endpoints.”* * The Forrester WaveTM: API Management Platforms, Q1 2013 By Eve Maler and Jeffrey s. Hammond, February 5, 2013
  5. Which platform components are in your architecture?
  6. API brands enable you to build mindshare with your target audience. Mindshare increases API visibility; visibility encourages individuals (and devices) to discover and evaluate your API. API evaluation triggers API adoption, and adoption realizes your goals (i.e. increased interaction and revenue growth). Execute a virtuous API branding cycle.