Supporting indexing of archives in the /files
endpoint
#484
Labels
status/has-concrete-suggestion
This issue has one or more concrete suggestions spelled out that can be brought up for consensus.
type/proposal
Proposal for addition/removal of features. May need broad discussion to reach consensus.
Currently our
file
entry type has a 1-to-1 mapping with a file on disk, however there are many cases where databases serve archive files that aggregate data on multiple structures. I would like to be able to run an index over the contents of an archive file and list them as separatefiles
entries, e.g.,where a client can be smart enough to only download the archive once. Each file can then have a relationship with the
structure
that the data pertains to.relpath
orrelative_path
is not part of the current spec, but I think it could be useful and easy to add. The archiving mechanism/compression should be handled by our current fields (e.g.,"media_type": "application/tar+gzip"
above) but we will lose some info on the size/type of the file atrelpath
after extracting (although the description seems to be the intended way to handle this anyway for files without defined mime-types).If others agree this is useful then I am happy to concoct a PR.
The text was updated successfully, but these errors were encountered: