SlideShare una empresa de Scribd logo
1 de 36
Descargar para leer sin conexión
The Next Step to Build Better
APIs — Consistent Data
Structure
by Andrew Turner
https://by.dialexa.com/consistent-data-structures-the-next-step-to-building-an-api
Dialexa
We are on a mission to make every
company a great technology company.
We work with organizations to define and
execute digital transformation strategies to
improve business operations and customer
experiences. Our services include:
• Multi-Year Technology Roadmap
• Platform Engineering
• User Experience Design
• Custom Software Development
• Hardware Prototyping /IoT
You don’t build good
APIs through coding
alone. Like  any other
part of your business,
APIs are best when
they are developed as
part of a detailed,
end-to-end strategy.
Get the full write up of
this slideshare HERE
However, there are multiple
parts of a comprehensive
strategy and understanding
each piece is essential to
building better APIs.
Get the full write up of
this slideshare HERE
In our first post about APIs, we talked
about the need for a documentation-
first strategy and how 3 main tools can
help you build more effectively.
Get the full write up of
this slideshare HERE
The next natural step in the process is to
choose an appropriate data structure formatting
convention for API endpoint responses and
ensure it is applied consistently—here’s how.
Get the full write up of
this slideshare HERE
Understand Your API Use Case
Get the full write up of
this slideshare HERE
We talk a lot about
“starting with the why”
for product development—
starting small discovery
projects and using design
thinking to get to the heart
of the problem your
product will solve.
Get the full write up of
this slideshare HERE
Understanding the “why” is
also an important concept
when building APIs.
Get the full write up of
this slideshare HERE
The key is to determine your API use
case. Is the API for a mobile app? Is it
for front end use? Will it be public for
third party developers?
Get the full write up of
this slideshare HERE
The “why” of your API will help you
choose the right data structure convention
for development. However, there are many
different options to choose from.
Get the full write up of
this slideshare HERE
Common API Response
Formatting Conventions
Get the full write up of
this slideshare HERE
To read more you can find the full article at
https://by.dialexa.com/consistent-data-structures-the-
next-step-to-building-an-api
JSON API
JSON API is a community-driven specification for building
APIs and formatting API responses.
Get the full write up of
this slideshare HERE
EmberData
Ember is a framework for creating ambitious web applications.
If you're building an API for an Ember application, you may
want to consider using the EmberData convention for your API
responses.
Get the full write up of
this slideshare HERE
Core API
Another community-driven convention is Core API.
Get the full write up of
this slideshare HERE
Flat Response
This is a simple and straightforward way to format your data structure that
simply returns the data requested without a namespace object. Twitter and
GitHub are popular APIs that follow this data structure formatting convention.
Get the full write up of
this slideshare HERE
Seeking the pros and cons of
each data structure convention
seems like a logical next step
once you’ve listed your options.
Get the full write up of
this slideshare HERE
However, there is no single correct data structure
convention. You should choose a convention based
on what is pragmatic and intended for your API use case.
Get the full write up of
this slideshare HERE
It’s possible that a specific data structure convention would
work best for your API's use case—for example, Vinli’s
need to return telemetry data could command a different
convention than a project management API that returns
tasks and project updates.
Get the full write up of
this slideshare HERE
Generally, though,
keeping your data
structures
consistently
formatted will result
in a better API. 
Get the full write up of
this slideshare HERE
Get the full write up of
this slideshare HERE
When you establish
your data structure
convention from the
outset of your project,
you can better
coordinate the “why”
of your API and the
way you’re building it. 
Get the full write up of
this slideshare HERE
Then, you can
include the data
structure
convention in your
documentation
and use Dredd to
validate its use
throughout the
project.
Get the full write up of
this slideshare HERE
After you establish a formatting
convention for your API's data
structures, you should implement
meaningful HTTP status codes
to ensure your API responses are
accurate.
Get the full write up of
this slideshare HERE
Find out where great products come from!
Download or free eBook:
https://by.dialexa.com/dialexa-end-to-end-
development-guide-0
Status Codes Should Accurately
Reflect Your API Response
Get the full write up of
this slideshare HERE
As you use Dredd to validate your
data structure formatting, make
sure you use the appropriate
HTTP status code for each type
of response.
Get the full write up of
this slideshare HERE
However, because there are
so many HTTP status codes,
it is important to pay attention
to the right ones throughout
your development process.
Get the full write up of
this slideshare HERE
At a higher level, there are 4 main HTTP status code
categories:
• 200 Level: The HTTP 2xx codes convey successful responses.
• 300 Level: HTTP 3xx codes are reserved for redirects.
• 400 Level: This Block of codes conveys errors that originate on the client side.
• 500 Level: Similar to the 400 level codes, HTTP 5xx codes translate errors, but
on the server side instead.
Get the full write up of
this slideshare HERE
To give you a better idea of the specific codes any engineer should
know, we’ve compiled a list of the most important ones:
Get the full write up of
this slideshare HERE
By using these meaningful
status codes, you can
avoid sending 200 level
status codes when your
API is returning an error!
Get the full write up of
this slideshare HERE
You want your API
to be predictable and
easy to work with—
ensuring status
codes match the true
API response is
essential to building
a better API.
Get the full write up of
this slideshare HERE
There’s More to APIs and
Product Development Than
Consistent Data Structures
Get the full write up of
this slideshare HERE
You won’t be able to build an effective API without
proper documentation and consistent data structures.
Get the full write up of
this slideshare HERE
And you won’t be able to  succeed with
digital transformation projects if you
can’t build better APIs. However, there’s
much more to digital transformation
product development than just APIs.
Get the full write up of
this slideshare HERE
PROPERTY OF DIALEXA LLC ©2017 - CONFIDENTIAL & PROPRIETARY
Thank You
Doug Platts
VP of Marketing
marketing@dialexa.com
If you want to learn more about the product
development process and how your better
APIs fit into the bigger picture, download
our free ebook and discover how we
combine business and innovation consulting,
user experience design, software
engineering and hardware engineering to
create products that users love.
Get the full write up of this slideshare at https://
by.dialexa.com/consistent-data-structures-the-next-step-to-
building-an-api

Más contenido relacionado

La actualidad más candente

Designing APIs and Microservices Using Domain-Driven Design
Designing APIs and Microservices Using Domain-Driven DesignDesigning APIs and Microservices Using Domain-Driven Design
Designing APIs and Microservices Using Domain-Driven DesignLaunchAny
 
Designing a Future-proof API Program
Designing a Future-proof API ProgramDesigning a Future-proof API Program
Designing a Future-proof API ProgramPronovix
 
Creating an MVP with Oracle
Creating an MVP with OracleCreating an MVP with Oracle
Creating an MVP with OracleFranco Ucci
 
Api clarity webinar
Api clarity webinarApi clarity webinar
Api clarity webinarLibbySchulze
 
Pain Points In API Development? They’re Everywhere
Pain Points In API Development? They’re EverywherePain Points In API Development? They’re Everywhere
Pain Points In API Development? They’re EverywhereNordic APIs
 
Ultimate Guide to 30+ API Documentation Solutions
Ultimate Guide to 30+ API Documentation SolutionsUltimate Guide to 30+ API Documentation Solutions
Ultimate Guide to 30+ API Documentation SolutionsBill Doerrfeld
 
Onion Architecture
Onion ArchitectureOnion Architecture
Onion Architecturematthidinger
 
apidays LIVE Paris - Data with a mission: a COVID-19 API case study by Matt M...
apidays LIVE Paris - Data with a mission: a COVID-19 API case study by Matt M...apidays LIVE Paris - Data with a mission: a COVID-19 API case study by Matt M...
apidays LIVE Paris - Data with a mission: a COVID-19 API case study by Matt M...apidays
 
apidays LIVE New York 2021 - Service API design validation by Uchit Vyas, KPMG
apidays LIVE New York 2021 - Service API design validation by Uchit Vyas, KPMGapidays LIVE New York 2021 - Service API design validation by Uchit Vyas, KPMG
apidays LIVE New York 2021 - Service API design validation by Uchit Vyas, KPMGapidays
 
apidays LIVE New York - API Code First vs Design First by Phil Sturgeon
apidays LIVE New York - API Code First vs Design First by Phil Sturgeonapidays LIVE New York - API Code First vs Design First by Phil Sturgeon
apidays LIVE New York - API Code First vs Design First by Phil Sturgeonapidays
 
API Thinking - How to Design APIs Through Systems Design
API Thinking - How to Design APIs Through Systems DesignAPI Thinking - How to Design APIs Through Systems Design
API Thinking - How to Design APIs Through Systems DesignLaunchAny
 
INTERFACE, by apidays - Low code APIs that don't break by Zdenek Nemec, Supe...
INTERFACE, by apidays  - Low code APIs that don't break by Zdenek Nemec, Supe...INTERFACE, by apidays  - Low code APIs that don't break by Zdenek Nemec, Supe...
INTERFACE, by apidays - Low code APIs that don't break by Zdenek Nemec, Supe...apidays
 
An Inside Look at a Large-scale Writer-driven REST API Doc Solution at Salesf...
An Inside Look at a Large-scale Writer-driven REST API Doc Solution at Salesf...An Inside Look at a Large-scale Writer-driven REST API Doc Solution at Salesf...
An Inside Look at a Large-scale Writer-driven REST API Doc Solution at Salesf...Pronovix
 
Dependency Down, Flexibility Up – The Benefits of API-First Development
Dependency Down, Flexibility Up – The Benefits of API-First DevelopmentDependency Down, Flexibility Up – The Benefits of API-First Development
Dependency Down, Flexibility Up – The Benefits of API-First DevelopmentNordic APIs
 
APIs Are Just Like LEGO Blocks | APPSeCONNECT
APIs Are Just Like LEGO Blocks | APPSeCONNECTAPIs Are Just Like LEGO Blocks | APPSeCONNECT
APIs Are Just Like LEGO Blocks | APPSeCONNECTAPPSeCONNECT
 
API Best Practices Webinar: Metrics - What to Measure
API Best Practices Webinar:  Metrics - What to MeasureAPI Best Practices Webinar:  Metrics - What to Measure
API Best Practices Webinar: Metrics - What to MeasureApigee | Google Cloud
 
apidays LIVE LONDON - Discovering API Version differences with ease by Jaap B...
apidays LIVE LONDON - Discovering API Version differences with ease by Jaap B...apidays LIVE LONDON - Discovering API Version differences with ease by Jaap B...
apidays LIVE LONDON - Discovering API Version differences with ease by Jaap B...apidays
 
APIs Are Forever - How to Design Long-Lasting APIs
APIs Are Forever - How to Design Long-Lasting APIsAPIs Are Forever - How to Design Long-Lasting APIs
APIs Are Forever - How to Design Long-Lasting APIsLaunchAny
 

La actualidad más candente (20)

Designing APIs and Microservices Using Domain-Driven Design
Designing APIs and Microservices Using Domain-Driven DesignDesigning APIs and Microservices Using Domain-Driven Design
Designing APIs and Microservices Using Domain-Driven Design
 
Designing a Future-proof API Program
Designing a Future-proof API ProgramDesigning a Future-proof API Program
Designing a Future-proof API Program
 
Creating an MVP with Oracle
Creating an MVP with OracleCreating an MVP with Oracle
Creating an MVP with Oracle
 
Api clarity webinar
Api clarity webinarApi clarity webinar
Api clarity webinar
 
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
 
Ultimate Guide to 30+ API Documentation Solutions
Ultimate Guide to 30+ API Documentation SolutionsUltimate Guide to 30+ API Documentation Solutions
Ultimate Guide to 30+ API Documentation Solutions
 
Onion Architecture
Onion ArchitectureOnion Architecture
Onion Architecture
 
apidays LIVE Paris - Data with a mission: a COVID-19 API case study by Matt M...
apidays LIVE Paris - Data with a mission: a COVID-19 API case study by Matt M...apidays LIVE Paris - Data with a mission: a COVID-19 API case study by Matt M...
apidays LIVE Paris - Data with a mission: a COVID-19 API case study by Matt M...
 
apidays LIVE New York 2021 - Service API design validation by Uchit Vyas, KPMG
apidays LIVE New York 2021 - Service API design validation by Uchit Vyas, KPMGapidays LIVE New York 2021 - Service API design validation by Uchit Vyas, KPMG
apidays LIVE New York 2021 - Service API design validation by Uchit Vyas, KPMG
 
Api types
Api typesApi types
Api types
 
apidays LIVE New York - API Code First vs Design First by Phil Sturgeon
apidays LIVE New York - API Code First vs Design First by Phil Sturgeonapidays LIVE New York - API Code First vs Design First by Phil Sturgeon
apidays LIVE New York - API Code First vs Design First by Phil Sturgeon
 
API Thinking - How to Design APIs Through Systems Design
API Thinking - How to Design APIs Through Systems DesignAPI Thinking - How to Design APIs Through Systems Design
API Thinking - How to Design APIs Through Systems Design
 
INTERFACE, by apidays - Low code APIs that don't break by Zdenek Nemec, Supe...
INTERFACE, by apidays  - Low code APIs that don't break by Zdenek Nemec, Supe...INTERFACE, by apidays  - Low code APIs that don't break by Zdenek Nemec, Supe...
INTERFACE, by apidays - Low code APIs that don't break by Zdenek Nemec, Supe...
 
An Inside Look at a Large-scale Writer-driven REST API Doc Solution at Salesf...
An Inside Look at a Large-scale Writer-driven REST API Doc Solution at Salesf...An Inside Look at a Large-scale Writer-driven REST API Doc Solution at Salesf...
An Inside Look at a Large-scale Writer-driven REST API Doc Solution at Salesf...
 
Dependency Down, Flexibility Up – The Benefits of API-First Development
Dependency Down, Flexibility Up – The Benefits of API-First DevelopmentDependency Down, Flexibility Up – The Benefits of API-First Development
Dependency Down, Flexibility Up – The Benefits of API-First Development
 
APIs Are Just Like LEGO Blocks | APPSeCONNECT
APIs Are Just Like LEGO Blocks | APPSeCONNECTAPIs Are Just Like LEGO Blocks | APPSeCONNECT
APIs Are Just Like LEGO Blocks | APPSeCONNECT
 
API Best Practices Webinar: Metrics - What to Measure
API Best Practices Webinar:  Metrics - What to MeasureAPI Best Practices Webinar:  Metrics - What to Measure
API Best Practices Webinar: Metrics - What to Measure
 
apidays LIVE LONDON - Discovering API Version differences with ease by Jaap B...
apidays LIVE LONDON - Discovering API Version differences with ease by Jaap B...apidays LIVE LONDON - Discovering API Version differences with ease by Jaap B...
apidays LIVE LONDON - Discovering API Version differences with ease by Jaap B...
 
APIs Are Forever - How to Design Long-Lasting APIs
APIs Are Forever - How to Design Long-Lasting APIsAPIs Are Forever - How to Design Long-Lasting APIs
APIs Are Forever - How to Design Long-Lasting APIs
 
What is an API and why use it?
What is an API and why use it?What is an API and why use it?
What is an API and why use it?
 

Similar a The Next Step to Build Better APIs — Consistent Data Structure

Practical guide to building public APIs
Practical guide to building public APIsPractical guide to building public APIs
Practical guide to building public APIsReda Hmeid MBCS
 
Apidays Singapore 2024 - APIs in the world of Generative AI by Claudio Tag, IBM
Apidays Singapore 2024 - APIs in the world of Generative AI by Claudio Tag, IBMApidays Singapore 2024 - APIs in the world of Generative AI by Claudio Tag, IBM
Apidays Singapore 2024 - APIs in the world of Generative AI by Claudio Tag, IBMapidays
 
APIs +Micro services technology for Computing
APIs +Micro services technology for ComputingAPIs +Micro services technology for Computing
APIs +Micro services technology for Computingwismoyo92
 
Understanding API Architectures: Web API vs. Minimal API – An In-Depth Compar...
Understanding API Architectures: Web API vs. Minimal API – An In-Depth Compar...Understanding API Architectures: Web API vs. Minimal API – An In-Depth Compar...
Understanding API Architectures: Web API vs. Minimal API – An In-Depth Compar...Polyxer Systems
 
Creating Datadipity
Creating DatadipityCreating Datadipity
Creating DatadipityClickslide
 
How to build and deploy app on Replit
How to build and deploy app on ReplitHow to build and deploy app on Replit
How to build and deploy app on Replitmatiasfund
 
Di api di server b1 ws
Di api di server b1 wsDi api di server b1 ws
Di api di server b1 wsAbhishek Sur
 
Building the Eventbrite API Ecosystem
Building the Eventbrite API EcosystemBuilding the Eventbrite API Ecosystem
Building the Eventbrite API EcosystemMitch Colleran
 
APIs as a Product Strategy
APIs as a Product StrategyAPIs as a Product Strategy
APIs as a Product StrategyRavi Kumar
 
Application Programming Interface Implementation For Building Software Applic...
Application Programming Interface Implementation For Building Software Applic...Application Programming Interface Implementation For Building Software Applic...
Application Programming Interface Implementation For Building Software Applic...SlideTeam
 
Our API Evolution: From Metadata to Tooling API for Building Incredible Apps
Our API Evolution: From Metadata to Tooling API for Building Incredible AppsOur API Evolution: From Metadata to Tooling API for Building Incredible Apps
Our API Evolution: From Metadata to Tooling API for Building Incredible AppsDreamforce
 
Webinar: How API Lifecycle Management can help to Accelerate Growth
Webinar: How API Lifecycle Management can help to Accelerate GrowthWebinar: How API Lifecycle Management can help to Accelerate Growth
Webinar: How API Lifecycle Management can help to Accelerate GrowthAPPSeCONNECT
 
The API SlideShare for Bankers and Fintech Executives
The API SlideShare for Bankers and Fintech ExecutivesThe API SlideShare for Bankers and Fintech Executives
The API SlideShare for Bankers and Fintech ExecutivesMX
 
apidays Helsinki & North 2023 - How can data-driven DevRel help identify gaps...
apidays Helsinki & North 2023 - How can data-driven DevRel help identify gaps...apidays Helsinki & North 2023 - How can data-driven DevRel help identify gaps...
apidays Helsinki & North 2023 - How can data-driven DevRel help identify gaps...apidays
 
6 Best OpenAPI Documentation Tools that You must Know
6 Best OpenAPI Documentation Tools that You must Know6 Best OpenAPI Documentation Tools that You must Know
6 Best OpenAPI Documentation Tools that You must KnowMars Devs
 
Optimizing your job apply pages with the LinkedIn profile API
Optimizing your job apply pages with the LinkedIn profile APIOptimizing your job apply pages with the LinkedIn profile API
Optimizing your job apply pages with the LinkedIn profile APIIvo Brett
 
5 Best Asp.Net Core Features to Know and Employ In 2024.pptx
5 Best Asp.Net Core Features to Know and Employ In 2024.pptx5 Best Asp.Net Core Features to Know and Employ In 2024.pptx
5 Best Asp.Net Core Features to Know and Employ In 2024.pptxZorbis Inc.
 

Similar a The Next Step to Build Better APIs — Consistent Data Structure (20)

Practical guide to building public APIs
Practical guide to building public APIsPractical guide to building public APIs
Practical guide to building public APIs
 
Apidays Singapore 2024 - APIs in the world of Generative AI by Claudio Tag, IBM
Apidays Singapore 2024 - APIs in the world of Generative AI by Claudio Tag, IBMApidays Singapore 2024 - APIs in the world of Generative AI by Claudio Tag, IBM
Apidays Singapore 2024 - APIs in the world of Generative AI by Claudio Tag, IBM
 
APIs +Micro services technology for Computing
APIs +Micro services technology for ComputingAPIs +Micro services technology for Computing
APIs +Micro services technology for Computing
 
Understanding API Architectures: Web API vs. Minimal API – An In-Depth Compar...
Understanding API Architectures: Web API vs. Minimal API – An In-Depth Compar...Understanding API Architectures: Web API vs. Minimal API – An In-Depth Compar...
Understanding API Architectures: Web API vs. Minimal API – An In-Depth Compar...
 
Creating Datadipity
Creating DatadipityCreating Datadipity
Creating Datadipity
 
How to build and deploy app on Replit
How to build and deploy app on ReplitHow to build and deploy app on Replit
How to build and deploy app on Replit
 
Di api di server b1 ws
Di api di server b1 wsDi api di server b1 ws
Di api di server b1 ws
 
Building the Eventbrite API Ecosystem
Building the Eventbrite API EcosystemBuilding the Eventbrite API Ecosystem
Building the Eventbrite API Ecosystem
 
API.docx
API.docxAPI.docx
API.docx
 
APIs as a Product Strategy
APIs as a Product StrategyAPIs as a Product Strategy
APIs as a Product Strategy
 
Api design part 1
Api design part 1Api design part 1
Api design part 1
 
Third party api integration
Third party api integrationThird party api integration
Third party api integration
 
Application Programming Interface Implementation For Building Software Applic...
Application Programming Interface Implementation For Building Software Applic...Application Programming Interface Implementation For Building Software Applic...
Application Programming Interface Implementation For Building Software Applic...
 
Our API Evolution: From Metadata to Tooling API for Building Incredible Apps
Our API Evolution: From Metadata to Tooling API for Building Incredible AppsOur API Evolution: From Metadata to Tooling API for Building Incredible Apps
Our API Evolution: From Metadata to Tooling API for Building Incredible Apps
 
Webinar: How API Lifecycle Management can help to Accelerate Growth
Webinar: How API Lifecycle Management can help to Accelerate GrowthWebinar: How API Lifecycle Management can help to Accelerate Growth
Webinar: How API Lifecycle Management can help to Accelerate Growth
 
The API SlideShare for Bankers and Fintech Executives
The API SlideShare for Bankers and Fintech ExecutivesThe API SlideShare for Bankers and Fintech Executives
The API SlideShare for Bankers and Fintech Executives
 
apidays Helsinki & North 2023 - How can data-driven DevRel help identify gaps...
apidays Helsinki & North 2023 - How can data-driven DevRel help identify gaps...apidays Helsinki & North 2023 - How can data-driven DevRel help identify gaps...
apidays Helsinki & North 2023 - How can data-driven DevRel help identify gaps...
 
6 Best OpenAPI Documentation Tools that You must Know
6 Best OpenAPI Documentation Tools that You must Know6 Best OpenAPI Documentation Tools that You must Know
6 Best OpenAPI Documentation Tools that You must Know
 
Optimizing your job apply pages with the LinkedIn profile API
Optimizing your job apply pages with the LinkedIn profile APIOptimizing your job apply pages with the LinkedIn profile API
Optimizing your job apply pages with the LinkedIn profile API
 
5 Best Asp.Net Core Features to Know and Employ In 2024.pptx
5 Best Asp.Net Core Features to Know and Employ In 2024.pptx5 Best Asp.Net Core Features to Know and Employ In 2024.pptx
5 Best Asp.Net Core Features to Know and Employ In 2024.pptx
 

Más de Dialexa

Smart Transportation Is All About the Data - Insights from Vinli CEO, Mark Ha...
Smart Transportation Is All About the Data - Insights from Vinli CEO, Mark Ha...Smart Transportation Is All About the Data - Insights from Vinli CEO, Mark Ha...
Smart Transportation Is All About the Data - Insights from Vinli CEO, Mark Ha...Dialexa
 
Developing User Stories - The Dialexa Way
Developing User Stories - The Dialexa WayDeveloping User Stories - The Dialexa Way
Developing User Stories - The Dialexa WayDialexa
 
The Evolution of UX in Virtual Reality
The Evolution of UX in Virtual RealityThe Evolution of UX in Virtual Reality
The Evolution of UX in Virtual RealityDialexa
 
33 Software Development Tools that Drive Dialexa’s Success
33 Software Development Tools that Drive Dialexa’s Success33 Software Development Tools that Drive Dialexa’s Success
33 Software Development Tools that Drive Dialexa’s SuccessDialexa
 
Platforms and Microservices - Is There a Middle Ground for Engineers and Tech...
Platforms and Microservices - Is There a Middle Ground for Engineers and Tech...Platforms and Microservices - Is There a Middle Ground for Engineers and Tech...
Platforms and Microservices - Is There a Middle Ground for Engineers and Tech...Dialexa
 
Balancing Human-Centered Design with Business Outcomes (Part 2: Shift from De...
Balancing Human-Centered Design with Business Outcomes (Part 2: Shift from De...Balancing Human-Centered Design with Business Outcomes (Part 2: Shift from De...
Balancing Human-Centered Design with Business Outcomes (Part 2: Shift from De...Dialexa
 
FAA Drone Regulations - Your Part 107 Cheat Sheet
FAA Drone Regulations - Your Part 107 Cheat SheetFAA Drone Regulations - Your Part 107 Cheat Sheet
FAA Drone Regulations - Your Part 107 Cheat SheetDialexa
 
The Four Pillars of PCB Design for Creating a Successful IoT Product
The Four Pillars of PCB Design for Creating a Successful IoT ProductThe Four Pillars of PCB Design for Creating a Successful IoT Product
The Four Pillars of PCB Design for Creating a Successful IoT ProductDialexa
 
Tools and Resources for New Product Development: The Discovery Phase
Tools and Resources for New Product Development: The Discovery PhaseTools and Resources for New Product Development: The Discovery Phase
Tools and Resources for New Product Development: The Discovery PhaseDialexa
 
Humanizing Machine Learning - Real-World Applications
Humanizing Machine Learning - Real-World ApplicationsHumanizing Machine Learning - Real-World Applications
Humanizing Machine Learning - Real-World ApplicationsDialexa
 
It’s About More than Pixels: Redefining "Designer"
It’s About More than Pixels: Redefining "Designer"It’s About More than Pixels: Redefining "Designer"
It’s About More than Pixels: Redefining "Designer"Dialexa
 
4 External Forces Accelerating the Smart City Model
4 External Forces Accelerating the Smart City Model4 External Forces Accelerating the Smart City Model
4 External Forces Accelerating the Smart City ModelDialexa
 
Your Big Idea: Creating Products for B2B Disruption
Your Big Idea: Creating Products for B2B DisruptionYour Big Idea: Creating Products for B2B Disruption
Your Big Idea: Creating Products for B2B DisruptionDialexa
 
Organizational Challenges CIOs Face as Companies Change Rapidly—And What to D...
Organizational Challenges CIOs Face as Companies Change Rapidly—And What to D...Organizational Challenges CIOs Face as Companies Change Rapidly—And What to D...
Organizational Challenges CIOs Face as Companies Change Rapidly—And What to D...Dialexa
 
Does Your Technology Roadmap Have a Financial Roadmap?
Does Your Technology Roadmap Have a Financial Roadmap?Does Your Technology Roadmap Have a Financial Roadmap?
Does Your Technology Roadmap Have a Financial Roadmap?Dialexa
 
Current State Analysis—More Important than You Think for Building a Technolog...
Current State Analysis—More Important than You Think for Building a Technolog...Current State Analysis—More Important than You Think for Building a Technolog...
Current State Analysis—More Important than You Think for Building a Technolog...Dialexa
 
Lean Design Research - Why There’s No Excuse Wasting Money on Bad Products A...
Lean Design Research - Why There’s No Excuse Wasting  Money on Bad Products A...Lean Design Research - Why There’s No Excuse Wasting  Money on Bad Products A...
Lean Design Research - Why There’s No Excuse Wasting Money on Bad Products A...Dialexa
 
Minimum Testable Features—A Different Approach to Agile Software Development
Minimum Testable Features—A Different Approach to Agile Software DevelopmentMinimum Testable Features—A Different Approach to Agile Software Development
Minimum Testable Features—A Different Approach to Agile Software DevelopmentDialexa
 
Minimum Viable Bureaucracy- A Practical Approach to Scaling Agile Project Man...
Minimum Viable Bureaucracy- A Practical Approach to Scaling Agile Project Man...Minimum Viable Bureaucracy- A Practical Approach to Scaling Agile Project Man...
Minimum Viable Bureaucracy- A Practical Approach to Scaling Agile Project Man...Dialexa
 
The Minimum Loveable Product: Go Beyond the Minimum Viable Product
The Minimum Loveable Product: Go Beyond the Minimum Viable ProductThe Minimum Loveable Product: Go Beyond the Minimum Viable Product
The Minimum Loveable Product: Go Beyond the Minimum Viable ProductDialexa
 

Más de Dialexa (20)

Smart Transportation Is All About the Data - Insights from Vinli CEO, Mark Ha...
Smart Transportation Is All About the Data - Insights from Vinli CEO, Mark Ha...Smart Transportation Is All About the Data - Insights from Vinli CEO, Mark Ha...
Smart Transportation Is All About the Data - Insights from Vinli CEO, Mark Ha...
 
Developing User Stories - The Dialexa Way
Developing User Stories - The Dialexa WayDeveloping User Stories - The Dialexa Way
Developing User Stories - The Dialexa Way
 
The Evolution of UX in Virtual Reality
The Evolution of UX in Virtual RealityThe Evolution of UX in Virtual Reality
The Evolution of UX in Virtual Reality
 
33 Software Development Tools that Drive Dialexa’s Success
33 Software Development Tools that Drive Dialexa’s Success33 Software Development Tools that Drive Dialexa’s Success
33 Software Development Tools that Drive Dialexa’s Success
 
Platforms and Microservices - Is There a Middle Ground for Engineers and Tech...
Platforms and Microservices - Is There a Middle Ground for Engineers and Tech...Platforms and Microservices - Is There a Middle Ground for Engineers and Tech...
Platforms and Microservices - Is There a Middle Ground for Engineers and Tech...
 
Balancing Human-Centered Design with Business Outcomes (Part 2: Shift from De...
Balancing Human-Centered Design with Business Outcomes (Part 2: Shift from De...Balancing Human-Centered Design with Business Outcomes (Part 2: Shift from De...
Balancing Human-Centered Design with Business Outcomes (Part 2: Shift from De...
 
FAA Drone Regulations - Your Part 107 Cheat Sheet
FAA Drone Regulations - Your Part 107 Cheat SheetFAA Drone Regulations - Your Part 107 Cheat Sheet
FAA Drone Regulations - Your Part 107 Cheat Sheet
 
The Four Pillars of PCB Design for Creating a Successful IoT Product
The Four Pillars of PCB Design for Creating a Successful IoT ProductThe Four Pillars of PCB Design for Creating a Successful IoT Product
The Four Pillars of PCB Design for Creating a Successful IoT Product
 
Tools and Resources for New Product Development: The Discovery Phase
Tools and Resources for New Product Development: The Discovery PhaseTools and Resources for New Product Development: The Discovery Phase
Tools and Resources for New Product Development: The Discovery Phase
 
Humanizing Machine Learning - Real-World Applications
Humanizing Machine Learning - Real-World ApplicationsHumanizing Machine Learning - Real-World Applications
Humanizing Machine Learning - Real-World Applications
 
It’s About More than Pixels: Redefining "Designer"
It’s About More than Pixels: Redefining "Designer"It’s About More than Pixels: Redefining "Designer"
It’s About More than Pixels: Redefining "Designer"
 
4 External Forces Accelerating the Smart City Model
4 External Forces Accelerating the Smart City Model4 External Forces Accelerating the Smart City Model
4 External Forces Accelerating the Smart City Model
 
Your Big Idea: Creating Products for B2B Disruption
Your Big Idea: Creating Products for B2B DisruptionYour Big Idea: Creating Products for B2B Disruption
Your Big Idea: Creating Products for B2B Disruption
 
Organizational Challenges CIOs Face as Companies Change Rapidly—And What to D...
Organizational Challenges CIOs Face as Companies Change Rapidly—And What to D...Organizational Challenges CIOs Face as Companies Change Rapidly—And What to D...
Organizational Challenges CIOs Face as Companies Change Rapidly—And What to D...
 
Does Your Technology Roadmap Have a Financial Roadmap?
Does Your Technology Roadmap Have a Financial Roadmap?Does Your Technology Roadmap Have a Financial Roadmap?
Does Your Technology Roadmap Have a Financial Roadmap?
 
Current State Analysis—More Important than You Think for Building a Technolog...
Current State Analysis—More Important than You Think for Building a Technolog...Current State Analysis—More Important than You Think for Building a Technolog...
Current State Analysis—More Important than You Think for Building a Technolog...
 
Lean Design Research - Why There’s No Excuse Wasting Money on Bad Products A...
Lean Design Research - Why There’s No Excuse Wasting  Money on Bad Products A...Lean Design Research - Why There’s No Excuse Wasting  Money on Bad Products A...
Lean Design Research - Why There’s No Excuse Wasting Money on Bad Products A...
 
Minimum Testable Features—A Different Approach to Agile Software Development
Minimum Testable Features—A Different Approach to Agile Software DevelopmentMinimum Testable Features—A Different Approach to Agile Software Development
Minimum Testable Features—A Different Approach to Agile Software Development
 
Minimum Viable Bureaucracy- A Practical Approach to Scaling Agile Project Man...
Minimum Viable Bureaucracy- A Practical Approach to Scaling Agile Project Man...Minimum Viable Bureaucracy- A Practical Approach to Scaling Agile Project Man...
Minimum Viable Bureaucracy- A Practical Approach to Scaling Agile Project Man...
 
The Minimum Loveable Product: Go Beyond the Minimum Viable Product
The Minimum Loveable Product: Go Beyond the Minimum Viable ProductThe Minimum Loveable Product: Go Beyond the Minimum Viable Product
The Minimum Loveable Product: Go Beyond the Minimum Viable Product
 

Último

[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
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...Martijn de Jong
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
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.pptxHampshireHUG
 
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 WorkerThousandEyes
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
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 organizationRadu Cotescu
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
Evaluating the top large language models.pdf
Evaluating the top large language models.pdfEvaluating the top large language models.pdf
Evaluating the top large language models.pdfChristopherTHyatt
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 

Último (20)

[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
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...
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
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
 
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
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
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
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Evaluating the top large language models.pdf
Evaluating the top large language models.pdfEvaluating the top large language models.pdf
Evaluating the top large language models.pdf
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 

The Next Step to Build Better APIs — Consistent Data Structure

  • 1. The Next Step to Build Better APIs — Consistent Data Structure by Andrew Turner https://by.dialexa.com/consistent-data-structures-the-next-step-to-building-an-api
  • 2. Dialexa We are on a mission to make every company a great technology company. We work with organizations to define and execute digital transformation strategies to improve business operations and customer experiences. Our services include: • Multi-Year Technology Roadmap • Platform Engineering • User Experience Design • Custom Software Development • Hardware Prototyping /IoT
  • 3. You don’t build good APIs through coding alone. Like  any other part of your business, APIs are best when they are developed as part of a detailed, end-to-end strategy. Get the full write up of this slideshare HERE
  • 4. However, there are multiple parts of a comprehensive strategy and understanding each piece is essential to building better APIs. Get the full write up of this slideshare HERE
  • 5. In our first post about APIs, we talked about the need for a documentation- first strategy and how 3 main tools can help you build more effectively. Get the full write up of this slideshare HERE
  • 6. The next natural step in the process is to choose an appropriate data structure formatting convention for API endpoint responses and ensure it is applied consistently—here’s how. Get the full write up of this slideshare HERE
  • 7. Understand Your API Use Case Get the full write up of this slideshare HERE
  • 8. We talk a lot about “starting with the why” for product development— starting small discovery projects and using design thinking to get to the heart of the problem your product will solve. Get the full write up of this slideshare HERE
  • 9. Understanding the “why” is also an important concept when building APIs. Get the full write up of this slideshare HERE
  • 10. The key is to determine your API use case. Is the API for a mobile app? Is it for front end use? Will it be public for third party developers? Get the full write up of this slideshare HERE
  • 11. The “why” of your API will help you choose the right data structure convention for development. However, there are many different options to choose from. Get the full write up of this slideshare HERE
  • 12. Common API Response Formatting Conventions Get the full write up of this slideshare HERE
  • 13. To read more you can find the full article at https://by.dialexa.com/consistent-data-structures-the- next-step-to-building-an-api
  • 14. JSON API JSON API is a community-driven specification for building APIs and formatting API responses. Get the full write up of this slideshare HERE
  • 15. EmberData Ember is a framework for creating ambitious web applications. If you're building an API for an Ember application, you may want to consider using the EmberData convention for your API responses. Get the full write up of this slideshare HERE
  • 16. Core API Another community-driven convention is Core API. Get the full write up of this slideshare HERE
  • 17. Flat Response This is a simple and straightforward way to format your data structure that simply returns the data requested without a namespace object. Twitter and GitHub are popular APIs that follow this data structure formatting convention. Get the full write up of this slideshare HERE
  • 18. Seeking the pros and cons of each data structure convention seems like a logical next step once you’ve listed your options. Get the full write up of this slideshare HERE
  • 19. However, there is no single correct data structure convention. You should choose a convention based on what is pragmatic and intended for your API use case. Get the full write up of this slideshare HERE
  • 20. It’s possible that a specific data structure convention would work best for your API's use case—for example, Vinli’s need to return telemetry data could command a different convention than a project management API that returns tasks and project updates. Get the full write up of this slideshare HERE
  • 21. Generally, though, keeping your data structures consistently formatted will result in a better API.  Get the full write up of this slideshare HERE Get the full write up of this slideshare HERE
  • 22. When you establish your data structure convention from the outset of your project, you can better coordinate the “why” of your API and the way you’re building it.  Get the full write up of this slideshare HERE
  • 23. Then, you can include the data structure convention in your documentation and use Dredd to validate its use throughout the project. Get the full write up of this slideshare HERE
  • 24. After you establish a formatting convention for your API's data structures, you should implement meaningful HTTP status codes to ensure your API responses are accurate. Get the full write up of this slideshare HERE
  • 25. Find out where great products come from! Download or free eBook: https://by.dialexa.com/dialexa-end-to-end- development-guide-0
  • 26. Status Codes Should Accurately Reflect Your API Response Get the full write up of this slideshare HERE
  • 27. As you use Dredd to validate your data structure formatting, make sure you use the appropriate HTTP status code for each type of response. Get the full write up of this slideshare HERE
  • 28. However, because there are so many HTTP status codes, it is important to pay attention to the right ones throughout your development process. Get the full write up of this slideshare HERE
  • 29. At a higher level, there are 4 main HTTP status code categories: • 200 Level: The HTTP 2xx codes convey successful responses. • 300 Level: HTTP 3xx codes are reserved for redirects. • 400 Level: This Block of codes conveys errors that originate on the client side. • 500 Level: Similar to the 400 level codes, HTTP 5xx codes translate errors, but on the server side instead. Get the full write up of this slideshare HERE
  • 30. To give you a better idea of the specific codes any engineer should know, we’ve compiled a list of the most important ones: Get the full write up of this slideshare HERE
  • 31. By using these meaningful status codes, you can avoid sending 200 level status codes when your API is returning an error! Get the full write up of this slideshare HERE
  • 32. You want your API to be predictable and easy to work with— ensuring status codes match the true API response is essential to building a better API. Get the full write up of this slideshare HERE
  • 33. There’s More to APIs and Product Development Than Consistent Data Structures Get the full write up of this slideshare HERE
  • 34. You won’t be able to build an effective API without proper documentation and consistent data structures. Get the full write up of this slideshare HERE
  • 35. And you won’t be able to  succeed with digital transformation projects if you can’t build better APIs. However, there’s much more to digital transformation product development than just APIs. Get the full write up of this slideshare HERE
  • 36. PROPERTY OF DIALEXA LLC ©2017 - CONFIDENTIAL & PROPRIETARY Thank You Doug Platts VP of Marketing marketing@dialexa.com If you want to learn more about the product development process and how your better APIs fit into the bigger picture, download our free ebook and discover how we combine business and innovation consulting, user experience design, software engineering and hardware engineering to create products that users love. Get the full write up of this slideshare at https:// by.dialexa.com/consistent-data-structures-the-next-step-to- building-an-api