Skip to content

HAL Compliance & Generla Normalization #21

@drdamour

Description

@drdamour

error isn't IANA (http://www.iana.org/assignments/link-relations/link-relations.xhtml) so it really should be prefixed.

Also consider not having the multiple embedding be errors : [] as if this doc is interpreted as HAL it doesn't make much sense. Each error resource is an error of the parent document. each one is not an errors. It's tempting to name it errors because of the plurality, but condier it has say html encoded:

<head>
<link rel="error" href=""/>
<link rel="error" href=""/>
</head>

or embedded

<body>
<span class="error">Message</span>
<span class="error">Message</span>
</body>

in hal the _embedded key is the link relationship of each entry, not all entries as a whole

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions