
Retrieve public file list from a DSpace 7+ installation by URL
Source:R/archive-dspace7.R
dspace7_file_download.RdLists the publicly retrievable files (the item's ORIGINAL bundle) of one or
more DSpace 7 items via the REST API, without downloading them. Each row
carries an absolute file_url so the actual bytes are fetched later
by download_repo_files, the same deferred path used for
Zenodo, OSF, and legacy DSpace (psycharchives_file_download()).
Examples
# \donttest{
if (online("conservancy.umn.edu")) {
# lists the public files, which download_repo_files() can then fetch
dspace7_file_download("https://conservancy.umn.edu/handle/11299/208294")
}
#> dspace7_url
#> 1 https://conservancy.umn.edu/handle/11299/208294
#> 2 https://conservancy.umn.edu/handle/11299/208294
#> name
#> 1 ReadME.txt
#> 2 Iannarilli_et_al_Data_Code_and_Output.rar
#> file_url
#> 1 https://conservancy.umn.edu/server/api/core/bitstreams/389df8de-b452-4909-99b2-158184fd18a7/content
#> 2 https://conservancy.umn.edu/server/api/core/bitstreams/b39efe88-bc9d-45cf-b5be-0889ae251594/content
#> file_location size isdir ext type
#> 1 <NA> 12889 FALSE txt text
#> 2 <NA> 2897724 FALSE rar archive
# }