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=39225
{ "count": 47031, "next": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=39250", "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=39200", "results": [ { "id": 39224, "identifier": "4643", "identifier_type": "int", "name": "MYO1E", "properties": { "url": "http://identifiers.org/ncbigene/4643", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "15", "description": "myosin IE" }, "metanode": "Gene" }, { "id": 39225, "identifier": "C0876973", "identifier_type": "str", "name": "Lung infection", "properties": { "url": "http://identifiers.org/umls/C0876973", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 39226, "identifier": "54665", "identifier_type": "int", "name": "RSBN1", "properties": { "url": "http://identifiers.org/ncbigene/54665", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "round spermatid basic protein 1" }, "metanode": "Gene" }, { "id": 39227, "identifier": "347365", "identifier_type": "int", "name": "ITIH6", "properties": { "url": "http://identifiers.org/ncbigene/347365", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "X", "description": "inter-alpha-trypsin inhibitor heavy chain family, member 6" }, "metanode": "Gene" }, { "id": 39228, "identifier": "GO:0004897", "identifier_type": "str", "name": "ciliary neurotrophic factor receptor activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0004897", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 39229, "identifier": "C0740471", "identifier_type": "str", "name": "Creatinine abnormal NOS", "properties": { "url": "http://identifiers.org/umls/C0740471", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 39230, "identifier": "GO:0008392", "identifier_type": "str", "name": "arachidonic acid epoxygenase activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0008392", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 39231, "identifier": "7096", "identifier_type": "int", "name": "TLR1", "properties": { "url": "http://identifiers.org/ncbigene/7096", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "4", "description": "toll-like receptor 1" }, "metanode": "Gene" }, { "id": 39232, "identifier": "GO:0030594", "identifier_type": "str", "name": "neurotransmitter receptor activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0030594", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 39233, "identifier": "57134", "identifier_type": "int", "name": "MAN1C1", "properties": { "url": "http://identifiers.org/ncbigene/57134", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "mannosidase, alpha, class 1C, member 1" }, "metanode": "Gene" }, { "id": 39234, "identifier": "9374", "identifier_type": "int", "name": "PPT2", "properties": { "url": "http://identifiers.org/ncbigene/9374", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "6", "description": "palmitoyl-protein thioesterase 2" }, "metanode": "Gene" }, { "id": 39235, "identifier": "C0152202", "identifier_type": "str", "name": "Acquired night blindness", "properties": { "url": "http://identifiers.org/umls/C0152202", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 39236, "identifier": "C0024228", "identifier_type": "str", "name": "Lymphatic disorder", "properties": { "url": "http://identifiers.org/umls/C0024228", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 39237, "identifier": "DB00137", "identifier_type": "str", "name": "Xanthophyll", "properties": { "url": "http://www.drugbank.ca/drugs/DB00137", "inchi": "InChI=1S/C40H56O2/c1-29(17-13-19-31(3)21-23-37-33(5)25-35(41)27-39(37,7)8)15-11-12-16-30(2)18-14-20-32(4)22-24-38-34(6)26-36(42)28-40(38,9)10/h11-25,35-37,41-42H,26-28H2,1-10H3/b12-11+,17-13+,18-14+,23-21+,24-22+,29-15+,30-16+,31-19+,32-20+", "source": "DrugBank", "license": "CC BY-NC 4.0", "inchikey": "InChIKey=KBPHJBAIARWVSC-DKLMTRRASA-N" }, "metanode": "Compound" }, { "id": 39238, "identifier": "448835", "identifier_type": "int", "name": "LCE6A", "properties": { "url": "http://identifiers.org/ncbigene/448835", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "late cornified envelope 6A" }, "metanode": "Gene" }, { "id": 39239, "identifier": "C0018129", "identifier_type": "str", "name": "Transplant rejection", "properties": { "url": "http://identifiers.org/umls/C0018129", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 39240, "identifier": "GO:0034714", "identifier_type": "str", "name": "type III transforming growth factor beta receptor binding", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0034714", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 39241, "identifier": "79024", "identifier_type": "int", "name": "SMIM2", "properties": { "url": "http://identifiers.org/ncbigene/79024", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "13", "description": "small integral membrane protein 2" }, "metanode": "Gene" }, { "id": 39242, "identifier": "105371371", "identifier_type": "int", "name": "LOC105371371", "properties": { "url": "http://identifiers.org/ncbigene/105371371", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "16", "description": "SH3 domain-binding protein 1-like" }, "metanode": "Gene" }, { "id": 39243, "identifier": "23530", "identifier_type": "int", "name": "NNT", "properties": { "url": "http://identifiers.org/ncbigene/23530", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "5", "description": "nicotinamide nucleotide transhydrogenase" }, "metanode": "Gene" }, { "id": 39244, "identifier": "D012021", "identifier_type": "str", "name": "Reflex, Abnormal", "properties": { "url": "http://identifiers.org/mesh/D012021", "source": "MeSH", "license": "CC0 1.0" }, "metanode": "Symptom" }, { "id": 39245, "identifier": "173", "identifier_type": "int", "name": "AFM", "properties": { "url": "http://identifiers.org/ncbigene/173", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "4", "description": "afamin" }, "metanode": "Gene" }, { "id": 39246, "identifier": "GO:0031501", "identifier_type": "str", "name": "mannosyltransferase complex", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0031501", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Cellular Component" }, { "id": 39247, "identifier": "GO:0051152", "identifier_type": "str", "name": "positive regulation of smooth muscle cell differentiation", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0051152", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 39248, "identifier": "C0274727", "identifier_type": "str", "name": "Digoxin toxicity", "properties": { "url": "http://identifiers.org/umls/C0274727", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" } ] }