Skip to content
This repository has been archived by the owner on Jan 18, 2020. It is now read-only.
Byron Ruth edited this page May 7, 2013 · 1 revision

Serrano implements the Hypermedia Application Language (HAL) conventions for representing hyperlinks to related resources. This is composed of a _links object containing one or more relations each with a rel and href attributes as well as a few optional attributes.

{
    "_links": {
        "self": {
            "href": "http://example.com"
        },
        ...
    },
    ...
}

This convention adds uniformity to the interface and enables discoverability for client libraries which understand HAL, which there are quite a few.

Clone this wiki locally