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=3800
{ "count": 47031, "next": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=3825", "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=3775", "results": [ { "id": 3786, "identifier": "5891", "identifier_type": "int", "name": "MOK", "properties": { "url": "http://identifiers.org/ncbigene/5891", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "14", "description": "MOK protein kinase" }, "metanode": "Gene" }, { "id": 3787, "identifier": "10430", "identifier_type": "int", "name": "TMEM147", "properties": { "url": "http://identifiers.org/ncbigene/10430", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "19", "description": "transmembrane protein 147" }, "metanode": "Gene" }, { "id": 3788, "identifier": "GO:0097476", "identifier_type": "str", "name": "spinal cord motor neuron migration", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0097476", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 3789, "identifier": "105379857", "identifier_type": "int", "name": "LOC105379857", "properties": { "url": "http://identifiers.org/ncbigene/105379857", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "10", "description": "uncharacterized LOC105379857" }, "metanode": "Gene" }, { "id": 3790, "identifier": "C3203485", "identifier_type": "str", "name": "Orthostatic dysregulation", "properties": { "url": "http://identifiers.org/umls/C3203485", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 3791, "identifier": "4248", "identifier_type": "int", "name": "MGAT3", "properties": { "url": "http://identifiers.org/ncbigene/4248", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "22", "description": "mannosyl (beta-1,4-)-glycoprotein beta-1,4-N-acetylglucosaminyltransferase" }, "metanode": "Gene" }, { "id": 3792, "identifier": "GO:0030345", "identifier_type": "str", "name": "structural constituent of tooth enamel", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0030345", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 3793, "identifier": "WP78_r70014", "identifier_type": "str", "name": "TCA Cycle", "properties": { "url": "http://www.wikipathways.org/instance/WP78_r70014", "source": "WikiPathways", "license": "CC BY 3.0" }, "metanode": "Pathway" }, { "id": 3794, "identifier": "84826", "identifier_type": "int", "name": "SFT2D3", "properties": { "url": "http://identifiers.org/ncbigene/84826", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "2", "description": "SFT2 domain containing 3" }, "metanode": "Gene" }, { "id": 3795, "identifier": "C0578159", "identifier_type": "str", "name": "Antibiotic-associated diarrhea", "properties": { "url": "http://identifiers.org/umls/C0578159", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 3796, "identifier": "GO:0061368", "identifier_type": "str", "name": "behavioral response to formalin induced pain", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0061368", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 3797, "identifier": "57582", "identifier_type": "int", "name": "KCNT1", "properties": { "url": "http://identifiers.org/ncbigene/57582", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "9", "description": "potassium channel, sodium activated subfamily T, member 1" }, "metanode": "Gene" }, { "id": 3798, "identifier": "DB06817", "identifier_type": "str", "name": "Raltegravir", "properties": { "url": "http://www.drugbank.ca/drugs/DB06817", "inchi": "InChI=1S/C20H21FN6O5/c1-10-25-26-17(32-10)16(30)24-20(2,3)19-23-13(14(28)18(31)27(19)4)15(29)22-9-11-5-7-12(21)8-6-11/h5-8,28H,9H2,1-4H3,(H,22,29)(H,24,30)", "source": "DrugBank", "license": "CC BY-NC 4.0", "inchikey": "InChIKey=CZFFBEXEKNGXKS-UHFFFAOYSA-N" }, "metanode": "Compound" }, { "id": 3799, "identifier": "6717", "identifier_type": "int", "name": "SRI", "properties": { "url": "http://identifiers.org/ncbigene/6717", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "7", "description": "sorcin" }, "metanode": "Gene" }, { "id": 3800, "identifier": "C0015408", "identifier_type": "str", "name": "Eye injury", "properties": { "url": "http://identifiers.org/umls/C0015408", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 3801, "identifier": "8350", "identifier_type": "int", "name": "HIST1H3A", "properties": { "url": "http://identifiers.org/ncbigene/8350", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "6", "description": "histone cluster 1, H3a" }, "metanode": "Gene" }, { "id": 3802, "identifier": "PC7_1555", "identifier_type": "str", "name": "Activation, translocation and oligomerization of BAX", "properties": { "source": "Reactome via Pathway Commons", "license": "CC BY 4.0" }, "metanode": "Pathway" }, { "id": 3803, "identifier": "1421", "identifier_type": "int", "name": "CRYGD", "properties": { "url": "http://identifiers.org/ncbigene/1421", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "2", "description": "crystallin, gamma D" }, "metanode": "Gene" }, { "id": 3804, "identifier": "10040", "identifier_type": "int", "name": "TOM1L1", "properties": { "url": "http://identifiers.org/ncbigene/10040", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "17", "description": "target of myb1 (chicken)-like 1" }, "metanode": "Gene" }, { "id": 3805, "identifier": "GO:0042438", "identifier_type": "str", "name": "melanin biosynthetic process", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0042438", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 3806, "identifier": "101060386", "identifier_type": "int", "name": "LOC101060386", "properties": { "url": "http://identifiers.org/ncbigene/101060386", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "16", "description": "putative uncharacterized SMG1-like protein" }, "metanode": "Gene" }, { "id": 3807, "identifier": "8541", "identifier_type": "int", "name": "PPFIA3", "properties": { "url": "http://identifiers.org/ncbigene/8541", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "19", "description": "protein tyrosine phosphatase, receptor type, f polypeptide (PTPRF), interacting protein (liprin), alpha 3" }, "metanode": "Gene" }, { "id": 3808, "identifier": "C0149704", "identifier_type": "str", "name": "Gingivostomatitis", "properties": { "url": "http://identifiers.org/umls/C0149704", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 3809, "identifier": "GO:0007493", "identifier_type": "str", "name": "endodermal cell fate determination", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0007493", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 3810, "identifier": "100534599", "identifier_type": "int", "name": "ISY1-RAB43", "properties": { "url": "http://identifiers.org/ncbigene/100534599", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "3", "description": "ISY1-RAB43 readthrough" }, "metanode": "Gene" } ] }