cases().get()¶
Returns information about a specific case, including a list of samples and aliquots derived from this case. Takes a case barcode (eg ACC-MESO-1) as a required parameter. User does not need to be authenticated.
Example:
curl https://api-dot-isb-cgc.appspot.com/_ah/api/isb_cgc_ccle_api/v3/ccle/cases/1034
API explorer example:
Click here to see this endpoint in Google’s API explorer.
Python API Client Example:
from googleapiclient.discovery import build
import httplib2
def get_unauthorized_service():
api = 'isb_cgc_ccle_api'
version = 'v3'
site = 'https://api-dot-isb-cgc.appspot.com'
discovery_url = '%s/_ah/api/discovery/v1/apis/%s/%s/rest' % (site, api, version)
return build(api, version, discoveryServiceUrl=discovery_url, http=httplib2.Http())
service = get_unauthorized_service()
data = service.cases().get(case_barcode='1034').execute()
Request
HTTP request:
GET https://api-dot-isb-cgc.appspot.com/_ah/api/isb_cgc_ccle_api/v3/ccle/cases/{case_barcode}
Parameters
| Parameter name | Value | Description |
|---|---|---|
| case_barcode | string | Required. |
Response
If successful, this method returns a response body with the following structure(CCLE does not have clinical data hence the clinical data would remain blank):
{
"aliquots": [string],
"clinical_data": {},
"samples": [string]
}
| Parameter name | Value | Description |
|---|---|---|
| aliquots[] | list | List of barcodes of aliquots taken from this patient. |
| clinical_data | nested object | The clinical data about the patient. |
| samples[] | list | List of barcodes of samples taken from this patient. |