Retrieve patients matching the filters
GET /query
Gets a query ticket containing streamed information about patients that match the given query
Authorizations
Parameters
Query Parameters
Acceptable requested fields for querying
A pipe-separated list of treatments to look for
Example
Bone marrow transplant|ChemotherapyAcceptable requested fields for querying
A pipe-separated list of affected primary sites to look for
Example
Adrenal gland|BladderAcceptable requested fields for querying
A pipe-separated list of drug names to look for
Example
FLUOROURACIL|LEUCOVORINAcceptable requested string for querying
A chromosome to search for variants within. This cannot be used with a geneParam, and must be of the format chr#:start-end
Acceptable requested fields for querying
A gene name to search for variants within. This cannot be used with chrParam
Example
ZYG11AAcceptable requested string for querying
A genomic assembly to search for variants within.
Example
hg38Acceptable integer for querying
The number of donors to return per page
Example
10Acceptable integer for querying
The page number to grab
Example
1Acceptable requested fields for querying
A list of programs that will be excluded from results
Example
SYNTHETIC-1Acceptable requested fields for querying
A list of genomic data types to include in the query. If value includes ‘any’, return any genomic data type.
Example
genomes|variantsAcceptable requested fields for querying
[ "Bone marrow transplant", "Chemotherapy"]A list of submitter_donor_ids to include in the results
Responses
200
Retrieved donor information
Query response
object
Summary statistics
object
Donors matching the query
URL to grab the next set of results
URL to grab the previous set of results
400
The request was not processed, as the request parameters did not adhere to the specification
object
Error object container
object
Name/type of the error that occurred
ServerErrorMessage explaining why the error occurred
An unspecified server error occurredobject
InvalidInputFOO is not an acceptable field404
The request was not processed, as the requested object was not found
object
Error object container
object
Name/type of the error that occurred
ServerErrorMessage explaining why the error occurred
An unspecified server error occurredobject
NotFoundThe requested resource could not be located5XX
Unspecified server error encountered
object
Error object container
object
Name/type of the error that occurred
ServerErrorMessage explaining why the error occurred
An unspecified server error occurred