When a REST request is made for a scan's list of files or resources as in the example below:
if the scan type is used in place of the SCAN_ID, all of the files and resources for scans with the specified scan type are listed.
This issue was found when resolving issue XNAT-3018. In this case session was being uploaded used the compressed uploader, but the snapshots were not being generated correctly. One of the DICOM had the same series description and series number. The series description is used for the scan type and the series number is used for the scan ID. When the AutoRun pipeline attempts to generate the snapshots, it makes a REST call for a scan's resources (similar to above) that generates the SNAPSHOTS directory on the file system. In this process