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=46300
http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=46325", "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=46275", "results": [ { "id": 46299, "identifier": "DB00178", "identifier_type": "str", "name": "Ramipril", "properties": { "url": "http://www.drugbank.ca/drugs/DB00178", "inchi": "InChI=1S/C23H32N2O5/c1-3-30-23(29)18(13-12-16-8-5-4-6-9-16)24-15(2)21(26)25-19-11-7-10-17(19)14-20(25)22(27)28/h4-6,8-9,15,17-20,24H,3,7,10-14H2,1-2H3,(H,27,28)/t15-,17-,18-,19-,20-/m0/s1", "source": "DrugBank", "license": "CC BY-NC 4.0", "inchikey": "InChIKey=HDACQVRGBOVJII-JBDAPHQKSA-N" }, "metanode": "Compound" }, { "id": 46300, "identifier": "GO:0044773", "identifier_type": "str", "name": "mitotic DNA damage checkpoint", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0044773", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 46301, "identifier": "PC7_1671", "identifier_type": "str", "name": "Antigen processing-Cross presentation", "properties": { "source": "Reactome via Pathway Commons", "license": "CC BY 4.0" }, "metanode": "Pathway" }, { "id": 46302, "identifier": "6634", "identifier_type": "int", "name": "SNRPD3", "properties": { "url": "http://identifiers.org/ncbigene/6634", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "22", "description": "small nuclear ribonucleoprotein D3 polypeptide 18kDa" }, "metanode": "Gene" }, { "id": 46303, "identifier": "56656", "identifier_type": "int", "name": "OR2S2", "properties": { "url": "http://identifiers.org/ncbigene/56656", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "9", "description": "olfactory receptor, family 2, subfamily S, member 2 (gene/pseudogene)" }, "metanode": "Gene" }, { "id": 46304, "identifier": "9265", "identifier_type": "int", "name": "CYTH3", "properties": { "url": "http://identifiers.org/ncbigene/9265", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "7", "description": "cytohesin 3" }, "metanode": "Gene" }, { "id": 46305, "identifier": "GO:0018406", "identifier_type": "str", "name": "protein C-linked glycosylation via 2'-alpha-mannosyl-L-tryptophan", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0018406", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 46306, "identifier": "C0919267", "identifier_type": "str", "name": "Ovarian neoplasm", "properties": { "url": "http://identifiers.org/umls/C0919267", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 46307, "identifier": "9973", "identifier_type": "int", "name": "CCS", "properties": { "url": "http://identifiers.org/ncbigene/9973", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "11", "description": "copper chaperone for superoxide dismutase" }, "metanode": "Gene" }, { "id": 46308, "identifier": "GO:0044708", "identifier_type": "str", "name": "single-organism behavior", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0044708", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 46309, "identifier": "340706", "identifier_type": "int", "name": "VWA2", "properties": { "url": "http://identifiers.org/ncbigene/340706", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "10", "description": "von Willebrand factor A domain containing 2" }, "metanode": "Gene" }, { "id": 46310, "identifier": "GO:1904152", "identifier_type": "str", "name": "regulation of retrograde protein transport, ER to cytosol", "properties": { "url": "http://purl.obolibrary.org/obo/GO_1904152", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 46311, "identifier": "GO:2001038", "identifier_type": "str", "name": "regulation of cellular response to drug", "properties": { "url": "http://purl.obolibrary.org/obo/GO_2001038", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 46312, "identifier": "8202", "identifier_type": "int", "name": "NCOA3", "properties": { "url": "http://identifiers.org/ncbigene/8202", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "20", "description": "nuclear receptor coactivator 3" }, "metanode": "Gene" }, { "id": 46313, "identifier": "10133", "identifier_type": "int", "name": "OPTN", "properties": { "url": "http://identifiers.org/ncbigene/10133", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "10", "description": "optineurin" }, "metanode": "Gene" }, { "id": 46314, "identifier": "GO:0045994", "identifier_type": "str", "name": "positive regulation of translational initiation by iron", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0045994", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 46315, "identifier": "7923", "identifier_type": "int", "name": "HSD17B8", "properties": { "url": "http://identifiers.org/ncbigene/7923", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "6", "description": "hydroxysteroid (17-beta) dehydrogenase 8" }, "metanode": "Gene" }, { "id": 46316, "identifier": "GO:0009649", "identifier_type": "str", "name": "entrainment of circadian clock", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0009649", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 46317, "identifier": "C0151602", "identifier_type": "str", "name": "Swelling face", "properties": { "url": "http://identifiers.org/umls/C0151602", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 46318, "identifier": "10671", "identifier_type": "int", "name": "DCTN6", "properties": { "url": "http://identifiers.org/ncbigene/10671", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "8", "description": "dynactin 6" }, "metanode": "Gene" }, { "id": 46319, "identifier": "337879", "identifier_type": "int", "name": "KRTAP8-1", "properties": { "url": "http://identifiers.org/ncbigene/337879", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "21", "description": "keratin associated protein 8-1" }, "metanode": "Gene" }, { "id": 46320, "identifier": "390036", "identifier_type": "int", "name": "OR52K1", "properties": { "url": "http://identifiers.org/ncbigene/390036", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "11", "description": "olfactory receptor, family 52, subfamily K, member 1" }, "metanode": "Gene" }, { "id": 46321, "identifier": "4489", "identifier_type": "int", "name": "MT1A", "properties": { "url": "http://identifiers.org/ncbigene/4489", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "16", "description": "metallothionein 1A" }, "metanode": "Gene" }, { "id": 46322, "identifier": "GO:0034774", "identifier_type": "str", "name": "secretory granule lumen", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0034774", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Cellular Component" }, { "id": 46323, "identifier": "GO:0071797", "identifier_type": "str", "name": "LUBAC complex", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0071797", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Cellular Component" } ] }{ "count": 47031, "next": "