🎁 New User? Get 20% off your first purchase with code NEWUSER20 Register Now →
Menu

Categories

Web Development Advanced

What is HATEOAS?

Hypermedia As The Engine Of Application State — a REST constraint where API responses include links to related actions and resources.

HATEOAS is the highest level of REST maturity (Richardson Maturity Model Level 3). API responses include hypermedia links telling clients what actions are available from the current state. For example, an order response might include links to cancel, update, or pay for the order. This makes APIs self-documenting and discoverable — clients follow links rather than constructing URLs. Benefits include decoupling clients from URL structure, enabling server-side URL changes without breaking clients, and guiding clients through valid state transitions. While theoretically elegant, many practical REST APIs skip HATEOAS in favor of documented URL patterns.

Related Terms

Idempotency
A property where performing an operation multiple times produces the same result as performing it once.
Progressive Enhancement
A web design strategy that starts with basic functionality for all browsers and progressively adds advanced features for capable ones.
GraphQL
A query language for APIs that lets clients request exactly the data they need, reducing over-fetching and under-fetching.
OAuth Scope
A mechanism in OAuth that limits an application's access to a user's account to specific resources or actions.
Server-Sent Events (SSE)
A web technology enabling servers to push real-time updates to browsers over a single HTTP connection, simpler than WebSockets.
HTTP/2
The second major version of HTTP that improves performance through multiplexing, header compression, and server push.
View All Web Development Terms →