August 2018
Intermediate to advanced
372 pages
9h 29m
English
When talking about the REST subject, it's always worth discussing the Maturity Model, created by Leonard Richardson, which establishes three steps that a REST API should accomplish in order to be considered mature:
In this section, we will focus on the last element. HATEOAS is intended to provide information about what we can do next, using additional Uniform Resource Identifiers (URIs) that are included as part of the resource.
Let's revisit our banking example, in order to explain HATEOAS from a practical view. Suppose that you have the following URI to query the customer's bank statements: http://your-api/customer/{customer_id}/bankStatements.
[ { "accountStatusId": ...Read now
Unlock full access