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.

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.