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=24000
{ "count": 47031, "next": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=24025", "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=23975", "results": [ { "id": 23994, "identifier": "PC7_3083", "identifier_type": "str", "name": "Detoxification of Reactive Oxygen Species", "properties": { "source": "Reactome via Pathway Commons", "license": "CC BY 4.0" }, "metanode": "Pathway" }, { "id": 23995, "identifier": "84289", "identifier_type": "int", "name": "ING5", "properties": { "url": "http://identifiers.org/ncbigene/84289", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "2", "description": "inhibitor of growth family, member 5" }, "metanode": "Gene" }, { "id": 23996, "identifier": "GO:0046631", "identifier_type": "str", "name": "alpha-beta T cell activation", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0046631", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 23997, "identifier": "C0522178", "identifier_type": "str", "name": "Self-injurious ideation", "properties": { "url": "http://identifiers.org/umls/C0522178", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 23998, "identifier": "64965", "identifier_type": "int", "name": "MRPS9", "properties": { "url": "http://identifiers.org/ncbigene/64965", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "2", "description": "mitochondrial ribosomal protein S9" }, "metanode": "Gene" }, { "id": 23999, "identifier": "79751", "identifier_type": "int", "name": "SLC25A22", "properties": { "url": "http://identifiers.org/ncbigene/79751", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "11", "description": "solute carrier family 25 (mitochondrial carrier: glutamate), member 22" }, "metanode": "Gene" }, { "id": 24000, "identifier": "C0085166", "identifier_type": "str", "name": "Vaginitis bacterial", "properties": { "url": "http://identifiers.org/umls/C0085166", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 24001, "identifier": "1012", "identifier_type": "int", "name": "CDH13", "properties": { "url": "http://identifiers.org/ncbigene/1012", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "16", "description": "cadherin 13" }, "metanode": "Gene" }, { "id": 24002, "identifier": "GO:0021615", "identifier_type": "str", "name": "glossopharyngeal nerve morphogenesis", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0021615", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 24003, "identifier": "441024", "identifier_type": "int", "name": "MTHFD2L", "properties": { "url": "http://identifiers.org/ncbigene/441024", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "4", "description": "methylenetetrahydrofolate dehydrogenase (NADP+ dependent) 2-like" }, "metanode": "Gene" }, { "id": 24004, "identifier": "GO:0042439", "identifier_type": "str", "name": "ethanolamine-containing compound metabolic process", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0042439", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 24005, "identifier": "340252", "identifier_type": "int", "name": "ZNF680", "properties": { "url": "http://identifiers.org/ncbigene/340252", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "7", "description": "zinc finger protein 680" }, "metanode": "Gene" }, { "id": 24006, "identifier": "GO:0005773", "identifier_type": "str", "name": "vacuole", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0005773", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Cellular Component" }, { "id": 24007, "identifier": "3337", "identifier_type": "int", "name": "DNAJB1", "properties": { "url": "http://identifiers.org/ncbigene/3337", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "19", "description": "DnaJ (Hsp40) homolog, subfamily B, member 1" }, "metanode": "Gene" }, { "id": 24008, "identifier": "C0019270", "identifier_type": "str", "name": "Hernia", "properties": { "url": "http://identifiers.org/umls/C0019270", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 24009, "identifier": "WP176_r82704", "identifier_type": "str", "name": "Folate Metabolism", "properties": { "url": "http://www.wikipathways.org/instance/WP176_r82704", "source": "WikiPathways", "license": "CC BY 3.0" }, "metanode": "Pathway" }, { "id": 24010, "identifier": "GO:0014896", "identifier_type": "str", "name": "muscle hypertrophy", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0014896", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 24011, "identifier": "5806", "identifier_type": "int", "name": "PTX3", "properties": { "url": "http://identifiers.org/ncbigene/5806", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "3", "description": "pentraxin 3, long" }, "metanode": "Gene" }, { "id": 24012, "identifier": "10457", "identifier_type": "int", "name": "GPNMB", "properties": { "url": "http://identifiers.org/ncbigene/10457", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "7", "description": "glycoprotein (transmembrane) nmb" }, "metanode": "Gene" }, { "id": 24013, "identifier": "60495", "identifier_type": "int", "name": "HPSE2", "properties": { "url": "http://identifiers.org/ncbigene/60495", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "10", "description": "heparanase 2 (inactive)" }, "metanode": "Gene" }, { "id": 24014, "identifier": "C0029883", "identifier_type": "str", "name": "Middle ear effusion", "properties": { "url": "http://identifiers.org/umls/C0029883", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 24015, "identifier": "C0002902", "identifier_type": "str", "name": "Anencephaly", "properties": { "url": "http://identifiers.org/umls/C0002902", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 24016, "identifier": "C1444565", "identifier_type": "str", "name": "Cardiopulmonary failure", "properties": { "url": "http://identifiers.org/umls/C1444565", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 24017, "identifier": "DB00227", "identifier_type": "str", "name": "Lovastatin", "properties": { "url": "http://www.drugbank.ca/drugs/DB00227", "inchi": "InChI=1S/C24H36O5/c1-5-15(3)24(27)29-21-11-14(2)10-17-7-6-16(4)20(23(17)21)9-8-19-12-18(25)13-22(26)28-19/h6-7,10,14-16,18-21,23,25H,5,8-9,11-13H2,1-4H3/t14-,15-,16-,18+,19+,20-,21-,23-/m0/s1", "source": "DrugBank", "license": "CC BY-NC 4.0", "inchikey": "InChIKey=PCZOHLXUXFIOCF-BXMDZJJMSA-N" }, "metanode": "Compound" }, { "id": 24018, "identifier": "4291", "identifier_type": "int", "name": "MLF1", "properties": { "url": "http://identifiers.org/ncbigene/4291", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "3", "description": "myeloid leukemia factor 1" }, "metanode": "Gene" } ] }