-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Discover Containers via Link Headers? #40
Comments
This seems like a constructive direction. Shall "we" go ahead and put forth a list of proposed relation URIs that would cover the scenarios previously identified? |
I think we need:
Then in the response from
(plus the equivalent for Files and Related) |
Can we use the existing PCDM predicates for the rels? If so, that would make implementing this much more straightforward since we wouldn't have to map them. Or do they need to be different because they are declaring the relationship between the parent and the container, as opposed to between the container and the members? |
I don't think so, assuming you mean pcdm:hasMember etc. Systems that processed the link header might then assume that the containers were members. Not very likely, admittedly, but I'd rather be explicit when the cost is close to zero. |
The response from a pcdm:Object or pcdm:Collection could use link headers to refer to the LDP containers in which members, files and related objects can be created. This would keep protocol related aspects in the protocol, rather than in the model. The trickier part is which relation (and other properties) to use.
Some possibilities:
My preference of those two is the latter.
(This issue is a follow on from #28)
The text was updated successfully, but these errors were encountered: