Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

What is User-Driven API Design?

DZone's Guide to

What is User-Driven API Design?

· Integration Zone ·
Free Resource

SnapLogic is the leading self-service enterprise-grade integration platform. Download the 2018 GartnerMagic Quadrant for Enterprise iPaaS or play around on the platform, risk free, for 30 days.

A new blog post on the Sendicate blog shares a few lessons about API design.  Some distillations of those lessons follow:

  • The UI is the concern of the app that consumes the API, not the API itself.  Don't let the UI influence your API!
  • Denormalized data is easier to read.  Don't just leave things like 'key' and 'value' in there.  You don't need extra information to show how the data is being stored.
  • Get the most simplified and appropriate API endpoint for your app.
  • Use HTTP header fields to simplify your API wrapper's code.


Sendicate is the email marketing app for smart businesses.  Check out the full blog post here.

Download A Buyer's Guide to Application and Data Integration, your one-stop-shop for research, checklists, and explanations for an application and data integration solution.

Topics:

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}