HATEOAS API

From Delft Solutions
Revision as of 05:23, 17 September 2020 by Thexa4 (talk | contribs)
Jump to navigation Jump to search

Originally called REST, HATEOAS is a way of designing HTTP APIs as described in Roy Fieldings thesis. The acronym stands for Hypermedia as the Engine of Application State.

It distinguishes itself from other APIs by having the following properties:

  • Heavy use of Media Types to allow Backward Compatibility.
  • It does not allow clients to construct URLs (unless instructed by the server to do so) to allow for applications to change their URL structure.
  • Other than an entry URL and a set of documents describing the Media Types, no additional knowledge should be necessary to use the API.

HATEOAS APIs usually make heavy use of HTTP features like: