Skip to main content

Leveling Up Responses

  • Chapter
  • First Online:
Lumen Programming Guide
  • 1294 Accesses

Abstract

Your API responses work fine, but at the moment they don’t scale very well. You need to make them more consistent across all endpoints by using conventions, as well as anticipate adding things like pagination to your response. If you’ve consumed a few APIs, you have probably noticed that response data formats vary between each API. Understanding each API format can be challenging enough, but add inconsistencies between endpoints within the same API and it can be a frustrating user experience.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 49.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2016 Paul Redmond

About this chapter

Cite this chapter

Redmond, P. (2016). Leveling Up Responses. In: Lumen Programming Guide. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-2187-7_7

Download citation

Publish with us

Policies and ethics