Node
Return nodes, sorted by similarity to the search term.
Use search=<str> to search identifier for prefix match, and name for substring and trigram searches (similarity defaults to 0.3);
Use search=<str>&similarity=<value> to set your own similarity value in the range of (0, 1.0].
Set similarity=1.0 to exclude trigram search.
Filter for select metanodes using metanodes=<str>, where <str> is a comma-separated list of metanode abbreviations.
For example, metanodes=C,D will restrict to Compound and Disease nodes.
Set other-node=<node_id> to return non-null values for metapath_count.
metapath_counts measures the number of metapaths stored in the database between the result node and other node.
If search and other-node and both specified, results are sorted by search similarity and results with metapath_count == 0 are returned.
If other-node is specified but not search, results are sorted by metapath_count (descending) and only results with metapath_count > 0 are returned.
GET /v1/nodes/?format=api&offset=30700
{ "count": 47031, "next": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=30725", "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=30675", "results": [ { "id": 30693, "identifier": "900", "identifier_type": "int", "name": "CCNG1", "properties": { "url": "http://identifiers.org/ncbigene/900", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "5", "description": "cyclin G1" }, "metanode": "Gene" }, { "id": 30694, "identifier": "9535", "identifier_type": "int", "name": "GMFG", "properties": { "url": "http://identifiers.org/ncbigene/9535", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "19", "description": "glia maturation factor, gamma" }, "metanode": "Gene" }, { "id": 30695, "identifier": "51050", "identifier_type": "int", "name": "PI15", "properties": { "url": "http://identifiers.org/ncbigene/51050", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "8", "description": "peptidase inhibitor 15" }, "metanode": "Gene" }, { "id": 30696, "identifier": "GO:0009267", "identifier_type": "str", "name": "cellular response to starvation", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0009267", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 30697, "identifier": "GO:0007076", "identifier_type": "str", "name": "mitotic chromosome condensation", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0007076", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 30698, "identifier": "C0023501", "identifier_type": "str", "name": "Leukaemoid reaction", "properties": { "url": "http://identifiers.org/umls/C0023501", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 30699, "identifier": "83931", "identifier_type": "int", "name": "STK40", "properties": { "url": "http://identifiers.org/ncbigene/83931", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "serine/threonine kinase 40" }, "metanode": "Gene" }, { "id": 30700, "identifier": "80705", "identifier_type": "int", "name": "TSGA10", "properties": { "url": "http://identifiers.org/ncbigene/80705", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "2", "description": "testis specific, 10" }, "metanode": "Gene" }, { "id": 30701, "identifier": "C0015469", "identifier_type": "str", "name": "Facial paralysis", "properties": { "url": "http://identifiers.org/umls/C0015469", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 30702, "identifier": "5822", "identifier_type": "int", "name": "PWP2", "properties": { "url": "http://identifiers.org/ncbigene/5822", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "21", "description": "PWP2 periodic tryptophan protein homolog (yeast)" }, "metanode": "Gene" }, { "id": 30703, "identifier": "10473", "identifier_type": "int", "name": "HMGN4", "properties": { "url": "http://identifiers.org/ncbigene/10473", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "6", "description": "high mobility group nucleosomal binding domain 4" }, "metanode": "Gene" }, { "id": 30704, "identifier": "GO:0004435", "identifier_type": "str", "name": "phosphatidylinositol phospholipase C activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0004435", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 30705, "identifier": "GO:0044321", "identifier_type": "str", "name": "response to leptin", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0044321", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 30706, "identifier": "GO:1901628", "identifier_type": "str", "name": "positive regulation of postsynaptic membrane organization", "properties": { "url": "http://purl.obolibrary.org/obo/GO_1901628", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 30707, "identifier": "GO:0050915", "identifier_type": "str", "name": "sensory perception of sour taste", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0050915", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 30708, "identifier": "84629", "identifier_type": "int", "name": "TNRC18", "properties": { "url": "http://identifiers.org/ncbigene/84629", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "7", "description": "trinucleotide repeat containing 18" }, "metanode": "Gene" }, { "id": 30709, "identifier": "200315", "identifier_type": "int", "name": "APOBEC3A", "properties": { "url": "http://identifiers.org/ncbigene/200315", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "22", "description": "apolipoprotein B mRNA editing enzyme, catalytic polypeptide-like 3A" }, "metanode": "Gene" }, { "id": 30710, "identifier": "C1456786", "identifier_type": "str", "name": "Paranoid state", "properties": { "url": "http://identifiers.org/umls/C1456786", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 30711, "identifier": "6760", "identifier_type": "int", "name": "SS18", "properties": { "url": "http://identifiers.org/ncbigene/6760", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "18", "description": "synovial sarcoma translocation, chromosome 18" }, "metanode": "Gene" }, { "id": 30712, "identifier": "PC7_2276", "identifier_type": "str", "name": "CDO in myogenesis", "properties": { "source": "Reactome via Pathway Commons", "license": "CC BY 4.0" }, "metanode": "Pathway" }, { "id": 30713, "identifier": "GO:0051611", "identifier_type": "str", "name": "regulation of serotonin uptake", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0051611", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 30714, "identifier": "10269", "identifier_type": "int", "name": "ZMPSTE24", "properties": { "url": "http://identifiers.org/ncbigene/10269", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "zinc metallopeptidase STE24" }, "metanode": "Gene" }, { "id": 30715, "identifier": "DB01103", "identifier_type": "str", "name": "Quinacrine", "properties": { "url": "http://www.drugbank.ca/drugs/DB01103", "inchi": "InChI=1S/C23H30ClN3O/c1-5-27(6-2)13-7-8-16(3)25-23-19-11-9-17(24)14-22(19)26-21-12-10-18(28-4)15-20(21)23/h9-12,14-16H,5-8,13H2,1-4H3,(H,25,26)", "source": "DrugBank", "license": "CC BY-NC 4.0", "inchikey": "InChIKey=GPKJTRJOBQGKQK-UHFFFAOYSA-N" }, "metanode": "Compound" }, { "id": 30716, "identifier": "126129", "identifier_type": "int", "name": "CPT1C", "properties": { "url": "http://identifiers.org/ncbigene/126129", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "19", "description": "carnitine palmitoyltransferase 1C" }, "metanode": "Gene" }, { "id": 30717, "identifier": "GO:0072087", "identifier_type": "str", "name": "renal vesicle development", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0072087", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" } ] }