Hypermedia representation

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
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.222.23.119