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=12600
{ "count": 47031, "next": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=12625", "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=12575", "results": [ { "id": 12589, "identifier": "221188", "identifier_type": "int", "name": "ADGRG5", "properties": { "url": "http://identifiers.org/ncbigene/221188", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "16", "description": "adhesion G protein-coupled receptor G5" }, "metanode": "Gene" }, { "id": 12590, "identifier": "65983", "identifier_type": "int", "name": "GRAMD3", "properties": { "url": "http://identifiers.org/ncbigene/65983", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "5", "description": "GRAM domain containing 3" }, "metanode": "Gene" }, { "id": 12591, "identifier": "285382", "identifier_type": "int", "name": "C3orf70", "properties": { "url": "http://identifiers.org/ncbigene/285382", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "3", "description": "chromosome 3 open reading frame 70" }, "metanode": "Gene" }, { "id": 12592, "identifier": "7596", "identifier_type": "int", "name": "ZNF45", "properties": { "url": "http://identifiers.org/ncbigene/7596", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "19", "description": "zinc finger protein 45" }, "metanode": "Gene" }, { "id": 12593, "identifier": "DB00842", "identifier_type": "str", "name": "Oxazepam", "properties": { "url": "http://www.drugbank.ca/drugs/DB00842", "inchi": "InChI=1S/C15H11ClN2O2/c16-10-6-7-12-11(8-10)13(9-4-2-1-3-5-9)18-15(20)14(19)17-12/h1-8,15,20H,(H,17,19)", "source": "DrugBank", "license": "CC BY-NC 4.0", "inchikey": "InChIKey=ADIMAYPTOBDMTL-UHFFFAOYSA-N" }, "metanode": "Compound" }, { "id": 12594, "identifier": "84078", "identifier_type": "int", "name": "KBTBD7", "properties": { "url": "http://identifiers.org/ncbigene/84078", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "13", "description": "kelch repeat and BTB (POZ) domain containing 7" }, "metanode": "Gene" }, { "id": 12595, "identifier": "GO:0071371", "identifier_type": "str", "name": "cellular response to gonadotropin stimulus", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0071371", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 12596, "identifier": "105369274", "identifier_type": "int", "name": "LOC105369274", "properties": { "url": "http://identifiers.org/ncbigene/105369274", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "15", "description": "olfactory receptor 4N4" }, "metanode": "Gene" }, { "id": 12597, "identifier": "4317", "identifier_type": "int", "name": "MMP8", "properties": { "url": "http://identifiers.org/ncbigene/4317", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "11", "description": "matrix metallopeptidase 8" }, "metanode": "Gene" }, { "id": 12598, "identifier": "145788", "identifier_type": "int", "name": "C15orf65", "properties": { "url": "http://identifiers.org/ncbigene/145788", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "15", "description": "chromosome 15 open reading frame 65" }, "metanode": "Gene" }, { "id": 12599, "identifier": "GO:2000620", "identifier_type": "str", "name": "positive regulation of histone H4-K16 acetylation", "properties": { "url": "http://purl.obolibrary.org/obo/GO_2000620", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 12600, "identifier": "C0235030", "identifier_type": "str", "name": "Neurologic reaction", "properties": { "url": "http://identifiers.org/umls/C0235030", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 12601, "identifier": "23480", "identifier_type": "int", "name": "SEC61G", "properties": { "url": "http://identifiers.org/ncbigene/23480", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "7", "description": "Sec61 gamma subunit" }, "metanode": "Gene" }, { "id": 12602, "identifier": "C0017638", "identifier_type": "str", "name": "Glioma", "properties": { "url": "http://identifiers.org/umls/C0017638", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 12603, "identifier": "657", "identifier_type": "int", "name": "BMPR1A", "properties": { "url": "http://identifiers.org/ncbigene/657", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "10", "description": "bone morphogenetic protein receptor, type IA" }, "metanode": "Gene" }, { "id": 12604, "identifier": "GO:0003725", "identifier_type": "str", "name": "double-stranded RNA binding", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0003725", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 12605, "identifier": "GO:0019043", "identifier_type": "str", "name": "establishment of viral latency", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0019043", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 12606, "identifier": "390063", "identifier_type": "int", "name": "OR51I1", "properties": { "url": "http://identifiers.org/ncbigene/390063", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "11", "description": "olfactory receptor, family 51, subfamily I, member 1" }, "metanode": "Gene" }, { "id": 12607, "identifier": "GO:0010751", "identifier_type": "str", "name": "negative regulation of nitric oxide mediated signal transduction", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0010751", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 12608, "identifier": "3126", "identifier_type": "int", "name": "HLA-DRB4", "properties": { "url": "http://identifiers.org/ncbigene/3126", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "6", "description": "major histocompatibility complex, class II, DR beta 4" }, "metanode": "Gene" }, { "id": 12609, "identifier": "C0159877", "identifier_type": "str", "name": "Ankle fracture", "properties": { "url": "http://identifiers.org/umls/C0159877", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 12610, "identifier": "C0849918", "identifier_type": "str", "name": "Eyelids pruritus", "properties": { "url": "http://identifiers.org/umls/C0849918", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 12611, "identifier": "N0000011301", "identifier_type": "str", "name": "Progesterone Congeners", "properties": { "url": "http://purl.bioontology.org/ontology/NDFRT/N0000011301", "source": "FDA via DrugCentral", "license": "CC BY 4.0", "class_type": "Chemical/Ingredient" }, "metanode": "Pharmacologic Class" }, { "id": 12612, "identifier": "5707", "identifier_type": "int", "name": "PSMD1", "properties": { "url": "http://identifiers.org/ncbigene/5707", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "2", "description": "proteasome (prosome, macropain) 26S subunit, non-ATPase, 1" }, "metanode": "Gene" }, { "id": 12613, "identifier": "GO:0061617", "identifier_type": "str", "name": "MICOS complex", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0061617", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Cellular Component" } ] }