It [the "_links" property] is an object whose property names are link relation types (as defined by RFC5988) and values are either a Link Object or an array of Link Objects.
So, according to the draft, the following HAL representation is correct:
But when the Hypermedia module tries to convert these links to absolute links, it throws an error since the Hypermedia module only accepts a _links property where the values are Link Objects, but not arrays of Link Objects.
According to the JSON HAL Draft, section 4.1.1:
So, according to the draft, the following HAL representation is correct:
But when the Hypermedia module tries to convert these links to absolute links, it throws an error since the Hypermedia module only accepts a
_links
property where the values are Link Objects, but not arrays of Link Objects.See an example below: