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=36800
{ "count": 47031, "next": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=36825", "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=36775", "results": [ { "id": 36796, "identifier": "102724843", "identifier_type": "int", "name": "LOC102724843", "properties": { "url": "http://identifiers.org/ncbigene/102724843", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "21", "description": "uncharacterized LOC102724843" }, "metanode": "Gene" }, { "id": 36797, "identifier": "GO:0005924", "identifier_type": "str", "name": "cell-substrate adherens junction", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0005924", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Cellular Component" }, { "id": 36798, "identifier": "1102", "identifier_type": "int", "name": "RCBTB2", "properties": { "url": "http://identifiers.org/ncbigene/1102", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "13", "description": "regulator of chromosome condensation (RCC1) and BTB (POZ) domain containing protein 2" }, "metanode": "Gene" }, { "id": 36799, "identifier": "9721", "identifier_type": "int", "name": "GPRIN2", "properties": { "url": "http://identifiers.org/ncbigene/9721", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "10", "description": "G protein regulated inducer of neurite outgrowth 2" }, "metanode": "Gene" }, { "id": 36800, "identifier": "GO:0042254", "identifier_type": "str", "name": "ribosome biogenesis", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0042254", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 36801, "identifier": "GO:0001894", "identifier_type": "str", "name": "tissue homeostasis", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0001894", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 36802, "identifier": "C0948198", "identifier_type": "str", "name": "Acholia", "properties": { "url": "http://identifiers.org/umls/C0948198", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 36803, "identifier": "GO:0007549", "identifier_type": "str", "name": "dosage compensation", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0007549", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 36804, "identifier": "105379211", "identifier_type": "int", "name": "LOC105379211", "properties": { "url": "http://identifiers.org/ncbigene/105379211", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "15", "description": "uncharacterized LOC105379211" }, "metanode": "Gene" }, { "id": 36805, "identifier": "C2747891", "identifier_type": "str", "name": "Device capturing issue", "properties": { "url": "http://identifiers.org/umls/C2747891", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 36806, "identifier": "D023341", "identifier_type": "str", "name": "Chills", "properties": { "url": "http://identifiers.org/mesh/D023341", "source": "MeSH", "license": "CC0 1.0" }, "metanode": "Symptom" }, { "id": 36807, "identifier": "83877", "identifier_type": "int", "name": "TM2D2", "properties": { "url": "http://identifiers.org/ncbigene/83877", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "8", "description": "TM2 domain containing 2" }, "metanode": "Gene" }, { "id": 36808, "identifier": "C0155866", "identifier_type": "str", "name": "Pneumonia anthrax", "properties": { "url": "http://identifiers.org/umls/C0155866", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 36809, "identifier": "GO:1902866", "identifier_type": "str", "name": "regulation of retina development in camera-type eye", "properties": { "url": "http://purl.obolibrary.org/obo/GO_1902866", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 36810, "identifier": "GO:0071467", "identifier_type": "str", "name": "cellular response to pH", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0071467", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 36811, "identifier": "10419", "identifier_type": "int", "name": "PRMT5", "properties": { "url": "http://identifiers.org/ncbigene/10419", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "14", "description": "protein arginine methyltransferase 5" }, "metanode": "Gene" }, { "id": 36812, "identifier": "GO:0071872", "identifier_type": "str", "name": "cellular response to epinephrine stimulus", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0071872", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 36813, "identifier": "353141", "identifier_type": "int", "name": "LCE2D", "properties": { "url": "http://identifiers.org/ncbigene/353141", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "late cornified envelope 2D" }, "metanode": "Gene" }, { "id": 36814, "identifier": "391190", "identifier_type": "int", "name": "OR2L8", "properties": { "url": "http://identifiers.org/ncbigene/391190", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "olfactory receptor, family 2, subfamily L, member 8 (gene/pseudogene)" }, "metanode": "Gene" }, { "id": 36815, "identifier": "4253", "identifier_type": "int", "name": "CTAGE5", "properties": { "url": "http://identifiers.org/ncbigene/4253", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "14", "description": "CTAGE family, member 5" }, "metanode": "Gene" }, { "id": 36816, "identifier": "DB08795", "identifier_type": "str", "name": "Azidocillin", "properties": { "url": "http://www.drugbank.ca/drugs/DB08795", "inchi": "InChI=1S/C16H17N5O4S/c1-16(2)11(15(24)25)21-13(23)10(14(21)26-16)18-12(22)9(19-20-17)8-6-4-3-5-7-8/h3-7,9-11,14H,1-2H3,(H,18,22)(H,24,25)/t9-,10-,11+,14-/m1/s1", "source": "DrugBank", "license": "CC BY-NC 4.0", "inchikey": "InChIKey=ODFHGIPNGIAMDK-NJBDSQKTSA-N" }, "metanode": "Compound" }, { "id": 36817, "identifier": "C0243026", "identifier_type": "str", "name": "Sepsis", "properties": { "url": "http://identifiers.org/umls/C0243026", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 36818, "identifier": "254950", "identifier_type": "int", "name": "KRTAP15-1", "properties": { "url": "http://identifiers.org/ncbigene/254950", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "21", "description": "keratin associated protein 15-1" }, "metanode": "Gene" }, { "id": 36819, "identifier": "6706", "identifier_type": "int", "name": "SPRR2G", "properties": { "url": "http://identifiers.org/ncbigene/6706", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "small proline-rich protein 2G" }, "metanode": "Gene" }, { "id": 36820, "identifier": "N0000008732", "identifier_type": "str", "name": "Decreased Mitosis", "properties": { "url": "http://purl.bioontology.org/ontology/NDFRT/N0000008732", "source": "FDA via DrugCentral", "license": "CC BY 4.0", "class_type": "Physiologic Effect" }, "metanode": "Pharmacologic Class" } ] }