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=40275
{ "count": 47031, "next": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=40300", "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=40250", "results": [ { "id": 40272, "identifier": "5888", "identifier_type": "int", "name": "RAD51", "properties": { "url": "http://identifiers.org/ncbigene/5888", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "15", "description": "RAD51 recombinase" }, "metanode": "Gene" }, { "id": 40273, "identifier": "404281", "identifier_type": "int", "name": "YY2", "properties": { "url": "http://identifiers.org/ncbigene/404281", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "X", "description": "YY2 transcription factor" }, "metanode": "Gene" }, { "id": 40274, "identifier": "GO:0045118", "identifier_type": "str", "name": "azole transporter activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0045118", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 40275, "identifier": "GO:0046984", "identifier_type": "str", "name": "regulation of hemoglobin biosynthetic process", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0046984", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 40276, "identifier": "353149", "identifier_type": "int", "name": "TBC1D26", "properties": { "url": "http://identifiers.org/ncbigene/353149", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "17", "description": "TBC1 domain family, member 26" }, "metanode": "Gene" }, { "id": 40277, "identifier": "C0018621", "identifier_type": "str", "name": "Seasonal allergy", "properties": { "url": "http://identifiers.org/umls/C0018621", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 40278, "identifier": "4957", "identifier_type": "int", "name": "ODF2", "properties": { "url": "http://identifiers.org/ncbigene/4957", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "9", "description": "outer dense fiber of sperm tails 2" }, "metanode": "Gene" }, { "id": 40279, "identifier": "113540", "identifier_type": "int", "name": "CMTM1", "properties": { "url": "http://identifiers.org/ncbigene/113540", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "16", "description": "CKLF-like MARVEL transmembrane domain containing 1" }, "metanode": "Gene" }, { "id": 40280, "identifier": "4261", "identifier_type": "int", "name": "CIITA", "properties": { "url": "http://identifiers.org/ncbigene/4261", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "16", "description": "class II, major histocompatibility complex, transactivator" }, "metanode": "Gene" }, { "id": 40281, "identifier": "GO:0006546", "identifier_type": "str", "name": "glycine catabolic process", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0006546", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 40282, "identifier": "84839", "identifier_type": "int", "name": "RAX2", "properties": { "url": "http://identifiers.org/ncbigene/84839", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "19", "description": "retina and anterior neural fold homeobox 2" }, "metanode": "Gene" }, { "id": 40283, "identifier": "PC7_6956", "identifier_type": "str", "name": "Rhesus glycoproteins mediate ammonium transport.", "properties": { "source": "Reactome via Pathway Commons", "license": "CC BY 4.0" }, "metanode": "Pathway" }, { "id": 40284, "identifier": "GO:0050211", "identifier_type": "str", "name": "procollagen galactosyltransferase activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0050211", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 40285, "identifier": "115123", "identifier_type": "int", "name": "MARCH3", "properties": { "url": "http://identifiers.org/ncbigene/115123", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "5", "description": "membrane-associated ring finger (C3HC4) 3, E3 ubiquitin protein ligase" }, "metanode": "Gene" }, { "id": 40286, "identifier": "100131822", "identifier_type": "int", "name": "LOC100131822", "properties": { "url": "http://identifiers.org/ncbigene/100131822", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "17", "description": "uncharacterized LOC100131822" }, "metanode": "Gene" }, { "id": 40287, "identifier": "256126", "identifier_type": "int", "name": "SYCE2", "properties": { "url": "http://identifiers.org/ncbigene/256126", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "19", "description": "synaptonemal complex central element protein 2" }, "metanode": "Gene" }, { "id": 40288, "identifier": "C0018188", "identifier_type": "str", "name": "Granuloma", "properties": { "url": "http://identifiers.org/umls/C0018188", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 40289, "identifier": "6714", "identifier_type": "int", "name": "SRC", "properties": { "url": "http://identifiers.org/ncbigene/6714", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "20", "description": "SRC proto-oncogene, non-receptor tyrosine kinase" }, "metanode": "Gene" }, { "id": 40290, "identifier": "C0038353", "identifier_type": "str", "name": "Gastric dilatation", "properties": { "url": "http://identifiers.org/umls/C0038353", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 40291, "identifier": "GO:0021896", "identifier_type": "str", "name": "forebrain astrocyte differentiation", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0021896", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 40292, "identifier": "1418", "identifier_type": "int", "name": "CRYGA", "properties": { "url": "http://identifiers.org/ncbigene/1418", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "2", "description": "crystallin, gamma A" }, "metanode": "Gene" }, { "id": 40293, "identifier": "10181", "identifier_type": "int", "name": "RBM5", "properties": { "url": "http://identifiers.org/ncbigene/10181", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "3", "description": "RNA binding motif protein 5" }, "metanode": "Gene" }, { "id": 40294, "identifier": "GO:0042910", "identifier_type": "str", "name": "xenobiotic transporter activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0042910", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 40295, "identifier": "GO:0033182", "identifier_type": "str", "name": "regulation of histone ubiquitination", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0033182", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 40296, "identifier": "101060399", "identifier_type": "int", "name": "LOC101060399", "properties": { "url": "http://identifiers.org/ncbigene/101060399", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "16", "description": "cerebellar degeneration-related protein 2" }, "metanode": "Gene" } ] }