Skip to main content

Introducing new learning courses and educational videos from Apress. Start watching

Leveling Up Responses

  • 1258 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.

Keywords

  • Service Provider
  • Test Suite
  • Code Change
  • Public Function
  • Item Method

These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

This is a preview of subscription content, access via your institution.

Buying options

Chapter
USD   29.95
Price excludes VAT (USA)
  • DOI: 10.1007/978-1-4842-2187-7_7
  • Chapter length: 36 pages
  • Instant PDF download
  • Readable on all devices
  • Own it forever
  • Exclusive offer for individuals only
  • Tax calculation will be finalised during checkout
eBook
USD   39.99
Price excludes VAT (USA)
  • ISBN: 978-1-4842-2187-7
  • Instant PDF download
  • Readable on all devices
  • Own it forever
  • Exclusive offer for individuals only
  • Tax calculation will be finalised during checkout
Softcover Book
USD   49.99
Price excludes VAT (USA)

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