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=17725
{ "count": 47031, "next": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=17750", "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=17700", "results": [ { "id": 17714, "identifier": "C0151479", "identifier_type": "str", "name": "Amylase increased", "properties": { "url": "http://identifiers.org/umls/C0151479", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 17715, "identifier": "4018", "identifier_type": "int", "name": "LPA", "properties": { "url": "http://identifiers.org/ncbigene/4018", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "6", "description": "lipoprotein, Lp(a)" }, "metanode": "Gene" }, { "id": 17716, "identifier": "8685", "identifier_type": "int", "name": "MARCO", "properties": { "url": "http://identifiers.org/ncbigene/8685", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "2", "description": "macrophage receptor with collagenous structure" }, "metanode": "Gene" }, { "id": 17717, "identifier": "DB00821", "identifier_type": "str", "name": "Carprofen", "properties": { "url": "http://www.drugbank.ca/drugs/DB00821", "inchi": "InChI=1S/C15H12ClNO2/c1-8(15(18)19)9-2-4-11-12-7-10(16)3-5-13(12)17-14(11)6-9/h2-8,17H,1H3,(H,18,19)", "source": "DrugBank", "license": "CC BY-NC 4.0", "inchikey": "InChIKey=PUXBGTOOZJQSKH-UHFFFAOYSA-N" }, "metanode": "Compound" }, { "id": 17718, "identifier": "6423", "identifier_type": "int", "name": "SFRP2", "properties": { "url": "http://identifiers.org/ncbigene/6423", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "4", "description": "secreted frizzled-related protein 2" }, "metanode": "Gene" }, { "id": 17719, "identifier": "284257", "identifier_type": "int", "name": "BOD1L2", "properties": { "url": "http://identifiers.org/ncbigene/284257", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "18", "description": "biorientation of chromosomes in cell division 1-like 2" }, "metanode": "Gene" }, { "id": 17720, "identifier": "2519", "identifier_type": "int", "name": "FUCA2", "properties": { "url": "http://identifiers.org/ncbigene/2519", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "6", "description": "fucosidase, alpha-L- 2, plasma" }, "metanode": "Gene" }, { "id": 17721, "identifier": "11010", "identifier_type": "int", "name": "GLIPR1", "properties": { "url": "http://identifiers.org/ncbigene/11010", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "12", "description": "GLI pathogenesis-related 1" }, "metanode": "Gene" }, { "id": 17722, "identifier": "GO:0072337", "identifier_type": "str", "name": "modified amino acid transport", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0072337", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 17723, "identifier": "28977", "identifier_type": "int", "name": "MRPL42", "properties": { "url": "http://identifiers.org/ncbigene/28977", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "12", "description": "mitochondrial ribosomal protein L42" }, "metanode": "Gene" }, { "id": 17724, "identifier": "54994", "identifier_type": "int", "name": "GID8", "properties": { "url": "http://identifiers.org/ncbigene/54994", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "20", "description": "GID complex subunit 8" }, "metanode": "Gene" }, { "id": 17725, "identifier": "140876", "identifier_type": "int", "name": "FAM65C", "properties": { "url": "http://identifiers.org/ncbigene/140876", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "20", "description": "family with sequence similarity 65, member C" }, "metanode": "Gene" }, { "id": 17726, "identifier": "85294", "identifier_type": "int", "name": "KRTAP2-4", "properties": { "url": "http://identifiers.org/ncbigene/85294", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "17", "description": "keratin associated protein 2-4" }, "metanode": "Gene" }, { "id": 17727, "identifier": "7297", "identifier_type": "int", "name": "TYK2", "properties": { "url": "http://identifiers.org/ncbigene/7297", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "19", "description": "tyrosine kinase 2" }, "metanode": "Gene" }, { "id": 17728, "identifier": "GO:0051354", "identifier_type": "str", "name": "negative regulation of oxidoreductase activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0051354", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 17729, "identifier": "GO:0045785", "identifier_type": "str", "name": "positive regulation of cell adhesion", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0045785", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 17730, "identifier": "29956", "identifier_type": "int", "name": "CERS2", "properties": { "url": "http://identifiers.org/ncbigene/29956", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "ceramide synthase 2" }, "metanode": "Gene" }, { "id": 17731, "identifier": "D015354", "identifier_type": "str", "name": "Vision, Low", "properties": { "url": "http://identifiers.org/mesh/D015354", "source": "MeSH", "license": "CC0 1.0" }, "metanode": "Symptom" }, { "id": 17732, "identifier": "285848", "identifier_type": "int", "name": "PNPLA1", "properties": { "url": "http://identifiers.org/ncbigene/285848", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "6", "description": "patatin-like phospholipase domain containing 1" }, "metanode": "Gene" }, { "id": 17733, "identifier": "26150", "identifier_type": "int", "name": "RIBC2", "properties": { "url": "http://identifiers.org/ncbigene/26150", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "22", "description": "RIB43A domain with coiled-coils 2" }, "metanode": "Gene" }, { "id": 17734, "identifier": "GO:0039003", "identifier_type": "str", "name": "pronephric field specification", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0039003", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 17735, "identifier": "GO:0051261", "identifier_type": "str", "name": "protein depolymerization", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0051261", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 17736, "identifier": "117285", "identifier_type": "int", "name": "DEFB118", "properties": { "url": "http://identifiers.org/ncbigene/117285", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "20", "description": "defensin, beta 118" }, "metanode": "Gene" }, { "id": 17737, "identifier": "C0522570", "identifier_type": "str", "name": "Inflammation localised", "properties": { "url": "http://identifiers.org/umls/C0522570", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 17738, "identifier": "552891", "identifier_type": "int", "name": "DNAJC25-GNG10", "properties": { "url": "http://identifiers.org/ncbigene/552891", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "9", "description": "DNAJC25-GNG10 readthrough" }, "metanode": "Gene" } ] }