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=12900
{ "count": 47031, "next": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=12925", "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=12875", "results": [ { "id": 12890, "identifier": "57650", "identifier_type": "int", "name": "KIAA1524", "properties": { "url": "http://identifiers.org/ncbigene/57650", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "3", "description": "KIAA1524" }, "metanode": "Gene" }, { "id": 12891, "identifier": "83667", "identifier_type": "int", "name": "SESN2", "properties": { "url": "http://identifiers.org/ncbigene/83667", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "sestrin 2" }, "metanode": "Gene" }, { "id": 12892, "identifier": "80313", "identifier_type": "int", "name": "LRRC27", "properties": { "url": "http://identifiers.org/ncbigene/80313", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "10", "description": "leucine rich repeat containing 27" }, "metanode": "Gene" }, { "id": 12893, "identifier": "GO:0071029", "identifier_type": "str", "name": "nuclear ncRNA surveillance", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0071029", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 12894, "identifier": "5558", "identifier_type": "int", "name": "PRIM2", "properties": { "url": "http://identifiers.org/ncbigene/5558", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "6", "description": "primase, DNA, polypeptide 2 (58kDa)" }, "metanode": "Gene" }, { "id": 12895, "identifier": "C0014118", "identifier_type": "str", "name": "Endocarditis", "properties": { "url": "http://identifiers.org/umls/C0014118", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 12896, "identifier": "4774", "identifier_type": "int", "name": "NFIA", "properties": { "url": "http://identifiers.org/ncbigene/4774", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "nuclear factor I/A" }, "metanode": "Gene" }, { "id": 12897, "identifier": "GO:0048256", "identifier_type": "str", "name": "flap endonuclease activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0048256", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 12898, "identifier": "8139", "identifier_type": "int", "name": "GAN", "properties": { "url": "http://identifiers.org/ncbigene/8139", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "16", "description": "gigaxonin" }, "metanode": "Gene" }, { "id": 12899, "identifier": "GO:0019442", "identifier_type": "str", "name": "tryptophan catabolic process to acetyl-CoA", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0019442", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 12900, "identifier": "C0861171", "identifier_type": "str", "name": "Gritty feeling in eyes", "properties": { "url": "http://identifiers.org/umls/C0861171", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 12901, "identifier": "90324", "identifier_type": "int", "name": "CCDC97", "properties": { "url": "http://identifiers.org/ncbigene/90324", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "19", "description": "coiled-coil domain containing 97" }, "metanode": "Gene" }, { "id": 12902, "identifier": "C3665346", "identifier_type": "str", "name": "Unspecified visual loss", "properties": { "url": "http://identifiers.org/umls/C3665346", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 12903, "identifier": "84365", "identifier_type": "int", "name": "NIFK", "properties": { "url": "http://identifiers.org/ncbigene/84365", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "2", "description": "nucleolar protein interacting with the FHA domain of MKI67" }, "metanode": "Gene" }, { "id": 12904, "identifier": "114905", "identifier_type": "int", "name": "C1QTNF7", "properties": { "url": "http://identifiers.org/ncbigene/114905", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "4", "description": "C1q and tumor necrosis factor related protein 7" }, "metanode": "Gene" }, { "id": 12905, "identifier": "GO:0070330", "identifier_type": "str", "name": "aromatase activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0070330", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 12906, "identifier": "6496", "identifier_type": "int", "name": "SIX3", "properties": { "url": "http://identifiers.org/ncbigene/6496", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "2", "description": "SIX homeobox 3" }, "metanode": "Gene" }, { "id": 12907, "identifier": "GO:0072131", "identifier_type": "str", "name": "kidney mesenchyme morphogenesis", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0072131", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 12908, "identifier": "D003085", "identifier_type": "str", "name": "Colic", "properties": { "url": "http://identifiers.org/mesh/D003085", "source": "MeSH", "license": "CC0 1.0" }, "metanode": "Symptom" }, { "id": 12909, "identifier": "GO:1901068", "identifier_type": "str", "name": "guanosine-containing compound metabolic process", "properties": { "url": "http://purl.obolibrary.org/obo/GO_1901068", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 12910, "identifier": "C0746731", "identifier_type": "str", "name": "Acute myocardial ischemia", "properties": { "url": "http://identifiers.org/umls/C0746731", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 12911, "identifier": "1072", "identifier_type": "int", "name": "CFL1", "properties": { "url": "http://identifiers.org/ncbigene/1072", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "11", "description": "cofilin 1 (non-muscle)" }, "metanode": "Gene" }, { "id": 12912, "identifier": "51110", "identifier_type": "int", "name": "LACTB2", "properties": { "url": "http://identifiers.org/ncbigene/51110", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "8", "description": "lactamase, beta 2" }, "metanode": "Gene" }, { "id": 12913, "identifier": "GO:0033239", "identifier_type": "str", "name": "negative regulation of cellular amine metabolic process", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0033239", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 12914, "identifier": "C0685938", "identifier_type": "str", "name": "Gastrointestinal neoplasm malignant", "properties": { "url": "http://identifiers.org/umls/C0685938", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" } ] }