1. RESTAPI Basic Operation Manual
...
curl -u username "https://xnat.sydney.edu.au/data/projects/PTV000[insert project name here]/subjects/Haofei01[insert subject name here]/experiments/Haofei01_MR1[insert session name here]/scans/4[insert scan ID here]/files?format=xml" -o filelist.xml
...
curl -u username "https://xnat.sydney.edu.au/data/projects/PTV000[insert project name here]/subjects/Haofei01[insert subject name here]/experiments/Haofei01_MR1[insert session name here]/scans/4/files?format=zip" -o dicomfiles.zip
Note: In this above For example, PVT000 is the project name, Haofei01 is the subject name, "Haofei01_MRI" is the session/experiment name, "4" is the scan name.
...
curl -u username -X PUT "https://xnat.sydney.edu.au/data/projects/PTV000[insert project name here]/subjects/Haofei01[insert subject name here]/experiments/Haofei01_MR1[insert session name here]/scans/4/ABC/files" -F "file=@filelist"
Note: In this above For example, PVT000 is the project name, Haofei01 is the subject name, "Haofei01_MRI" is the session/experiment name, "4" is the scan name, "ABC" is the subfolder name, and "files" are necessary to be added.
...
curl -u username -X PUT "https://xnat.sydney.edu.au/data/archive/projects/PTV000/subjects/Haofei01/experiments/Haofei01_MR1/scans/4/test"
Creates a subfolder sub-folder under scans/4 named test. Note that no further subdirectories sub-directories are allowed.
2. How can we determine the project, subject, session/experiments, scan name via the XNAT Web Interface ?
...
Step 3. Create the Artemis Scripts
For information about Artemis Job Submission, monitoring and management, please refer to the information page about Artemis.
https://sydneyuni.atlassian.net/wiki/spaces/RC/pages/190284213/Job+Submission
https://sydneyuni.atlassian.net/wiki/spaces/RC/pages/213090348/Job+Monitoring+and+Management
[unikey@login2 ~]$ vi run.pbs
#!/bin/bash
#PBS -P SASTEST
...