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=26625
{ "count": 47031, "next": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=26650", "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=26600", "results": [ { "id": 26619, "identifier": "C1142277", "identifier_type": "str", "name": "Brown urine", "properties": { "url": "http://identifiers.org/umls/C1142277", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 26620, "identifier": "C1536459", "identifier_type": "str", "name": "Nettle rash", "properties": { "url": "http://identifiers.org/umls/C1536459", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 26621, "identifier": "GO:0023041", "identifier_type": "str", "name": "neuronal signal transduction", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0023041", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 26622, "identifier": "C0043117", "identifier_type": "str", "name": "Idiopathic thrombocytopenic purpura", "properties": { "url": "http://identifiers.org/umls/C0043117", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 26623, "identifier": "N0000009917", "identifier_type": "str", "name": "Adrenergic alpha1-Agonists", "properties": { "url": "http://purl.bioontology.org/ontology/NDFRT/N0000009917", "source": "FDA via DrugCentral", "license": "CC BY 4.0", "class_type": "Mechanism of Action" }, "metanode": "Pharmacologic Class" }, { "id": 26624, "identifier": "3398", "identifier_type": "int", "name": "ID2", "properties": { "url": "http://identifiers.org/ncbigene/3398", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "2", "description": "inhibitor of DNA binding 2, dominant negative helix-loop-helix protein" }, "metanode": "Gene" }, { "id": 26625, "identifier": "WP272_r84876", "identifier_type": "str", "name": "Blood Clotting Cascade", "properties": { "url": "http://www.wikipathways.org/instance/WP272_r84876", "source": "WikiPathways", "license": "CC BY 3.0" }, "metanode": "Pathway" }, { "id": 26626, "identifier": "GO:0090132", "identifier_type": "str", "name": "epithelium migration", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0090132", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 26627, "identifier": "GO:0052572", "identifier_type": "str", "name": "response to host immune response", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0052572", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 26628, "identifier": "N0000175075", "identifier_type": "str", "name": "Proteasome Inhibitors", "properties": { "url": "http://purl.bioontology.org/ontology/NDFRT/N0000175075", "source": "FDA via DrugCentral", "license": "CC BY 4.0", "class_type": "Mechanism of Action" }, "metanode": "Pharmacologic Class" }, { "id": 26629, "identifier": "GO:0004820", "identifier_type": "str", "name": "glycine-tRNA ligase activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0004820", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 26630, "identifier": "10262", "identifier_type": "int", "name": "SF3B4", "properties": { "url": "http://identifiers.org/ncbigene/10262", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "splicing factor 3b, subunit 4, 49kDa" }, "metanode": "Gene" }, { "id": 26631, "identifier": "60412", "identifier_type": "int", "name": "EXOC4", "properties": { "url": "http://identifiers.org/ncbigene/60412", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "7", "description": "exocyst complex component 4" }, "metanode": "Gene" }, { "id": 26632, "identifier": "C0018418", "identifier_type": "str", "name": "Gynaecomastia", "properties": { "url": "http://identifiers.org/umls/C0018418", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 26633, "identifier": "DB00353", "identifier_type": "str", "name": "Methylergometrine", "properties": { "url": "http://www.drugbank.ca/drugs/DB00353", "inchi": "InChI=1S/C20H25N3O2/c1-3-14(11-24)22-20(25)13-7-16-15-5-4-6-17-19(15)12(9-21-17)8-18(16)23(2)10-13/h4-7,9,13-14,18,21,24H,3,8,10-11H2,1-2H3,(H,22,25)/t13-,14+,18-/m1/s1", "source": "DrugBank", "license": "CC BY-NC 4.0", "inchikey": "InChIKey=UNBRKDKAWYKMIV-QWQRMKEZSA-N" }, "metanode": "Compound" }, { "id": 26634, "identifier": "GO:0008021", "identifier_type": "str", "name": "synaptic vesicle", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0008021", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Cellular Component" }, { "id": 26635, "identifier": "4208", "identifier_type": "int", "name": "MEF2C", "properties": { "url": "http://identifiers.org/ncbigene/4208", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "5", "description": "myocyte enhancer factor 2C" }, "metanode": "Gene" }, { "id": 26636, "identifier": "GO:0070473", "identifier_type": "str", "name": "negative regulation of uterine smooth muscle contraction", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0070473", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 26637, "identifier": "84530", "identifier_type": "int", "name": "SRRM4", "properties": { "url": "http://identifiers.org/ncbigene/84530", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "12", "description": "serine/arginine repetitive matrix 4" }, "metanode": "Gene" }, { "id": 26638, "identifier": "GO:0090177", "identifier_type": "str", "name": "establishment of planar polarity involved in neural tube closure", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0090177", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 26639, "identifier": "161882", "identifier_type": "int", "name": "ZFPM1", "properties": { "url": "http://identifiers.org/ncbigene/161882", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "16", "description": "zinc finger protein, FOG family member 1" }, "metanode": "Gene" }, { "id": 26640, "identifier": "6549", "identifier_type": "int", "name": "SLC9A2", "properties": { "url": "http://identifiers.org/ncbigene/6549", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "2", "description": "solute carrier family 9, subfamily A (NHE2, cation proton antiporter 2), member 2" }, "metanode": "Gene" }, { "id": 26641, "identifier": "102724994", "identifier_type": "int", "name": "LOC102724994", "properties": { "url": "http://identifiers.org/ncbigene/102724994", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "5", "description": "putative POM121-like protein 1-like" }, "metanode": "Gene" }, { "id": 26642, "identifier": "C0392162", "identifier_type": "str", "name": "Sticky skin", "properties": { "url": "http://identifiers.org/umls/C0392162", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 26643, "identifier": "C0013428", "identifier_type": "str", "name": "Dysuria", "properties": { "url": "http://identifiers.org/umls/C0013428", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" } ] }