Closed PaulHax closed 7 months ago
@manthey Just FYI, currently this plugin zips up all the "dataset" files in the item and returns that to VolView via item/:id/volview/datasets
So probably don't have issues with funky CORS configs on S3 buckets now. But would be nice to implement the above sometime and save some bandwidth.
Could modify
GET item/:id/volview
to return a JSON file with directfile/:id
links to all files in the Item. If asession.volview.zip
file is in the item, just return the latestsession.volview.zip
file.Could then eliminate the
item/:id/volview/datasets
endpoint. Also, would get direct download of files from S3 bucket asset-stores, rather than having girder zip them all up, then passing to VolView. Downside: Some DICOM volumes have 500+ files, resulting in many HTTP requests.