Check out the wikipedia page if you are no familiar with REST.
[1] | http://en.wikipedia.org/wiki/REST |
Basically the resources are accessible pairing a level and its ID in a sequence representing a URI starting by /REST.
[2] | http://nrg.wikispaces.com/XNAT+REST+API+Usage |
[3] | http://nrg.wikispaces.com/XNAT+REST+API |
The REST resource levels supported by this Python library are the following:
- REST
- projects
- subjects
- experiments
- scans
- reconstructions
- assessors
Attached to each resource level are:
- files
- resources
- files
Warning
At the moment the reconstructions and assessors levels are not accessible.
Every level corresponds to a Python class sharing common methods from ResourceObject and adding methods relevant to the specific resource.
REST resource Python Class REST Interface projects Project subjects Subject experiments Experiment scans Scan reconstructions Reconstruction assessors Assessor resources Resource files File
This classes may but should not be instantiated manually.