Versions Compared

Key

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

...

Access to any NBIA Search with Authentication REST API requires an authentication token. You must contact the TCIA Help Desk to receive the client_id and client_secret needed to generate a token. The TCIA Help Desk must give your user account permission to access restricted collections. 

...

Access to any NBIA Search with Authentication REST API requires an authentication token. You must contact the TCIA Help Desk to receive the client_id and client_secret needed to generate a ,  requires an authentication token. 

A request for a token takes the following structure. Refer to the table below for the correct username and password to pass in the callNote that USERNAME should be your TCIA username and PASSWORD should be your TCIA password.

Code Block
titleStructure of a Request for a Token
curl -d "username=<username>USERNAME&password=<password>PASSWORD&client_id=NBIA&grant_type=password" -X POST -k https://services.cancerimagingarchive.net/nbia-api/oauth/token

If you don't have a TCIA account and want to test an API, you can access public data using the NBIA guest account with no password, as follows.

...