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=22300
{ "count": 47031, "next": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=22325", "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=22275", "results": [ { "id": 22289, "identifier": "GO:0019585", "identifier_type": "str", "name": "glucuronate metabolic process", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0019585", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 22290, "identifier": "C0848548", "identifier_type": "str", "name": "Hypertensive nephropathy", "properties": { "url": "http://identifiers.org/umls/C0848548", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 22291, "identifier": "C0240464", "identifier_type": "str", "name": "Neck oedema of", "properties": { "url": "http://identifiers.org/umls/C0240464", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 22292, "identifier": "C0085610", "identifier_type": "str", "name": "Sinus bradycardia", "properties": { "url": "http://identifiers.org/umls/C0085610", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 22293, "identifier": "GO:0003417", "identifier_type": "str", "name": "growth plate cartilage development", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0003417", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 22294, "identifier": "8444", "identifier_type": "int", "name": "DYRK3", "properties": { "url": "http://identifiers.org/ncbigene/8444", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "dual-specificity tyrosine-(Y)-phosphorylation regulated kinase 3" }, "metanode": "Gene" }, { "id": 22295, "identifier": "100130276", "identifier_type": "int", "name": "LOC100130276", "properties": { "url": "http://identifiers.org/ncbigene/100130276", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "16", "description": "uncharacterized LOC100130276" }, "metanode": "Gene" }, { "id": 22296, "identifier": "GO:0035325", "identifier_type": "str", "name": "Toll-like receptor binding", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0035325", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 22297, "identifier": "10769", "identifier_type": "int", "name": "PLK2", "properties": { "url": "http://identifiers.org/ncbigene/10769", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "5", "description": "polo-like kinase 2" }, "metanode": "Gene" }, { "id": 22298, "identifier": "GO:0004949", "identifier_type": "str", "name": "cannabinoid receptor activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0004949", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 22299, "identifier": "D000334", "identifier_type": "str", "name": "Aerophagy", "properties": { "url": "http://identifiers.org/mesh/D000334", "source": "MeSH", "license": "CC0 1.0" }, "metanode": "Symptom" }, { "id": 22300, "identifier": "C0333291", "identifier_type": "str", "name": "Ulcer haemorrhage", "properties": { "url": "http://identifiers.org/umls/C0333291", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 22301, "identifier": "DB01551", "identifier_type": "str", "name": "Dihydrocodeine", "properties": { "url": "http://www.drugbank.ca/drugs/DB01551", "inchi": "InChI=1S/C18H23NO3/c1-19-8-7-18-11-4-5-13(20)17(18)22-16-14(21-2)6-3-10(15(16)18)9-12(11)19/h3,6,11-13,17,20H,4-5,7-9H2,1-2H3/t11-,12+,13-,17-,18-/m0/s1", "source": "DrugBank", "license": "CC BY-NC 4.0", "inchikey": "InChIKey=RBOXVHNMENFORY-DNJOTXNNSA-N" }, "metanode": "Compound" }, { "id": 22302, "identifier": "GO:0071317", "identifier_type": "str", "name": "cellular response to isoquinoline alkaloid", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0071317", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 22303, "identifier": "200407", "identifier_type": "int", "name": "CREG2", "properties": { "url": "http://identifiers.org/ncbigene/200407", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "2", "description": "cellular repressor of E1A-stimulated genes 2" }, "metanode": "Gene" }, { "id": 22304, "identifier": "GO:0050905", "identifier_type": "str", "name": "neuromuscular process", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0050905", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 22305, "identifier": "4731", "identifier_type": "int", "name": "NDUFV3", "properties": { "url": "http://identifiers.org/ncbigene/4731", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "21", "description": "NADH dehydrogenase (ubiquinone) flavoprotein 3, 10kDa" }, "metanode": "Gene" }, { "id": 22306, "identifier": "54753", "identifier_type": "int", "name": "ZNF853", "properties": { "url": "http://identifiers.org/ncbigene/54753", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "7", "description": "zinc finger protein 853" }, "metanode": "Gene" }, { "id": 22307, "identifier": "GO:0015386", "identifier_type": "str", "name": "potassium:proton antiporter activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0015386", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 22308, "identifier": "GO:0002302", "identifier_type": "str", "name": "CD8-positive, alpha-beta T cell differentiation involved in immune response", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0002302", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 22309, "identifier": "153642", "identifier_type": "int", "name": "ARSK", "properties": { "url": "http://identifiers.org/ncbigene/153642", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "5", "description": "arylsulfatase family, member K" }, "metanode": "Gene" }, { "id": 22310, "identifier": "7056", "identifier_type": "int", "name": "THBD", "properties": { "url": "http://identifiers.org/ncbigene/7056", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "20", "description": "thrombomodulin" }, "metanode": "Gene" }, { "id": 22311, "identifier": "57094", "identifier_type": "int", "name": "CPA6", "properties": { "url": "http://identifiers.org/ncbigene/57094", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "8", "description": "carboxypeptidase A6" }, "metanode": "Gene" }, { "id": 22312, "identifier": "GO:0006910", "identifier_type": "str", "name": "phagocytosis, recognition", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0006910", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 22313, "identifier": "GO:0017038", "identifier_type": "str", "name": "protein import", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0017038", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" } ] }