SlideShare a Scribd company logo
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

More Related Content

PPTX
Lighting up the Bay, Real-World App Cloud
Salesforce Developers
 
PPTX
Applying Domain-Driven Design to APIs and Microservices - Austin API Meetup
LaunchAny
 
PPTX
API Design - When to buck the trend (Webcast)
Apigee | Google Cloud
 
PDF
apidays LIVE Paris - Exploring an API with Blocks by Larry Kluger
apidays
 
PDF
Rest api best practices – comprehensive handbook
Katy Slemon
 
PDF
apidays LIVE Paris - The Augmented API Design Reviewer by Arnaud Lauret
apidays
 
PDF
ProgrammableWeb's eSignature API Research Report
ProgrammableWeb
 
PPTX
What's an api
Jacques Ledoux
 
Lighting up the Bay, Real-World App Cloud
Salesforce Developers
 
Applying Domain-Driven Design to APIs and Microservices - Austin API Meetup
LaunchAny
 
API Design - When to buck the trend (Webcast)
Apigee | Google Cloud
 
apidays LIVE Paris - Exploring an API with Blocks by Larry Kluger
apidays
 
Rest api best practices – comprehensive handbook
Katy Slemon
 
apidays LIVE Paris - The Augmented API Design Reviewer by Arnaud Lauret
apidays
 
ProgrammableWeb's eSignature API Research Report
ProgrammableWeb
 
What's an api
Jacques Ledoux
 

What's hot (20)

PPTX
Designing APIs and Microservices Using Domain-Driven Design
LaunchAny
 
PPTX
Designing a Future-proof API Program
Pronovix
 
PPTX
Creating an MVP with Oracle
Franco Ucci
 
PDF
Api clarity webinar
LibbySchulze
 
PPTX
Pain Points In API Development? They’re Everywhere
Nordic APIs
 
PDF
Ultimate Guide to 30+ API Documentation Solutions
Bill Doerrfeld
 
PPTX
Onion Architecture
matthidinger
 
PDF
apidays LIVE Paris - Data with a mission: a COVID-19 API case study by Matt M...
apidays
 
PPTX
apidays LIVE New York 2021 - Service API design validation by Uchit Vyas, KPMG
apidays
 
PPTX
Api types
Sarah Maddox
 
PDF
apidays LIVE New York - API Code First vs Design First by Phil Sturgeon
apidays
 
PDF
API Thinking - How to Design APIs Through Systems Design
LaunchAny
 
PDF
INTERFACE, by apidays - Low code APIs that don't break by Zdenek Nemec, Supe...
apidays
 
PDF
An Inside Look at a Large-scale Writer-driven REST API Doc Solution at Salesf...
Pronovix
 
PDF
Dependency Down, Flexibility Up – The Benefits of API-First Development
Nordic APIs
 
PDF
APIs Are Just Like LEGO Blocks | APPSeCONNECT
APPSeCONNECT
 
PDF
API Best Practices Webinar: Metrics - What to Measure
Apigee | Google Cloud
 
PPTX
apidays LIVE LONDON - Discovering API Version differences with ease by Jaap B...
apidays
 
PDF
APIs Are Forever - How to Design Long-Lasting APIs
LaunchAny
 
PDF
What is an API and why use it?
Anuschka Diderich-Rijnsburger
 
Designing APIs and Microservices Using Domain-Driven Design
LaunchAny
 
Designing a Future-proof API Program
Pronovix
 
Creating an MVP with Oracle
Franco Ucci
 
Api clarity webinar
LibbySchulze
 
Pain Points In API Development? They’re Everywhere
Nordic APIs
 
Ultimate Guide to 30+ API Documentation Solutions
Bill Doerrfeld
 
Onion Architecture
matthidinger
 
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
 
Api types
Sarah Maddox
 
apidays LIVE New York - API Code First vs Design First by Phil Sturgeon
apidays
 
API Thinking - How to Design APIs Through Systems Design
LaunchAny
 
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...
Pronovix
 
Dependency Down, Flexibility Up – The Benefits of API-First Development
Nordic APIs
 
APIs Are Just Like LEGO Blocks | APPSeCONNECT
APPSeCONNECT
 
API Best Practices Webinar: Metrics - What to Measure
Apigee | Google Cloud
 
apidays LIVE LONDON - Discovering API Version differences with ease by Jaap B...
apidays
 
APIs Are Forever - How to Design Long-Lasting APIs
LaunchAny
 
What is an API and why use it?
Anuschka Diderich-Rijnsburger
 
Ad

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

PPTX
Building a REST API for Longevity
MuleSoft
 
PPTX
Documenting an API for the First Time? Quick-Start Tips for Your First API Do...
Petko Mikhailov
 
PPTX
API Documentation Workshop tcworld India 2015
Tom Johnson
 
PDF
API Docs Made Right / RAML - Swagger rant
Vladimir Shulyak
 
PPTX
API Documentation -- Presentation to East Bay STC Chapter
Tom Johnson
 
PPTX
API Documentation presentation to East Bay STC Chapter
Tom Johnson
 
PPTX
Birds Eye View on API Development - v1.0
API Talent
 
PPTX
API workshop: Introduction to APIs (TC Camp)
Tom Johnson
 
PDF
How to create a simple REST API in Go - GDG A Coruña.pdf
GDG A Coruña
 
PPTX
Intro to API Design Principles
Victor Osimitz
 
PPTX
Adobe Acrobat Reader Download Free - 2025.001.20432
robinaworknsolution
 
PPTX
Microsoft Office Professional Plus Greek 2025
beenachuhdri
 
PPTX
Nitro PDF Pro Enterprise Crack Download (Latest 2025)
choudhryrobii
 
PDF
Adobe Acrobat Pro DC 2025.001.20432 Crack free Download
alberteinsteinuk0786
 
PDF
Design Science MathType 7.8.2.441 Free Download crack
mehboobsaraiki786
 
PDF
Adobe Acrobat Pro DC Download (Latest 2025) Pre-Activated crack
mehboobsaraiki786
 
PDF
apidevelopment-250316174151-ce087222-250328054658-db40e0f2.pdf
alihamzakpa077
 
PDF
Adobe Acrobat Pro DC 2025.001.20432 Crack free Download
alihamzakpa078
 
PDF
Adobe Acrobat Pro DC 2025.001.20432 Crack free Download
alihamzakpa079
 
PPTX
Adobe Acrobat Pro DC 2025.001.20432 Crack + Serial Key
alinaveedwns
 
Building a REST API for Longevity
MuleSoft
 
Documenting an API for the First Time? Quick-Start Tips for Your First API Do...
Petko Mikhailov
 
API Documentation Workshop tcworld India 2015
Tom Johnson
 
API Docs Made Right / RAML - Swagger rant
Vladimir Shulyak
 
API Documentation -- Presentation to East Bay STC Chapter
Tom Johnson
 
API Documentation presentation to East Bay STC Chapter
Tom Johnson
 
Birds Eye View on API Development - v1.0
API Talent
 
API workshop: Introduction to APIs (TC Camp)
Tom Johnson
 
How to create a simple REST API in Go - GDG A Coruña.pdf
GDG A Coruña
 
Intro to API Design Principles
Victor Osimitz
 
Adobe Acrobat Reader Download Free - 2025.001.20432
robinaworknsolution
 
Microsoft Office Professional Plus Greek 2025
beenachuhdri
 
Nitro PDF Pro Enterprise Crack Download (Latest 2025)
choudhryrobii
 
Adobe Acrobat Pro DC 2025.001.20432 Crack free Download
alberteinsteinuk0786
 
Design Science MathType 7.8.2.441 Free Download crack
mehboobsaraiki786
 
Adobe Acrobat Pro DC Download (Latest 2025) Pre-Activated crack
mehboobsaraiki786
 
apidevelopment-250316174151-ce087222-250328054658-db40e0f2.pdf
alihamzakpa077
 
Adobe Acrobat Pro DC 2025.001.20432 Crack free Download
alihamzakpa078
 
Adobe Acrobat Pro DC 2025.001.20432 Crack free Download
alihamzakpa079
 
Adobe Acrobat Pro DC 2025.001.20432 Crack + Serial Key
alinaveedwns
 
Ad

More from Dialexa (20)

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

Recently uploaded (20)

PDF
Software Development Company | KodekX
KodekX
 
PDF
DevOps & Developer Experience Summer BBQ
AUGNYC
 
PPTX
ChatGPT's Deck on The Enduring Legacy of Fax Machines
Greg Swan
 
PDF
Google I/O Extended 2025 Baku - all ppts
HusseinMalikMammadli
 
PDF
CIFDAQ'S Market Insight: BTC to ETH money in motion
CIFDAQ
 
PDF
How-Cloud-Computing-Impacts-Businesses-in-2025-and-Beyond.pdf
Artjoker Software Development Company
 
PPTX
How to Build a Scalable Micro-Investing Platform in 2025 - A Founder’s Guide ...
Third Rock Techkno
 
PDF
Accelerating Oracle Database 23ai Troubleshooting with Oracle AHF Fleet Insig...
Sandesh Rao
 
PDF
agentic-ai-and-the-future-of-autonomous-systems.pdf
siddharthnetsavvies
 
PDF
Doc9.....................................
SofiaCollazos
 
PPTX
C Programming Basics concept krnppt.pptx
Karan Prajapat
 
PDF
Revolutionize Operations with Intelligent IoT Monitoring and Control
Rejig Digital
 
PDF
Orbitly Pitch Deck|A Mission-Driven Platform for Side Project Collaboration (...
zz41354899
 
PDF
Security features in Dell, HP, and Lenovo PC systems: A research-based compar...
Principled Technologies
 
PDF
How Onsite IT Support Drives Business Efficiency, Security, and Growth.pdf
Captain IT
 
PDF
Advances in Ultra High Voltage (UHV) Transmission and Distribution Systems.pdf
Nabajyoti Banik
 
PDF
NewMind AI Weekly Chronicles - July'25 - Week IV
NewMind AI
 
PDF
Event Presentation Google Cloud Next Extended 2025
minhtrietgect
 
PDF
Unlocking the Future- AI Agents Meet Oracle Database 23ai - AIOUG Yatra 2025.pdf
Sandesh Rao
 
PDF
Presentation about Hardware and Software in Computer
snehamodhawadiya
 
Software Development Company | KodekX
KodekX
 
DevOps & Developer Experience Summer BBQ
AUGNYC
 
ChatGPT's Deck on The Enduring Legacy of Fax Machines
Greg Swan
 
Google I/O Extended 2025 Baku - all ppts
HusseinMalikMammadli
 
CIFDAQ'S Market Insight: BTC to ETH money in motion
CIFDAQ
 
How-Cloud-Computing-Impacts-Businesses-in-2025-and-Beyond.pdf
Artjoker Software Development Company
 
How to Build a Scalable Micro-Investing Platform in 2025 - A Founder’s Guide ...
Third Rock Techkno
 
Accelerating Oracle Database 23ai Troubleshooting with Oracle AHF Fleet Insig...
Sandesh Rao
 
agentic-ai-and-the-future-of-autonomous-systems.pdf
siddharthnetsavvies
 
Doc9.....................................
SofiaCollazos
 
C Programming Basics concept krnppt.pptx
Karan Prajapat
 
Revolutionize Operations with Intelligent IoT Monitoring and Control
Rejig Digital
 
Orbitly Pitch Deck|A Mission-Driven Platform for Side Project Collaboration (...
zz41354899
 
Security features in Dell, HP, and Lenovo PC systems: A research-based compar...
Principled Technologies
 
How Onsite IT Support Drives Business Efficiency, Security, and Growth.pdf
Captain IT
 
Advances in Ultra High Voltage (UHV) Transmission and Distribution Systems.pdf
Nabajyoti Banik
 
NewMind AI Weekly Chronicles - July'25 - Week IV
NewMind AI
 
Event Presentation Google Cloud Next Extended 2025
minhtrietgect
 
Unlocking the Future- AI Agents Meet Oracle Database 23ai - AIOUG Yatra 2025.pdf
Sandesh Rao
 
Presentation about Hardware and Software in Computer
snehamodhawadiya
 

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 [email protected] 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