Open robons opened 2 years ago
Do we want to automatically generate a CSV-W from a given RDF? (Though clearly not something we're building now.)
Do we want to automatically generate a CSV-W from a given RDF? (Though clearly not something we're building now.)
I don't think so. There's no way to know we'd be making a sensible CSV-W. Which records do we decide are the ones from the RDF which should be present in the CSV and which ones need to go in the metadata JSON? How do you 'correctly' decide?
All URIs should adhere to the URL standards for GOV.UK.
API technical and data standards (v2 - 2019)
Catalogue Endpoints
N.B. When uploading, nothing should be returned in the 'live' listing endpoints until the whole ingestion/indexing process has been completed.
Content Acquisition Endpoints
0.1
) of a graph (some-graph-identifier
)http://some-base-url/graphs/some-graph-identifier/0.1
with noAccept
header ORAccept: text/plain
(until we develop a suitable human-friendly web page) ORAccept: text/ttl
http://some-base-url/graphs/some-graph-identifier/0.1/ttl
with any or noAccept
headerhttp://some-base-url/graphs/some-graph-identifier/0.1/rdf
with any or noAccept
header0.1
) of a graph (some-graph-deitnfier
)http://some-base-url/graphs/some-graph-identifier/0.1
withAccept: text/csv
http://some-base-url/graphs/some-graph-identifier/0.1/csv
with any or noAccept
header0.1
) of a graph (some-graph-deitnfier
)http://some-base-url/graphs/some-graph-identifier/0.1
withAccept: application/csvm+json
http://some-base-url/graphs/some-graph-identifier/0.1/csvw
with any or noAccept
headerlatest
as a version, e.g.http://some-base-url/graphs/some-graph-identifier/latest
. This should return the data associated with the latest version uploaded.http://some-base-url/graphs/some-graph-identifier
should perma-redirect tohttp://some-base-url/graphs/some-graph-identifier/latest
Do we want to support the memento protocol?
https://github.com/ONSdigital/dp/blob/main/standards/API_STANDARDS.md