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=21350
{ "count": 47031, "next": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=21375", "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=21325", "results": [ { "id": 21342, "identifier": "90990", "identifier_type": "int", "name": "KIFC2", "properties": { "url": "http://identifiers.org/ncbigene/90990", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "8", "description": "kinesin family member C2" }, "metanode": "Gene" }, { "id": 21343, "identifier": "4246", "identifier_type": "int", "name": "SCGB2A1", "properties": { "url": "http://identifiers.org/ncbigene/4246", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "11", "description": "secretoglobin, family 2A, member 1" }, "metanode": "Gene" }, { "id": 21344, "identifier": "84808", "identifier_type": "int", "name": "PERM1", "properties": { "url": "http://identifiers.org/ncbigene/84808", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "PPARGC1 and ESRR induced regulator, muscle 1" }, "metanode": "Gene" }, { "id": 21345, "identifier": "GO:0030277", "identifier_type": "str", "name": "maintenance of gastrointestinal epithelium", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0030277", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 21346, "identifier": "GO:0004935", "identifier_type": "str", "name": "adrenergic receptor activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0004935", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 21347, "identifier": "GO:0019870", "identifier_type": "str", "name": "potassium channel inhibitor activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0019870", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 21348, "identifier": "6699", "identifier_type": "int", "name": "SPRR1B", "properties": { "url": "http://identifiers.org/ncbigene/6699", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "small proline-rich protein 1B" }, "metanode": "Gene" }, { "id": 21349, "identifier": "DB00671", "identifier_type": "str", "name": "Cefixime", "properties": { "url": "http://www.drugbank.ca/drugs/DB00671", "inchi": "InChI=1S/C16H15N5O7S2/c1-2-6-4-29-14-10(13(25)21(14)11(6)15(26)27)19-12(24)9(20-28-3-8(22)23)7-5-30-16(17)18-7/h2,5,10,14H,1,3-4H2,(H2,17,18)(H,19,24)(H,22,23)(H,26,27)/b20-9-/t10-,14-/m1/s1", "source": "DrugBank", "license": "CC BY-NC 4.0", "inchikey": "InChIKey=OKBVVJOGVLARMR-QSWIMTSFSA-N" }, "metanode": "Compound" }, { "id": 21350, "identifier": "UBERON:0001914", "identifier_type": "str", "name": "colostrum", "properties": { "url": "http://purl.obolibrary.org/obo/UBERON_0001914", "bto_id": "BTO:0000276", "source": "Uberon", "license": "CC BY 3.0", "mesh_id": "D003126" }, "metanode": "Anatomy" }, { "id": 21351, "identifier": "102725144", "identifier_type": "int", "name": "LOC102725144", "properties": { "url": "http://identifiers.org/ncbigene/102725144", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "13", "description": "collagen alpha-1(III) chain-like" }, "metanode": "Gene" }, { "id": 21352, "identifier": "388468", "identifier_type": "int", "name": "POTEC", "properties": { "url": "http://identifiers.org/ncbigene/388468", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "18", "description": "POTE ankyrin domain family, member C" }, "metanode": "Gene" }, { "id": 21353, "identifier": "GO:0005604", "identifier_type": "str", "name": "basement membrane", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0005604", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Cellular Component" }, { "id": 21354, "identifier": "GO:0043006", "identifier_type": "str", "name": "activation of phospholipase A2 activity by calcium-mediated signaling", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0043006", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 21355, "identifier": "10038", "identifier_type": "int", "name": "PARP2", "properties": { "url": "http://identifiers.org/ncbigene/10038", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "14", "description": "poly (ADP-ribose) polymerase 2" }, "metanode": "Gene" }, { "id": 21356, "identifier": "C0011860", "identifier_type": "str", "name": "Type 2 diabetes mellitus", "properties": { "url": "http://identifiers.org/umls/C0011860", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 21357, "identifier": "C0149958", "identifier_type": "str", "name": "Complex partial seizures", "properties": { "url": "http://identifiers.org/umls/C0149958", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 21358, "identifier": "3856", "identifier_type": "int", "name": "KRT8", "properties": { "url": "http://identifiers.org/ncbigene/3856", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "12", "description": "keratin 8, type II" }, "metanode": "Gene" }, { "id": 21359, "identifier": "GO:0060841", "identifier_type": "str", "name": "venous blood vessel development", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0060841", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 21360, "identifier": "C0521500", "identifier_type": "str", "name": "Injection site extravasation", "properties": { "url": "http://identifiers.org/umls/C0521500", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 21361, "identifier": "D005316", "identifier_type": "str", "name": "Fetal Distress", "properties": { "url": "http://identifiers.org/mesh/D005316", "source": "MeSH", "license": "CC0 1.0" }, "metanode": "Symptom" }, { "id": 21362, "identifier": "284111", "identifier_type": "int", "name": "SLC13A5", "properties": { "url": "http://identifiers.org/ncbigene/284111", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "17", "description": "solute carrier family 13 (sodium-dependent citrate transporter), member 5" }, "metanode": "Gene" }, { "id": 21363, "identifier": "C0856880", "identifier_type": "str", "name": "Urea increased", "properties": { "url": "http://identifiers.org/umls/C0856880", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 21364, "identifier": "GO:0005217", "identifier_type": "str", "name": "intracellular ligand-gated ion channel activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0005217", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 21365, "identifier": "91298", "identifier_type": "int", "name": "C12orf29", "properties": { "url": "http://identifiers.org/ncbigene/91298", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "12", "description": "chromosome 12 open reading frame 29" }, "metanode": "Gene" }, { "id": 21366, "identifier": "4810", "identifier_type": "int", "name": "NHS", "properties": { "url": "http://identifiers.org/ncbigene/4810", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "X", "description": "Nance-Horan syndrome (congenital cataracts and dental anomalies)" }, "metanode": "Gene" } ] }