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=17250
{ "count": 47031, "next": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=17275", "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=17225", "results": [ { "id": 17240, "identifier": "GO:0004950", "identifier_type": "str", "name": "chemokine receptor activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0004950", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 17241, "identifier": "9312", "identifier_type": "int", "name": "KCNB2", "properties": { "url": "http://identifiers.org/ncbigene/9312", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "8", "description": "potassium channel, voltage gated Shab related subfamily B, member 2" }, "metanode": "Gene" }, { "id": 17242, "identifier": "59350", "identifier_type": "int", "name": "RXFP1", "properties": { "url": "http://identifiers.org/ncbigene/59350", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "4", "description": "relaxin/insulin-like family peptide receptor 1" }, "metanode": "Gene" }, { "id": 17243, "identifier": "GO:0071374", "identifier_type": "str", "name": "cellular response to parathyroid hormone stimulus", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0071374", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 17244, "identifier": "340061", "identifier_type": "int", "name": "TMEM173", "properties": { "url": "http://identifiers.org/ncbigene/340061", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "5", "description": "transmembrane protein 173" }, "metanode": "Gene" }, { "id": 17245, "identifier": "390083", "identifier_type": "int", "name": "OR56A3", "properties": { "url": "http://identifiers.org/ncbigene/390083", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "11", "description": "olfactory receptor, family 56, subfamily A, member 3" }, "metanode": "Gene" }, { "id": 17246, "identifier": "3146", "identifier_type": "int", "name": "HMGB1", "properties": { "url": "http://identifiers.org/ncbigene/3146", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "13", "description": "high mobility group box 1" }, "metanode": "Gene" }, { "id": 17247, "identifier": "GO:0030002", "identifier_type": "str", "name": "cellular anion homeostasis", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0030002", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 17248, "identifier": "GO:0072243", "identifier_type": "str", "name": "metanephric nephron epithelium development", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0072243", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 17249, "identifier": "57707", "identifier_type": "int", "name": "TLDC1", "properties": { "url": "http://identifiers.org/ncbigene/57707", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "16", "description": "TBC/LysM-associated domain containing 1" }, "metanode": "Gene" }, { "id": 17250, "identifier": "GO:0016447", "identifier_type": "str", "name": "somatic recombination of immunoglobulin gene segments", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0016447", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 17251, "identifier": "GO:0017182", "identifier_type": "str", "name": "peptidyl-diphthamide metabolic process", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0017182", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 17252, "identifier": "83468", "identifier_type": "int", "name": "GLT8D2", "properties": { "url": "http://identifiers.org/ncbigene/83468", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "12", "description": "glycosyltransferase 8 domain containing 2" }, "metanode": "Gene" }, { "id": 17253, "identifier": "PC7_7742", "identifier_type": "str", "name": "Synthesis of PA", "properties": { "source": "Reactome via Pathway Commons", "license": "CC BY 4.0" }, "metanode": "Pathway" }, { "id": 17254, "identifier": "GO:0019692", "identifier_type": "str", "name": "deoxyribose phosphate metabolic process", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0019692", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 17255, "identifier": "152185", "identifier_type": "int", "name": "SPICE1", "properties": { "url": "http://identifiers.org/ncbigene/152185", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "3", "description": "spindle and centriole associated protein 1" }, "metanode": "Gene" }, { "id": 17256, "identifier": "DOID:13223", "identifier_type": "str", "name": "uterine fibroid", "properties": { "url": "http://purl.obolibrary.org/obo/DOID_13223", "source": "Disease Ontology", "license": "CC BY 3.0" }, "metanode": "Disease" }, { "id": 17257, "identifier": "DB00980", "identifier_type": "str", "name": "Ramelteon", "properties": { "url": "http://www.drugbank.ca/drugs/DB00980", "inchi": "InChI=1S/C16H21NO2/c1-2-15(18)17-9-7-12-4-3-11-5-6-14-13(16(11)12)8-10-19-14/h5-6,12H,2-4,7-10H2,1H3,(H,17,18)/t12-/m0/s1", "source": "DrugBank", "license": "CC BY-NC 4.0", "inchikey": "InChIKey=YLXDSYKOBKBWJQ-LBPRGKRZSA-N" }, "metanode": "Compound" }, { "id": 17258, "identifier": "C0008489", "identifier_type": "str", "name": "Chorea", "properties": { "url": "http://identifiers.org/umls/C0008489", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 17259, "identifier": "113251", "identifier_type": "int", "name": "LARP4", "properties": { "url": "http://identifiers.org/ncbigene/113251", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "12", "description": "La ribonucleoprotein domain family, member 4" }, "metanode": "Gene" }, { "id": 17260, "identifier": "285598", "identifier_type": "int", "name": "ARL10", "properties": { "url": "http://identifiers.org/ncbigene/285598", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "5", "description": "ADP-ribosylation factor-like 10" }, "metanode": "Gene" }, { "id": 17261, "identifier": "7940", "identifier_type": "int", "name": "LST1", "properties": { "url": "http://identifiers.org/ncbigene/7940", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "6", "description": "leukocyte specific transcript 1" }, "metanode": "Gene" }, { "id": 17262, "identifier": "C0221384", "identifier_type": "str", "name": "Follicular conjunctivitis", "properties": { "url": "http://identifiers.org/umls/C0221384", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 17265, "identifier": "6297", "identifier_type": "int", "name": "SALL2", "properties": { "url": "http://identifiers.org/ncbigene/6297", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "14", "description": "spalt-like transcription factor 2" }, "metanode": "Gene" }, { "id": 17266, "identifier": "GO:0016406", "identifier_type": "str", "name": "carnitine O-acyltransferase activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0016406", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" } ] }