GET /compounds/{id}
This method returns a single compound.
Name | Value |
---|---|
Request Protocol | GET |
Requires API Key | No |
Cache Time | 0 seconds |
- A
404
error is returned if an item is not found.
GET /compounds/{id}
Parameter | Type | Value | Required | Default | Description |
---|---|---|---|---|---|
indent | input | boolean | no | false | Add indentation to response |
type | input | - | no | tissue_id | Define whether id = compound_id or id = compound_name |
- JSON
GET /compounds/{id}
- http://api.pharmacodb.ca/v1/compounds/1
- http://api.pharmacodb.ca/v1/compounds/paclitaxel?type=name
- http://api.pharmacodb.ca/v1/compounds/526?indent=true
JSON, using the compound paclitaxel.
{
"id": 526,
"name": "paclitaxel",
"annotations": [
{
"name": "Paclitaxel",
"datasets": [
"CCLE",
"GDSC1000",
"GRAY",
"FIMM",
"UHNBreast"
]
},
{
"name": "paclitaxel",
"datasets": [
"gCSI",
"CTRPv2"
]
}
]
}