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=6225
{ "count": 47031, "next": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=6250", "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=6200", "results": [ { "id": 6213, "identifier": "6257", "identifier_type": "int", "name": "RXRB", "properties": { "url": "http://identifiers.org/ncbigene/6257", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "6", "description": "retinoid X receptor, beta" }, "metanode": "Gene" }, { "id": 6214, "identifier": "C0024904", "identifier_type": "str", "name": "Mastoiditis", "properties": { "url": "http://identifiers.org/umls/C0024904", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 6215, "identifier": "DOID:1826", "identifier_type": "str", "name": "epilepsy syndrome", "properties": { "url": "http://purl.obolibrary.org/obo/DOID_1826", "source": "Disease Ontology", "license": "CC BY 3.0" }, "metanode": "Disease" }, { "id": 6216, "identifier": "GO:0072011", "identifier_type": "str", "name": "glomerular endothelium development", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0072011", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 6217, "identifier": "GO:0007009", "identifier_type": "str", "name": "plasma membrane organization", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0007009", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 6218, "identifier": "54809", "identifier_type": "int", "name": "SAMD9", "properties": { "url": "http://identifiers.org/ncbigene/54809", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "7", "description": "sterile alpha motif domain containing 9" }, "metanode": "Gene" }, { "id": 6219, "identifier": "85365", "identifier_type": "int", "name": "ALG2", "properties": { "url": "http://identifiers.org/ncbigene/85365", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "9", "description": "ALG2, alpha-1,3/1,6-mannosyltransferase" }, "metanode": "Gene" }, { "id": 6220, "identifier": "N0000000083", "identifier_type": "str", "name": "Leukotriene Receptor Antagonists", "properties": { "url": "http://purl.bioontology.org/ontology/NDFRT/N0000000083", "source": "FDA via DrugCentral", "license": "CC BY 4.0", "class_type": "Mechanism of Action" }, "metanode": "Pharmacologic Class" }, { "id": 6221, "identifier": "22882", "identifier_type": "int", "name": "ZHX2", "properties": { "url": "http://identifiers.org/ncbigene/22882", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "8", "description": "zinc fingers and homeoboxes 2" }, "metanode": "Gene" }, { "id": 6222, "identifier": "C0242231", "identifier_type": "str", "name": "Coronary artery stenosis", "properties": { "url": "http://identifiers.org/umls/C0242231", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 6223, "identifier": "7368", "identifier_type": "int", "name": "UGT8", "properties": { "url": "http://identifiers.org/ncbigene/7368", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "4", "description": "UDP glycosyltransferase 8" }, "metanode": "Gene" }, { "id": 6224, "identifier": "GO:1904468", "identifier_type": "str", "name": "negative regulation of tumor necrosis factor secretion", "properties": { "url": "http://purl.obolibrary.org/obo/GO_1904468", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 6225, "identifier": "116449", "identifier_type": "int", "name": "CLNK", "properties": { "url": "http://identifiers.org/ncbigene/116449", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "4", "description": "cytokine-dependent hematopoietic cell linker" }, "metanode": "Gene" }, { "id": 6226, "identifier": "GO:0004321", "identifier_type": "str", "name": "fatty-acyl-CoA synthase activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0004321", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 6227, "identifier": "GO:2000974", "identifier_type": "str", "name": "negative regulation of pro-B cell differentiation", "properties": { "url": "http://purl.obolibrary.org/obo/GO_2000974", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 6228, "identifier": "DB00321", "identifier_type": "str", "name": "Amitriptyline", "properties": { "url": "http://www.drugbank.ca/drugs/DB00321", "inchi": "InChI=1S/C20H23N/c1-21(2)15-7-12-20-18-10-5-3-8-16(18)13-14-17-9-4-6-11-19(17)20/h3-6,8-12H,7,13-15H2,1-2H3", "source": "DrugBank", "license": "CC BY-NC 4.0", "inchikey": "InChIKey=KRMDCWKBEZIMAB-UHFFFAOYSA-N" }, "metanode": "Compound" }, { "id": 6229, "identifier": "1944", "identifier_type": "int", "name": "EFNA3", "properties": { "url": "http://identifiers.org/ncbigene/1944", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "ephrin-A3" }, "metanode": "Gene" }, { "id": 6230, "identifier": "55763", "identifier_type": "int", "name": "EXOC1", "properties": { "url": "http://identifiers.org/ncbigene/55763", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "4", "description": "exocyst complex component 1" }, "metanode": "Gene" }, { "id": 6231, "identifier": "GO:0034248", "identifier_type": "str", "name": "regulation of cellular amide metabolic process", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0034248", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 6232, "identifier": "D000789", "identifier_type": "str", "name": "Angina, Unstable", "properties": { "url": "http://identifiers.org/mesh/D000789", "source": "MeSH", "license": "CC0 1.0" }, "metanode": "Symptom" }, { "id": 6233, "identifier": "GO:0003300", "identifier_type": "str", "name": "cardiac muscle hypertrophy", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0003300", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 6234, "identifier": "GO:0070461", "identifier_type": "str", "name": "SAGA-type complex", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0070461", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Cellular Component" }, { "id": 6235, "identifier": "317", "identifier_type": "int", "name": "APAF1", "properties": { "url": "http://identifiers.org/ncbigene/317", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "12", "description": "apoptotic peptidase activating factor 1" }, "metanode": "Gene" }, { "id": 6236, "identifier": "GO:0060244", "identifier_type": "str", "name": "negative regulation of cell proliferation involved in contact inhibition", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0060244", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 6237, "identifier": "GO:0071942", "identifier_type": "str", "name": "XPC complex", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0071942", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Cellular Component" } ] }