NIH | National Cancer Institute | NCI Wiki  

Versions Compared

Key

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

...

HTTP Verb

QueryEndpoint

Query Parameters(Input)

Output(Description)

 POST /submitImage  case_id,

File_location, subject_id

 {“status”: “Success”} on success

Example of /ImageLoader

Code Block
curl -v -F case_id=TCGA-02-0001 -F file_location=@TCGA-02-0001-01Z-00-DX1.83fce43e-42ac-4dcd-b156-2908e75f2e47.svs http://localhost:32799/submitData

Optional study_id Return type: json On success returns: {"status":"success"}

 

case_id: The unique identifier for the image

file_location: Location of the image on file system

...

 

/uAIMDataLoader

Node application that converts masks (aperio and binary masks) to GeoJSON objects and stores them in a Mongo database. Need input, output, and command for each.

...

Example curl command(aperio):

Code Block
$ curl localhost:6000/submitMaskOrder -F mask=@1.png -F case_id=cbtc_test_11 -F execution_id=ganesh:test2 -F width=1743 -F height=2017 -F x=0 -F y=0
Example curl command(binary mask):
Code Block
$ curl localhost:6000/submitMaskOrder -F mask=@1.xml -F case_id=cbtc_test_11 -F execution_id=ganesh:test2 -F width=1743 -F height=2017 -F x=0 -F y=0 -F type= maskfile

case_id: The unique identifier for the image

execution_id: The name(label) of the algorithm/run

...

y: top left y coordinate of the image/roi (Default:  0)

...

/ImageData

Bindaas APIs for handling Image Metadata. (Internal APIs, not meant to be exposed)

...