Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
API, history contents: contents download endpoint
- Adds an api endpoint at 'histories/{id}/contents/archive' for creating an archive from all history contents or a filtered subset of contents - Contents are returned in 'tgz' format currently - Datasets are located in the archive in paths roughly matching the nesting relationships of their parent collections - Filters can be applied using the same syntax as index - Adding 'dry_run=True' will return a JSON list of archive paths and dataset file paths for debugging - Adds map_datasets method for walking the datasets of histories and HDCAs
- Loading branch information
1 parent
ba6a0a3
commit 21ccf76
Showing
5 changed files
with
189 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters