buda-base / lds-pdi

http://purl.bdrc.io BDRC Linked Data Server
Apache License 2.0
2 stars 0 forks source link

Etag and last modification date for resources #84

Closed eroux closed 6 years ago

eroux commented 6 years ago

git-to-dbs adds some properties to each named graphs indicating the commit, and the modification date could be added. These properties should be used by the resource/ endpoint, and also the same mechanism could be used for the auth endpoints.

MarcAgate commented 6 years ago

Done as of commit 0702747 Etag are set with gitRevision # for /resource endpoints Last-Modified is set to the last update time of RdfAuthModel in /auth endpoints