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=45400
http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=45425", "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=45375", "results": [ { "id": 45398, "identifier": "GO:0072047", "identifier_type": "str", "name": "proximal/distal pattern formation involved in nephron development", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0072047", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 45399, "identifier": "7112", "identifier_type": "int", "name": "TMPO", "properties": { "url": "http://identifiers.org/ncbigene/7112", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "12", "description": "thymopoietin" }, "metanode": "Gene" }, { "id": 45400, "identifier": "C0549447", "identifier_type": "str", "name": "Urine odour foul", "properties": { "url": "http://identifiers.org/umls/C0549447", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 45401, "identifier": "GO:0032288", "identifier_type": "str", "name": "myelin assembly", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0032288", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 45402, "identifier": "25874", "identifier_type": "int", "name": "MPC2", "properties": { "url": "http://identifiers.org/ncbigene/25874", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "mitochondrial pyruvate carrier 2" }, "metanode": "Gene" }, { "id": 45403, "identifier": "GO:0019400", "identifier_type": "str", "name": "alditol metabolic process", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0019400", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 45404, "identifier": "55544", "identifier_type": "int", "name": "RBM38", "properties": { "url": "http://identifiers.org/ncbigene/55544", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "20", "description": "RNA binding motif protein 38" }, "metanode": "Gene" }, { "id": 45405, "identifier": "C0001349", "identifier_type": "str", "name": "Acute phase reaction", "properties": { "url": "http://identifiers.org/umls/C0001349", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 45406, "identifier": "GO:0007276", "identifier_type": "str", "name": "gamete generation", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0007276", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 45407, "identifier": "54929", "identifier_type": "int", "name": "TMEM161A", "properties": { "url": "http://identifiers.org/ncbigene/54929", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "19", "description": "transmembrane protein 161A" }, "metanode": "Gene" }, { "id": 45408, "identifier": "GO:0048730", "identifier_type": "str", "name": "epidermis morphogenesis", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0048730", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 45409, "identifier": "226", "identifier_type": "int", "name": "ALDOA", "properties": { "url": "http://identifiers.org/ncbigene/226", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "16", "description": "aldolase A, fructose-bisphosphate" }, "metanode": "Gene" }, { "id": 45410, "identifier": "8733", "identifier_type": "int", "name": "GPAA1", "properties": { "url": "http://identifiers.org/ncbigene/8733", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "8", "description": "glycosylphosphatidylinositol anchor attachment 1" }, "metanode": "Gene" }, { "id": 45411, "identifier": "C0032302", "identifier_type": "str", "name": "Pneumonia mycoplasmal", "properties": { "url": "http://identifiers.org/umls/C0032302", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 45412, "identifier": "C0852696", "identifier_type": "str", "name": "Glucocorticoids decreased", "properties": { "url": "http://identifiers.org/umls/C0852696", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 45413, "identifier": "105369669", "identifier_type": "int", "name": "LOC105369669", "properties": { "url": "http://identifiers.org/ncbigene/105369669", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "12", "description": "uncharacterized LOC105369669" }, "metanode": "Gene" }, { "id": 45414, "identifier": "C0853973", "identifier_type": "str", "name": "Blood gonadotrophin increased", "properties": { "url": "http://identifiers.org/umls/C0853973", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 45415, "identifier": "2567", "identifier_type": "int", "name": "GABRG3", "properties": { "url": "http://identifiers.org/ncbigene/2567", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "15", "description": "gamma-aminobutyric acid (GABA) A receptor, gamma 3" }, "metanode": "Gene" }, { "id": 45416, "identifier": "11186", "identifier_type": "int", "name": "RASSF1", "properties": { "url": "http://identifiers.org/ncbigene/11186", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "3", "description": "Ras association (RalGDS/AF-6) domain family member 1" }, "metanode": "Gene" }, { "id": 45417, "identifier": "100506944", "identifier_type": "int", "name": "LOC100506944", "properties": { "url": "http://identifiers.org/ncbigene/100506944", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "3", "description": "uncharacterized LOC100506944" }, "metanode": "Gene" }, { "id": 45418, "identifier": "GO:0003977", "identifier_type": "str", "name": "UDP-N-acetylglucosamine diphosphorylase activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0003977", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 45419, "identifier": "D046088", "identifier_type": "str", "name": "Hearing Loss, Unilateral", "properties": { "url": "http://identifiers.org/mesh/D046088", "source": "MeSH", "license": "CC0 1.0" }, "metanode": "Symptom" }, { "id": 45420, "identifier": "C0578735", "identifier_type": "str", "name": "Lymphadenopathy axillary", "properties": { "url": "http://identifiers.org/umls/C0578735", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 45421, "identifier": "5020", "identifier_type": "int", "name": "OXT", "properties": { "url": "http://identifiers.org/ncbigene/5020", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "20", "description": "oxytocin/neurophysin I prepropeptide" }, "metanode": "Gene" }, { "id": 45422, "identifier": "GO:1990166", "identifier_type": "str", "name": "protein localization to site of double-strand break", "properties": { "url": "http://purl.obolibrary.org/obo/GO_1990166", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" } ] }{ "count": 47031, "next": "