the self links generated by the pagedresourceassembler are currently template and look like this:
but having the self not be a canonical non-templated url seems pretty strange. Also per the HAL spec http://tools.ietf.org/html/draft-kelly-json-hal-06#section-8.1 refs http://tools.ietf.org/html/rfc5988 which defines self as:
- Relation Name: self
- Description: Conveys an identifier for the link's context.
- Reference: [RFC4287]
which gets to atom http://tools.ietf.org/html/rfc4287 which has no concept of templated...so i'm thinking self should NOT be templated.
I Propose the templated stuff be put in the search relationship as discussed in linked group, something like:
- the format of the examples is HAL, but i believe this should apply to any Hypermedia API given the RFC reference chain
- This issue was originally raised at https://github.com/spring-projects/spring-hateoas/issues/182