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=17800
{ "count": 47031, "next": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=17825", "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=17775", "results": [ { "id": 17789, "identifier": "GO:0005521", "identifier_type": "str", "name": "lamin binding", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0005521", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 17790, "identifier": "84539", "identifier_type": "int", "name": "MCHR2", "properties": { "url": "http://identifiers.org/ncbigene/84539", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "6", "description": "melanin-concentrating hormone receptor 2" }, "metanode": "Gene" }, { "id": 17791, "identifier": "84959", "identifier_type": "int", "name": "UBASH3B", "properties": { "url": "http://identifiers.org/ncbigene/84959", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "11", "description": "ubiquitin associated and SH3 domain containing B" }, "metanode": "Gene" }, { "id": 17792, "identifier": "PC7_2124", "identifier_type": "str", "name": "Budding and maturation of HIV virion", "properties": { "source": "Reactome via Pathway Commons", "license": "CC BY 4.0" }, "metanode": "Pathway" }, { "id": 17793, "identifier": "254786", "identifier_type": "int", "name": "OR6C3", "properties": { "url": "http://identifiers.org/ncbigene/254786", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "12", "description": "olfactory receptor, family 6, subfamily C, member 3" }, "metanode": "Gene" }, { "id": 17794, "identifier": "C0000924", "identifier_type": "str", "name": "Accident", "properties": { "url": "http://identifiers.org/umls/C0000924", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 17795, "identifier": "30819", "identifier_type": "int", "name": "KCNIP2", "properties": { "url": "http://identifiers.org/ncbigene/30819", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "10", "description": "Kv channel interacting protein 2" }, "metanode": "Gene" }, { "id": 17796, "identifier": "6558", "identifier_type": "int", "name": "SLC12A2", "properties": { "url": "http://identifiers.org/ncbigene/6558", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "5", "description": "solute carrier family 12 (sodium/potassium/chloride transporter), member 2" }, "metanode": "Gene" }, { "id": 17797, "identifier": "GO:0003408", "identifier_type": "str", "name": "optic cup formation involved in camera-type eye development", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0003408", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 17798, "identifier": "C0038450", "identifier_type": "str", "name": "Stridor", "properties": { "url": "http://identifiers.org/umls/C0038450", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 17799, "identifier": "C0699790", "identifier_type": "str", "name": "Carcinoma colon", "properties": { "url": "http://identifiers.org/umls/C0699790", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 17800, "identifier": "388327", "identifier_type": "int", "name": "C17orf100", "properties": { "url": "http://identifiers.org/ncbigene/388327", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "17", "description": "chromosome 17 open reading frame 100" }, "metanode": "Gene" }, { "id": 17801, "identifier": "GO:0030673", "identifier_type": "str", "name": "axolemma", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0030673", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Cellular Component" }, { "id": 17802, "identifier": "1390", "identifier_type": "int", "name": "CREM", "properties": { "url": "http://identifiers.org/ncbigene/1390", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "10", "description": "cAMP responsive element modulator" }, "metanode": "Gene" }, { "id": 17803, "identifier": "9881", "identifier_type": "int", "name": "TRANK1", "properties": { "url": "http://identifiers.org/ncbigene/9881", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "3", "description": "tetratricopeptide repeat and ankyrin repeat containing 1" }, "metanode": "Gene" }, { "id": 17804, "identifier": "GO:2000510", "identifier_type": "str", "name": "positive regulation of dendritic cell chemotaxis", "properties": { "url": "http://purl.obolibrary.org/obo/GO_2000510", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 17805, "identifier": "PC7_7753", "identifier_type": "str", "name": "Synthesis of Prostaglandins (PG) and Thromboxanes (TX)", "properties": { "source": "Reactome via Pathway Commons", "license": "CC BY 4.0" }, "metanode": "Pathway" }, { "id": 17806, "identifier": "C1368065", "identifier_type": "str", "name": "Vascular purpura", "properties": { "url": "http://identifiers.org/umls/C1368065", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 17807, "identifier": "PC7_6061", "identifier_type": "str", "name": "Organic cation/anion/zwitterion transport", "properties": { "source": "Reactome via Pathway Commons", "license": "CC BY 4.0" }, "metanode": "Pathway" }, { "id": 17808, "identifier": "GO:0070278", "identifier_type": "str", "name": "extracellular matrix constituent secretion", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0070278", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 17809, "identifier": "GO:0042165", "identifier_type": "str", "name": "neurotransmitter binding", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0042165", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 17810, "identifier": "C0349790", "identifier_type": "str", "name": "Exacerbation of asthma", "properties": { "url": "http://identifiers.org/umls/C0349790", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 17811, "identifier": "C3665888", "identifier_type": "str", "name": "Reproductive toxicity", "properties": { "url": "http://identifiers.org/umls/C3665888", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 17812, "identifier": "2072", "identifier_type": "int", "name": "ERCC4", "properties": { "url": "http://identifiers.org/ncbigene/2072", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "16", "description": "excision repair cross-complementation group 4" }, "metanode": "Gene" }, { "id": 17813, "identifier": "C0748023", "identifier_type": "str", "name": "Bacterial prostatitis", "properties": { "url": "http://identifiers.org/umls/C0748023", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" } ] }