Skip to content

Latest commit

 

History

History
80 lines (60 loc) · 1.37 KB

id.md

File metadata and controls

80 lines (60 loc) · 1.37 KB

Compound

GET /compounds/{id}

Description

This method returns a single compound.

Summary

Name Value
Request Protocol GET
Requires API Key No
Cache Time 0 seconds

Notes

  • A 404 error is returned if an item is not found.

Sources

Parameters

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

Output Formats

  • JSON

Examples

GET /compounds/{id}

Output

JSON, using the compound paclitaxel.

{
    "id": 526,
    "name": "paclitaxel",
    "annotations": [
        {
            "name": "Paclitaxel",
            "datasets": [
                "CCLE",
                "GDSC1000",
                "GRAY",
                "FIMM",
                "UHNBreast"
            ]
        },
        {
            "name": "paclitaxel",
            "datasets": [
                "gCSI",
                "CTRPv2"
            ]
        }
    ]
}