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=15275
{ "count": 47031, "next": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=15300", "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=15250", "results": [ { "id": 15265, "identifier": "D048949", "identifier_type": "str", "name": "Labor Pain", "properties": { "url": "http://identifiers.org/mesh/D048949", "source": "MeSH", "license": "CC0 1.0" }, "metanode": "Symptom" }, { "id": 15266, "identifier": "GO:0003323", "identifier_type": "str", "name": "type B pancreatic cell development", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0003323", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 15267, "identifier": "5624", "identifier_type": "int", "name": "PROC", "properties": { "url": "http://identifiers.org/ncbigene/5624", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "2", "description": "protein C (inactivator of coagulation factors Va and VIIIa)" }, "metanode": "Gene" }, { "id": 15268, "identifier": "51566", "identifier_type": "int", "name": "ARMCX3", "properties": { "url": "http://identifiers.org/ncbigene/51566", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "X", "description": "armadillo repeat containing, X-linked 3" }, "metanode": "Gene" }, { "id": 15269, "identifier": "9790", "identifier_type": "int", "name": "BMS1", "properties": { "url": "http://identifiers.org/ncbigene/9790", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "10", "description": "BMS1 ribosome biogenesis factor" }, "metanode": "Gene" }, { "id": 15270, "identifier": "23479", "identifier_type": "int", "name": "ISCU", "properties": { "url": "http://identifiers.org/ncbigene/23479", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "12", "description": "iron-sulfur cluster assembly enzyme" }, "metanode": "Gene" }, { "id": 15271, "identifier": "7965", "identifier_type": "int", "name": "AIMP2", "properties": { "url": "http://identifiers.org/ncbigene/7965", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "7", "description": "aminoacyl tRNA synthetase complex-interacting multifunctional protein 2" }, "metanode": "Gene" }, { "id": 15272, "identifier": "PC7_2458", "identifier_type": "str", "name": "Calcium signaling in the CD4+ TCR pathway", "properties": { "source": "PID via Pathway Commons", "license": "CC0 1.0" }, "metanode": "Pathway" }, { "id": 15273, "identifier": "DB00277", "identifier_type": "str", "name": "Theophylline", "properties": { "url": "http://www.drugbank.ca/drugs/DB00277", "inchi": "InChI=1S/C7H8N4O2/c1-10-5-4(8-3-9-5)6(12)11(2)7(10)13/h3H,1-2H3,(H,8,9)", "source": "DrugBank", "license": "CC BY-NC 4.0", "inchikey": "InChIKey=ZFXYFBGIUFBOJW-UHFFFAOYSA-N" }, "metanode": "Compound" }, { "id": 15274, "identifier": "84447", "identifier_type": "int", "name": "SYVN1", "properties": { "url": "http://identifiers.org/ncbigene/84447", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "11", "description": "synovial apoptosis inhibitor 1, synoviolin" }, "metanode": "Gene" }, { "id": 15275, "identifier": "C0040210", "identifier_type": "str", "name": "VT", "properties": { "url": "http://identifiers.org/umls/C0040210", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 15276, "identifier": "2257", "identifier_type": "int", "name": "FGF12", "properties": { "url": "http://identifiers.org/ncbigene/2257", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "3", "description": "fibroblast growth factor 12" }, "metanode": "Gene" }, { "id": 15277, "identifier": "6322", "identifier_type": "int", "name": "SCML1", "properties": { "url": "http://identifiers.org/ncbigene/6322", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "X", "description": "sex comb on midleg-like 1 (Drosophila)" }, "metanode": "Gene" }, { "id": 15278, "identifier": "GO:0006540", "identifier_type": "str", "name": "glutamate decarboxylation to succinate", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0006540", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 15279, "identifier": "56344", "identifier_type": "int", "name": "CABP5", "properties": { "url": "http://identifiers.org/ncbigene/56344", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "19", "description": "calcium binding protein 5" }, "metanode": "Gene" }, { "id": 15280, "identifier": "257019", "identifier_type": "int", "name": "FRMD3", "properties": { "url": "http://identifiers.org/ncbigene/257019", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "9", "description": "FERM domain containing 3" }, "metanode": "Gene" }, { "id": 15281, "identifier": "D015746", "identifier_type": "str", "name": "Abdominal Pain", "properties": { "url": "http://identifiers.org/mesh/D015746", "source": "MeSH", "license": "CC0 1.0" }, "metanode": "Symptom" }, { "id": 15282, "identifier": "1026", "identifier_type": "int", "name": "CDKN1A", "properties": { "url": "http://identifiers.org/ncbigene/1026", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "6", "description": "cyclin-dependent kinase inhibitor 1A (p21, Cip1)" }, "metanode": "Gene" }, { "id": 15283, "identifier": "140733", "identifier_type": "int", "name": "MACROD2", "properties": { "url": "http://identifiers.org/ncbigene/140733", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "20", "description": "MACRO domain containing 2" }, "metanode": "Gene" }, { "id": 15284, "identifier": "51176", "identifier_type": "int", "name": "LEF1", "properties": { "url": "http://identifiers.org/ncbigene/51176", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "4", "description": "lymphoid enhancer-binding factor 1" }, "metanode": "Gene" }, { "id": 15285, "identifier": "GO:0042695", "identifier_type": "str", "name": "thelarche", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0042695", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 15286, "identifier": "GO:0032615", "identifier_type": "str", "name": "interleukin-12 production", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0032615", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 15287, "identifier": "128272", "identifier_type": "int", "name": "ARHGEF19", "properties": { "url": "http://identifiers.org/ncbigene/128272", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "Rho guanine nucleotide exchange factor (GEF) 19" }, "metanode": "Gene" }, { "id": 15288, "identifier": "GO:0005750", "identifier_type": "str", "name": "mitochondrial respiratory chain complex III", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0005750", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Cellular Component" }, { "id": 15289, "identifier": "GO:0009308", "identifier_type": "str", "name": "amine metabolic process", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0009308", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" } ] }