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?

Free Resource

Modernize your application architectures with microservices and APIs with best practices from this free virtual summit series. Brought to you in partnership with CA Technologies.

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.

The Integration Zone is proudly sponsored by CA Technologies. Learn from expert microservices and API presentations at the Modernizing Application Architectures Virtual Summit Series.

Topics:

Opinions expressed by DZone contributors are their own.

THE DZONE NEWSLETTER

Dev Resources & Solutions Straight to Your Inbox

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.

X

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

{{ parent.tldr }}

{{ parent.urlSource.name }}