-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
I am switching datalad-ebrains over from custom queries to using this library datalad/datalad-ebrains#33
I would appreciate input on how to obtain a "file list" given a file repository.
kg_client.instances.get_by_id('00932cbe-f90f-4968-a91f-da717c554320') already provides me an IRI like https://object.cscs.ch/v1/AUTH_.../ext-d000017_DiFuMoAtlases_pub?prefix=64/` that yields structured information on what I need to know (name, hash, size, date, and optional MIME type):
<object>
<name>64/labels_64_dictionary.csv</name>
<hash>403c17ff9dc32970ae0068cf103220d7</hash>
<bytes>6737</bytes>
<content_type>text/csv</content_type>
<last_modified>2020-02-12T13:37:49.526770</last_modified>
</object>
I wonder if ebrain-kg-core can be used to readily provide this information without having to add custom parsing of this particular file repositories response?
Thanks in advance!
ping @dickscheid
Metadata
Metadata
Assignees
Labels
No labels