SlideShare a Scribd company logo
All rights reserved by Postman Inc
How to Win Friends
and Influence People
with API First
Arlemi Turpault
Senior Developer Advocate
17 million
@arlemi
@arlemi
What does API-first mean?
Benefits of becoming API-first
Practical tools and workflows
Industry examples
Key points
1
2
3
4
5
Agenda
@arlemi
2022 SERIES OF EVENT
New York
JULY
(HYBRID)
Australia
SEPTEMBER
(HYBRID)
Singapore
APRIL
(VIRTUAL)
Helsinki & North
MARCH
(VIRTUAL)
Paris
DECEMBER
(HYBRID)
London
OCTOBER
(HYBRID)
Hong Kong
AUGUST
(VIRTUAL)
JUNE (VIRTUAL)
India
MAY
(VIRTUAL)
APRIL (VIRTUAL)
Dubai & Middle East
JUNE
(VIRTUAL)
Check out our API Conferences here
Wa nt t o t a lk a t one of our conference?
Apply t o spea k here
What does API-First mean
to you?
@arlemi
Code-First Development
@arlemi
CORE
FUNCTIONALITY
API web app
admin app
mobile app
microservice
API
All of the code that was built for
the website then had to be
rebuilt in our API to be used by
our iOS and Android apps.
Stephanie Schirmer
Etsy
“
@arlemi
@arlemi
API-First Development
@arlemi
API web app
admin app
mobile app
consume
commit
Code-First
code
IDE
integration
development
environment
integrate
test
debug
document
ADE
API
development
environment
run tests
deploy
Source control
repository
@arlemi
Problems with a traditional code-first approach
● Bottlenecks delay contributors and consumers
● Rework late in the development cycle
● Building stuff no one wants
● End product is inadequately documented
● API is constrained by the data model and business logic
How not to make friends
@arlemi
commit
code gen
API-First
code
IDE
integration
development
environment
integrate
design
mock
write tests
ADE
API
development
environment
deploy
Source control
repository
run tests
@arlemi
Benefits of an API-first approach
● Earlier validation
● Decoupling dependencies
● Faster growth
● Freedom from constraints
How to make friends
@arlemi
A single team should not become a bottleneck nor
need to have expertise on every client application
to create optimized endpoints. Rapid innovation
through fast, decoupled development cycles across
a wide variety of device types and distributed
ownership and expertise across teams should be
enabled.
Ben Christensen
Netflix
“
@arlemi
@arlemi
API-First
schema
API-first
Defining and
designing APIs and
schema before
development
interface
API-first
Developing APIs
before developing
applications or
integrations
business
requirements
API-first
Defining business
requirements before
defining and
designing APIs
33%
39%
14%
@arlemi
@arlemi
Embracing API-First
API-First
schema
API-first
Defining and
designing APIs and
schema before
development
interface
API-first
Developing APIs
before developing
applications or
integrations
business
requirements
API-first
Defining business
requirements before
defining and
designing APIs
33%
39%
14%
@arlemi
What are tools and workflows
for becoming API-first?
Common API-first tools and workflows
● API specifications
● Mock servers
● Consumer-driven contract (CDC) testing
How do you transform a cluttered API
development workflow?
@arlemi
API
Specifications
API specifications
@arlemi
@arlemi
Most widely adopted schema types
August 2021
Findings
Swagger v1, WADL, and RAML have
minimal usage
OpenAPI v2 has the largest market
share, but is declining
OpenAPI v3 has the largest growth
rate YTD, more than accounting for
people transitioning from other
schema types
@arlemi
OpenAPI
Mock Servers
Generate mock servers from OpenAPI
Mock Servers
for prototyping new services
Generated from API specification
Based on paired requests and responses (examples)
for each endpoint
@arlemi
Prototype new services
Enables parallel development using the mock
endpoints
Consumer-Driven
Contract (CDC)
Testing
@arlemi
CDC testing
for ensuring providers fulfill consumer expectations
@arlemi
Provider issues specification
Provider proposes the terms of the contract in the
specification
CDC testing
for ensuring providers fulfill consumer expectations
Consumers write tests
Consumers test only the endpoints and properties
they consume
@arlemi
Provider issues specification
Provider proposes the terms of the contract in the
specification
CDC testing
for ensuring providers fulfill consumer expectations
Consumers write tests
Consumers test only the endpoints and properties
they consume
@arlemi
Provider issues specification
Provider proposes the terms of the contract in the
specification
Contract
Explicit agreement about how the API will be used
between provider and consumers
CDC testing
for ensuring providers fulfill consumer expectations
Consumers write tests
Consumers test only the endpoints and properties
they consume
@arlemi
Provider issues specification
Provider proposes the terms of the contract in the
specification
Contract
Explicit agreement about how the API will be used
between provider and consumers
Provider runs tests
Provider runs consumers’ tests as part of their
deployment pipeline
API-first workflow for Postman ENG
mock servers
Parallel Development
Generate mocks to
enable parallel
development
CDC testing
CI/CD
Ensure no breaking
changes for
microservices
specification
Blueprint
Blueprint collection
to propose a new
API
@arlemi
What are the key points for
becoming API-first?
Various meanings of API-First
● API-first development: when developing new functionality, the
functionality should first be exposed as an API in your organization
● API-first design: planning the functionality (specification)
○ What functionality will the API have?
○ What data will it expose?
○ What will the developer experience be like?
○ How will it scale?
○ How will we add new functionality in the future?
What does API-first mean to you?
@arlemi
Using an API-first approach can give you:
● Earlier validation
● Decoupling dependencies
● Faster growth
● Freedom from constraints
Benefits of an API-first approach
@arlemi
Is API-first for everyone?
@arlemi
Mobile
Desktop
CONSUMER
INFRASTRUCTURE
On-premise Cloud
Monolith Microservices
ARCHITECTURE
@arlemi
Kin Lane, Postman
It’s going to be hard.
@arlemi
@arlemi
https://api-first-world.com/
Thank you!
2021 State of the API Report
API-first Software Development for Modern Organizations
Bringing law and order to APIs with OpenAPI Specifications
Using Mock Servers throughout the API Lifecycle
Design and Prototype an API in Postman - Webinar
1
2
3
4
Additional Resources
5
@arlemi

More Related Content

Similar to apidays LIVE Helsinki & North 2022_How to Win Friends and Influence People with API First

API-Consumption compressed (1)
API-Consumption compressed (1)API-Consumption compressed (1)
API-Consumption compressed (1)
Rahul Ghai
 

Similar to apidays LIVE Helsinki & North 2022_How to Win Friends and Influence People with API First (20)

apidays LIVE Paris 2021 - 5 Learnings Shaping Our View on the Future of APIs ...
apidays LIVE Paris 2021 - 5 Learnings Shaping Our View on the Future of APIs ...apidays LIVE Paris 2021 - 5 Learnings Shaping Our View on the Future of APIs ...
apidays LIVE Paris 2021 - 5 Learnings Shaping Our View on the Future of APIs ...
 
API Best Practices
API Best PracticesAPI Best Practices
API Best Practices
 
API-Consumption compressed (1)
API-Consumption compressed (1)API-Consumption compressed (1)
API-Consumption compressed (1)
 
API Product Management - Driving Success through the Value Chain
API Product Management - Driving Success through the Value ChainAPI Product Management - Driving Success through the Value Chain
API Product Management - Driving Success through the Value Chain
 
I am sorry Developer, your API just became a Product.pdf
I am sorry Developer, your API just became a Product.pdfI am sorry Developer, your API just became a Product.pdf
I am sorry Developer, your API just became a Product.pdf
 
Practical guide to building public APIs
Practical guide to building public APIsPractical guide to building public APIs
Practical guide to building public APIs
 
Apidays Paris 2023 - How to Scale APIs-as-a-Product for Future Success, Samir...
Apidays Paris 2023 - How to Scale APIs-as-a-Product for Future Success, Samir...Apidays Paris 2023 - How to Scale APIs-as-a-Product for Future Success, Samir...
Apidays Paris 2023 - How to Scale APIs-as-a-Product for Future Success, Samir...
 
How to Scale APIs-as-Product for Future Success
How to Scale APIs-as-Product for Future SuccessHow to Scale APIs-as-Product for Future Success
How to Scale APIs-as-Product for Future Success
 
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
 
Building REST APIs that don't suck for modern day SPAs
Building REST APIs that don't suck for modern day SPAsBuilding REST APIs that don't suck for modern day SPAs
Building REST APIs that don't suck for modern day SPAs
 
apidays Australia 2022 - Accelerate business innovation by improving API prog...
apidays Australia 2022 - Accelerate business innovation by improving API prog...apidays Australia 2022 - Accelerate business innovation by improving API prog...
apidays Australia 2022 - Accelerate business innovation by improving API prog...
 
WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...
WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...
WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...
 
O'Reilly author webinar "APIs: A Strategy guide": Transforming Your Business...
O'Reilly author webinar "APIs: A Strategy guide":  Transforming Your Business...O'Reilly author webinar "APIs: A Strategy guide":  Transforming Your Business...
O'Reilly author webinar "APIs: A Strategy guide": Transforming Your Business...
 
APIs for... Your Mom
APIs for... Your MomAPIs for... Your Mom
APIs for... Your Mom
 
MuleSoft Surat Meetup#39 - Pragmatic API Led Connectivity
MuleSoft Surat Meetup#39 - Pragmatic API Led ConnectivityMuleSoft Surat Meetup#39 - Pragmatic API Led Connectivity
MuleSoft Surat Meetup#39 - Pragmatic API Led Connectivity
 
Clickslide Datadipity Beta V1
Clickslide Datadipity Beta V1Clickslide Datadipity Beta V1
Clickslide Datadipity Beta V1
 
API Documentation.pptx
API Documentation.pptxAPI Documentation.pptx
API Documentation.pptx
 
API Documentation.pptx
API Documentation.pptxAPI Documentation.pptx
API Documentation.pptx
 
Building an API Factory: Turn your APIs into Products
Building an API Factory: Turn your APIs into ProductsBuilding an API Factory: Turn your APIs into Products
Building an API Factory: Turn your APIs into Products
 
Designing Good API & Its Importance
Designing Good API & Its ImportanceDesigning Good API & Its Importance
Designing Good API & Its Importance
 

More from apidays

More from apidays (20)

Apidays Helsinki 2024 - What is next now that your organization created a (si...
Apidays Helsinki 2024 - What is next now that your organization created a (si...Apidays Helsinki 2024 - What is next now that your organization created a (si...
Apidays Helsinki 2024 - What is next now that your organization created a (si...
 
Apidays Helsinki 2024 - There’s no AI without API, but what does this mean fo...
Apidays Helsinki 2024 - There’s no AI without API, but what does this mean fo...Apidays Helsinki 2024 - There’s no AI without API, but what does this mean fo...
Apidays Helsinki 2024 - There’s no AI without API, but what does this mean fo...
 
Apidays Helsinki 2024 - Sustainable IT and API Performance - How to Bring The...
Apidays Helsinki 2024 - Sustainable IT and API Performance - How to Bring The...Apidays Helsinki 2024 - Sustainable IT and API Performance - How to Bring The...
Apidays Helsinki 2024 - Sustainable IT and API Performance - How to Bring The...
 
Apidays Helsinki 2024 - Security Vulnerabilities in your APIs by Lukáš Ďurovs...
Apidays Helsinki 2024 - Security Vulnerabilities in your APIs by Lukáš Ďurovs...Apidays Helsinki 2024 - Security Vulnerabilities in your APIs by Lukáš Ďurovs...
Apidays Helsinki 2024 - Security Vulnerabilities in your APIs by Lukáš Ďurovs...
 
Apidays Helsinki 2024 - Data, API’s and Banks, with AI on top by Sergio Giral...
Apidays Helsinki 2024 - Data, API’s and Banks, with AI on top by Sergio Giral...Apidays Helsinki 2024 - Data, API’s and Banks, with AI on top by Sergio Giral...
Apidays Helsinki 2024 - Data, API’s and Banks, with AI on top by Sergio Giral...
 
Apidays Helsinki 2024 - Data Ecosystems Driving the Green Transition by Olli ...
Apidays Helsinki 2024 - Data Ecosystems Driving the Green Transition by Olli ...Apidays Helsinki 2024 - Data Ecosystems Driving the Green Transition by Olli ...
Apidays Helsinki 2024 - Data Ecosystems Driving the Green Transition by Olli ...
 
Apidays Helsinki 2024 - Bridging the Gap Between Backend and Frontend API Tes...
Apidays Helsinki 2024 - Bridging the Gap Between Backend and Frontend API Tes...Apidays Helsinki 2024 - Bridging the Gap Between Backend and Frontend API Tes...
Apidays Helsinki 2024 - Bridging the Gap Between Backend and Frontend API Tes...
 
Apidays Helsinki 2024 - API Compliance by Design by Marjukka Niinioja, Osaango
Apidays Helsinki 2024 - API Compliance by Design by Marjukka Niinioja, OsaangoApidays Helsinki 2024 - API Compliance by Design by Marjukka Niinioja, Osaango
Apidays Helsinki 2024 - API Compliance by Design by Marjukka Niinioja, Osaango
 
Apidays Helsinki 2024 - ABLOY goes API economy – Transformation story by Hann...
Apidays Helsinki 2024 - ABLOY goes API economy – Transformation story by Hann...Apidays Helsinki 2024 - ABLOY goes API economy – Transformation story by Hann...
Apidays Helsinki 2024 - ABLOY goes API economy – Transformation story by Hann...
 
Apidays New York 2024 - The subtle art of API rate limiting by Josh Twist, Zuplo
Apidays New York 2024 - The subtle art of API rate limiting by Josh Twist, ZuploApidays New York 2024 - The subtle art of API rate limiting by Josh Twist, Zuplo
Apidays New York 2024 - The subtle art of API rate limiting by Josh Twist, Zuplo
 
Apidays New York 2024 - RESTful API Patterns and Practices by Mike Amundsen, ...
Apidays New York 2024 - RESTful API Patterns and Practices by Mike Amundsen, ...Apidays New York 2024 - RESTful API Patterns and Practices by Mike Amundsen, ...
Apidays New York 2024 - RESTful API Patterns and Practices by Mike Amundsen, ...
 
Apidays New York 2024 - Putting AI into API Security by Corey Ball, Moss Adams
Apidays New York 2024 - Putting AI into API Security by Corey Ball, Moss AdamsApidays New York 2024 - Putting AI into API Security by Corey Ball, Moss Adams
Apidays New York 2024 - Putting AI into API Security by Corey Ball, Moss Adams
 
Apidays New York 2024 - Prototype-first - A modern API development workflow b...
Apidays New York 2024 - Prototype-first - A modern API development workflow b...Apidays New York 2024 - Prototype-first - A modern API development workflow b...
Apidays New York 2024 - Prototype-first - A modern API development workflow b...
 
Apidays New York 2024 - Post-Quantum API Security by Francois Lascelles, Broa...
Apidays New York 2024 - Post-Quantum API Security by Francois Lascelles, Broa...Apidays New York 2024 - Post-Quantum API Security by Francois Lascelles, Broa...
Apidays New York 2024 - Post-Quantum API Security by Francois Lascelles, Broa...
 
Apidays New York 2024 - Increase your productivity with no-code GraphQL mocki...
Apidays New York 2024 - Increase your productivity with no-code GraphQL mocki...Apidays New York 2024 - Increase your productivity with no-code GraphQL mocki...
Apidays New York 2024 - Increase your productivity with no-code GraphQL mocki...
 
Apidays New York 2024 - Driving API & EDA Success by Marcelo Caponi, Danone
Apidays New York 2024 - Driving API & EDA Success by Marcelo Caponi, DanoneApidays New York 2024 - Driving API & EDA Success by Marcelo Caponi, Danone
Apidays New York 2024 - Driving API & EDA Success by Marcelo Caponi, Danone
 
Apidays New York 2024 - Build a terrible API for people you hate by Jim Benne...
Apidays New York 2024 - Build a terrible API for people you hate by Jim Benne...Apidays New York 2024 - Build a terrible API for people you hate by Jim Benne...
Apidays New York 2024 - Build a terrible API for people you hate by Jim Benne...
 
Apidays New York 2024 - API Secret Tokens Exposed by Tristan Kalos and Antoin...
Apidays New York 2024 - API Secret Tokens Exposed by Tristan Kalos and Antoin...Apidays New York 2024 - API Secret Tokens Exposed by Tristan Kalos and Antoin...
Apidays New York 2024 - API Secret Tokens Exposed by Tristan Kalos and Antoin...
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 

Recently uploaded

Essentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with ParametersEssentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with Parameters
Safe Software
 
Search and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical FuturesSearch and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical Futures
Bhaskar Mitra
 

Recently uploaded (20)

Speed Wins: From Kafka to APIs in Minutes
Speed Wins: From Kafka to APIs in MinutesSpeed Wins: From Kafka to APIs in Minutes
Speed Wins: From Kafka to APIs in Minutes
 
Essentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with ParametersEssentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with Parameters
 
SOQL 201 for Admins & Developers: Slice & Dice Your Org’s Data With Aggregate...
SOQL 201 for Admins & Developers: Slice & Dice Your Org’s Data With Aggregate...SOQL 201 for Admins & Developers: Slice & Dice Your Org’s Data With Aggregate...
SOQL 201 for Admins & Developers: Slice & Dice Your Org’s Data With Aggregate...
 
UiPath Test Automation using UiPath Test Suite series, part 1
UiPath Test Automation using UiPath Test Suite series, part 1UiPath Test Automation using UiPath Test Suite series, part 1
UiPath Test Automation using UiPath Test Suite series, part 1
 
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
 
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMsTo Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
 
Powerful Start- the Key to Project Success, Barbara Laskowska
Powerful Start- the Key to Project Success, Barbara LaskowskaPowerful Start- the Key to Project Success, Barbara Laskowska
Powerful Start- the Key to Project Success, Barbara Laskowska
 
Demystifying gRPC in .Net by John Staveley
Demystifying gRPC in .Net by John StaveleyDemystifying gRPC in .Net by John Staveley
Demystifying gRPC in .Net by John Staveley
 
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered QualitySoftware Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
 
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
 
The architecture of Generative AI for enterprises.pdf
The architecture of Generative AI for enterprises.pdfThe architecture of Generative AI for enterprises.pdf
The architecture of Generative AI for enterprises.pdf
 
Introduction to Open Source RAG and RAG Evaluation
Introduction to Open Source RAG and RAG EvaluationIntroduction to Open Source RAG and RAG Evaluation
Introduction to Open Source RAG and RAG Evaluation
 
How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...
 
ODC, Data Fabric and Architecture User Group
ODC, Data Fabric and Architecture User GroupODC, Data Fabric and Architecture User Group
ODC, Data Fabric and Architecture User Group
 
Key Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdfKey Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdf
 
Search and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical FuturesSearch and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical Futures
 
Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........
 
PLAI - Acceleration Program for Generative A.I. Startups
PLAI - Acceleration Program for Generative A.I. StartupsPLAI - Acceleration Program for Generative A.I. Startups
PLAI - Acceleration Program for Generative A.I. Startups
 
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
 
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
 

apidays LIVE Helsinki & North 2022_How to Win Friends and Influence People with API First

  • 1. All rights reserved by Postman Inc How to Win Friends and Influence People with API First Arlemi Turpault Senior Developer Advocate
  • 4. What does API-first mean? Benefits of becoming API-first Practical tools and workflows Industry examples Key points 1 2 3 4 5 Agenda @arlemi
  • 5. 2022 SERIES OF EVENT New York JULY (HYBRID) Australia SEPTEMBER (HYBRID) Singapore APRIL (VIRTUAL) Helsinki & North MARCH (VIRTUAL) Paris DECEMBER (HYBRID) London OCTOBER (HYBRID) Hong Kong AUGUST (VIRTUAL) JUNE (VIRTUAL) India MAY (VIRTUAL) APRIL (VIRTUAL) Dubai & Middle East JUNE (VIRTUAL) Check out our API Conferences here Wa nt t o t a lk a t one of our conference? Apply t o spea k here
  • 6. What does API-First mean to you?
  • 8. Code-First Development @arlemi CORE FUNCTIONALITY API web app admin app mobile app microservice API
  • 9. All of the code that was built for the website then had to be rebuilt in our API to be used by our iOS and Android apps. Stephanie Schirmer Etsy “ @arlemi
  • 11. API-First Development @arlemi API web app admin app mobile app
  • 13. Problems with a traditional code-first approach ● Bottlenecks delay contributors and consumers ● Rework late in the development cycle ● Building stuff no one wants ● End product is inadequately documented ● API is constrained by the data model and business logic How not to make friends @arlemi
  • 15. Benefits of an API-first approach ● Earlier validation ● Decoupling dependencies ● Faster growth ● Freedom from constraints How to make friends @arlemi
  • 16. A single team should not become a bottleneck nor need to have expertise on every client application to create optimized endpoints. Rapid innovation through fast, decoupled development cycles across a wide variety of device types and distributed ownership and expertise across teams should be enabled. Ben Christensen Netflix “ @arlemi
  • 18. API-First schema API-first Defining and designing APIs and schema before development interface API-first Developing APIs before developing applications or integrations business requirements API-first Defining business requirements before defining and designing APIs 33% 39% 14% @arlemi
  • 20. API-First schema API-first Defining and designing APIs and schema before development interface API-first Developing APIs before developing applications or integrations business requirements API-first Defining business requirements before defining and designing APIs 33% 39% 14% @arlemi
  • 21. What are tools and workflows for becoming API-first?
  • 22. Common API-first tools and workflows ● API specifications ● Mock servers ● Consumer-driven contract (CDC) testing How do you transform a cluttered API development workflow? @arlemi
  • 26. Most widely adopted schema types August 2021 Findings Swagger v1, WADL, and RAML have minimal usage OpenAPI v2 has the largest market share, but is declining OpenAPI v3 has the largest growth rate YTD, more than accounting for people transitioning from other schema types @arlemi
  • 29. Generate mock servers from OpenAPI
  • 30. Mock Servers for prototyping new services Generated from API specification Based on paired requests and responses (examples) for each endpoint @arlemi Prototype new services Enables parallel development using the mock endpoints
  • 33. CDC testing for ensuring providers fulfill consumer expectations @arlemi Provider issues specification Provider proposes the terms of the contract in the specification
  • 34. CDC testing for ensuring providers fulfill consumer expectations Consumers write tests Consumers test only the endpoints and properties they consume @arlemi Provider issues specification Provider proposes the terms of the contract in the specification
  • 35. CDC testing for ensuring providers fulfill consumer expectations Consumers write tests Consumers test only the endpoints and properties they consume @arlemi Provider issues specification Provider proposes the terms of the contract in the specification Contract Explicit agreement about how the API will be used between provider and consumers
  • 36. CDC testing for ensuring providers fulfill consumer expectations Consumers write tests Consumers test only the endpoints and properties they consume @arlemi Provider issues specification Provider proposes the terms of the contract in the specification Contract Explicit agreement about how the API will be used between provider and consumers Provider runs tests Provider runs consumers’ tests as part of their deployment pipeline
  • 37. API-first workflow for Postman ENG mock servers Parallel Development Generate mocks to enable parallel development CDC testing CI/CD Ensure no breaking changes for microservices specification Blueprint Blueprint collection to propose a new API @arlemi
  • 38. What are the key points for becoming API-first?
  • 39. Various meanings of API-First ● API-first development: when developing new functionality, the functionality should first be exposed as an API in your organization ● API-first design: planning the functionality (specification) ○ What functionality will the API have? ○ What data will it expose? ○ What will the developer experience be like? ○ How will it scale? ○ How will we add new functionality in the future? What does API-first mean to you? @arlemi
  • 40. Using an API-first approach can give you: ● Earlier validation ● Decoupling dependencies ● Faster growth ● Freedom from constraints Benefits of an API-first approach @arlemi
  • 41. Is API-first for everyone? @arlemi Mobile Desktop CONSUMER INFRASTRUCTURE On-premise Cloud Monolith Microservices ARCHITECTURE
  • 43. Kin Lane, Postman It’s going to be hard. @arlemi
  • 46. 2021 State of the API Report API-first Software Development for Modern Organizations Bringing law and order to APIs with OpenAPI Specifications Using Mock Servers throughout the API Lifecycle Design and Prototype an API in Postman - Webinar 1 2 3 4 Additional Resources 5 @arlemi