...
- 4.1.3.1 In supporting PUT to LDPRv in order to create a LDPRm, is this just included for server managed versions? Or is PUT to an LDPRv intended to be addressable separately from a LDPR so as to trigger this behavior?
- 4.3.1 How do you determine what serializations are available for TimeMaps? HEAD is not currently supported and is not in the Memento spec.
- GET response formats are not actually listed in any other requests, only for Post and Patch.
- However, it would likely be helpful to include info about HEAD and GET requests in the spec
- 4.3.1 What is the default serialization for GET requests to LDPCv? The only required encoding is application/linkedlink-format.
- 4.3.5 What is the expected behavior if a POST to an LDPCv is made which specifies a Memento-Datetime that is already in use by an existing LDPRm for that LDPRv?
- Having two memento's with the same datetime would result in datetime negotiation yielding indeterminate results.
- Ignore request and return a 412 response? Delete and replace the existing version?
- This could be something we decide - perhaps the new one overwrites the existing one?
- 4.5 Does the modeshape fcrepo currently have a server managed option for versioning?
- We need to make sure that a server managed scenario knows how to handle an LDPCv correctly - in that it doesn't version that resource if a user issues a PUT against it (as a user would if they want the original resource LDPRv to get versioned).
...
Code Block | ||
---|---|---|
| ||
# GET request to LDPCv curl http://localhost/rest/a/fcr:versions -H "Accept: application/linkedlink-format" -v < HTTP/1.1 200 OK < Date: Thu, 21 Jun 2017 00:06:50 GMT < Server: Apache < Content-Type: application/link-format < Allow: GET, HEAD, OPTIONS, POST, PATCH, DELETE < Accept-Post: text/turtle,text/rdf+n3,text/n3,application/rdf+xml,application/n-triples,application/ld+json,multipart/form-data,application/sparql-update < Accept-Patch: application/sparql-update < Connection: close <http://localhost/rest/a>;rel="original", <http://localhost/rest/a/fcr:versions> ; rel="self";type="application/link-format" ; from="Tue, 20 Jun 2016 18:02:59 GMT" ; until="Wed, 09 Apr 2017 20:30:51 GMT", <http://localhost/rest/a> ; rel="timegate", <http://localhost/rest/a/fcr:versions/20160620180259356> ; rel="memento";datetime="Tue, 20 Jun 2016 18:02:59 GMT", <http://localhost/rest/a/fcr:versions/version_1> ; rel="memento";datetime="Fri, 06 Jan 2017 18:50:11 GMT", <http://localhost/rest/a/fcr:versions/20170409203051112> ; rel="memento";datetime="Wed, 09 Apr 2017 20:30:51 GMT", |
...