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=39675
{ "count": 47031, "next": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=39700", "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=39650", "results": [ { "id": 39674, "identifier": "285", "identifier_type": "int", "name": "ANGPT2", "properties": { "url": "http://identifiers.org/ncbigene/285", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "8", "description": "angiopoietin 2" }, "metanode": "Gene" }, { "id": 39675, "identifier": "9032", "identifier_type": "int", "name": "TM4SF5", "properties": { "url": "http://identifiers.org/ncbigene/9032", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "17", "description": "transmembrane 4 L six family member 5" }, "metanode": "Gene" }, { "id": 39676, "identifier": "DB01216", "identifier_type": "str", "name": "Finasteride", "properties": { "url": "http://www.drugbank.ca/drugs/DB01216", "inchi": "InChI=1S/C23H36N2O2/c1-21(2,3)25-20(27)17-8-7-15-14-6-9-18-23(5,13-11-19(26)24-18)16(14)10-12-22(15,17)4/h11,13-18H,6-10,12H2,1-5H3,(H,24,26)(H,25,27)/t14-,15-,16-,17+,18+,22-,23+/m0/s1", "source": "DrugBank", "license": "CC BY-NC 4.0", "inchikey": "InChIKey=DBEPLOCGEIEOCV-WSBQPABSSA-N" }, "metanode": "Compound" }, { "id": 39677, "identifier": "386675", "identifier_type": "int", "name": "KRTAP10-7", "properties": { "url": "http://identifiers.org/ncbigene/386675", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "21", "description": "keratin associated protein 10-7" }, "metanode": "Gene" }, { "id": 39678, "identifier": "2738", "identifier_type": "int", "name": "GLI4", "properties": { "url": "http://identifiers.org/ncbigene/2738", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "8", "description": "GLI family zinc finger 4" }, "metanode": "Gene" }, { "id": 39679, "identifier": "C0232352", "identifier_type": "str", "name": "Vascular insufficiency", "properties": { "url": "http://identifiers.org/umls/C0232352", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 39680, "identifier": "GO:0016139", "identifier_type": "str", "name": "glycoside catabolic process", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0016139", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 39681, "identifier": "GO:0043395", "identifier_type": "str", "name": "heparan sulfate proteoglycan binding", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0043395", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 39682, "identifier": "GO:0008200", "identifier_type": "str", "name": "ion channel inhibitor activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0008200", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 39683, "identifier": "GO:0034445", "identifier_type": "str", "name": "negative regulation of plasma lipoprotein particle oxidation", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0034445", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 39684, "identifier": "GO:0048149", "identifier_type": "str", "name": "behavioral response to ethanol", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0048149", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 39685, "identifier": "C2242595", "identifier_type": "str", "name": "Mucosal atrophy", "properties": { "url": "http://identifiers.org/umls/C2242595", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 39686, "identifier": "5335", "identifier_type": "int", "name": "PLCG1", "properties": { "url": "http://identifiers.org/ncbigene/5335", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "20", "description": "phospholipase C, gamma 1" }, "metanode": "Gene" }, { "id": 39687, "identifier": "55229", "identifier_type": "int", "name": "PANK4", "properties": { "url": "http://identifiers.org/ncbigene/55229", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "pantothenate kinase 4" }, "metanode": "Gene" }, { "id": 39688, "identifier": "GO:0046015", "identifier_type": "str", "name": "regulation of transcription by glucose", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0046015", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 39689, "identifier": "C0175683", "identifier_type": "str", "name": "Argininosuccinate synthetase deficiency", "properties": { "url": "http://identifiers.org/umls/C0175683", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 39690, "identifier": "23174", "identifier_type": "int", "name": "ZCCHC14", "properties": { "url": "http://identifiers.org/ncbigene/23174", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "16", "description": "zinc finger, CCHC domain containing 14" }, "metanode": "Gene" }, { "id": 39691, "identifier": "DB00544", "identifier_type": "str", "name": "Fluorouracil", "properties": { "url": "http://www.drugbank.ca/drugs/DB00544", "inchi": "InChI=1S/C4H3FN2O2/c5-2-1-6-4(9)7-3(2)8/h1H,(H2,6,7,8,9)", "source": "DrugBank", "license": "CC BY-NC 4.0", "inchikey": "InChIKey=GHASVSINZRGABV-UHFFFAOYSA-N" }, "metanode": "Compound" }, { "id": 39692, "identifier": "440051", "identifier_type": "int", "name": "KRTAP5-11", "properties": { "url": "http://identifiers.org/ncbigene/440051", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "11", "description": "keratin associated protein 5-11" }, "metanode": "Gene" }, { "id": 39693, "identifier": "642938", "identifier_type": "int", "name": "FAM196A", "properties": { "url": "http://identifiers.org/ncbigene/642938", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "10", "description": "family with sequence similarity 196, member A" }, "metanode": "Gene" }, { "id": 39694, "identifier": "GO:0006597", "identifier_type": "str", "name": "spermine biosynthetic process", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0006597", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 39695, "identifier": "C1328395", "identifier_type": "str", "name": "Vaginal contraceptive device expelled", "properties": { "url": "http://identifiers.org/umls/C1328395", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 39696, "identifier": "GO:0034739", "identifier_type": "str", "name": "histone deacetylase activity (H4-K16 specific)", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0034739", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 39697, "identifier": "D017288", "identifier_type": "str", "name": "Pain Threshold", "properties": { "url": "http://identifiers.org/mesh/D017288", "source": "MeSH", "license": "CC0 1.0" }, "metanode": "Symptom" }, { "id": 39698, "identifier": "79716", "identifier_type": "int", "name": "NPEPL1", "properties": { "url": "http://identifiers.org/ncbigene/79716", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "20", "description": "aminopeptidase-like 1" }, "metanode": "Gene" } ] }