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=28675
{ "count": 47031, "next": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=28700", "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=28650", "results": [ { "id": 28669, "identifier": "D003968", "identifier_type": "str", "name": "Diarrhea, Infantile", "properties": { "url": "http://identifiers.org/mesh/D003968", "source": "MeSH", "license": "CC0 1.0" }, "metanode": "Symptom" }, { "id": 28670, "identifier": "100130372", "identifier_type": "int", "name": "LOC100130372", "properties": { "url": "http://identifiers.org/ncbigene/100130372", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "20", "description": "uncharacterized LOC100130372" }, "metanode": "Gene" }, { "id": 28671, "identifier": "DB01328", "identifier_type": "str", "name": "Cefonicid", "properties": { "url": "http://www.drugbank.ca/drugs/DB01328", "inchi": "InChI=1S/C18H18N6O8S3/c25-13(9-4-2-1-3-5-9)14(26)19-11-15(27)24-12(17(28)29)10(6-33-16(11)24)7-34-18-20-21-22-23(18)8-35(30,31)32/h1-5,11,13,16,25H,6-8H2,(H,19,26)(H,28,29)(H,30,31,32)/t11-,13-,16-/m1/s1", "source": "DrugBank", "license": "CC BY-NC 4.0", "inchikey": "InChIKey=DYAIAHUQIPBDIP-AXAPSJFSSA-N" }, "metanode": "Compound" }, { "id": 28672, "identifier": "DOID:4481", "identifier_type": "str", "name": "allergic rhinitis", "properties": { "url": "http://purl.obolibrary.org/obo/DOID_4481", "source": "Disease Ontology", "license": "CC BY 3.0" }, "metanode": "Disease" }, { "id": 28673, "identifier": "2054", "identifier_type": "int", "name": "STX2", "properties": { "url": "http://identifiers.org/ncbigene/2054", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "12", "description": "syntaxin 2" }, "metanode": "Gene" }, { "id": 28674, "identifier": "10673", "identifier_type": "int", "name": "TNFSF13B", "properties": { "url": "http://identifiers.org/ncbigene/10673", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "13", "description": "tumor necrosis factor (ligand) superfamily, member 13b" }, "metanode": "Gene" }, { "id": 28675, "identifier": "GO:0034447", "identifier_type": "str", "name": "very-low-density lipoprotein particle clearance", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0034447", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 28676, "identifier": "3783", "identifier_type": "int", "name": "KCNN4", "properties": { "url": "http://identifiers.org/ncbigene/3783", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "19", "description": "potassium channel, calcium activated intermediate/small conductance subfamily N alpha, member 4" }, "metanode": "Gene" }, { "id": 28677, "identifier": "4507", "identifier_type": "int", "name": "MTAP", "properties": { "url": "http://identifiers.org/ncbigene/4507", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "9", "description": "methylthioadenosine phosphorylase" }, "metanode": "Gene" }, { "id": 28678, "identifier": "54529", "identifier_type": "int", "name": "ASNSD1", "properties": { "url": "http://identifiers.org/ncbigene/54529", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "2", "description": "asparagine synthetase domain containing 1" }, "metanode": "Gene" }, { "id": 28679, "identifier": "GO:0051279", "identifier_type": "str", "name": "regulation of release of sequestered calcium ion into cytosol", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0051279", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 28680, "identifier": "GO:0005267", "identifier_type": "str", "name": "potassium channel activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0005267", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 28681, "identifier": "GO:0004402", "identifier_type": "str", "name": "histone acetyltransferase activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0004402", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 28682, "identifier": "C0221237", "identifier_type": "str", "name": "Angular cheilitis", "properties": { "url": "http://identifiers.org/umls/C0221237", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 28683, "identifier": "56998", "identifier_type": "int", "name": "CTNNBIP1", "properties": { "url": "http://identifiers.org/ncbigene/56998", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "catenin, beta interacting protein 1" }, "metanode": "Gene" }, { "id": 28684, "identifier": "GO:0001561", "identifier_type": "str", "name": "fatty acid alpha-oxidation", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0001561", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 28685, "identifier": "GO:0021885", "identifier_type": "str", "name": "forebrain cell migration", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0021885", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 28686, "identifier": "25941", "identifier_type": "int", "name": "TPGS2", "properties": { "url": "http://identifiers.org/ncbigene/25941", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "18", "description": "tubulin polyglutamylase complex subunit 2" }, "metanode": "Gene" }, { "id": 28687, "identifier": "GO:0007368", "identifier_type": "str", "name": "determination of left/right symmetry", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0007368", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 28688, "identifier": "64118", "identifier_type": "int", "name": "DUS1L", "properties": { "url": "http://identifiers.org/ncbigene/64118", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "17", "description": "dihydrouridine synthase 1-like (S. cerevisiae)" }, "metanode": "Gene" }, { "id": 28689, "identifier": "341032", "identifier_type": "int", "name": "C11orf53", "properties": { "url": "http://identifiers.org/ncbigene/341032", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "11", "description": "chromosome 11 open reading frame 53" }, "metanode": "Gene" }, { "id": 28690, "identifier": "GO:0051973", "identifier_type": "str", "name": "positive regulation of telomerase activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0051973", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 28691, "identifier": "C0271240", "identifier_type": "str", "name": "Blindness unilateral", "properties": { "url": "http://identifiers.org/umls/C0271240", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 28692, "identifier": "GO:0043682", "identifier_type": "str", "name": "copper-transporting ATPase activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0043682", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 28693, "identifier": "37", "identifier_type": "int", "name": "ACADVL", "properties": { "url": "http://identifiers.org/ncbigene/37", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "17", "description": "acyl-CoA dehydrogenase, very long chain" }, "metanode": "Gene" } ] }