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=20175
{ "count": 47031, "next": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=20200", "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=20150", "results": [ { "id": 20165, "identifier": "91978", "identifier_type": "int", "name": "TPGS1", "properties": { "url": "http://identifiers.org/ncbigene/91978", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "19", "description": "tubulin polyglutamylase complex subunit 1" }, "metanode": "Gene" }, { "id": 20166, "identifier": "80005", "identifier_type": "int", "name": "DOCK5", "properties": { "url": "http://identifiers.org/ncbigene/80005", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "8", "description": "dedicator of cytokinesis 5" }, "metanode": "Gene" }, { "id": 20167, "identifier": "5362", "identifier_type": "int", "name": "PLXNA2", "properties": { "url": "http://identifiers.org/ncbigene/5362", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "plexin A2" }, "metanode": "Gene" }, { "id": 20168, "identifier": "GO:0050657", "identifier_type": "str", "name": "nucleic acid transport", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0050657", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 20169, "identifier": "23201", "identifier_type": "int", "name": "FAM168A", "properties": { "url": "http://identifiers.org/ncbigene/23201", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "11", "description": "family with sequence similarity 168, member A" }, "metanode": "Gene" }, { "id": 20170, "identifier": "7703", "identifier_type": "int", "name": "PCGF2", "properties": { "url": "http://identifiers.org/ncbigene/7703", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "17", "description": "polycomb group ring finger 2" }, "metanode": "Gene" }, { "id": 20171, "identifier": "GO:0046952", "identifier_type": "str", "name": "ketone body catabolic process", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0046952", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 20172, "identifier": "392392", "identifier_type": "int", "name": "OR1K1", "properties": { "url": "http://identifiers.org/ncbigene/392392", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "9", "description": "olfactory receptor, family 1, subfamily K, member 1" }, "metanode": "Gene" }, { "id": 20173, "identifier": "GO:0004953", "identifier_type": "str", "name": "icosanoid receptor activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0004953", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 20174, "identifier": "GO:0070584", "identifier_type": "str", "name": "mitochondrion morphogenesis", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0070584", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 20175, "identifier": "C0149925", "identifier_type": "str", "name": "Small cell lung cancer", "properties": { "url": "http://identifiers.org/umls/C0149925", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 20176, "identifier": "GO:0008582", "identifier_type": "str", "name": "regulation of synaptic growth at neuromuscular junction", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0008582", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 20177, "identifier": "GO:0030687", "identifier_type": "str", "name": "preribosome, large subunit precursor", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0030687", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Cellular Component" }, { "id": 20178, "identifier": "79631", "identifier_type": "int", "name": "EFTUD1", "properties": { "url": "http://identifiers.org/ncbigene/79631", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "15", "description": "elongation factor Tu GTP binding domain containing 1" }, "metanode": "Gene" }, { "id": 20179, "identifier": "DB00330", "identifier_type": "str", "name": "Ethambutol", "properties": { "url": "http://www.drugbank.ca/drugs/DB00330", "inchi": "InChI=1S/C10H24N2O2/c1-3-9(7-13)11-5-6-12-10(4-2)8-14/h9-14H,3-8H2,1-2H3/t9-,10-/m0/s1", "source": "DrugBank", "license": "CC BY-NC 4.0", "inchikey": "InChIKey=AEUTYOVWOVBAKS-UWVGGRQHSA-N" }, "metanode": "Compound" }, { "id": 20180, "identifier": "105376501", "identifier_type": "int", "name": "LOC105376501", "properties": { "url": "http://identifiers.org/ncbigene/105376501", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "10", "description": "uncharacterized LOC105376501" }, "metanode": "Gene" }, { "id": 20181, "identifier": "892", "identifier_type": "int", "name": "CCNC", "properties": { "url": "http://identifiers.org/ncbigene/892", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "6", "description": "cyclin C" }, "metanode": "Gene" }, { "id": 20182, "identifier": "9399", "identifier_type": "int", "name": "STOML1", "properties": { "url": "http://identifiers.org/ncbigene/9399", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "15", "description": "stomatin (EPB72)-like 1" }, "metanode": "Gene" }, { "id": 20183, "identifier": "GO:0006898", "identifier_type": "str", "name": "receptor-mediated endocytosis", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0006898", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 20184, "identifier": "390154", "identifier_type": "int", "name": "OR5T3", "properties": { "url": "http://identifiers.org/ncbigene/390154", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "11", "description": "olfactory receptor, family 5, subfamily T, member 3" }, "metanode": "Gene" }, { "id": 20185, "identifier": "23224", "identifier_type": "int", "name": "SYNE2", "properties": { "url": "http://identifiers.org/ncbigene/23224", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "14", "description": "spectrin repeat containing, nuclear envelope 2" }, "metanode": "Gene" }, { "id": 20401, "identifier": "GO:0051020", "identifier_type": "str", "name": "GTPase binding", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0051020", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 20186, "identifier": "374768", "identifier_type": "int", "name": "SPEM1", "properties": { "url": "http://identifiers.org/ncbigene/374768", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "17", "description": "spermatid maturation 1" }, "metanode": "Gene" }, { "id": 20187, "identifier": "N0000190855", "identifier_type": "str", "name": "Vesicular Monoamine Transporter 2 Inhibitors", "properties": { "url": "http://purl.bioontology.org/ontology/NDFRT/N0000190855", "source": "FDA via DrugCentral", "license": "CC BY 4.0", "class_type": "Mechanism of Action" }, "metanode": "Pharmacologic Class" }, { "id": 20188, "identifier": "3217", "identifier_type": "int", "name": "HOXB7", "properties": { "url": "http://identifiers.org/ncbigene/3217", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "17", "description": "homeobox B7" }, "metanode": "Gene" } ] }