SlideShare une entreprise Scribd logo
1  sur  46
Télécharger pour lire hors ligne
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

Contenu connexe

Similaire à 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
 

Similaire à 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...
 
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
 
Your API is your Product - Arun Ravindran, Unisys
Your API is your Product - Arun Ravindran, UnisysYour API is your Product - Arun Ravindran, Unisys
Your API is your Product - Arun Ravindran, Unisys
 

Plus de apidays

Plus de apidays (20)

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...
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Apidays New York 2024 - The secrets to Graph success, by Leah Hurwich Adler, ...
Apidays New York 2024 - The secrets to Graph success, by Leah Hurwich Adler, ...Apidays New York 2024 - The secrets to Graph success, by Leah Hurwich Adler, ...
Apidays New York 2024 - The secrets to Graph success, by Leah Hurwich Adler, ...
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
Apidays New York 2024 - API Discovery - From Crawl to Run by Rob Dickinson, G...
Apidays New York 2024 - API Discovery - From Crawl to Run by Rob Dickinson, G...Apidays New York 2024 - API Discovery - From Crawl to Run by Rob Dickinson, G...
Apidays New York 2024 - API Discovery - From Crawl to Run by Rob Dickinson, G...
 
Apidays Singapore 2024 - Building with the Planet in Mind by Sandeep Joshi, M...
Apidays Singapore 2024 - Building with the Planet in Mind by Sandeep Joshi, M...Apidays Singapore 2024 - Building with the Planet in Mind by Sandeep Joshi, M...
Apidays Singapore 2024 - Building with the Planet in Mind by Sandeep Joshi, M...
 
Apidays Singapore 2024 - Connecting Cross Border Commerce with Payments by Gu...
Apidays Singapore 2024 - Connecting Cross Border Commerce with Payments by Gu...Apidays Singapore 2024 - Connecting Cross Border Commerce with Payments by Gu...
Apidays Singapore 2024 - Connecting Cross Border Commerce with Payments by Gu...
 
Apidays Singapore 2024 - Privacy Enhancing Technologies for AI by Mark Choo, ...
Apidays Singapore 2024 - Privacy Enhancing Technologies for AI by Mark Choo, ...Apidays Singapore 2024 - Privacy Enhancing Technologies for AI by Mark Choo, ...
Apidays Singapore 2024 - Privacy Enhancing Technologies for AI by Mark Choo, ...
 
Apidays Singapore 2024 - Blending AI and IoT for Smarter Health by Matthew Ch...
Apidays Singapore 2024 - Blending AI and IoT for Smarter Health by Matthew Ch...Apidays Singapore 2024 - Blending AI and IoT for Smarter Health by Matthew Ch...
Apidays Singapore 2024 - Blending AI and IoT for Smarter Health by Matthew Ch...
 
Apidays Singapore 2024 - OpenTelemetry for API Monitoring by Danielle Kayumbi...
Apidays Singapore 2024 - OpenTelemetry for API Monitoring by Danielle Kayumbi...Apidays Singapore 2024 - OpenTelemetry for API Monitoring by Danielle Kayumbi...
Apidays Singapore 2024 - OpenTelemetry for API Monitoring by Danielle Kayumbi...
 
Apidays Singapore 2024 - Connecting Product and Engineering Teams with Testin...
Apidays Singapore 2024 - Connecting Product and Engineering Teams with Testin...Apidays Singapore 2024 - Connecting Product and Engineering Teams with Testin...
Apidays Singapore 2024 - Connecting Product and Engineering Teams with Testin...
 
Apidays Singapore 2024 - The Growing Carbon Footprint of Digitalization and H...
Apidays Singapore 2024 - The Growing Carbon Footprint of Digitalization and H...Apidays Singapore 2024 - The Growing Carbon Footprint of Digitalization and H...
Apidays Singapore 2024 - The Growing Carbon Footprint of Digitalization and H...
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Apidays Singapore 2024 - API Monitoring x SRE by Ryan Ashneil and Eugene Wong...
Apidays Singapore 2024 - API Monitoring x SRE by Ryan Ashneil and Eugene Wong...Apidays Singapore 2024 - API Monitoring x SRE by Ryan Ashneil and Eugene Wong...
Apidays Singapore 2024 - API Monitoring x SRE by Ryan Ashneil and Eugene Wong...
 
Apidays Singapore 2024 - A nuanced approach on AI costs and benefits for the ...
Apidays Singapore 2024 - A nuanced approach on AI costs and benefits for the ...Apidays Singapore 2024 - A nuanced approach on AI costs and benefits for the ...
Apidays Singapore 2024 - A nuanced approach on AI costs and benefits for the ...
 
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu SubbuApidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
 
Apidays Singapore 2024 - How APIs drive business at BNP Paribas by Quy-Doan D...
Apidays Singapore 2024 - How APIs drive business at BNP Paribas by Quy-Doan D...Apidays Singapore 2024 - How APIs drive business at BNP Paribas by Quy-Doan D...
Apidays Singapore 2024 - How APIs drive business at BNP Paribas by Quy-Doan D...
 

Dernier

Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 

Dernier (20)

What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of Brazil
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 

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