SlideShare a Scribd company logo
API DESIGN USING CHATGPT AS A COPILOT
RAHUL DIGHE
DIRECTOR OF PRODUCT (MERCHANT INTEGRATIONS @ PAYPAL)
@RAHULDIGHE | RSDIGHE@HOTMAIL.COM | CALENDLY.COM/MRAPI
I ❤ API’S
Disclaimer: The opinions and observations presented herein are my personal views and analysis. They do not necessarily re
fl
ect the of
fi
cial stance or opinions of my employer. This analysis is based on independent research and assessment conducted in my personal capacity.
ART & CRAFT
API DESIGN AS ART
• Creativity: API design requires creativity to come up with solutions that are both elegant and functional. It involves making
decisions about resource naming, endpoint structure and data formats that are not purely technical but also user-centric.
• Beauty: A well-designed API can be considered beautiful in its own way. It is elegant, simple, and easy to use.
• Intuition: There’s an element of intuition involved in making design choices that result is an API that feels natural and easy
for developers to work with.
API DESIGN AS CRAFT
• Technical Skill: Effective API design demands a deep understanding of technical aspects like HTTP methods, status codes, data
formats (e.g., JSON, XML), authentication methods, and more.
• Experience and Expertise: Seasoned API designers draw from their experience to make informed decisions about best
practices, security considerations, and performance optimizations.
The most successful API designs often strike a balance between these perspectives, leveraging creativity and technical prowess to deliver
impactful and ef
fi
cient APIs.
API DESIGN APPROACH - MY PERSONAL JOURNEY
Individual Contributor PM Advising & Reviewing APIs across Org Train & Mentor API PM in the team
On Walks
In my dreams
Exercising
INSTANT ADVICE FROM JUNIOR PM TO SVP
OUR HEADS ARE A LARGE LANGUAGE MODEL BUT IT’S CANNOT SCALE, GET TIERED, BIASED…
API Design
Patterns
Competitor
API
API
Conferences
API Design
Guidelines
Past
Mistakes in
Design
Vast
Knowledge
base
Speed and
Scale
Consistency
Quick
learning and
adaptable
Pattern
Recognition
KEY INGREDIENTS FOR SUCCESS
Be Curious “Ask Why a lot” Ask the right Questions
Prompt Engineering
CHAT GPT AS A COPILOT FOR THE DISCOVERY & DESIGN
DEPLOY & LAUNCH
Sandbox availability
User testing
Training
GTM activities
Setup Monitoring
Limited Release
DISCOVERY
Problem
Competitors
Customer research
Persona
Business Case
Epics
DESIGN
End Points, Fields
Security
Mocks
Frontend tools
Specification
User Stories
DEVELOP
Prioritized backlog
Spec to Code
Documentation
SDK
Automated Tests
MVP
PROBLEM
“I am going to meet a lot of
API geeks in Paris and I
am sure they would love
an API that helps them
fi
nd the best croissants in
Paris what potential API
solutions can I build”
API TO FIND THE BEST CROISSANT IN PARIS !
Problem
I am going to meet a lot of API geeks in Paris and I am sure they would love an API that helps them
fi
nd the best croissants in Paris what
potential API solutions can I build
Competitor
Research
1. What are some good examples of providers who might offer an api to
fi
nd who has the best croissants in Paris
2. Generate a table with list of providers who offer an API similar to Yelp Fusion API in 1st column and the name of the API end point in
second column
3. Generate a table with list of providers who offer an API to look up bakeries that offer croissants in 1st column and the name of the API
end point in second column
Persona
For the duration of this session assume the persona of a croissant connoisseur who has tasted croissants in every city he has visited on
earth. He is in his early 40's, married with 2 kids and fell in love with croissant when he
fi
rst visited Paris as a student. He can be very
particular about his croissants and has been known to judge croissant competitions in his hometown.
What would you like to search when looking for the best croissant?
Epics Write epics for an API to
fi
nd best croissant in paris in the format "As a 'persona', I want ____ so that _____
Endpoints What endpoints should I consider while building an api that will help
fi
nd the best croissant in Paris
Fields What
fi
elds should I offer in my API that helps someone search for the best croissant in a Paris
Errors What error messages should I offer in my API that helps someone search for the best croissant in a Paris
IMPROVE EXISTING API
Improve Field
Names
Rewrite the api request with an aim to enhance readability, clarity, and consistency within the API request, making it
easier for developers to understand and work with the API. Also explain the changes made and why “< JSON Request>”
Improve
Descriptions
Rewrite the description to enhance readability, clarity making it easier for a developer who has never worked on API to
understand "The preferred server response upon successful completion of the request. Value is:
Improve Error
Message
Provide suggestions for errors that mean similar thing as below “<error code> <error message”.
rewrite the error messages to enhance readability, clarity, have a consistent tone making it easier for developers to read
the error and make suitable corrections. Explain the changes made and why
Brainstorm
-What else?
Provide suggestions on how to restructure the API request to enhance readability, usability, clarity and consistency,
making it easier for developers who have never worked on Payment APIs to understand work with this API. Explain the
changes made and why “<JSON Request>”.
CHALLENGES
Only as
good as what
they are trained
on
Limited
Creativity for
novel tasks
Approach
with healthy
skepticism
It’s like
learning to use
a search
engine
Responses
Evolve
MIT Generative AI
ROLE OF AI
YOU ARE NOT GOING TO BE
REPLACED BY “AI” BUT YOU WILL
BE REPLACED BY A HUMAN USING
“AI"
RAHUL DIGHE
www.linkedin.com/in/rahuldighe
www.calendly.com/mrapi
rsdighe@hotmail.com
LAUNCHES FEB 14, 2024
API Product Manager:
ChatGPT Prompts
THANKS ! LET’S GET IN TOUCH

More Related Content

Similar to API-Design-Using-ChatGPT

Lean and Business oriented method at APIOps Cycles APIDays Finland 2019
Lean and Business oriented method at APIOps Cycles APIDays Finland 2019 Lean and Business oriented method at APIOps Cycles APIDays Finland 2019
Lean and Business oriented method at APIOps Cycles APIDays Finland 2019
Marjukka Niinioja
 
API-Consumption compressed (1)
API-Consumption compressed (1)API-Consumption compressed (1)
API-Consumption compressed (1)Rahul Ghai
 
APIdays Paris 2019 - The API Operating Model: A Playbook for Value Release by...
APIdays Paris 2019 - The API Operating Model: A Playbook for Value Release by...APIdays Paris 2019 - The API Operating Model: A Playbook for Value Release by...
APIdays Paris 2019 - The API Operating Model: A Playbook for Value Release by...
apidays
 
The relevance of design principles for WEB APIs
The relevance of design principles for WEB APIsThe relevance of design principles for WEB APIs
The relevance of design principles for WEB APIs
Rolando Carrasco
 
apidays LIVE Jakarta - What will the next generation of API Portals look like...
apidays LIVE Jakarta - What will the next generation of API Portals look like...apidays LIVE Jakarta - What will the next generation of API Portals look like...
apidays LIVE Jakarta - What will the next generation of API Portals look like...
apidays
 
API Design Principles using Oracle Apiary.io
API Design Principles using Oracle Apiary.ioAPI Design Principles using Oracle Apiary.io
API Design Principles using Oracle Apiary.io
Rolando Carrasco
 
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
Francisco Picolini
 
APIs as a Product Strategy
APIs as a Product StrategyAPIs as a Product Strategy
APIs as a Product Strategy
Ravi Kumar
 
Austin API Summit 2019 Lean and Business-oriented APIs
Austin API Summit 2019 Lean and Business-oriented APIsAustin API Summit 2019 Lean and Business-oriented APIs
Austin API Summit 2019 Lean and Business-oriented APIs
Marjukka Niinioja
 
Rebooting APIs at scale
Rebooting APIs at scaleRebooting APIs at scale
Rebooting APIs at scale
Rahul Dighe
 
Styleguide for your APIs
Styleguide for your APIsStyleguide for your APIs
Styleguide for your APIs
Rolando Carrasco
 
Lean Method for Building Good APIs for Business – APIOps Cycles
Lean Method for Building Good APIs for Business – APIOps CyclesLean Method for Building Good APIs for Business – APIOps Cycles
Lean Method for Building Good APIs for Business – APIOps Cycles
Nordic APIs
 
Designing APIs with Swagger and OpenAPI
Designing APIs with Swagger and OpenAPIDesigning APIs with Swagger and OpenAPI
Designing APIs with Swagger and OpenAPI
Manning Publications
 
APIdays Zurich 2019 - Digital Ecosystems, fueled by APIs Matthias Biehl, API ...
APIdays Zurich 2019 - Digital Ecosystems, fueled by APIs Matthias Biehl, API ...APIdays Zurich 2019 - Digital Ecosystems, fueled by APIs Matthias Biehl, API ...
APIdays Zurich 2019 - Digital Ecosystems, fueled by APIs Matthias Biehl, API ...
apidays
 
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
Apigee | Google Cloud
 
KPIs for APIs (and how API Calls are the new Web Hits, and you may be measuri...
KPIs for APIs (and how API Calls are the new Web Hits, and you may be measuri...KPIs for APIs (and how API Calls are the new Web Hits, and you may be measuri...
KPIs for APIs (and how API Calls are the new Web Hits, and you may be measuri...
John Musser
 
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
Jamison K. Bell | OvenPOP 360
 
Developers are People Too! Building a DX-Based API Strategy Ronnie Mitra, Pri...
Developers are People Too! Building a DX-Based API Strategy Ronnie Mitra, Pri...Developers are People Too! Building a DX-Based API Strategy Ronnie Mitra, Pri...
Developers are People Too! Building a DX-Based API Strategy Ronnie Mitra, Pri...
CA API Management
 

Similar to API-Design-Using-ChatGPT (20)

Lean and Business oriented method at APIOps Cycles APIDays Finland 2019
Lean and Business oriented method at APIOps Cycles APIDays Finland 2019 Lean and Business oriented method at APIOps Cycles APIDays Finland 2019
Lean and Business oriented method at APIOps Cycles APIDays Finland 2019
 
API-Consumption compressed (1)
API-Consumption compressed (1)API-Consumption compressed (1)
API-Consumption compressed (1)
 
APIdays Paris 2019 - The API Operating Model: A Playbook for Value Release by...
APIdays Paris 2019 - The API Operating Model: A Playbook for Value Release by...APIdays Paris 2019 - The API Operating Model: A Playbook for Value Release by...
APIdays Paris 2019 - The API Operating Model: A Playbook for Value Release by...
 
The relevance of design principles for WEB APIs
The relevance of design principles for WEB APIsThe relevance of design principles for WEB APIs
The relevance of design principles for WEB APIs
 
apidays LIVE Jakarta - What will the next generation of API Portals look like...
apidays LIVE Jakarta - What will the next generation of API Portals look like...apidays LIVE Jakarta - What will the next generation of API Portals look like...
apidays LIVE Jakarta - What will the next generation of API Portals look like...
 
API Design Principles using Oracle Apiary.io
API Design Principles using Oracle Apiary.ioAPI Design Principles using Oracle Apiary.io
API Design Principles using Oracle Apiary.io
 
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
 
APIs as a Product Strategy
APIs as a Product StrategyAPIs as a Product Strategy
APIs as a Product Strategy
 
Austin API Summit 2019 Lean and Business-oriented APIs
Austin API Summit 2019 Lean and Business-oriented APIsAustin API Summit 2019 Lean and Business-oriented APIs
Austin API Summit 2019 Lean and Business-oriented APIs
 
Rebooting APIs at scale
Rebooting APIs at scaleRebooting APIs at scale
Rebooting APIs at scale
 
Styleguide for your APIs
Styleguide for your APIsStyleguide for your APIs
Styleguide for your APIs
 
Lean Method for Building Good APIs for Business – APIOps Cycles
Lean Method for Building Good APIs for Business – APIOps CyclesLean Method for Building Good APIs for Business – APIOps Cycles
Lean Method for Building Good APIs for Business – APIOps Cycles
 
Designing APIs with Swagger and OpenAPI
Designing APIs with Swagger and OpenAPIDesigning APIs with Swagger and OpenAPI
Designing APIs with Swagger and OpenAPI
 
APIdays Zurich 2019 - Digital Ecosystems, fueled by APIs Matthias Biehl, API ...
APIdays Zurich 2019 - Digital Ecosystems, fueled by APIs Matthias Biehl, API ...APIdays Zurich 2019 - Digital Ecosystems, fueled by APIs Matthias Biehl, API ...
APIdays Zurich 2019 - Digital Ecosystems, fueled by APIs Matthias Biehl, API ...
 
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
 
KPIs for APIs (and how API Calls are the new Web Hits, and you may be measuri...
KPIs for APIs (and how API Calls are the new Web Hits, and you may be measuri...KPIs for APIs (and how API Calls are the new Web Hits, and you may be measuri...
KPIs for APIs (and how API Calls are the new Web Hits, and you may be measuri...
 
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
 
Web API Design
Web API DesignWeb API Design
Web API Design
 
Developers are People Too! Building a DX-Based API Strategy Ronnie Mitra, Pri...
Developers are People Too! Building a DX-Based API Strategy Ronnie Mitra, Pri...Developers are People Too! Building a DX-Based API Strategy Ronnie Mitra, Pri...
Developers are People Too! Building a DX-Based API Strategy Ronnie Mitra, Pri...
 
Smartone v1.0
Smartone v1.0Smartone v1.0
Smartone v1.0
 

Recently uploaded

JAVIER LASA-EXPERIENCIA digital 1986-2024.pdf
JAVIER LASA-EXPERIENCIA digital 1986-2024.pdfJAVIER LASA-EXPERIENCIA digital 1986-2024.pdf
JAVIER LASA-EXPERIENCIA digital 1986-2024.pdf
Javier Lasa
 
2.Cellular Networks_The final stage of connectivity is achieved by segmenting...
2.Cellular Networks_The final stage of connectivity is achieved by segmenting...2.Cellular Networks_The final stage of connectivity is achieved by segmenting...
2.Cellular Networks_The final stage of connectivity is achieved by segmenting...
JeyaPerumal1
 
学位认证网(DU毕业证)迪肯大学毕业证成绩单一比一原版制作
学位认证网(DU毕业证)迪肯大学毕业证成绩单一比一原版制作学位认证网(DU毕业证)迪肯大学毕业证成绩单一比一原版制作
学位认证网(DU毕业证)迪肯大学毕业证成绩单一比一原版制作
zyfovom
 
一比一原版(LBS毕业证)伦敦商学院毕业证成绩单专业办理
一比一原版(LBS毕业证)伦敦商学院毕业证成绩单专业办理一比一原版(LBS毕业证)伦敦商学院毕业证成绩单专业办理
一比一原版(LBS毕业证)伦敦商学院毕业证成绩单专业办理
eutxy
 
一比一原版(CSU毕业证)加利福尼亚州立大学毕业证成绩单专业办理
一比一原版(CSU毕业证)加利福尼亚州立大学毕业证成绩单专业办理一比一原版(CSU毕业证)加利福尼亚州立大学毕业证成绩单专业办理
一比一原版(CSU毕业证)加利福尼亚州立大学毕业证成绩单专业办理
ufdana
 
Gen Z and the marketplaces - let's translate their needs
Gen Z and the marketplaces - let's translate their needsGen Z and the marketplaces - let's translate their needs
Gen Z and the marketplaces - let's translate their needs
Laura Szabó
 
急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样
急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样
急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样
3ipehhoa
 
假文凭国外(Adelaide毕业证)澳大利亚国立大学毕业证成绩单办理
假文凭国外(Adelaide毕业证)澳大利亚国立大学毕业证成绩单办理假文凭国外(Adelaide毕业证)澳大利亚国立大学毕业证成绩单办理
假文凭国外(Adelaide毕业证)澳大利亚国立大学毕业证成绩单办理
cuobya
 
[HUN][hackersuli] Red Teaming alapok 2024
[HUN][hackersuli] Red Teaming alapok 2024[HUN][hackersuli] Red Teaming alapok 2024
[HUN][hackersuli] Red Teaming alapok 2024
hackersuli
 
Meet up Milano 14 _ Axpo Italia_ Migration from Mule3 (On-prem) to.pdf
Meet up Milano 14 _ Axpo Italia_ Migration from Mule3 (On-prem) to.pdfMeet up Milano 14 _ Axpo Italia_ Migration from Mule3 (On-prem) to.pdf
Meet up Milano 14 _ Axpo Italia_ Migration from Mule3 (On-prem) to.pdf
Florence Consulting
 
1比1复刻(bath毕业证书)英国巴斯大学毕业证学位证原版一模一样
1比1复刻(bath毕业证书)英国巴斯大学毕业证学位证原版一模一样1比1复刻(bath毕业证书)英国巴斯大学毕业证学位证原版一模一样
1比1复刻(bath毕业证书)英国巴斯大学毕业证学位证原版一模一样
3ipehhoa
 
7 Best Cloud Hosting Services to Try Out in 2024
7 Best Cloud Hosting Services to Try Out in 20247 Best Cloud Hosting Services to Try Out in 2024
7 Best Cloud Hosting Services to Try Out in 2024
Danica Gill
 
APNIC Foundation, presented by Ellisha Heppner at the PNG DNS Forum 2024
APNIC Foundation, presented by Ellisha Heppner at the PNG DNS Forum 2024APNIC Foundation, presented by Ellisha Heppner at the PNG DNS Forum 2024
APNIC Foundation, presented by Ellisha Heppner at the PNG DNS Forum 2024
APNIC
 
国外证书(Lincoln毕业证)新西兰林肯大学毕业证成绩单不能毕业办理
国外证书(Lincoln毕业证)新西兰林肯大学毕业证成绩单不能毕业办理国外证书(Lincoln毕业证)新西兰林肯大学毕业证成绩单不能毕业办理
国外证书(Lincoln毕业证)新西兰林肯大学毕业证成绩单不能毕业办理
zoowe
 
原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样
原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样
原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样
3ipehhoa
 
可查真实(Monash毕业证)西澳大学毕业证成绩单退学买
可查真实(Monash毕业证)西澳大学毕业证成绩单退学买可查真实(Monash毕业证)西澳大学毕业证成绩单退学买
可查真实(Monash毕业证)西澳大学毕业证成绩单退学买
cuobya
 
Explore-Insanony: Watch Instagram Stories Secretly
Explore-Insanony: Watch Instagram Stories SecretlyExplore-Insanony: Watch Instagram Stories Secretly
Explore-Insanony: Watch Instagram Stories Secretly
Trending Blogers
 
Internet of Things in Manufacturing: Revolutionizing Efficiency & Quality | C...
Internet of Things in Manufacturing: Revolutionizing Efficiency & Quality | C...Internet of Things in Manufacturing: Revolutionizing Efficiency & Quality | C...
Internet of Things in Manufacturing: Revolutionizing Efficiency & Quality | C...
CIOWomenMagazine
 
Bridging the Digital Gap Brad Spiegel Macon, GA Initiative.pptx
Bridging the Digital Gap Brad Spiegel Macon, GA Initiative.pptxBridging the Digital Gap Brad Spiegel Macon, GA Initiative.pptx
Bridging the Digital Gap Brad Spiegel Macon, GA Initiative.pptx
Brad Spiegel Macon GA
 
Bài tập unit 1 English in the world.docx
Bài tập unit 1 English in the world.docxBài tập unit 1 English in the world.docx
Bài tập unit 1 English in the world.docx
nhiyenphan2005
 

Recently uploaded (20)

JAVIER LASA-EXPERIENCIA digital 1986-2024.pdf
JAVIER LASA-EXPERIENCIA digital 1986-2024.pdfJAVIER LASA-EXPERIENCIA digital 1986-2024.pdf
JAVIER LASA-EXPERIENCIA digital 1986-2024.pdf
 
2.Cellular Networks_The final stage of connectivity is achieved by segmenting...
2.Cellular Networks_The final stage of connectivity is achieved by segmenting...2.Cellular Networks_The final stage of connectivity is achieved by segmenting...
2.Cellular Networks_The final stage of connectivity is achieved by segmenting...
 
学位认证网(DU毕业证)迪肯大学毕业证成绩单一比一原版制作
学位认证网(DU毕业证)迪肯大学毕业证成绩单一比一原版制作学位认证网(DU毕业证)迪肯大学毕业证成绩单一比一原版制作
学位认证网(DU毕业证)迪肯大学毕业证成绩单一比一原版制作
 
一比一原版(LBS毕业证)伦敦商学院毕业证成绩单专业办理
一比一原版(LBS毕业证)伦敦商学院毕业证成绩单专业办理一比一原版(LBS毕业证)伦敦商学院毕业证成绩单专业办理
一比一原版(LBS毕业证)伦敦商学院毕业证成绩单专业办理
 
一比一原版(CSU毕业证)加利福尼亚州立大学毕业证成绩单专业办理
一比一原版(CSU毕业证)加利福尼亚州立大学毕业证成绩单专业办理一比一原版(CSU毕业证)加利福尼亚州立大学毕业证成绩单专业办理
一比一原版(CSU毕业证)加利福尼亚州立大学毕业证成绩单专业办理
 
Gen Z and the marketplaces - let's translate their needs
Gen Z and the marketplaces - let's translate their needsGen Z and the marketplaces - let's translate their needs
Gen Z and the marketplaces - let's translate their needs
 
急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样
急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样
急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样
 
假文凭国外(Adelaide毕业证)澳大利亚国立大学毕业证成绩单办理
假文凭国外(Adelaide毕业证)澳大利亚国立大学毕业证成绩单办理假文凭国外(Adelaide毕业证)澳大利亚国立大学毕业证成绩单办理
假文凭国外(Adelaide毕业证)澳大利亚国立大学毕业证成绩单办理
 
[HUN][hackersuli] Red Teaming alapok 2024
[HUN][hackersuli] Red Teaming alapok 2024[HUN][hackersuli] Red Teaming alapok 2024
[HUN][hackersuli] Red Teaming alapok 2024
 
Meet up Milano 14 _ Axpo Italia_ Migration from Mule3 (On-prem) to.pdf
Meet up Milano 14 _ Axpo Italia_ Migration from Mule3 (On-prem) to.pdfMeet up Milano 14 _ Axpo Italia_ Migration from Mule3 (On-prem) to.pdf
Meet up Milano 14 _ Axpo Italia_ Migration from Mule3 (On-prem) to.pdf
 
1比1复刻(bath毕业证书)英国巴斯大学毕业证学位证原版一模一样
1比1复刻(bath毕业证书)英国巴斯大学毕业证学位证原版一模一样1比1复刻(bath毕业证书)英国巴斯大学毕业证学位证原版一模一样
1比1复刻(bath毕业证书)英国巴斯大学毕业证学位证原版一模一样
 
7 Best Cloud Hosting Services to Try Out in 2024
7 Best Cloud Hosting Services to Try Out in 20247 Best Cloud Hosting Services to Try Out in 2024
7 Best Cloud Hosting Services to Try Out in 2024
 
APNIC Foundation, presented by Ellisha Heppner at the PNG DNS Forum 2024
APNIC Foundation, presented by Ellisha Heppner at the PNG DNS Forum 2024APNIC Foundation, presented by Ellisha Heppner at the PNG DNS Forum 2024
APNIC Foundation, presented by Ellisha Heppner at the PNG DNS Forum 2024
 
国外证书(Lincoln毕业证)新西兰林肯大学毕业证成绩单不能毕业办理
国外证书(Lincoln毕业证)新西兰林肯大学毕业证成绩单不能毕业办理国外证书(Lincoln毕业证)新西兰林肯大学毕业证成绩单不能毕业办理
国外证书(Lincoln毕业证)新西兰林肯大学毕业证成绩单不能毕业办理
 
原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样
原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样
原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样
 
可查真实(Monash毕业证)西澳大学毕业证成绩单退学买
可查真实(Monash毕业证)西澳大学毕业证成绩单退学买可查真实(Monash毕业证)西澳大学毕业证成绩单退学买
可查真实(Monash毕业证)西澳大学毕业证成绩单退学买
 
Explore-Insanony: Watch Instagram Stories Secretly
Explore-Insanony: Watch Instagram Stories SecretlyExplore-Insanony: Watch Instagram Stories Secretly
Explore-Insanony: Watch Instagram Stories Secretly
 
Internet of Things in Manufacturing: Revolutionizing Efficiency & Quality | C...
Internet of Things in Manufacturing: Revolutionizing Efficiency & Quality | C...Internet of Things in Manufacturing: Revolutionizing Efficiency & Quality | C...
Internet of Things in Manufacturing: Revolutionizing Efficiency & Quality | C...
 
Bridging the Digital Gap Brad Spiegel Macon, GA Initiative.pptx
Bridging the Digital Gap Brad Spiegel Macon, GA Initiative.pptxBridging the Digital Gap Brad Spiegel Macon, GA Initiative.pptx
Bridging the Digital Gap Brad Spiegel Macon, GA Initiative.pptx
 
Bài tập unit 1 English in the world.docx
Bài tập unit 1 English in the world.docxBài tập unit 1 English in the world.docx
Bài tập unit 1 English in the world.docx
 

API-Design-Using-ChatGPT

  • 1. API DESIGN USING CHATGPT AS A COPILOT RAHUL DIGHE DIRECTOR OF PRODUCT (MERCHANT INTEGRATIONS @ PAYPAL) @RAHULDIGHE | RSDIGHE@HOTMAIL.COM | CALENDLY.COM/MRAPI I ❤ API’S Disclaimer: The opinions and observations presented herein are my personal views and analysis. They do not necessarily re fl ect the of fi cial stance or opinions of my employer. This analysis is based on independent research and assessment conducted in my personal capacity.
  • 2. ART & CRAFT API DESIGN AS ART • Creativity: API design requires creativity to come up with solutions that are both elegant and functional. It involves making decisions about resource naming, endpoint structure and data formats that are not purely technical but also user-centric. • Beauty: A well-designed API can be considered beautiful in its own way. It is elegant, simple, and easy to use. • Intuition: There’s an element of intuition involved in making design choices that result is an API that feels natural and easy for developers to work with. API DESIGN AS CRAFT • Technical Skill: Effective API design demands a deep understanding of technical aspects like HTTP methods, status codes, data formats (e.g., JSON, XML), authentication methods, and more. • Experience and Expertise: Seasoned API designers draw from their experience to make informed decisions about best practices, security considerations, and performance optimizations. The most successful API designs often strike a balance between these perspectives, leveraging creativity and technical prowess to deliver impactful and ef fi cient APIs.
  • 3. API DESIGN APPROACH - MY PERSONAL JOURNEY Individual Contributor PM Advising & Reviewing APIs across Org Train & Mentor API PM in the team On Walks In my dreams Exercising
  • 4. INSTANT ADVICE FROM JUNIOR PM TO SVP
  • 5. OUR HEADS ARE A LARGE LANGUAGE MODEL BUT IT’S CANNOT SCALE, GET TIERED, BIASED… API Design Patterns Competitor API API Conferences API Design Guidelines Past Mistakes in Design Vast Knowledge base Speed and Scale Consistency Quick learning and adaptable Pattern Recognition
  • 6. KEY INGREDIENTS FOR SUCCESS Be Curious “Ask Why a lot” Ask the right Questions Prompt Engineering
  • 7. CHAT GPT AS A COPILOT FOR THE DISCOVERY & DESIGN DEPLOY & LAUNCH Sandbox availability User testing Training GTM activities Setup Monitoring Limited Release DISCOVERY Problem Competitors Customer research Persona Business Case Epics DESIGN End Points, Fields Security Mocks Frontend tools Specification User Stories DEVELOP Prioritized backlog Spec to Code Documentation SDK Automated Tests MVP
  • 8. PROBLEM “I am going to meet a lot of API geeks in Paris and I am sure they would love an API that helps them fi nd the best croissants in Paris what potential API solutions can I build”
  • 9. API TO FIND THE BEST CROISSANT IN PARIS ! Problem I am going to meet a lot of API geeks in Paris and I am sure they would love an API that helps them fi nd the best croissants in Paris what potential API solutions can I build Competitor Research 1. What are some good examples of providers who might offer an api to fi nd who has the best croissants in Paris 2. Generate a table with list of providers who offer an API similar to Yelp Fusion API in 1st column and the name of the API end point in second column 3. Generate a table with list of providers who offer an API to look up bakeries that offer croissants in 1st column and the name of the API end point in second column Persona For the duration of this session assume the persona of a croissant connoisseur who has tasted croissants in every city he has visited on earth. He is in his early 40's, married with 2 kids and fell in love with croissant when he fi rst visited Paris as a student. He can be very particular about his croissants and has been known to judge croissant competitions in his hometown. What would you like to search when looking for the best croissant? Epics Write epics for an API to fi nd best croissant in paris in the format "As a 'persona', I want ____ so that _____ Endpoints What endpoints should I consider while building an api that will help fi nd the best croissant in Paris Fields What fi elds should I offer in my API that helps someone search for the best croissant in a Paris Errors What error messages should I offer in my API that helps someone search for the best croissant in a Paris
  • 10. IMPROVE EXISTING API Improve Field Names Rewrite the api request with an aim to enhance readability, clarity, and consistency within the API request, making it easier for developers to understand and work with the API. Also explain the changes made and why “< JSON Request>” Improve Descriptions Rewrite the description to enhance readability, clarity making it easier for a developer who has never worked on API to understand "The preferred server response upon successful completion of the request. Value is: Improve Error Message Provide suggestions for errors that mean similar thing as below “<error code> <error message”. rewrite the error messages to enhance readability, clarity, have a consistent tone making it easier for developers to read the error and make suitable corrections. Explain the changes made and why Brainstorm -What else? Provide suggestions on how to restructure the API request to enhance readability, usability, clarity and consistency, making it easier for developers who have never worked on Payment APIs to understand work with this API. Explain the changes made and why “<JSON Request>”.
  • 11. CHALLENGES Only as good as what they are trained on Limited Creativity for novel tasks Approach with healthy skepticism It’s like learning to use a search engine Responses Evolve
  • 12. MIT Generative AI ROLE OF AI YOU ARE NOT GOING TO BE REPLACED BY “AI” BUT YOU WILL BE REPLACED BY A HUMAN USING “AI"
  • 13. RAHUL DIGHE www.linkedin.com/in/rahuldighe www.calendly.com/mrapi rsdighe@hotmail.com LAUNCHES FEB 14, 2024 API Product Manager: ChatGPT Prompts THANKS ! LET’S GET IN TOUCH