October 2015
Intermediate to advanced
128 pages
2h 36m
English
Systems evolve over time, and the functionality that they expose changes along with these evolutions. APIs, be it in the form of a library or a RESTful API, must adapt to these changes while maintaining some form of backward compatibility.
It is therefore a good idea to consider evolutions when designing APIs. The next section describes how HATEOAS (Hypermedia As The Engine Of Application State) can be leveraged to manage evolutions.
This REST principle provides a method for self-discovery for service consumers. Let's consider the following response to a RESTful endpoint:
{
"id": 1,
"category": "http://myservice.com/categories/33",
...
}This response includes a hypermedia link to a related resource, so consumers do not need ...
Read now
Unlock full access