Closed koriym closed 3 years ago
i re-use rels quite often so, yes, as you show here, the rel="collection" is a way to mark a link to say "follow this link to see a collection".
it can happen on many links -- multiple links in the same representation, too!
Ok! The answer is "B", right?
yes. that's what i do
Arigato.
In the diagram below, all the transitions towards Blog are
rel=collection
, butA) Should I give
rel=collection
only toBlogPosting => Blog
, which is essentially anitem => collection
relationship?B) Or should I always give
rel=collection
when linking to acollection
type resource no matter where the link from?Code:
If the answer is B, it is simple, but if the answer is A, ALPS needs to distinguish between the two IDs?