Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

In the HAL specification draft, there SHOULD always be a self relation. This references the current resource object, as per the Web Linking RFC. Other relations can be defined by the developer as needed assuming they are meaningful to the resource. All relation names should be immutable. That is, once a relation name has been defined, clients should assume it will never change. The URI that a relation points to can change in order to maintain the decoupled and client/server independent intent of HATEOAS. Relations can be deprecated.

These HAL intentionally defined link relations are designed to be simple. Clients To support the self-documenting and self-discovery intent of a RESTful API, clients should be able to use the OPTIONS HTTP method to get a list of all supported HTTP methods via for a given API. The list of all support HTTP methods is expected to appear in the Allow response header. The SRP HTTP Framework handles this automatically.