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=36250
{ "count": 47031, "next": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=36275", "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=36225", "results": [ { "id": 36246, "identifier": "GO:0098857", "identifier_type": "str", "name": "membrane microdomain", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0098857", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Cellular Component" }, { "id": 36247, "identifier": "DB00851", "identifier_type": "str", "name": "Dacarbazine", "properties": { "url": "http://www.drugbank.ca/drugs/DB00851", "inchi": "InChI=1S/C6H10N6O/c1-12(2)11-10-6-4(5(7)13)8-3-9-6/h3H,1-2H3,(H2,7,13)(H,8,9)", "source": "DrugBank", "license": "CC BY-NC 4.0", "inchikey": "InChIKey=FDKXTQMXEQVLRF-UHFFFAOYSA-N" }, "metanode": "Compound" }, { "id": 36248, "identifier": "GO:0010847", "identifier_type": "str", "name": "regulation of chromatin assembly", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0010847", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 36249, "identifier": "29896", "identifier_type": "int", "name": "TRA2A", "properties": { "url": "http://identifiers.org/ncbigene/29896", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "7", "description": "transformer 2 alpha homolog (Drosophila)" }, "metanode": "Gene" }, { "id": 36250, "identifier": "5635", "identifier_type": "int", "name": "PRPSAP1", "properties": { "url": "http://identifiers.org/ncbigene/5635", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "17", "description": "phosphoribosyl pyrophosphate synthetase-associated protein 1" }, "metanode": "Gene" }, { "id": 36251, "identifier": "GO:0071806", "identifier_type": "str", "name": "protein transmembrane transport", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0071806", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 36252, "identifier": "90736", "identifier_type": "int", "name": "FAM104B", "properties": { "url": "http://identifiers.org/ncbigene/90736", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "X", "description": "family with sequence similarity 104, member B" }, "metanode": "Gene" }, { "id": 36253, "identifier": "UBERON:0002517", "identifier_type": "str", "name": "basicranium", "properties": { "url": "http://purl.obolibrary.org/obo/UBERON_0002517", "source": "Uberon", "license": "CC BY 3.0", "mesh_id": "D019291" }, "metanode": "Anatomy" }, { "id": 36254, "identifier": "C0027794", "identifier_type": "str", "name": "Neural tube defect", "properties": { "url": "http://identifiers.org/umls/C0027794", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 36255, "identifier": "GO:0033627", "identifier_type": "str", "name": "cell adhesion mediated by integrin", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0033627", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 36256, "identifier": "GO:0002576", "identifier_type": "str", "name": "platelet degranulation", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0002576", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 36257, "identifier": "730005", "identifier_type": "int", "name": "SEC14L6", "properties": { "url": "http://identifiers.org/ncbigene/730005", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "22", "description": "SEC14-like 6 (S. cerevisiae)" }, "metanode": "Gene" }, { "id": 36258, "identifier": "GO:0015036", "identifier_type": "str", "name": "disulfide oxidoreductase activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0015036", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 36259, "identifier": "84570", "identifier_type": "int", "name": "COL25A1", "properties": { "url": "http://identifiers.org/ncbigene/84570", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "4", "description": "collagen, type XXV, alpha 1" }, "metanode": "Gene" }, { "id": 36260, "identifier": "GO:0030150", "identifier_type": "str", "name": "protein import into mitochondrial matrix", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0030150", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 36261, "identifier": "GO:1903937", "identifier_type": "str", "name": "response to acrylamide", "properties": { "url": "http://purl.obolibrary.org/obo/GO_1903937", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 36262, "identifier": "GO:0033875", "identifier_type": "str", "name": "ribonucleoside bisphosphate metabolic process", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0033875", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 36263, "identifier": "C0812387", "identifier_type": "str", "name": "Coldness", "properties": { "url": "http://identifiers.org/umls/C0812387", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 36264, "identifier": "101929983", "identifier_type": "int", "name": "LOC101929983", "properties": { "url": "http://identifiers.org/ncbigene/101929983", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "PRAME family member 9/15-like" }, "metanode": "Gene" }, { "id": 36265, "identifier": "125958", "identifier_type": "int", "name": "OR7D4", "properties": { "url": "http://identifiers.org/ncbigene/125958", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "19", "description": "olfactory receptor, family 7, subfamily D, member 4" }, "metanode": "Gene" }, { "id": 36266, "identifier": "C0694563", "identifier_type": "str", "name": "Excessive daytime sleepiness", "properties": { "url": "http://identifiers.org/umls/C0694563", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 36267, "identifier": "140856", "identifier_type": "int", "name": "SCP2D1", "properties": { "url": "http://identifiers.org/ncbigene/140856", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "20", "description": "SCP2 sterol-binding domain containing 1" }, "metanode": "Gene" }, { "id": 36268, "identifier": "GO:0060900", "identifier_type": "str", "name": "embryonic camera-type eye formation", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0060900", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 36269, "identifier": "GO:0051937", "identifier_type": "str", "name": "catecholamine transport", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0051937", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 36270, "identifier": "GO:0021592", "identifier_type": "str", "name": "fourth ventricle development", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0021592", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" } ] }