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=43225
{ "count": 47031, "next": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=43250", "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=43200", "results": [ { "id": 43224, "identifier": "GO:0042493", "identifier_type": "str", "name": "response to drug", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0042493", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 43225, "identifier": "6913", "identifier_type": "int", "name": "TBX15", "properties": { "url": "http://identifiers.org/ncbigene/6913", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "T-box 15" }, "metanode": "Gene" }, { "id": 43226, "identifier": "245910", "identifier_type": "int", "name": "DEFB107A", "properties": { "url": "http://identifiers.org/ncbigene/245910", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "8", "description": "defensin, beta 107A" }, "metanode": "Gene" }, { "id": 43227, "identifier": "GO:0008237", "identifier_type": "str", "name": "metallopeptidase activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0008237", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 43228, "identifier": "25766", "identifier_type": "int", "name": "PRPF40B", "properties": { "url": "http://identifiers.org/ncbigene/25766", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "12", "description": "PRP40 pre-mRNA processing factor 40 homolog B (S. cerevisiae)" }, "metanode": "Gene" }, { "id": 43229, "identifier": "1745", "identifier_type": "int", "name": "DLX1", "properties": { "url": "http://identifiers.org/ncbigene/1745", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "2", "description": "distal-less homeobox 1" }, "metanode": "Gene" }, { "id": 43230, "identifier": "55308", "identifier_type": "int", "name": "DDX19A", "properties": { "url": "http://identifiers.org/ncbigene/55308", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "16", "description": "DEAD (Asp-Glu-Ala-Asp) box polypeptide 19A" }, "metanode": "Gene" }, { "id": 43231, "identifier": "89944", "identifier_type": "int", "name": "GLB1L2", "properties": { "url": "http://identifiers.org/ncbigene/89944", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "11", "description": "galactosidase, beta 1-like 2" }, "metanode": "Gene" }, { "id": 43232, "identifier": "GO:0005801", "identifier_type": "str", "name": "cis-Golgi network", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0005801", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Cellular Component" }, { "id": 43233, "identifier": "728489", "identifier_type": "int", "name": "DNLZ", "properties": { "url": "http://identifiers.org/ncbigene/728489", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "9", "description": "DNL-type zinc finger" }, "metanode": "Gene" }, { "id": 43234, "identifier": "C0015802", "identifier_type": "str", "name": "Femur fracture", "properties": { "url": "http://identifiers.org/umls/C0015802", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 43235, "identifier": "118", "identifier_type": "int", "name": "ADD1", "properties": { "url": "http://identifiers.org/ncbigene/118", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "4", "description": "adducin 1 (alpha)" }, "metanode": "Gene" }, { "id": 43236, "identifier": "8609", "identifier_type": "int", "name": "KLF7", "properties": { "url": "http://identifiers.org/ncbigene/8609", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "2", "description": "Kruppel-like factor 7 (ubiquitous)" }, "metanode": "Gene" }, { "id": 43237, "identifier": "GO:0004904", "identifier_type": "str", "name": "interferon receptor activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0004904", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 43238, "identifier": "100130761", "identifier_type": "int", "name": "LOC100130761", "properties": { "url": "http://identifiers.org/ncbigene/100130761", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "2", "description": "uncharacterized LOC100130761" }, "metanode": "Gene" }, { "id": 43239, "identifier": "GO:0001614", "identifier_type": "str", "name": "purinergic nucleotide receptor activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0001614", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 43240, "identifier": "3839", "identifier_type": "int", "name": "KPNA3", "properties": { "url": "http://identifiers.org/ncbigene/3839", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "13", "description": "karyopherin alpha 3 (importin alpha 4)" }, "metanode": "Gene" }, { "id": 43241, "identifier": "105372014", "identifier_type": "int", "name": "LOC105372014", "properties": { "url": "http://identifiers.org/ncbigene/105372014", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "18", "description": "uncharacterized LOC105372014" }, "metanode": "Gene" }, { "id": 43242, "identifier": "GO:2001206", "identifier_type": "str", "name": "positive regulation of osteoclast development", "properties": { "url": "http://purl.obolibrary.org/obo/GO_2001206", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 43243, "identifier": "UBERON:0001174", "identifier_type": "str", "name": "common bile duct", "properties": { "url": "http://purl.obolibrary.org/obo/UBERON_0001174", "source": "Uberon", "license": "CC BY 3.0", "mesh_id": "D003135" }, "metanode": "Anatomy" }, { "id": 43244, "identifier": "C0221725", "identifier_type": "str", "name": "Bronchial obstruction", "properties": { "url": "http://identifiers.org/umls/C0221725", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 43245, "identifier": "54934", "identifier_type": "int", "name": "KANSL2", "properties": { "url": "http://identifiers.org/ncbigene/54934", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "12", "description": "KAT8 regulatory NSL complex subunit 2" }, "metanode": "Gene" }, { "id": 43246, "identifier": "85474", "identifier_type": "int", "name": "LBX2", "properties": { "url": "http://identifiers.org/ncbigene/85474", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "2", "description": "ladybird homeobox 2" }, "metanode": "Gene" }, { "id": 43247, "identifier": "93981", "identifier_type": "int", "name": "DYRK1AIP2", "properties": { "url": "http://identifiers.org/ncbigene/93981", "source": "Entrez Gene", "license": "CC0 1.0", "description": "DYRK1A interacting protein 2" }, "metanode": "Gene" }, { "id": 43248, "identifier": "N0000191624", "identifier_type": "str", "name": "Cytochrome P450 1A Inducers", "properties": { "url": "http://purl.bioontology.org/ontology/NDFRT/N0000191624", "source": "FDA via DrugCentral", "license": "CC BY 4.0", "class_type": "Mechanism of Action" }, "metanode": "Pharmacologic Class" } ] }