What is the XNAT REST API?

Back in 2005, in the strange and heady times of post-bubble dot-com development, Dan Marcus took a trip to Amazon headquarters to meet their CTO and promote a very young XNAT among up and coming "big data" research tools. He was blown away by Amazon's commitment to developing their nascent Amazon Web Services software as a services platform, powered entirely - inside and out - by a commonly accessible API. That inspired the XNAT development team to commit to making its capabilities – creating, organizing, searching and downloading data – powered by a set of RESTful services, accessible by a common API.

The API has grown and evolved considerably since its first appearance in XNAT 1.3 – to the point that our documentation is still trying to keep pace. Please pardon our dust as we continue to build out this section over the coming months. 

 

REST API Basics

 

REST API Notes for XNAT 1.7

 

The XNAT API Directory

This Directory combines all legacy XNAT REST API and new-generation XAPI commands that come installed on a default XNAT. Plugins or customizations may add new API calls that will not be documented here.

See: XNAT 1.7 REST API Directory