Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

You can create a manifest file in several ways.

Creating a Manifest File Using TCIA

...

Creating a Manifest File Using the Manifest API

You can also create a manifest file using the REST API. Refer to the REST Manifest API documentation for instructions on how to use the Manifest API. The outcome of the REST API call must be saved as a text file with the extension .tcia. 

...

Code Block
downloadServerUrl=https://imaging-devcm.nci.nih.gov/nbia-download/servlet/DownloadServlet
includeAnnotation=false
noOfrRetry=4
databasketId=manifest-1523866570303.tcia
manifestVersion=3.0
ListOfSeriesToDownload=
1.3.6.1.4.1.9328.50.3.336

Creating a Manifest File Using the Shared List API

If you have a shared list, you can use the Shared List Query API to create a manifest file. Refer to the Shared List

...

The same is for Manifest API from Shared List, if the user has a shared list file in addition to the user account.

And also for Manifest API from JNLP Data,  the users need to have a JNLP file.

...

Query API documentation for instructions on how to use the API.

Example Manifest from Shared List Query 

Code Block
curl -H "Authorization:Bearer a99171a1-b289-4700-9e4e-1bd73ce1bbb5" -k "http://localhost:8080/nbia-api/services/getManifestTextFromSharedList" -d "sharedList=scottslist&includeAnnotation=false"

The API returns text that can be used as a manifest file for the Downloader App.

Code Block
downloadServerUrl=https://imaging-devcm.nci.nih.gov/nbia-download/servlet/DownloadServlet
includeAnnotation=false
noOfrRetry=4
databasketId=manifest-1523866570303.tcia
manifestVersion=3.0
ListOfSeriesToDownload=
1.3.6.1.4.1.9328.50.3.336

Creating a Manifest File Using the JNLP Data Query API

If you have a JNLP file, you can use the JNLP Data Query API to create a manifest file. Refer to the JNLP Data Query API documentation for instructions on how to use the API.

Example Manifest from JNLP Data Query 

Code Block
curl -H "Authorization:Bearer 3b2bf812-a97e-454e-af94-623b868a2955" -k "http://localhost:8080/nbia-api/services/getManifestFromJNLPFileData" -d "jnlpArgument=C:\Apps\nbia\apache-tomcat-7.0.68\temp\jnlp-data1521628213301.txt&includeAnnotation=false"

The API returns text that can be used as a manifest file for the Downloader App.

Code Block
downloadServerUrl=https://imaging-devcm.nci.nih.gov/nbia-download/servlet/DownloadServlet
includeAnnotation=false
noOfrRetry=4
databasketId=manifest-1523866570303.tcia
manifestVersion=3.0
ListOfSeriesToDownload=
1.3.6.1.4.1.9328.50.3.336