auxiliary resource as a role#167
Conversation
|
While I appreciate the alternative proposal, I don't see how it fundamentally differs from the one in #165. Both hold auxiliary information to have a certain role towards a (primary) resource, and to be discoverable through web links. Moreover, given the discomfort you expressed in #165 with seeing link sets and other 'descriptions' as representations, you should i.m.o. feel the same with the definition in this PR. After all, if you allow that primary and auxiliary resources can be one and the same, you are basically saying that it is okay to serve a resource's representation and its 'description' -- explicitly NOT a representation -- from the same URI, which would on these assumptions still violate HTTP/REST. That being said, I thus see both PRs as equivalent. My slight preference for #165 over this one is that I feel #165 calls things out more truthfully by their correct terms. |
|
As promised in today's meeting, here's an example, highlighting the equivalence with #165. Content and irrelevant headers are omitted for brevity. Retrieving a Turtle resource
Retrieving a Link Set
Importantly, all the messages above are correct both in PR #165 and in PR #167.
|
this is an alternative proposal to #165
instead of splitting metadata and linkset in terms of representation / resource,
it clarifies that an auxiliary resource is not necessarily disjoint from its primary resource;
the terms do not denote special kinds of resources, but roles that resources play w.r.t. each other (and that, in some circumstances, a resource can play for itself).
What does not change:
What changes:
Notes:
Preview | Diff