...
We can break this down as follows.
Object | Example |
---|---|
Token | cd2b2895-85d0-49c5-bd75-804f162da942 |
BaseURL | |
Resource | /nbia-api/services/v2 |
Endpoint | getModalityValues |
Query Parameters | Collection=TCGA-BRCA |
See Image Download APIs and Image Metadata APIs for more information about each NBIA Search with Authentication REST API.
...
Code Block | ||
---|---|---|
| ||
username=<username>&password=<password>&client_id=<theClientIDFromHelpDesk>&client_secret=<theClientSecretFromHelpDesk>&grant_type=password" -X POST -k https://services.cancerimagingarchive.net/nbia-api/oauth/token |
Data | Username | Password |
---|---|---|
Public and Restricted | Your username | Your password |
Public | nbia_guest | Leave blank |
Request a token by interacting with the application in the following way.
...