SlideShare une entreprise Scribd logo
1  sur  42
Télécharger pour lire hors ligne
All rights reserved by Postman Inc
Welcome to Space
Camp!
Sean Keegan
Developer Advocate
Agenda
Breaks will be taken throughout the day
The workshop sessions may have
interactive quizzes throughout. You can
use a mobile device or desktop browser to
participate. We’ll show the URL on the big
screen and drop the link in Discord as well.
Your feedback is welcomed and
appreciated, and we’ll be using your
feedback submissions to draw for prizes
at the end of the day. Watch for feedback
URLs on the screen and in Discord.!
9:30am Foundations: Introduction to API-First
10:15am CJ Avilla, Stripe: How Stripe API Features Land
10:45am Workshop: Using OpenAPI with API-First
12:15pm Lunch
1:30pm Workshop: API Workflows, Part 1
2:45pm Daniele Bernardi, Twitter: How Twitter Builds in the Open
3:15pm Workshop: API Workflows, part 2
4:30pm Final Thoughts, Social Activity to Follow
Please ask questions
throughout the day
WE’RE HERE TO HELP
https://go.pstmn.io/spacecamp-discord
https://go.pstmn.io/spacecamp-notes
All rights reserved by Postman Inc
Welcome to
API-First!
W. Ian Douglas
Sr Developer Advocate
Introducing API-First
and, Why do API-First
LEVEL-SETTING
Please ask questions
throughout the day
WE’RE HERE TO HELP
https://go.pstmn.io/spacecamp-discord
https://go.pstmn.io/spacecamp-notes
What is
“API-First”?
Introducing …
● Early Feedback System
By spending time on the API design early, you can get
feedback from stakeholders before you ever write code.
● Clearer Design and Planning
With the end-users in mind, you have a clearer plan of what
you want to build, and iterate from there.
● Decouple Legacy Constraints
Especially for companies who already have APIs or systems
in place, starting something new can free you from “the way
we’ve always done it”.
It’s a “Mindset” Define
Design
Document
Deploy
Test
Secure
Monitor
Discover
● Early Feedback System
By spending time on the API design early, you can get
feedback from stakeholders before you ever write code.
● Clearer Design and Planning
With the end-users in mind, you have a clearer plan of what
you want to build, and iterate from there.
● Decouple Legacy Constraints
Especially for companies who already have APIs or systems
in place, starting something new can free you from “the way
we’ve always done it”.
It’s a “Mindset” Define
Design
Document
Test
● Early Feedback System
By spending time on the API design early, you can get
feedback from stakeholders before you ever write code.
● Clearer Design and Planning
With the end-users in mind, you have a clearer plan of what
you want to build, and iterate from there.
● Decouple Legacy Constraints
Especially for companies who already have APIs or systems
in place, starting something new can free you from “the way
we’ve always done it”.
It’s a “Mindset”
Image credit: tenor.com “free your mind”
…-Driven Development
You may know of
…-Driven Development
Only implement what you
MUST, then you have the
flexibility for HOW
You may know of
Pop Quiz!
API-First Mindset
Long-term Practice
API-First Mindset
● You need a Plan to follow
Your team, and preferably your company or organization,
needs a plan. This should be built, ideally, with various
people on the team. This plan is “governance”.
● Build “Contracts” and “Validators”
Every endpoint in your API should be well documented for
expectations of inputs and outputs, including data types.
This should include what kinds of errors to expect and how
you’ll handle those errors.
● What is your “Source of Truth”?
However you design your API, you need a “source of truth”
that is easy to find, searchable, well-documented, and
shared. It needs to be easy to find, and easy to
communicate.
Long-Term Planning for API-First
How do We
Become API-First if
We Already have
APIs?
BUT …
Let’s Review
WHEW…
● API-First Mindset
Designing the API interfaces, contracts, and governance
before any implementation.
● Governance
Standardization, Principles, by which your organization will
plan and execute their APIs.
● API Design Lifecycle
Definition, Design, Documentation, Testing, Implementation,
Testing, Security, Monitoring, etc.
Definitions
● Source of Truth
Documentation for the definition of your API, from which all
other work is derived and developed.
● Contracts and Validators
Documenting your API endpoints (aka “interfaces”), and
their responses, both as data and as error responses.
Ideally these responses use reusable “components”
● OpenAPI
… introducing, Arnaud, the API Handyman!
These definitions are provided in your follow-along notes, and linked in Discord.
All rights reserved by Postman Inc
How OpenAPI
fuels API-first
Arnaud Lauret
OpenAPI Tech Lead
What is the OpenAPI
Specification?
HOW OPENAPI FUELS API-FIRST
A machine-readable and human-friendly API description format
● Describes REST(ish) web APIs
● Uses JSON Schema to describe data
● Written in JSON or YAML
● Vendor neutral, technology agnostic
and Interoperable standard
A bit of history
● 2011 - Swagger tools for SDKs and
documentation
● 2014 - Swagger 2.0 tools and
specification
● 2015 - Swagger 2.0 specification
donated to the OpenAPI Initiative
● 2017 - OpenAPI 3.0 released
Don’t use Swagger 2.0 specification anymore
Naming is hard
● OpenAPI is not only for “Open APIs”
● Private/partner/public
How OpenAPI can
be used?
HOW OPENAPI FUELS API-FIRST
Anyway, like I was sayin', OpenAPI is an essential
ingredient of the API world. You can barbecue it, boil it,
broil it, bake it, saute it. There's uh, OpenAPI-kabobs,
OpenAPI creole, OpenAPI gumbo. Pan fried, deep fried,
stir-fried. There's pineapple OpenAPI, lemon OpenAPI,
coconut OpenAPI, pepper OpenAPI, OpenAPI soup,
OpenAPI stew, OpenAPI salad, OpenAPI and potatoes,
OpenAPI burger, OpenAPI sandwich. That- that's about
it.
API-Bubba Blue
“
A glimpse on OpenAPI endless possibilities
● Documentation
● Design
● Governance
● Mock
● Code generation
● Test
● Configuration
● Reverse engineering
OpenAPI + API-First
HOW OPENAPI FUELS API-FIRST
● API-First Mindset
Designing the API interfaces, contracts, and governance
before any implementation.
● Governance
Standardization, Principles, by which your organization will
plan and execute their APIs.
● API Design Lifecycle
Definition, Design, Documentation, Testing, Implementation,
Testing, Security, Monitoring, etc.
OpenAPIfied Definitions
● Source of Truth
Documentation for the definition of your API, from which all
other work is derived and developed.
● Contracts and Validators
Documenting your API endpoints (aka “interfaces”), and
their responses, both as data and as error responses.
Ideally these responses use reusable “components”
OpenAPI is useful along the whole API lifecycle
Define
Design
Document
Deploy
Test
Secure
Monitor
Discover
OpenAPI is a Rosetta Stone of the API-first world
● A black basalt stone that bridged the
gap between Greek and Egyptian
hieroglyphics
● One that gives a clue to understanding
Photo by Hans Hillewaert
OpenAPI is a Rosetta Stone of the API-first world
● A bridge between people, between API
tools
● Gives an understanding of API yet to
come, APIs you created, APIs other
created
Photo by Hans Hillewaert
Let’s Recap
Feedback
Developer Advocacy, Stripe
@cjav_dev
34
API feature lifecycle
CJ Avilla
Welcome!
All rights reserved by Postman Inc
Session 2:
Applying OpenAPI
and API-First
Arnaud Lauret
OpenAPI Tech Lead
Ian Douglas
Sr Developer Advocate
Please ask questions
throughout the day
WE’RE HERE TO HELP
https://go.pstmn.io/spacecamp-discord
https://go.pstmn.io/spacecamp-notes
Let’s Recap
Feedback
https://go.pstmn.io/sc-feedback-am
All rights reserved by Postman Inc
Session 3 and 4:
Advanced API
Workflows
Arlemi Turpault
Sr Developer Advocate
Ian Douglas
Sr Developer Advocate
Please ask questions
throughout the day
WE’RE HERE TO HELP
https://go.pstmn.io/spacecamp-discord
https://go.pstmn.io/spacecamp-notes
HEAD OF DEVELOPER ADVOCACY AND
COMMUNITY, TWITTER
Daniele
Bernardi
CHIEF EVANGELIST, POSTMAN
Kin
Lane
@kinlane
Fireside Chat:
How Twitter Builds
in the Open
@i_am_daniele
Let’s Recap
Feedback
https://go.pstmn.io/sc-feedback-pm
All rights reserved by Postman Inc
Closing Thoughts
Joyce Lin
Director of Developer Relations

Contenu connexe

Tendances

Postman 101 & Office Hours
Postman 101 & Office HoursPostman 101 & Office Hours
Postman 101 & Office HoursPostman
 
Postman. From simple API test to end to end scenario
Postman. From simple API test to end to end scenarioPostman. From simple API test to end to end scenario
Postman. From simple API test to end to end scenarioHYS Enterprise
 
Postman: An Introduction for Developers
Postman: An Introduction for DevelopersPostman: An Introduction for Developers
Postman: An Introduction for DevelopersPostman
 
Postman Webinar: Postman 101
Postman Webinar: Postman 101Postman Webinar: Postman 101
Postman Webinar: Postman 101Nikita Sharma
 
Postman: An Introduction for Testers
Postman: An Introduction for TestersPostman: An Introduction for Testers
Postman: An Introduction for TestersPostman
 
API_Testing_with_Postman
API_Testing_with_PostmanAPI_Testing_with_Postman
API_Testing_with_PostmanMithilesh Singh
 
An Introduction To Automated API Testing
An Introduction To Automated API TestingAn Introduction To Automated API Testing
An Introduction To Automated API TestingSauce Labs
 
How to Automate API Testing
How to Automate API TestingHow to Automate API Testing
How to Automate API TestingBruno Pedro
 
Continuous Quality with Postman
Continuous Quality with PostmanContinuous Quality with Postman
Continuous Quality with PostmanPostman
 
API Testing: The heart of functional testing" with Bj Rollison
API Testing: The heart of functional testing" with Bj RollisonAPI Testing: The heart of functional testing" with Bj Rollison
API Testing: The heart of functional testing" with Bj RollisonTEST Huddle
 
OpenAPI Intro (1).pdf
OpenAPI Intro (1).pdfOpenAPI Intro (1).pdf
OpenAPI Intro (1).pdfPostman
 
Postman 101 for Students
Postman 101 for StudentsPostman 101 for Students
Postman 101 for StudentsPostman
 
Space Camp - API Contract Testing
Space Camp - API Contract TestingSpace Camp - API Contract Testing
Space Camp - API Contract TestingPostman
 
Postman Webinar: “Continuous Testing with Postman”
Postman Webinar: “Continuous Testing with Postman”Postman Webinar: “Continuous Testing with Postman”
Postman Webinar: “Continuous Testing with Postman”Postman
 
RESTful API Testing using Postman, Newman, and Jenkins
RESTful API Testing using Postman, Newman, and JenkinsRESTful API Testing using Postman, Newman, and Jenkins
RESTful API Testing using Postman, Newman, and JenkinsQASymphony
 
Advanced API Debugging
Advanced API DebuggingAdvanced API Debugging
Advanced API DebuggingPostman
 

Tendances (20)

Postman 101 & Office Hours
Postman 101 & Office HoursPostman 101 & Office Hours
Postman 101 & Office Hours
 
Postman. From simple API test to end to end scenario
Postman. From simple API test to end to end scenarioPostman. From simple API test to end to end scenario
Postman. From simple API test to end to end scenario
 
Postman: An Introduction for Developers
Postman: An Introduction for DevelopersPostman: An Introduction for Developers
Postman: An Introduction for Developers
 
Api Testing
Api TestingApi Testing
Api Testing
 
Postman Webinar: Postman 101
Postman Webinar: Postman 101Postman Webinar: Postman 101
Postman Webinar: Postman 101
 
Postman: An Introduction for Testers
Postman: An Introduction for TestersPostman: An Introduction for Testers
Postman: An Introduction for Testers
 
API Testing for everyone.pptx
API Testing for everyone.pptxAPI Testing for everyone.pptx
API Testing for everyone.pptx
 
API_Testing_with_Postman
API_Testing_with_PostmanAPI_Testing_with_Postman
API_Testing_with_Postman
 
An Introduction To Automated API Testing
An Introduction To Automated API TestingAn Introduction To Automated API Testing
An Introduction To Automated API Testing
 
How to Automate API Testing
How to Automate API TestingHow to Automate API Testing
How to Automate API Testing
 
Belajar Postman test runner
Belajar Postman test runnerBelajar Postman test runner
Belajar Postman test runner
 
Continuous Quality with Postman
Continuous Quality with PostmanContinuous Quality with Postman
Continuous Quality with Postman
 
API Testing: The heart of functional testing" with Bj Rollison
API Testing: The heart of functional testing" with Bj RollisonAPI Testing: The heart of functional testing" with Bj Rollison
API Testing: The heart of functional testing" with Bj Rollison
 
OpenAPI Intro (1).pdf
OpenAPI Intro (1).pdfOpenAPI Intro (1).pdf
OpenAPI Intro (1).pdf
 
Postman 101 for Students
Postman 101 for StudentsPostman 101 for Students
Postman 101 for Students
 
Space Camp - API Contract Testing
Space Camp - API Contract TestingSpace Camp - API Contract Testing
Space Camp - API Contract Testing
 
POSTMAN.pptx
POSTMAN.pptxPOSTMAN.pptx
POSTMAN.pptx
 
Postman Webinar: “Continuous Testing with Postman”
Postman Webinar: “Continuous Testing with Postman”Postman Webinar: “Continuous Testing with Postman”
Postman Webinar: “Continuous Testing with Postman”
 
RESTful API Testing using Postman, Newman, and Jenkins
RESTful API Testing using Postman, Newman, and JenkinsRESTful API Testing using Postman, Newman, and Jenkins
RESTful API Testing using Postman, Newman, and Jenkins
 
Advanced API Debugging
Advanced API DebuggingAdvanced API Debugging
Advanced API Debugging
 

Similaire à Space Camp June 2022 - API First.pdf

INTERFACE, by apidays - How to Win Friends and Influence People with API First
INTERFACE, by apidays - How to Win Friends and Influence People with API FirstINTERFACE, by apidays - How to Win Friends and Influence People with API First
INTERFACE, by apidays - How to Win Friends and Influence People with API Firstapidays
 
The Complete Guide to API Development in 2022.pdf
The Complete Guide to API Development in 2022.pdfThe Complete Guide to API Development in 2022.pdf
The Complete Guide to API Development in 2022.pdfConcetto Labs
 
apidays LIVE Helsinki & North 2022_How to Win Friends and Influence People wi...
apidays LIVE Helsinki & North 2022_How to Win Friends and Influence People wi...apidays LIVE Helsinki & North 2022_How to Win Friends and Influence People wi...
apidays LIVE Helsinki & North 2022_How to Win Friends and Influence People wi...apidays
 
Spec-first API Design for Speed and Safety
Spec-first API Design for Speed and SafetySpec-first API Design for Speed and Safety
Spec-first API Design for Speed and SafetyAtlassian
 
Why your APIs should fly first class
Why your APIs should fly first classWhy your APIs should fly first class
Why your APIs should fly first classLibbySchulze
 
The Art of API Design, by David Biesack at Apiture
The Art of API Design, by David Biesack at ApitureThe Art of API Design, by David Biesack at Apiture
The Art of API Design, by David Biesack at ApitureNordic APIs
 
INTERFACE, by apidays - The 8 Key Components of a Modern API Stack by Iddo G...
INTERFACE, by apidays  - The 8 Key Components of a Modern API Stack by Iddo G...INTERFACE, by apidays  - The 8 Key Components of a Modern API Stack by Iddo G...
INTERFACE, by apidays - The 8 Key Components of a Modern API Stack by Iddo G...apidays
 
INTERFACE by apidays 2023 - Battle-tested APIs, Jean Burellier, Sanofi
INTERFACE by apidays 2023 - Battle-tested APIs, Jean Burellier, SanofiINTERFACE by apidays 2023 - Battle-tested APIs, Jean Burellier, Sanofi
INTERFACE by apidays 2023 - Battle-tested APIs, Jean Burellier, Sanofiapidays
 
Adopting a Design-First Approach to API Development with SwaggerHub
Adopting a Design-First Approach to API Development with SwaggerHubAdopting a Design-First Approach to API Development with SwaggerHub
Adopting a Design-First Approach to API Development with SwaggerHubSmartBear
 
General Terminologies to understand programming and Data Science
General Terminologies to understand programming and Data ScienceGeneral Terminologies to understand programming and Data Science
General Terminologies to understand programming and Data Sciencepujashri1975
 
Web API Design: Crafting Interfaces that Developers Love
Web API Design:  Crafting Interfaces that Developers LoveWeb API Design:  Crafting Interfaces that Developers Love
Web API Design: Crafting Interfaces that Developers LoveJamison K. Bell | OvenPOP 360
 
Crafting a Cloud Native API Platform to Accelerate Your Platform Maturity - B...
Crafting a Cloud Native API Platform to Accelerate Your Platform Maturity - B...Crafting a Cloud Native API Platform to Accelerate Your Platform Maturity - B...
Crafting a Cloud Native API Platform to Accelerate Your Platform Maturity - B...Nordic APIs
 
Speaking APIsh makes your business more agile
Speaking APIsh makes your business more agileSpeaking APIsh makes your business more agile
Speaking APIsh makes your business more agileMarjukka Niinioja
 
Rebooting APIs at scale
Rebooting APIs at scaleRebooting APIs at scale
Rebooting APIs at scaleRahul Dighe
 
APIDays - API Design Workshop
APIDays - API Design WorkshopAPIDays - API Design Workshop
APIDays - API Design WorkshopRestlet
 
Clickslide Datadipity Beta V1
Clickslide Datadipity Beta V1Clickslide Datadipity Beta V1
Clickslide Datadipity Beta V1Gabriel Ortiz
 
Designing APIs with Swagger and OpenAPI
Designing APIs with Swagger and OpenAPIDesigning APIs with Swagger and OpenAPI
Designing APIs with Swagger and OpenAPIManning Publications
 

Similaire à Space Camp June 2022 - API First.pdf (20)

INTERFACE, by apidays - How to Win Friends and Influence People with API First
INTERFACE, by apidays - How to Win Friends and Influence People with API FirstINTERFACE, by apidays - How to Win Friends and Influence People with API First
INTERFACE, by apidays - How to Win Friends and Influence People with API First
 
The Complete Guide to API Development in 2022.pdf
The Complete Guide to API Development in 2022.pdfThe Complete Guide to API Development in 2022.pdf
The Complete Guide to API Development in 2022.pdf
 
apidays LIVE Helsinki & North 2022_How to Win Friends and Influence People wi...
apidays LIVE Helsinki & North 2022_How to Win Friends and Influence People wi...apidays LIVE Helsinki & North 2022_How to Win Friends and Influence People wi...
apidays LIVE Helsinki & North 2022_How to Win Friends and Influence People wi...
 
Spec-first API Design for Speed and Safety
Spec-first API Design for Speed and SafetySpec-first API Design for Speed and Safety
Spec-first API Design for Speed and Safety
 
Why your APIs should fly first class
Why your APIs should fly first classWhy your APIs should fly first class
Why your APIs should fly first class
 
API-First Design and Django
API-First Design and DjangoAPI-First Design and Django
API-First Design and Django
 
The Art of API Design, by David Biesack at Apiture
The Art of API Design, by David Biesack at ApitureThe Art of API Design, by David Biesack at Apiture
The Art of API Design, by David Biesack at Apiture
 
INTERFACE, by apidays - The 8 Key Components of a Modern API Stack by Iddo G...
INTERFACE, by apidays  - The 8 Key Components of a Modern API Stack by Iddo G...INTERFACE, by apidays  - The 8 Key Components of a Modern API Stack by Iddo G...
INTERFACE, by apidays - The 8 Key Components of a Modern API Stack by Iddo G...
 
INTERFACE by apidays 2023 - Battle-tested APIs, Jean Burellier, Sanofi
INTERFACE by apidays 2023 - Battle-tested APIs, Jean Burellier, SanofiINTERFACE by apidays 2023 - Battle-tested APIs, Jean Burellier, Sanofi
INTERFACE by apidays 2023 - Battle-tested APIs, Jean Burellier, Sanofi
 
Adopting a Design-First Approach to API Development with SwaggerHub
Adopting a Design-First Approach to API Development with SwaggerHubAdopting a Design-First Approach to API Development with SwaggerHub
Adopting a Design-First Approach to API Development with SwaggerHub
 
General Terminologies to understand programming and Data Science
General Terminologies to understand programming and Data ScienceGeneral Terminologies to understand programming and Data Science
General Terminologies to understand programming and Data Science
 
Web API Design
Web API DesignWeb API Design
Web API Design
 
Web API Design: Crafting Interfaces that Developers Love
Web API Design:  Crafting Interfaces that Developers LoveWeb API Design:  Crafting Interfaces that Developers Love
Web API Design: Crafting Interfaces that Developers Love
 
Crafting a Cloud Native API Platform to Accelerate Your Platform Maturity - B...
Crafting a Cloud Native API Platform to Accelerate Your Platform Maturity - B...Crafting a Cloud Native API Platform to Accelerate Your Platform Maturity - B...
Crafting a Cloud Native API Platform to Accelerate Your Platform Maturity - B...
 
Speaking APIsh makes your business more agile
Speaking APIsh makes your business more agileSpeaking APIsh makes your business more agile
Speaking APIsh makes your business more agile
 
Rebooting APIs at scale
Rebooting APIs at scaleRebooting APIs at scale
Rebooting APIs at scale
 
APIDays - API Design Workshop
APIDays - API Design WorkshopAPIDays - API Design Workshop
APIDays - API Design Workshop
 
API presentation
API presentationAPI presentation
API presentation
 
Clickslide Datadipity Beta V1
Clickslide Datadipity Beta V1Clickslide Datadipity Beta V1
Clickslide Datadipity Beta V1
 
Designing APIs with Swagger and OpenAPI
Designing APIs with Swagger and OpenAPIDesigning APIs with Swagger and OpenAPI
Designing APIs with Swagger and OpenAPI
 

Plus de Postman

Elevating Developer Experiences with AI-Powered API Testing & Documentation
Elevating Developer Experiences with AI-Powered API Testing & DocumentationElevating Developer Experiences with AI-Powered API Testing & Documentation
Elevating Developer Experiences with AI-Powered API Testing & DocumentationPostman
 
Discovering Public APIs and Public API Network with Postman
Discovering Public APIs and Public API Network with PostmanDiscovering Public APIs and Public API Network with Postman
Discovering Public APIs and Public API Network with PostmanPostman
 
Optimizing Teamwork: Harnessing Collections & Workspaces for Collaboration
Optimizing Teamwork: Harnessing Collections & Workspaces for CollaborationOptimizing Teamwork: Harnessing Collections & Workspaces for Collaboration
Optimizing Teamwork: Harnessing Collections & Workspaces for CollaborationPostman
 
API testing Beyond the Basics AI & Automation Techniques
API testing Beyond the Basics AI & Automation TechniquesAPI testing Beyond the Basics AI & Automation Techniques
API testing Beyond the Basics AI & Automation TechniquesPostman
 
Not Your Grandma’s Rate Limiting (slides)
Not Your Grandma’s Rate Limiting (slides)Not Your Grandma’s Rate Limiting (slides)
Not Your Grandma’s Rate Limiting (slides)Postman
 
Five Ways to Automate API Testing with Postman
Five Ways to Automate API Testing with PostmanFive Ways to Automate API Testing with Postman
Five Ways to Automate API Testing with PostmanPostman
 
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 SuccessPostman
 
Revolutionizing API Development: Collaborative Workflows with Postman
Revolutionizing API Development: Collaborative Workflows with PostmanRevolutionizing API Development: Collaborative Workflows with Postman
Revolutionizing API Development: Collaborative Workflows with PostmanPostman
 
Everything You Always Wanted to Know About AsyncAPI
Everything You Always Wanted to Know About AsyncAPIEverything You Always Wanted to Know About AsyncAPI
Everything You Always Wanted to Know About AsyncAPIPostman
 
Elevating Event-Driven World: A Deep Dive into AsyncAPI v3
Elevating Event-Driven World: A Deep Dive into AsyncAPI v3Elevating Event-Driven World: A Deep Dive into AsyncAPI v3
Elevating Event-Driven World: A Deep Dive into AsyncAPI v3Postman
 
Five Things You SHOULD Know About Postman
Five Things You SHOULD Know About PostmanFive Things You SHOULD Know About Postman
Five Things You SHOULD Know About PostmanPostman
 
Integration-, Snapshot- and Performance-Testing APIs
Integration-, Snapshot- and Performance-Testing APIs Integration-, Snapshot- and Performance-Testing APIs
Integration-, Snapshot- and Performance-Testing APIs Postman
 
How ChatGPT led OpenAPI's Recent Spike in Popularity
How ChatGPT led OpenAPI's Recent Spike in PopularityHow ChatGPT led OpenAPI's Recent Spike in Popularity
How ChatGPT led OpenAPI's Recent Spike in PopularityPostman
 
Exploring Postman’s VS Code Extension
Exploring Postman’s VS Code ExtensionExploring Postman’s VS Code Extension
Exploring Postman’s VS Code ExtensionPostman
 
2023 State of the API Report: Key Findings and Trends
2023 State of the API Report: Key Findings and Trends2023 State of the API Report: Key Findings and Trends
2023 State of the API Report: Key Findings and TrendsPostman
 
Nordic- APIOps is here What will you build in an API First World
Nordic- APIOps is here What will you build in an API First World Nordic- APIOps is here What will you build in an API First World
Nordic- APIOps is here What will you build in an API First World Postman
 
Testing and Developing gRPC APIs
Testing and Developing gRPC APIsTesting and Developing gRPC APIs
Testing and Developing gRPC APIsPostman
 
Testing and Developing GraphQL APIs
Testing and Developing GraphQL APIsTesting and Developing GraphQL APIs
Testing and Developing GraphQL APIsPostman
 
Introduction to API Security - Intergalactic
Introduction to API Security - IntergalacticIntroduction to API Security - Intergalactic
Introduction to API Security - IntergalacticPostman
 
Unboxing What's New in Postman Q2
Unboxing What's New in Postman Q2Unboxing What's New in Postman Q2
Unboxing What's New in Postman Q2Postman
 

Plus de Postman (20)

Elevating Developer Experiences with AI-Powered API Testing & Documentation
Elevating Developer Experiences with AI-Powered API Testing & DocumentationElevating Developer Experiences with AI-Powered API Testing & Documentation
Elevating Developer Experiences with AI-Powered API Testing & Documentation
 
Discovering Public APIs and Public API Network with Postman
Discovering Public APIs and Public API Network with PostmanDiscovering Public APIs and Public API Network with Postman
Discovering Public APIs and Public API Network with Postman
 
Optimizing Teamwork: Harnessing Collections & Workspaces for Collaboration
Optimizing Teamwork: Harnessing Collections & Workspaces for CollaborationOptimizing Teamwork: Harnessing Collections & Workspaces for Collaboration
Optimizing Teamwork: Harnessing Collections & Workspaces for Collaboration
 
API testing Beyond the Basics AI & Automation Techniques
API testing Beyond the Basics AI & Automation TechniquesAPI testing Beyond the Basics AI & Automation Techniques
API testing Beyond the Basics AI & Automation Techniques
 
Not Your Grandma’s Rate Limiting (slides)
Not Your Grandma’s Rate Limiting (slides)Not Your Grandma’s Rate Limiting (slides)
Not Your Grandma’s Rate Limiting (slides)
 
Five Ways to Automate API Testing with Postman
Five Ways to Automate API Testing with PostmanFive Ways to Automate API Testing with Postman
Five Ways to Automate API Testing with Postman
 
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
 
Revolutionizing API Development: Collaborative Workflows with Postman
Revolutionizing API Development: Collaborative Workflows with PostmanRevolutionizing API Development: Collaborative Workflows with Postman
Revolutionizing API Development: Collaborative Workflows with Postman
 
Everything You Always Wanted to Know About AsyncAPI
Everything You Always Wanted to Know About AsyncAPIEverything You Always Wanted to Know About AsyncAPI
Everything You Always Wanted to Know About AsyncAPI
 
Elevating Event-Driven World: A Deep Dive into AsyncAPI v3
Elevating Event-Driven World: A Deep Dive into AsyncAPI v3Elevating Event-Driven World: A Deep Dive into AsyncAPI v3
Elevating Event-Driven World: A Deep Dive into AsyncAPI v3
 
Five Things You SHOULD Know About Postman
Five Things You SHOULD Know About PostmanFive Things You SHOULD Know About Postman
Five Things You SHOULD Know About Postman
 
Integration-, Snapshot- and Performance-Testing APIs
Integration-, Snapshot- and Performance-Testing APIs Integration-, Snapshot- and Performance-Testing APIs
Integration-, Snapshot- and Performance-Testing APIs
 
How ChatGPT led OpenAPI's Recent Spike in Popularity
How ChatGPT led OpenAPI's Recent Spike in PopularityHow ChatGPT led OpenAPI's Recent Spike in Popularity
How ChatGPT led OpenAPI's Recent Spike in Popularity
 
Exploring Postman’s VS Code Extension
Exploring Postman’s VS Code ExtensionExploring Postman’s VS Code Extension
Exploring Postman’s VS Code Extension
 
2023 State of the API Report: Key Findings and Trends
2023 State of the API Report: Key Findings and Trends2023 State of the API Report: Key Findings and Trends
2023 State of the API Report: Key Findings and Trends
 
Nordic- APIOps is here What will you build in an API First World
Nordic- APIOps is here What will you build in an API First World Nordic- APIOps is here What will you build in an API First World
Nordic- APIOps is here What will you build in an API First World
 
Testing and Developing gRPC APIs
Testing and Developing gRPC APIsTesting and Developing gRPC APIs
Testing and Developing gRPC APIs
 
Testing and Developing GraphQL APIs
Testing and Developing GraphQL APIsTesting and Developing GraphQL APIs
Testing and Developing GraphQL APIs
 
Introduction to API Security - Intergalactic
Introduction to API Security - IntergalacticIntroduction to API Security - Intergalactic
Introduction to API Security - Intergalactic
 
Unboxing What's New in Postman Q2
Unboxing What's New in Postman Q2Unboxing What's New in Postman Q2
Unboxing What's New in Postman Q2
 

Dernier

Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)lakshayb543
 
Culture Uniformity or Diversity IN SOCIOLOGY.pptx
Culture Uniformity or Diversity IN SOCIOLOGY.pptxCulture Uniformity or Diversity IN SOCIOLOGY.pptx
Culture Uniformity or Diversity IN SOCIOLOGY.pptxPoojaSen20
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPCeline George
 
Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Seán Kennedy
 
ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4MiaBumagat1
 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxAnupkumar Sharma
 
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdfVirtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdfErwinPantujan2
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17Celine George
 
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptxAUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptxiammrhaywood
 
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfInclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfTechSoup
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatYousafMalik24
 
Global Lehigh Strategic Initiatives (without descriptions)
Global Lehigh Strategic Initiatives (without descriptions)Global Lehigh Strategic Initiatives (without descriptions)
Global Lehigh Strategic Initiatives (without descriptions)cama23
 
Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designMIPLM
 
Transaction Management in Database Management System
Transaction Management in Database Management SystemTransaction Management in Database Management System
Transaction Management in Database Management SystemChristalin Nelson
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxthorishapillay1
 

Dernier (20)

Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
 
Culture Uniformity or Diversity IN SOCIOLOGY.pptx
Culture Uniformity or Diversity IN SOCIOLOGY.pptxCulture Uniformity or Diversity IN SOCIOLOGY.pptx
Culture Uniformity or Diversity IN SOCIOLOGY.pptx
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERP
 
Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...
 
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptxLEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
 
ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4
 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
 
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdfVirtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17
 
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptxAUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptx
 
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfInclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice great
 
Global Lehigh Strategic Initiatives (without descriptions)
Global Lehigh Strategic Initiatives (without descriptions)Global Lehigh Strategic Initiatives (without descriptions)
Global Lehigh Strategic Initiatives (without descriptions)
 
Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-design
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptxYOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
 
Transaction Management in Database Management System
Transaction Management in Database Management SystemTransaction Management in Database Management System
Transaction Management in Database Management System
 
Raw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptxRaw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptx
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptx
 

Space Camp June 2022 - API First.pdf

  • 1. All rights reserved by Postman Inc Welcome to Space Camp! Sean Keegan Developer Advocate
  • 2. Agenda Breaks will be taken throughout the day The workshop sessions may have interactive quizzes throughout. You can use a mobile device or desktop browser to participate. We’ll show the URL on the big screen and drop the link in Discord as well. Your feedback is welcomed and appreciated, and we’ll be using your feedback submissions to draw for prizes at the end of the day. Watch for feedback URLs on the screen and in Discord.! 9:30am Foundations: Introduction to API-First 10:15am CJ Avilla, Stripe: How Stripe API Features Land 10:45am Workshop: Using OpenAPI with API-First 12:15pm Lunch 1:30pm Workshop: API Workflows, Part 1 2:45pm Daniele Bernardi, Twitter: How Twitter Builds in the Open 3:15pm Workshop: API Workflows, part 2 4:30pm Final Thoughts, Social Activity to Follow
  • 3. Please ask questions throughout the day WE’RE HERE TO HELP https://go.pstmn.io/spacecamp-discord https://go.pstmn.io/spacecamp-notes
  • 4. All rights reserved by Postman Inc Welcome to API-First! W. Ian Douglas Sr Developer Advocate
  • 5. Introducing API-First and, Why do API-First LEVEL-SETTING
  • 6. Please ask questions throughout the day WE’RE HERE TO HELP https://go.pstmn.io/spacecamp-discord https://go.pstmn.io/spacecamp-notes
  • 8. ● Early Feedback System By spending time on the API design early, you can get feedback from stakeholders before you ever write code. ● Clearer Design and Planning With the end-users in mind, you have a clearer plan of what you want to build, and iterate from there. ● Decouple Legacy Constraints Especially for companies who already have APIs or systems in place, starting something new can free you from “the way we’ve always done it”. It’s a “Mindset” Define Design Document Deploy Test Secure Monitor Discover
  • 9. ● Early Feedback System By spending time on the API design early, you can get feedback from stakeholders before you ever write code. ● Clearer Design and Planning With the end-users in mind, you have a clearer plan of what you want to build, and iterate from there. ● Decouple Legacy Constraints Especially for companies who already have APIs or systems in place, starting something new can free you from “the way we’ve always done it”. It’s a “Mindset” Define Design Document Test
  • 10. ● Early Feedback System By spending time on the API design early, you can get feedback from stakeholders before you ever write code. ● Clearer Design and Planning With the end-users in mind, you have a clearer plan of what you want to build, and iterate from there. ● Decouple Legacy Constraints Especially for companies who already have APIs or systems in place, starting something new can free you from “the way we’ve always done it”. It’s a “Mindset” Image credit: tenor.com “free your mind”
  • 12. …-Driven Development Only implement what you MUST, then you have the flexibility for HOW You may know of
  • 15. ● You need a Plan to follow Your team, and preferably your company or organization, needs a plan. This should be built, ideally, with various people on the team. This plan is “governance”. ● Build “Contracts” and “Validators” Every endpoint in your API should be well documented for expectations of inputs and outputs, including data types. This should include what kinds of errors to expect and how you’ll handle those errors. ● What is your “Source of Truth”? However you design your API, you need a “source of truth” that is easy to find, searchable, well-documented, and shared. It needs to be easy to find, and easy to communicate. Long-Term Planning for API-First
  • 16. How do We Become API-First if We Already have APIs? BUT …
  • 18. ● API-First Mindset Designing the API interfaces, contracts, and governance before any implementation. ● Governance Standardization, Principles, by which your organization will plan and execute their APIs. ● API Design Lifecycle Definition, Design, Documentation, Testing, Implementation, Testing, Security, Monitoring, etc. Definitions ● Source of Truth Documentation for the definition of your API, from which all other work is derived and developed. ● Contracts and Validators Documenting your API endpoints (aka “interfaces”), and their responses, both as data and as error responses. Ideally these responses use reusable “components” ● OpenAPI … introducing, Arnaud, the API Handyman! These definitions are provided in your follow-along notes, and linked in Discord.
  • 19. All rights reserved by Postman Inc How OpenAPI fuels API-first Arnaud Lauret OpenAPI Tech Lead
  • 20. What is the OpenAPI Specification? HOW OPENAPI FUELS API-FIRST
  • 21. A machine-readable and human-friendly API description format ● Describes REST(ish) web APIs ● Uses JSON Schema to describe data ● Written in JSON or YAML ● Vendor neutral, technology agnostic and Interoperable standard
  • 22. A bit of history ● 2011 - Swagger tools for SDKs and documentation ● 2014 - Swagger 2.0 tools and specification ● 2015 - Swagger 2.0 specification donated to the OpenAPI Initiative ● 2017 - OpenAPI 3.0 released
  • 23. Don’t use Swagger 2.0 specification anymore
  • 24. Naming is hard ● OpenAPI is not only for “Open APIs” ● Private/partner/public
  • 25. How OpenAPI can be used? HOW OPENAPI FUELS API-FIRST
  • 26. Anyway, like I was sayin', OpenAPI is an essential ingredient of the API world. You can barbecue it, boil it, broil it, bake it, saute it. There's uh, OpenAPI-kabobs, OpenAPI creole, OpenAPI gumbo. Pan fried, deep fried, stir-fried. There's pineapple OpenAPI, lemon OpenAPI, coconut OpenAPI, pepper OpenAPI, OpenAPI soup, OpenAPI stew, OpenAPI salad, OpenAPI and potatoes, OpenAPI burger, OpenAPI sandwich. That- that's about it. API-Bubba Blue “
  • 27. A glimpse on OpenAPI endless possibilities ● Documentation ● Design ● Governance ● Mock ● Code generation ● Test ● Configuration ● Reverse engineering
  • 28. OpenAPI + API-First HOW OPENAPI FUELS API-FIRST
  • 29. ● API-First Mindset Designing the API interfaces, contracts, and governance before any implementation. ● Governance Standardization, Principles, by which your organization will plan and execute their APIs. ● API Design Lifecycle Definition, Design, Documentation, Testing, Implementation, Testing, Security, Monitoring, etc. OpenAPIfied Definitions ● Source of Truth Documentation for the definition of your API, from which all other work is derived and developed. ● Contracts and Validators Documenting your API endpoints (aka “interfaces”), and their responses, both as data and as error responses. Ideally these responses use reusable “components”
  • 30. OpenAPI is useful along the whole API lifecycle Define Design Document Deploy Test Secure Monitor Discover
  • 31. OpenAPI is a Rosetta Stone of the API-first world ● A black basalt stone that bridged the gap between Greek and Egyptian hieroglyphics ● One that gives a clue to understanding Photo by Hans Hillewaert
  • 32. OpenAPI is a Rosetta Stone of the API-first world ● A bridge between people, between API tools ● Gives an understanding of API yet to come, APIs you created, APIs other created Photo by Hans Hillewaert
  • 34. Developer Advocacy, Stripe @cjav_dev 34 API feature lifecycle CJ Avilla Welcome!
  • 35. All rights reserved by Postman Inc Session 2: Applying OpenAPI and API-First Arnaud Lauret OpenAPI Tech Lead Ian Douglas Sr Developer Advocate
  • 36. Please ask questions throughout the day WE’RE HERE TO HELP https://go.pstmn.io/spacecamp-discord https://go.pstmn.io/spacecamp-notes
  • 38. All rights reserved by Postman Inc Session 3 and 4: Advanced API Workflows Arlemi Turpault Sr Developer Advocate Ian Douglas Sr Developer Advocate
  • 39. Please ask questions throughout the day WE’RE HERE TO HELP https://go.pstmn.io/spacecamp-discord https://go.pstmn.io/spacecamp-notes
  • 40. HEAD OF DEVELOPER ADVOCACY AND COMMUNITY, TWITTER Daniele Bernardi CHIEF EVANGELIST, POSTMAN Kin Lane @kinlane Fireside Chat: How Twitter Builds in the Open @i_am_daniele
  • 42. All rights reserved by Postman Inc Closing Thoughts Joyce Lin Director of Developer Relations