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=20625
{ "count": 47031, "next": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=20650", "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=20600", "results": [ { "id": 20616, "identifier": "1312", "identifier_type": "int", "name": "COMT", "properties": { "url": "http://identifiers.org/ncbigene/1312", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "22", "description": "catechol-O-methyltransferase" }, "metanode": "Gene" }, { "id": 20617, "identifier": "10075", "identifier_type": "int", "name": "HUWE1", "properties": { "url": "http://identifiers.org/ncbigene/10075", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "X", "description": "HECT, UBA and WWE domain containing 1, E3 ubiquitin protein ligase" }, "metanode": "Gene" }, { "id": 20618, "identifier": "170689", "identifier_type": "int", "name": "ADAMTS15", "properties": { "url": "http://identifiers.org/ncbigene/170689", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "11", "description": "ADAM metallopeptidase with thrombospondin type 1 motif, 15" }, "metanode": "Gene" }, { "id": 20619, "identifier": "GO:0008013", "identifier_type": "str", "name": "beta-catenin binding", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0008013", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 20620, "identifier": "GO:0006524", "identifier_type": "str", "name": "alanine catabolic process", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0006524", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 20621, "identifier": "N0000191275", "identifier_type": "str", "name": "UGT1A3 Inhibitors", "properties": { "url": "http://purl.bioontology.org/ontology/NDFRT/N0000191275", "source": "FDA via DrugCentral", "license": "CC BY 4.0", "class_type": "Mechanism of Action" }, "metanode": "Pharmacologic Class" }, { "id": 20622, "identifier": "GO:0007309", "identifier_type": "str", "name": "oocyte axis specification", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0007309", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 20623, "identifier": "3909", "identifier_type": "int", "name": "LAMA3", "properties": { "url": "http://identifiers.org/ncbigene/3909", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "18", "description": "laminin, alpha 3" }, "metanode": "Gene" }, { "id": 20624, "identifier": "C1331543", "identifier_type": "str", "name": "Puerperal pyrexia", "properties": { "url": "http://identifiers.org/umls/C1331543", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 20625, "identifier": "389203", "identifier_type": "int", "name": "SMIM20", "properties": { "url": "http://identifiers.org/ncbigene/389203", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "4", "description": "small integral membrane protein 20" }, "metanode": "Gene" }, { "id": 20626, "identifier": "2266", "identifier_type": "int", "name": "FGG", "properties": { "url": "http://identifiers.org/ncbigene/2266", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "4", "description": "fibrinogen gamma chain" }, "metanode": "Gene" }, { "id": 20627, "identifier": "10773", "identifier_type": "int", "name": "ZBTB6", "properties": { "url": "http://identifiers.org/ncbigene/10773", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "9", "description": "zinc finger and BTB domain containing 6" }, "metanode": "Gene" }, { "id": 20628, "identifier": "C0860805", "identifier_type": "str", "name": "Urine ketone body present", "properties": { "url": "http://identifiers.org/umls/C0860805", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 20629, "identifier": "91351", "identifier_type": "int", "name": "DDX60L", "properties": { "url": "http://identifiers.org/ncbigene/91351", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "4", "description": "DEAD (Asp-Glu-Ala-Asp) box polypeptide 60-like" }, "metanode": "Gene" }, { "id": 20630, "identifier": "4735", "identifier_type": "int", "name": "SEPT2", "properties": { "url": "http://identifiers.org/ncbigene/4735", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "2", "description": "septin 2" }, "metanode": "Gene" }, { "id": 20631, "identifier": "54757", "identifier_type": "int", "name": "FAM20A", "properties": { "url": "http://identifiers.org/ncbigene/54757", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "17", "description": "family with sequence similarity 20, member A" }, "metanode": "Gene" }, { "id": 20632, "identifier": "55034", "identifier_type": "int", "name": "MOCOS", "properties": { "url": "http://identifiers.org/ncbigene/55034", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "18", "description": "molybdenum cofactor sulfurase" }, "metanode": "Gene" }, { "id": 20633, "identifier": "7060", "identifier_type": "int", "name": "THBS4", "properties": { "url": "http://identifiers.org/ncbigene/7060", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "5", "description": "thrombospondin 4" }, "metanode": "Gene" }, { "id": 20634, "identifier": "57210", "identifier_type": "int", "name": "SLC45A4", "properties": { "url": "http://identifiers.org/ncbigene/57210", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "8", "description": "solute carrier family 45, member 4" }, "metanode": "Gene" }, { "id": 20635, "identifier": "211", "identifier_type": "int", "name": "ALAS1", "properties": { "url": "http://identifiers.org/ncbigene/211", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "3", "description": "5'-aminolevulinate synthase 1" }, "metanode": "Gene" }, { "id": 20636, "identifier": "C0877097", "identifier_type": "str", "name": "Application site vesicles", "properties": { "url": "http://identifiers.org/umls/C0877097", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 20637, "identifier": "PC7_6057", "identifier_type": "str", "name": "Organelle biogenesis and maintenance", "properties": { "source": "Reactome via Pathway Commons", "license": "CC BY 4.0" }, "metanode": "Pathway" }, { "id": 20638, "identifier": "2029", "identifier_type": "int", "name": "ENSA", "properties": { "url": "http://identifiers.org/ncbigene/2029", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "endosulfine alpha" }, "metanode": "Gene" }, { "id": 20639, "identifier": "GO:0016024", "identifier_type": "str", "name": "CDP-diacylglycerol biosynthetic process", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0016024", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 20640, "identifier": "25897", "identifier_type": "int", "name": "RNF19A", "properties": { "url": "http://identifiers.org/ncbigene/25897", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "8", "description": "ring finger protein 19A, RBR E3 ubiquitin protein ligase" }, "metanode": "Gene" } ] }