encyclopegia.org

HATEOAS

Hypermedia as the engine of application state (HATEOAS) is a constraint of the REST software architectural style that distinguishes it from other network architectural styles. With HATEOAS, a client interacts with a network application whose application servers provide information dynamically through hypermedia. A REST client needs little to no prior knowledge about how to interact with an application or server beyond a generic understanding of hypermedia. By contrast, clients and servers in Common Object Request Broker Architecture (CORBA) interact through a fixed interface shared through documentation or an interface description language (IDL). The restrictions imposed by HATEOAS decouple client and server. This enables server functionality to evolve independently. The term was coined in 2000 by Roy Fielding in his doctoral dissertation.

Hypermedia as the engine of application state (HATEOAS) is a constraint of the REST software architectural style that distinguishes it from other network architectural styles. With HATEOAS, a client interacts with a network application whose application servers provide information dynamically through hypermedia. A REST client needs little to no prior knowledge about how to interact with an application or server beyond a generic understanding of hypermedia. By contrast, clients and servers in Common Object Request Broker Architecture (CORBA) interact through a fixed interface shared through documentation or an interface description language (IDL). The restrictions imposed by HATEOAS decouple client and server. This enables server functionality to evolve independently. The term was coined in 2000 by Roy Fielding in his doctoral dissertation. GET /accounts/12345 HTTP/1.1 Host: bank.example.com The response is: HTTP/1.1 200 OK { "account": { "account_number": 12345, "balance": { "currency": "usd", "value": 100.00 }, "links": { "deposits": "/accounts/12345/deposits", "withdrawals": "/accounts/12345/withdrawals", "transfers": "/accounts/12345/transfers", "close-requests": "/accounts/12345/close-requests" } } } The response contains these possible follow-up links: POST a deposit, withdrawal, transfer, or close request (to close the account). As an example, later, after the account has been overdrawn, there is a different set of available links, because the account is overdrawn. HTTP/1.1 200 OK { "account": { "account_number": 12345, "balance": { "currency": "usd", "value": -25.00 }, "links": { "deposits": "/accounts/12345/deposits" } } } Now only one link is available: to deposit more money (by POSTing to deposits). In its current state, the other links are not available. Hence the term Engine of Application State. What actions are possible varies as the state of the resource varies. A client does not need to understand every media type and communication mechanism offered by the server. The ability to understand new media types may be acquired at run-time through "code-on-demand" provided to the client by the server. ==See also== htmx Hypertext Application Language Universal Description Discovery and Integration is the equivalent for the Web Services Description Language

References

No reference rows published for this article.

Cite this article

MLA

"HATEOAS." encyclopegia.org, 2026, https://encyclopegia.org/wiki/hateoas. Accessed 25 November 2026.

Chicago

"HATEOAS." encyclopegia.org. Accessed November 25, 2026. https://encyclopegia.org/wiki/hateoas.

APA

encyclopegia.org. (2026). HATEOAS. Retrieved November 25, 2026, from https://encyclopegia.org/wiki/hateoas

Accessed November 25, 2026 · CC BY-SA 4.0 · citation page · JSON

CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1346802853 · 0.5 · snapshot enwiki-001346802853

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.