Experiment API Utility Functions
There is a small but useful set of utility functions that can be run on image session experiments by appending querystring parameters to a PUT function call on the experiment ID.
pullDataFromHeaders
PUT - /data/experiments/{EXPERIMENT_ID}?pullDataFromHeaders=true
PUT - /data/experiments/{EXPERIMENT_ID}/scans/{SCAN_ID}?pullDataFromHeaders=true
This function will poll the DICOM headers of uploaded DICOM resource files and repopulate any missing session and scan metadata fields that did not get captured during the original image importing and session building process. This function can be especially useful when maunally adding additional scans and uploading resources to a pre-existing image session.
Note that this can be run at either the session or scan level.
fixScanTypes
PUT - /data/experiments/{EXPERIMENT_ID}?fixScanTypes=true
PUT - /data/experiments/{EXPERIMENT_ID}/scans/{SCAN_ID}?fixScanTypes=true
This function will repopulate or correct the scan type associated with scans in an image session, or for a specific scan ID. This is a culled-down version of the above function.
Note that this can be run at either the session or scan level.