Closed jermnelson closed 5 years ago
I'd suggest that the most momento-ish way to do this is:
This seems like a terrible way to do versioning of resource templates, but good enough for MVP.
Couldn't you take the timestamp in step one, query Trellis with the Accept-Datetime
header for the particular Resource Template and then store the redirected Memento URL? (See https://github.com/trellis-ldp/trellis/wiki/Resource-Versioning)
Here's the simpler approach that we agreed on:
There is a possibility that a resource template was changed while the user was creating record (that is, before saving) but the risk is minor.
@jermnelson Is there any work that needs to be done on this ticket?
Closing for now.
With Resource Templates stored in Trellis, we need to figure out to associate the memento URI with the addition of new resource. This could be adding new RDF triples to the Resource's RDF or maybe as an SQL query on the Trellis Postgre database.