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=20675
{ "count": 47031, "next": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=20700", "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=20650", "results": [ { "id": 20666, "identifier": "C0458109", "identifier_type": "str", "name": "Ovarian pain", "properties": { "url": "http://identifiers.org/umls/C0458109", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 20667, "identifier": "C0347941", "identifier_type": "str", "name": "Chest mass NOS", "properties": { "url": "http://identifiers.org/umls/C0347941", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 20668, "identifier": "C0392197", "identifier_type": "str", "name": "Warmth", "properties": { "url": "http://identifiers.org/umls/C0392197", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 20669, "identifier": "PC7_2520", "identifier_type": "str", "name": "Cell Cycle Checkpoints", "properties": { "source": "Reactome via Pathway Commons", "license": "CC BY 4.0" }, "metanode": "Pathway" }, { "id": 20670, "identifier": "DB01559", "identifier_type": "str", "name": "Clotiazepam", "properties": { "url": "http://www.drugbank.ca/drugs/DB01559", "inchi": "InChI=1S/C16H15ClN2OS/c1-3-10-8-12-15(11-6-4-5-7-13(11)17)18-9-14(20)19(2)16(12)21-10/h4-8H,3,9H2,1-2H3", "source": "DrugBank", "license": "CC BY-NC 4.0", "inchikey": "InChIKey=CHBRHODLKOZEPZ-UHFFFAOYSA-N" }, "metanode": "Compound" }, { "id": 20671, "identifier": "C0854467", "identifier_type": "str", "name": "Myelosuppression", "properties": { "url": "http://identifiers.org/umls/C0854467", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 20672, "identifier": "GO:0021826", "identifier_type": "str", "name": "substrate-independent telencephalic tangential migration", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0021826", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 20673, "identifier": "DOID:0050741", "identifier_type": "str", "name": "alcohol dependence", "properties": { "url": "http://purl.obolibrary.org/obo/DOID_0050741", "source": "Disease Ontology", "license": "CC BY 3.0" }, "metanode": "Disease" }, { "id": 20674, "identifier": "GO:0043996", "identifier_type": "str", "name": "histone acetyltransferase activity (H4-K8 specific)", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0043996", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 20675, "identifier": "GO:0005642", "identifier_type": "str", "name": "annulate lamellae", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0005642", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Cellular Component" }, { "id": 20676, "identifier": "9320", "identifier_type": "int", "name": "TRIP12", "properties": { "url": "http://identifiers.org/ncbigene/9320", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "2", "description": "thyroid hormone receptor interactor 12" }, "metanode": "Gene" }, { "id": 20677, "identifier": "8893", "identifier_type": "int", "name": "EIF2B5", "properties": { "url": "http://identifiers.org/ncbigene/8893", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "3", "description": "eukaryotic translation initiation factor 2B, subunit 5 epsilon, 82kDa" }, "metanode": "Gene" }, { "id": 20678, "identifier": "C0558368", "identifier_type": "str", "name": "Vaginal irritation", "properties": { "url": "http://identifiers.org/umls/C0558368", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 20679, "identifier": "440585", "identifier_type": "int", "name": "FAM183A", "properties": { "url": "http://identifiers.org/ncbigene/440585", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "family with sequence similarity 183, member A" }, "metanode": "Gene" }, { "id": 20680, "identifier": "219972", "identifier_type": "int", "name": "MPEG1", "properties": { "url": "http://identifiers.org/ncbigene/219972", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "11", "description": "macrophage expressed 1" }, "metanode": "Gene" }, { "id": 20681, "identifier": "340069", "identifier_type": "int", "name": "FAM170A", "properties": { "url": "http://identifiers.org/ncbigene/340069", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "5", "description": "family with sequence similarity 170, member A" }, "metanode": "Gene" }, { "id": 20682, "identifier": "C0010666", "identifier_type": "str", "name": "Acne cystic", "properties": { "url": "http://identifiers.org/umls/C0010666", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 20683, "identifier": "C0007462", "identifier_type": "str", "name": "Causalgia", "properties": { "url": "http://identifiers.org/umls/C0007462", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 20684, "identifier": "GO:0033353", "identifier_type": "str", "name": "S-adenosylmethionine cycle", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0033353", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 20685, "identifier": "C0277919", "identifier_type": "str", "name": "Post thrombotic syndrome", "properties": { "url": "http://identifiers.org/umls/C0277919", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 20686, "identifier": "22921", "identifier_type": "int", "name": "MSRB2", "properties": { "url": "http://identifiers.org/ncbigene/22921", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "10", "description": "methionine sulfoxide reductase B2" }, "metanode": "Gene" }, { "id": 20687, "identifier": "GO:0017150", "identifier_type": "str", "name": "tRNA dihydrouridine synthase activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0017150", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 20688, "identifier": "152065", "identifier_type": "int", "name": "C3orf22", "properties": { "url": "http://identifiers.org/ncbigene/152065", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "3", "description": "chromosome 3 open reading frame 22" }, "metanode": "Gene" }, { "id": 20689, "identifier": "GO:0033235", "identifier_type": "str", "name": "positive regulation of protein sumoylation", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0033235", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 20690, "identifier": "5623", "identifier_type": "int", "name": "PSPN", "properties": { "url": "http://identifiers.org/ncbigene/5623", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "19", "description": "persephin" }, "metanode": "Gene" } ] }