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=27250
{ "count": 47031, "next": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=27275", "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=27225", "results": [ { "id": 27241, "identifier": "D006429", "identifier_type": "str", "name": "Hemiplegia", "properties": { "url": "http://identifiers.org/mesh/D006429", "source": "MeSH", "license": "CC0 1.0" }, "metanode": "Symptom" }, { "id": 27242, "identifier": "C0519063", "identifier_type": "str", "name": "Pulmonary lymphoma", "properties": { "url": "http://identifiers.org/umls/C0519063", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 27243, "identifier": "79738", "identifier_type": "int", "name": "BBS10", "properties": { "url": "http://identifiers.org/ncbigene/79738", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "12", "description": "Bardet-Biedl syndrome 10" }, "metanode": "Gene" }, { "id": 27244, "identifier": "GO:0051899", "identifier_type": "str", "name": "membrane depolarization", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0051899", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 27245, "identifier": "887", "identifier_type": "int", "name": "CCKBR", "properties": { "url": "http://identifiers.org/ncbigene/887", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "11", "description": "cholecystokinin B receptor" }, "metanode": "Gene" }, { "id": 27246, "identifier": "9378", "identifier_type": "int", "name": "NRXN1", "properties": { "url": "http://identifiers.org/ncbigene/9378", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "2", "description": "neurexin 1" }, "metanode": "Gene" }, { "id": 27247, "identifier": "C0266453", "identifier_type": "str", "name": "Exencephaly", "properties": { "url": "http://identifiers.org/umls/C0266453", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 27285, "identifier": "3776", "identifier_type": "int", "name": "KCNK2", "properties": { "url": "http://identifiers.org/ncbigene/3776", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "potassium channel, two pore domain subfamily K, member 2" }, "metanode": "Gene" }, { "id": 27248, "identifier": "220158", "identifier_type": "int", "name": "GTSCR1", "properties": { "url": "http://identifiers.org/ncbigene/220158", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "18", "description": "Gilles de la Tourette syndrome chromosome region, candidate 1 (non-protein coding)" }, "metanode": "Gene" }, { "id": 27249, "identifier": "GO:0072161", "identifier_type": "str", "name": "mesenchymal cell differentiation involved in kidney development", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0072161", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 27250, "identifier": "GO:0006848", "identifier_type": "str", "name": "pyruvate transport", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0006848", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 27251, "identifier": "GO:0034189", "identifier_type": "str", "name": "very-low-density lipoprotein particle binding", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0034189", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 27252, "identifier": "GO:0031080", "identifier_type": "str", "name": "nuclear pore outer ring", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0031080", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Cellular Component" }, { "id": 27253, "identifier": "GO:0002118", "identifier_type": "str", "name": "aggressive behavior", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0002118", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 27254, "identifier": "GO:0072017", "identifier_type": "str", "name": "distal tubule development", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0072017", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 27255, "identifier": "D038901", "identifier_type": "str", "name": "Mental Retardation, X-Linked", "properties": { "url": "http://identifiers.org/mesh/D038901", "source": "MeSH", "license": "CC0 1.0" }, "metanode": "Symptom" }, { "id": 27256, "identifier": "C1692886", "identifier_type": "str", "name": "Arthritis bacterial", "properties": { "url": "http://identifiers.org/umls/C1692886", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 27257, "identifier": "GO:0001673", "identifier_type": "str", "name": "male germ cell nucleus", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0001673", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Cellular Component" }, { "id": 27258, "identifier": "C1735322", "identifier_type": "str", "name": "Injection site pallor", "properties": { "url": "http://identifiers.org/umls/C1735322", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 27259, "identifier": "10332", "identifier_type": "int", "name": "CLEC4M", "properties": { "url": "http://identifiers.org/ncbigene/10332", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "19", "description": "C-type lectin domain family 4, member M" }, "metanode": "Gene" }, { "id": 27260, "identifier": "GO:0035381", "identifier_type": "str", "name": "ATP-gated ion channel activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0035381", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 27261, "identifier": "GO:0004782", "identifier_type": "str", "name": "sulfinoalanine decarboxylase activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0004782", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 27262, "identifier": "GO:0001098", "identifier_type": "str", "name": "basal transcription machinery binding", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0001098", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 27263, "identifier": "23760", "identifier_type": "int", "name": "PITPNB", "properties": { "url": "http://identifiers.org/ncbigene/23760", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "22", "description": "phosphatidylinositol transfer protein, beta" }, "metanode": "Gene" }, { "id": 27264, "identifier": "PC7_4778", "identifier_type": "str", "name": "Interleukin-1 signaling", "properties": { "source": "Reactome via Pathway Commons", "license": "CC BY 4.0" }, "metanode": "Pathway" } ] }