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=44625
{ "count": 47031, "next": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=44650", "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=44600", "results": [ { "id": 44625, "identifier": "C0741165", "identifier_type": "str", "name": "Aortic embolus", "properties": { "url": "http://identifiers.org/umls/C0741165", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 44626, "identifier": "C1283048", "identifier_type": "str", "name": "Iron binding capacity total", "properties": { "url": "http://identifiers.org/umls/C1283048", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 44627, "identifier": "C0849916", "identifier_type": "str", "name": "Generalised erythema", "properties": { "url": "http://identifiers.org/umls/C0849916", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 44628, "identifier": "102723390", "identifier_type": "int", "name": "LOC102723390", "properties": { "url": "http://identifiers.org/ncbigene/102723390", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "20", "description": "protein FRG1-like" }, "metanode": "Gene" }, { "id": 44629, "identifier": "23024", "identifier_type": "int", "name": "PDZRN3", "properties": { "url": "http://identifiers.org/ncbigene/23024", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "3", "description": "PDZ domain containing ring finger 3" }, "metanode": "Gene" }, { "id": 44630, "identifier": "GO:0009992", "identifier_type": "str", "name": "cellular water homeostasis", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0009992", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 44631, "identifier": "105369204", "identifier_type": "int", "name": "LOC105369204", "properties": { "url": "http://identifiers.org/ncbigene/105369204", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "6", "description": "uncharacterized LOC105369204" }, "metanode": "Gene" }, { "id": 44632, "identifier": "55905", "identifier_type": "int", "name": "RNF114", "properties": { "url": "http://identifiers.org/ncbigene/55905", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "20", "description": "ring finger protein 114" }, "metanode": "Gene" }, { "id": 44633, "identifier": "64412", "identifier_type": "int", "name": "GZF1", "properties": { "url": "http://identifiers.org/ncbigene/64412", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "20", "description": "GDNF-inducible zinc finger protein 1" }, "metanode": "Gene" }, { "id": 44634, "identifier": "133015", "identifier_type": "int", "name": "PACRGL", "properties": { "url": "http://identifiers.org/ncbigene/133015", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "4", "description": "PARK2 co-regulated-like" }, "metanode": "Gene" }, { "id": 44635, "identifier": "GO:0006099", "identifier_type": "str", "name": "tricarboxylic acid cycle", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0006099", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 44636, "identifier": "GO:0050997", "identifier_type": "str", "name": "quaternary ammonium group binding", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0050997", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 44637, "identifier": "GO:0009584", "identifier_type": "str", "name": "detection of visible light", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0009584", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 44638, "identifier": "C0085614", "identifier_type": "str", "name": "Atrioventricular block first degree", "properties": { "url": "http://identifiers.org/umls/C0085614", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 44639, "identifier": "GO:0032230", "identifier_type": "str", "name": "positive regulation of synaptic transmission, GABAergic", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0032230", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 44640, "identifier": "9094", "identifier_type": "int", "name": "UNC119", "properties": { "url": "http://identifiers.org/ncbigene/9094", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "17", "description": "unc-119 homolog (C. elegans)" }, "metanode": "Gene" }, { "id": 44641, "identifier": "219858", "identifier_type": "int", "name": "OR8B12", "properties": { "url": "http://identifiers.org/ncbigene/219858", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "11", "description": "olfactory receptor, family 8, subfamily B, member 12" }, "metanode": "Gene" }, { "id": 44642, "identifier": "127833", "identifier_type": "int", "name": "SYT2", "properties": { "url": "http://identifiers.org/ncbigene/127833", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "synaptotagmin II" }, "metanode": "Gene" }, { "id": 44643, "identifier": "C0221345", "identifier_type": "str", "name": "Nail discolouration", "properties": { "url": "http://identifiers.org/umls/C0221345", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 44644, "identifier": "3040", "identifier_type": "int", "name": "HBA2", "properties": { "url": "http://identifiers.org/ncbigene/3040", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "16", "description": "hemoglobin, alpha 2" }, "metanode": "Gene" }, { "id": 44645, "identifier": "57473", "identifier_type": "int", "name": "ZNF512B", "properties": { "url": "http://identifiers.org/ncbigene/57473", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "20", "description": "zinc finger protein 512B" }, "metanode": "Gene" }, { "id": 44646, "identifier": "GO:0043566", "identifier_type": "str", "name": "structure-specific DNA binding", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0043566", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 44647, "identifier": "GO:0060065", "identifier_type": "str", "name": "uterus development", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0060065", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 44648, "identifier": "GO:1901253", "identifier_type": "str", "name": "negative regulation of intracellular transport of viral material", "properties": { "url": "http://purl.obolibrary.org/obo/GO_1901253", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 44649, "identifier": "GO:0019787", "identifier_type": "str", "name": "ubiquitin-like protein transferase activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0019787", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" } ] }