From the course: Creating Your First Spring Boot Microservice

Unlock the full course today

Join today to access over 22,500 courses taught by industry experts or purchase this course individually.

What is a hypermedia-driven RESTful API?

What is a hypermedia-driven RESTful API?

From the course: Creating Your First Spring Boot Microservice

Start my 1-month free trial

What is a hypermedia-driven RESTful API?

- [Instructor] In this chapter we will learn about Spring Data REST, which is a service for creating hypermedia driven RESTful APIs. What is a hypermedia driven RESTful API? According to Roy Fielding, who first published the REST API specification, an API is not truly RESTful unless it follows a uniform interface. One of his constraints for a uniform interface is followed when hypermedia as an engine of application state, or HATEOAS, is employed. A RESTful API should do more than expose resource endpoints over HTTP. It should also expose the API's documentation and automatically provide navigation between resources. Hypermedia driven APIs accomplish just that. The implementers of Spring Data REST agreed and that's why Spring Data REST APIs are hypermedia driven out of the box. No extra configuration is needed. In fact, you've already seen it in action. Remember back in Chapter One when we tested to see if a…

Contents