As we have understood from Chapter 1, Introduction to the Basics of RESTful Architecture, REST API clients can programmatically navigate using a uniform link structure as a HATEOAS response, and following are a few rules related to hypermedia representations.
The following screenshot helps us to recollect from Chapter 1, Introduction to the Basics of RESTful Architecture, the HATEOAS representation:
Also, it can help us to relate to the following rules:
- Use a consistent form to represent links, link relations, and link announcements
- Provide a self-linking representation in a response message body
- Minimize the number of the advertised entry point or API URIs
- Use links to advertise any resource actions in a state-sensitive manner