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=300
http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=325", "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=275", "results": [ { "id": 300, "identifier": "C2712871", "identifier_type": "str", "name": "Gout attack", "properties": { "url": "http://identifiers.org/umls/C2712871", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 301, "identifier": "D012877", "identifier_type": "str", "name": "Skin Manifestations", "properties": { "url": "http://identifiers.org/mesh/D012877", "source": "MeSH", "license": "CC0 1.0" }, "metanode": "Symptom" }, { "id": 302, "identifier": "GO:0006491", "identifier_type": "str", "name": "N-glycan processing", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0006491", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 303, "identifier": "GO:1900170", "identifier_type": "str", "name": "negative regulation of glucocorticoid mediated signaling pathway", "properties": { "url": "http://purl.obolibrary.org/obo/GO_1900170", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 304, "identifier": "C0042130", "identifier_type": "str", "name": "Uterine contractions", "properties": { "url": "http://identifiers.org/umls/C0042130", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 305, "identifier": "153527", "identifier_type": "int", "name": "ZMAT2", "properties": { "url": "http://identifiers.org/ncbigene/153527", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "5", "description": "zinc finger, matrin-type 2" }, "metanode": "Gene" }, { "id": 306, "identifier": "GO:0071223", "identifier_type": "str", "name": "cellular response to lipoteichoic acid", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0071223", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 307, "identifier": "2845", "identifier_type": "int", "name": "GPR22", "properties": { "url": "http://identifiers.org/ncbigene/2845", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "7", "description": "G protein-coupled receptor 22" }, "metanode": "Gene" }, { "id": 308, "identifier": "GO:0022824", "identifier_type": "str", "name": "transmitter-gated ion channel activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0022824", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 309, "identifier": "57406", "identifier_type": "int", "name": "ABHD6", "properties": { "url": "http://identifiers.org/ncbigene/57406", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "3", "description": "abhydrolase domain containing 6" }, "metanode": "Gene" }, { "id": 310, "identifier": "GO:0002731", "identifier_type": "str", "name": "negative regulation of dendritic cell cytokine production", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0002731", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 311, "identifier": "C0027960", "identifier_type": "str", "name": "Nevus", "properties": { "url": "http://identifiers.org/umls/C0027960", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 312, "identifier": "100129520", "identifier_type": "int", "name": "LOC100129520", "properties": { "url": "http://identifiers.org/ncbigene/100129520", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "X", "description": "testis expressed sequence 13-like" }, "metanode": "Gene" }, { "id": 313, "identifier": "C0595916", "identifier_type": "str", "name": "Nephropathy toxic", "properties": { "url": "http://identifiers.org/umls/C0595916", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 314, "identifier": "5298", "identifier_type": "int", "name": "PI4KB", "properties": { "url": "http://identifiers.org/ncbigene/5298", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "phosphatidylinositol 4-kinase, catalytic, beta" }, "metanode": "Gene" }, { "id": 315, "identifier": "C0239779", "identifier_type": "str", "name": "Grimacing", "properties": { "url": "http://identifiers.org/umls/C0239779", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 316, "identifier": "51224", "identifier_type": "int", "name": "TCEB3B", "properties": { "url": "http://identifiers.org/ncbigene/51224", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "18", "description": "transcription elongation factor B polypeptide 3B (elongin A2)" }, "metanode": "Gene" }, { "id": 317, "identifier": "GO:0001916", "identifier_type": "str", "name": "positive regulation of T cell mediated cytotoxicity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0001916", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 318, "identifier": "GO:0046668", "identifier_type": "str", "name": "regulation of retinal cell programmed cell death", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0046668", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 319, "identifier": "C0549450", "identifier_type": "str", "name": "Oesophageal reflux aggravated", "properties": { "url": "http://identifiers.org/umls/C0549450", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 320, "identifier": "124923", "identifier_type": "int", "name": "SGK494", "properties": { "url": "http://identifiers.org/ncbigene/124923", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "17", "description": "uncharacterized serine/threonine-protein kinase SgK494" }, "metanode": "Gene" }, { "id": 321, "identifier": "C0311220", "identifier_type": "str", "name": "Lymphocytoma cutis", "properties": { "url": "http://identifiers.org/umls/C0311220", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 322, "identifier": "C0426747", "identifier_type": "str", "name": "Anal haemorrhage", "properties": { "url": "http://identifiers.org/umls/C0426747", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 323, "identifier": "162972", "identifier_type": "int", "name": "ZNF550", "properties": { "url": "http://identifiers.org/ncbigene/162972", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "19", "description": "zinc finger protein 550" }, "metanode": "Gene" }, { "id": 324, "identifier": "GO:0032807", "identifier_type": "str", "name": "DNA ligase IV complex", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0032807", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Cellular Component" } ] }{ "count": 47031, "next": "