encyclopegia.org

Hypertext Application Language

Hypertext Application Language (HAL) is a convention for defining hypermedia such as links to external resources within JSON or XML code. It is documented in an Internet Draft (a "work in progress"), with the latest version 11 published . The standard was initially proposed in June 2012, specifically for use with JSON, and has since become available in two variations, JSON and XML. The two associated MIME types are application/hal+xml and application/hal+json. HAL was created to be simple to use and easily applicable across different domains by avoiding the need to impose any requirements on how the project be structured. Maintaining this minimal impact approach, HAL has enabled developers to create general-purpose libraries which can be incorporated on any API that uses HAL. APIs that adopt HAL simplify the use of open source libraries and make it possible to interact with the API using JSON or XML. The alternative would be having to develop a proprietary format which in turn forces developers to learn how to use yet another foreign format.

Hypertext Application Language (HAL) is a convention for defining hypermedia such as links to external resources within JSON or XML code. It is documented in an Internet Draft (a "work in progress"), with the latest version 11 published . The standard was initially proposed in June 2012, specifically for use with JSON, and has since become available in two variations, JSON and XML. The two associated MIME types are application/hal+xml and application/hal+json. HAL was created to be simple to use and easily applicable across different domains by avoiding the need to impose any requirements on how the project be structured. Maintaining this minimal impact approach, HAL has enabled developers to create general-purpose libraries which can be incorporated on any API that uses HAL. APIs that adopt HAL simplify the use of open source libraries and make it possible to interact with the API using JSON or XML. The alternative would be having to develop a proprietary format which in turn forces developers to learn how to use yet another foreign format. ==Example== General Resource { "_links": { "self": { "href": "http://example.com/api/book/hal-cookbook" } }, "id": "hal-cookbook", "name": "HAL Cookbook" } Embedded resource { "_links": { "self": { "href": "http://example.com/api/book/hal-cookbook" } }, "_embedded": { "author": { "_links": { "self": { "href": "http://example.com/api/author/shahadat" } }, "id": "shahadat", "name": "Shahadat Hossain Khan", "homepage": "http://author-example.com" } }, "id": "hal-cookbook", "name": "HAL Cookbook" } Collections { "_links": { "self": { "href": "http://example.com/api/book/hal-cookbook" }, "next": { "href": "http://example.com/api/book/hal-case-study" }, "prev": { "href": "http://example.com/api/book/json-and-beyond" }, "first": { "href": "http://example.com/api/book/catalog" }, "last": { "href": "http://example.com/api/book/upcoming-books" } }, "_embedded": { "author": { "_links": { "self": { "href": "http://example.com/api/author/shahadat" } }, "id": "shahadat", "name": "Shahadat Hossain Khan", "homepage": "http://author-example.com" } }, "id": "hal-cookbook", "name": "HAL Cookbook" } ==See also== HATEOAS CURIE, (or Compact URI) ==External links== JSON Hypertext Application Language latest draft

References

No reference rows published for this article.

Cite this article

MLA

"Hypertext Application Language." encyclopegia.org, 2026, https://encyclopegia.org/wiki/hypertext-application-language. Accessed 24 November 2026.

Chicago

"Hypertext Application Language." encyclopegia.org. Accessed November 24, 2026. https://encyclopegia.org/wiki/hypertext-application-language.

APA

encyclopegia.org. (2026). Hypertext Application Language. Retrieved November 24, 2026, from https://encyclopegia.org/wiki/hypertext-application-language

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

Related articles

official language

stub · references available

pan-Slavic language

stub · references available

Hawaiʻi Sign Language

stub · references available

Taiwanese Sign Language

stub · references available

International Mother Language Day

stub · references available

polysynthetic language

stub · references available

Category:Films by country or language

stub · references available

Dutch Language Union

stub · references available
CC BY-SA 4.0 · tier1-factual · https://en.wikipedia.org/w/index.php?oldid=1368056439 · 0.55 · snapshot hypertext-application-language-1968569-96d35c87ea9a0d94 · QID Q18207944

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.