WilkinsonK / xapi-oxidized

XNAT web API client
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Add support for DICOM import #14

Open WilkinsonK opened 4 months ago

WilkinsonK commented 4 months ago

Description

The XAPI provides endpoints for a user to send DICOM direct to the target host via a number of handlers. As a developer using this library, I would like the option to utilize the path /data/services/import and its variations to be able to import entire sessions as required.

Import Handlers

According to the XAPI documentation, there are 4 non-deprecated handlers:

Skipping the deprecated method(s), we want to be able to have support for the listed above. We will need an interface which guides the user to be able to appropriately build their request depending on the handler. This is because the /data/services/import API supports multiple options which dictate import behavior but not all options are supported by all handlers.

Full documentation for the importer API here