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=39375
{ "count": 47031, "next": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=39400", "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=39350", "results": [ { "id": 39373, "identifier": "145873", "identifier_type": "int", "name": "MESP2", "properties": { "url": "http://identifiers.org/ncbigene/145873", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "15", "description": "mesoderm posterior basic helix-loop-helix transcription factor 2" }, "metanode": "Gene" }, { "id": 39374, "identifier": "C0152173", "identifier_type": "str", "name": "Ventricular flutter", "properties": { "url": "http://identifiers.org/umls/C0152173", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 39375, "identifier": "64839", "identifier_type": "int", "name": "FBXL17", "properties": { "url": "http://identifiers.org/ncbigene/64839", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "5", "description": "F-box and leucine-rich repeat protein 17" }, "metanode": "Gene" }, { "id": 39376, "identifier": "C0015674", "identifier_type": "str", "name": "Chronic fatigue syndrome", "properties": { "url": "http://identifiers.org/umls/C0015674", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 39377, "identifier": "886", "identifier_type": "int", "name": "CCKAR", "properties": { "url": "http://identifiers.org/ncbigene/886", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "4", "description": "cholecystokinin A receptor" }, "metanode": "Gene" }, { "id": 39378, "identifier": "9377", "identifier_type": "int", "name": "COX5A", "properties": { "url": "http://identifiers.org/ncbigene/9377", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "15", "description": "cytochrome c oxidase subunit Va" }, "metanode": "Gene" }, { "id": 39379, "identifier": "DB00709", "identifier_type": "str", "name": "Lamivudine", "properties": { "url": "http://www.drugbank.ca/drugs/DB00709", "inchi": "InChI=1S/C8H11N3O3S/c9-5-1-2-11(8(13)10-5)6-4-15-7(3-12)14-6/h1-2,6-7,12H,3-4H2,(H2,9,10,13)/t6-,7+/m0/s1", "source": "DrugBank", "license": "CC BY-NC 4.0", "inchikey": "InChIKey=JTEGQNOMFQHVDC-NKWVEPMBSA-N" }, "metanode": "Compound" }, { "id": 39380, "identifier": "6557", "identifier_type": "int", "name": "SLC12A1", "properties": { "url": "http://identifiers.org/ncbigene/6557", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "15", "description": "solute carrier family 12 (sodium/potassium/chloride transporter), member 1" }, "metanode": "Gene" }, { "id": 39381, "identifier": "390148", "identifier_type": "int", "name": "OR5W2", "properties": { "url": "http://identifiers.org/ncbigene/390148", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "11", "description": "olfactory receptor, family 5, subfamily W, member 2" }, "metanode": "Gene" }, { "id": 39382, "identifier": "C0580531", "identifier_type": "str", "name": "White blood cell count abnormal", "properties": { "url": "http://identifiers.org/umls/C0580531", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 39383, "identifier": "3211", "identifier_type": "int", "name": "HOXB1", "properties": { "url": "http://identifiers.org/ncbigene/3211", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "17", "description": "homeobox B1" }, "metanode": "Gene" }, { "id": 39384, "identifier": "C2129214", "identifier_type": "str", "name": "Loose stools", "properties": { "url": "http://identifiers.org/umls/C2129214", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 39385, "identifier": "GO:0060336", "identifier_type": "str", "name": "negative regulation of interferon-gamma-mediated signaling pathway", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0060336", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 39386, "identifier": "29941", "identifier_type": "int", "name": "PKN3", "properties": { "url": "http://identifiers.org/ncbigene/29941", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "9", "description": "protein kinase N3" }, "metanode": "Gene" }, { "id": 39387, "identifier": "5664", "identifier_type": "int", "name": "PSEN2", "properties": { "url": "http://identifiers.org/ncbigene/5664", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "presenilin 2" }, "metanode": "Gene" }, { "id": 39388, "identifier": "10331", "identifier_type": "int", "name": "B3GNT3", "properties": { "url": "http://identifiers.org/ncbigene/10331", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "19", "description": "UDP-GlcNAc:betaGal beta-1,3-N-acetylglucosaminyltransferase 3" }, "metanode": "Gene" }, { "id": 39389, "identifier": "51606", "identifier_type": "int", "name": "ATP6V1H", "properties": { "url": "http://identifiers.org/ncbigene/51606", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "8", "description": "ATPase, H+ transporting, lysosomal 50/57kDa, V1 subunit H" }, "metanode": "Gene" }, { "id": 39390, "identifier": "GO:0006605", "identifier_type": "str", "name": "protein targeting", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0006605", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 39391, "identifier": "GO:0044341", "identifier_type": "str", "name": "sodium-dependent phosphate transport", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0044341", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 39392, "identifier": "GO:0018282", "identifier_type": "str", "name": "metal incorporation into metallo-sulfur cluster", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0018282", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 39393, "identifier": "GO:0031430", "identifier_type": "str", "name": "M band", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0031430", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Cellular Component" }, { "id": 39394, "identifier": "54059", "identifier_type": "int", "name": "YBEY", "properties": { "url": "http://identifiers.org/ncbigene/54059", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "21", "description": "ybeY metallopeptidase (putative)" }, "metanode": "Gene" }, { "id": 39395, "identifier": "C0240520", "identifier_type": "str", "name": "Nipple swelling", "properties": { "url": "http://identifiers.org/umls/C0240520", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 39396, "identifier": "GO:0005518", "identifier_type": "str", "name": "collagen binding", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0005518", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 39398, "identifier": "GO:0014037", "identifier_type": "str", "name": "Schwann cell differentiation", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0014037", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" } ] }