openapi-directory
Version:
Building & bundling https://github.com/APIs-guru/openapi-directory for easy use from JS
1 lines • 315 kB
JSON
{"openapi":"3.0.0","servers":[{"url":"/api"}],"info":{"description":"API integration layer for linked biological objects.\n\n __Source:__ https://github.com/biolink/biolink-api/","license":{"name":"BSD3"},"title":"BioLink API","version":"1.1.14","x-apisguru-categories":["open_data"],"x-origin":[{"format":"openapi","url":"https://api.monarchinitiative.org/api/swagger.json","version":"3.0"}],"x-providerName":"monarchinitiative.org"},"tags":[{"description":"Retrieval of domain entities plus associations","name":"bioentity"},{"description":"Retrieve associations between entities or entity and descriptors","name":"association"},{"description":"Operations on GO Causal Activity Models (GO-CAMs)","name":"cam"},{"description":"Operations over sets of entities","name":"bioentityset"},{"description":"Map gene IDs to their homologs","name":"bioentityset/homologs"},{"description":"maps a set of entities to a slim","name":"bioentityset/slimmer"},{"description":"Operations on evidence graphs","name":"evidence/graph"},{"description":"Operations to retrieve sequence features","name":"genome/features"},{"description":"Operations over data graphs","name":"graph"},{"description":"mapping and resolution of identifiers","name":"identifier/mapper"},{"description":"identifier prefixes","name":"identifier/prefixes"},{"description":"Perform bulk operations","name":"mart"},{"description":"annotate text using named entities","name":"nlp/annotate"},{"description":"extract a subgraph from an ontology","name":"ontol"},{"description":"Assign labels to IDs","name":"ontol/labeler"},{"description":"Retrieve IDs for labels","name":"ontol/identifier"},{"description":"Operations on Ontology Terms and Subsets","name":"ontology"},{"description":"OWL-level operations on an ontology","name":"owl/ontology"},{"description":"pairwise similarity between two entities","name":"pair/sim"},{"description":"Individual humans (including patients), or organisms","name":"individual"},{"description":"Usage of different relationship types","name":"relation/usage"},{"description":"Search for entities","name":"search"},{"description":"Operations related to sets of variants","name":"variation/set"},{"description":"Perform semantic similarity, ranking, and sufficiency scoring","name":"sim"},{"description":"Match patients with similar diseases and non-human genes based on their phenotypes","name":"mme"},{"description":"Get metadata","name":"metadata"}],"paths":{"/association/between/{subject}/{object}":{"get":{"description":"Given two entities (e.g. a particular gene and a particular disease), if these two entities\nare connected (directly or indirectly), then return the association objects describing\nthe connection.","operationId":"get_associations_between","parameters":[{"description":"number of rows","in":"query","name":"rows","schema":{"default":100,"type":"integer"}},{"description":"beginning row","in":"query","name":"start","schema":{"type":"integer"}},{"description":"Object id, e.g. ECO:0000501 (for IEA; Includes inferred by default) or a specific publication or other supporting object, e.g. ZFIN:ZDB-PUB-060503-2","in":"query","name":"evidence","schema":{"type":"string"}},{"description":"If true, excludes evidence objects in response","in":"query","name":"unselect_evidence","schema":{"default":false,"type":"boolean"}},{"description":"If true, excludes associations that involve IEAs (ECO:0000501)","in":"query","name":"exclude_automatic_assertions","schema":{"default":false,"type":"boolean"}},{"description":"If true, returns results in compact associations format","in":"query","name":"use_compact_associations","schema":{"default":false,"type":"boolean"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/AssociationResults"},"type":"array"}}},"description":"Success"}},"summary":"Returns associations connecting two entities","tags":["association"]},"parameters":[{"description":"Return associations pointing to this node, e.g. MP:0013765. Can also be a biological entity such as a gene","in":"path","name":"object","required":true,"schema":{"type":"string"}},{"description":"Return associations emanating from this node, e.g. MGI:1342287 (If ID is from an ontology then results would include inferred associations, by default)","in":"path","name":"subject","required":true,"schema":{"type":"string"}}]},"/association/find/{subject_category}":{"get":{"operationId":"get_association_by_subject_category_search","parameters":[{"description":"number of rows","in":"query","name":"rows","schema":{"default":100,"type":"integer"}},{"description":"beginning row","in":"query","name":"start","schema":{"type":"integer"}},{"description":"Object id, e.g. ECO:0000501 (for IEA; Includes inferred by default) or a specific publication or other supporting object, e.g. ZFIN:ZDB-PUB-060503-2","in":"query","name":"evidence","schema":{"type":"string"}},{"description":"If true, excludes evidence objects in response","in":"query","name":"unselect_evidence","schema":{"default":false,"type":"boolean"}},{"description":"If true, excludes associations that involve IEAs (ECO:0000501)","in":"query","name":"exclude_automatic_assertions","schema":{"default":false,"type":"boolean"}},{"description":"If true, returns results in compact associations format","in":"query","name":"use_compact_associations","schema":{"default":false,"type":"boolean"}},{"description":"Subject taxon ID, e.g. NCBITaxon:9606 (Includes inferred associations, by default)","in":"query","name":"subject_taxon","schema":{"type":"string"}},{"description":"Object taxon ID, e.g. NCBITaxon:10090 (Includes inferred associations, by default)","in":"query","name":"object_taxon","schema":{"type":"string"}},{"description":"Filter by relation CURIE, e.g. RO:0002200 (has_phenotype), RO:0002607 (is marker for), RO:HOM0000017 (orthologous to), etc.","in":"query","name":"relation","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/AssociationResults"},"type":"array"}}},"description":"Success"}},"summary":"Returns list of matching associations for a given subject category","tags":["association"]},"parameters":[{"description":"Category of entity at link Subject (source), e.g. gene, disease, phenotype","in":"path","name":"subject_category","required":true,"schema":{"type":"string"}}]},"/association/find/{subject_category}/{object_category}":{"get":{"operationId":"get_association_by_subject_and_object_category_search","parameters":[{"description":"number of rows","in":"query","name":"rows","schema":{"default":100,"type":"integer"}},{"description":"beginning row","in":"query","name":"start","schema":{"type":"integer"}},{"description":"Object id, e.g. ECO:0000501 (for IEA; Includes inferred by default) or a specific publication or other supporting object, e.g. ZFIN:ZDB-PUB-060503-2","in":"query","name":"evidence","schema":{"type":"string"}},{"description":"If true, excludes evidence objects in response","in":"query","name":"unselect_evidence","schema":{"default":false,"type":"boolean"}},{"description":"If true, excludes associations that involve IEAs (ECO:0000501)","in":"query","name":"exclude_automatic_assertions","schema":{"default":false,"type":"boolean"}},{"description":"If true, returns results in compact associations format","in":"query","name":"use_compact_associations","schema":{"default":false,"type":"boolean"}},{"description":"Subject CURIE","in":"query","name":"subject","schema":{"type":"string"}},{"description":"Object CURIE","in":"query","name":"object","schema":{"type":"string"}},{"description":"Subject taxon ID, e.g. NCBITaxon:9606 (Includes inferred associations, by default)","in":"query","name":"subject_taxon","schema":{"type":"string"}},{"description":"Object taxon ID, e.g. NCBITaxon:10090 (Includes inferred associations, by default)","in":"query","name":"object_taxon","schema":{"type":"string"}},{"description":"Filter by relation CURIE, e.g. RO:0002200 (has_phenotype), RO:0002607 (is marker for), RO:HOM0000017 (orthologous to), etc.","in":"query","name":"relation","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/AssociationResults"},"type":"array"}}},"description":"Success"}},"summary":"Returns list of matching associations between a given subject and object category","tags":["association"]},"parameters":[{"description":"Category of entity at link Object (target), e.g. gene, disease, phenotype","in":"path","name":"object_category","required":true,"schema":{"type":"string"}},{"description":"Category of entity at link Subject (source), e.g. gene, disease, phenotype","in":"path","name":"subject_category","required":true,"schema":{"type":"string"}}]},"/association/from/{subject}":{"get":{"operationId":"get_associations_from","parameters":[{"description":"number of rows","in":"query","name":"rows","schema":{"default":100,"type":"integer"}},{"description":"beginning row","in":"query","name":"start","schema":{"type":"integer"}},{"description":"Object id, e.g. ECO:0000501 (for IEA; Includes inferred by default) or a specific publication or other supporting object, e.g. ZFIN:ZDB-PUB-060503-2","in":"query","name":"evidence","schema":{"type":"string"}},{"description":"If true, excludes evidence objects in response","in":"query","name":"unselect_evidence","schema":{"default":false,"type":"boolean"}},{"description":"If true, excludes associations that involve IEAs (ECO:0000501)","in":"query","name":"exclude_automatic_assertions","schema":{"default":false,"type":"boolean"}},{"description":"If true, returns results in compact associations format","in":"query","name":"use_compact_associations","schema":{"default":false,"type":"boolean"}},{"description":"Object taxon ID, e.g. NCBITaxon:10090 (Includes inferred associations, by default)","in":"query","name":"object_taxon","schema":{"type":"string"}},{"description":"Filter by relation CURIE, e.g. RO:0002200 (has_phenotype), RO:0002607 (is marker for), RO:HOM0000017 (orthologous to), etc.","in":"query","name":"relation","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/AssociationResults"},"type":"array"}}},"description":"Success"}},"summary":"Returns list of matching associations starting from a given subject (source)","tags":["association"]},"parameters":[{"description":"Return associations emanating from this node, e.g. NCBIGene:84570, ZFIN:ZDB-GENE-050417-357 (If ID is from an ontology then results would include inferred associations, by default)","in":"path","name":"subject","required":true,"schema":{"type":"string"}}]},"/association/to/{object}":{"get":{"operationId":"get_associations_to","parameters":[{"description":"number of rows","in":"query","name":"rows","schema":{"default":100,"type":"integer"}},{"description":"beginning row","in":"query","name":"start","schema":{"type":"integer"}},{"description":"Object id, e.g. ECO:0000501 (for IEA; Includes inferred by default) or a specific publication or other supporting object, e.g. ZFIN:ZDB-PUB-060503-2","in":"query","name":"evidence","schema":{"type":"string"}},{"description":"If true, excludes evidence objects in response","in":"query","name":"unselect_evidence","schema":{"default":false,"type":"boolean"}},{"description":"If true, excludes associations that involve IEAs (ECO:0000501)","in":"query","name":"exclude_automatic_assertions","schema":{"default":false,"type":"boolean"}},{"description":"If true, returns results in compact associations format","in":"query","name":"use_compact_associations","schema":{"default":false,"type":"boolean"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/AssociationResults"},"type":"array"}}},"description":"Success"}},"summary":"Returns list of matching associations pointing to a given object (target)","tags":["association"]},"parameters":[{"description":"Return associations pointing to this node, e.g. specifying MP:0013765 will return all genes, variants, strains, etc. annotated with this term. Can also be a biological entity such as a gene","in":"path","name":"object","required":true,"schema":{"type":"string"}}]},"/association/type/{association_type}":{"get":{"operationId":"get_association_by_subject_and_assoc_type","parameters":[{"description":"number of rows","in":"query","name":"rows","schema":{"default":100,"type":"integer"}},{"description":"beginning row","in":"query","name":"start","schema":{"type":"integer"}},{"description":"Object id, e.g. ECO:0000501 (for IEA; Includes inferred by default) or a specific publication or other supporting object, e.g. ZFIN:ZDB-PUB-060503-2","in":"query","name":"evidence","schema":{"type":"string"}},{"description":"If true, excludes evidence objects in response","in":"query","name":"unselect_evidence","schema":{"default":false,"type":"boolean"}},{"description":"If true, excludes associations that involve IEAs (ECO:0000501)","in":"query","name":"exclude_automatic_assertions","schema":{"default":false,"type":"boolean"}},{"description":"If true, returns results in compact associations format","in":"query","name":"use_compact_associations","schema":{"default":false,"type":"boolean"}},{"description":"Subject CURIE","in":"query","name":"subject","schema":{"type":"string"}},{"description":"Object CURIE","in":"query","name":"object","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/AssociationResults"},"type":"array"}}},"description":"Success"}},"summary":"Returns list of matching associations of a given type","tags":["association"]},"parameters":[{"description":"Association type, eg gene_phenotype","in":"path","name":"association_type","required":true,"schema":{"type":"string"}}]},"/association/{id}":{"get":{"description":"An association connects, at a minimum, two things, designated subject and object,\nvia some relationship. Associations also include evidence, provenance etc.","operationId":"get_association_object","responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/AssociationResults"},"type":"array"}}},"description":"Success"}},"summary":"Returns the association with a given identifier","tags":["association"]},"parameters":[{"description":"identifier for an association, e.g. f5ba436c-f851-41b3-9d9d-bb2b5fc879d4","in":"path","name":"id","required":true,"schema":{"type":"string"}}]},"/bioentity/anatomy/{id}/genes":{"get":{"operationId":"get_anatomy_gene_associations","parameters":[{"description":"number of rows","in":"query","name":"rows","schema":{"default":100,"type":"integer"}},{"description":"beginning row","in":"query","name":"start","schema":{"type":"integer"}},{"description":"Enable faceting","in":"query","name":"facet","schema":{"default":false,"type":"boolean"}},{"description":"Fields to facet on","explode":true,"in":"query","name":"facet_fields","schema":{"items":{"type":"string"},"type":"array"}},{"description":"If true, excludes evidence objects in response","in":"query","name":"unselect_evidence","schema":{"default":false,"type":"boolean"}},{"description":"If true, excludes associations that involve IEAs (ECO:0000501)","in":"query","name":"exclude_automatic_assertions","schema":{"default":false,"type":"boolean"}},{"description":"If true, returns a distinct set of association.objects (typically ontology terms). This appears at the top level of the results payload","in":"query","name":"fetch_objects","schema":{"default":false,"type":"boolean"}},{"description":"If true, returns results in compact associations format","in":"query","name":"use_compact_associations","schema":{"default":false,"type":"boolean"}},{"description":"Map objects up (slim) to a higher level category. Value can be ontology class ID or subset ID","explode":true,"in":"query","name":"slim","schema":{"items":{"type":"string"},"type":"array"}},{"description":"Object id, e.g. ECO:0000501 (for IEA; Includes inferred by default) or a specific publication or other supporting object, e.g. ZFIN:ZDB-PUB-060503-2","in":"query","name":"evidence","schema":{"type":"string"}},{"description":"Set true to only include direct associations, and false to include inferred (via subclass or subclass|part of), default=False","in":"query","name":"direct","schema":{"default":false,"type":"boolean"}},{"description":"One or more taxon CURIE to filter associations by subject taxon; includes inferred associations by default","explode":true,"in":"query","name":"taxon","schema":{"items":{"type":"string"},"type":"array"}},{"description":"Set true to exclude inferred taxa","in":"query","name":"direct_taxon","schema":{"default":false,"type":"boolean"}},{"description":"A relation CURIE to filter associations","in":"query","name":"relation","schema":{"type":"string"}},{"description":"Sorting responses <field> <desc,asc>","in":"query","name":"sort","schema":{"type":"string"}},{"description":"Query string to filter documents","in":"query","name":"q","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssociationResults"}}},"description":"Success"}},"summary":"Returns genes associated with a given anatomy","tags":["bioentity"]},"parameters":[{"description":"CURIE identifier of anatomical entity, e.g. GO:0005634 (nucleus), UBERON:0002037 (cerebellum), CL:0000540 (neuron). Equivalent IDs can be used with same results","in":"path","name":"id","required":true,"schema":{"type":"string"}}]},"/bioentity/anatomy/{id}/genes/{taxid}":{"get":{"deprecated":true,"description":"For example, + NCBITaxon:10090 (mouse)","operationId":"get_anatomy_gene_by_taxon_associations","parameters":[{"description":"number of rows","in":"query","name":"rows","schema":{"default":100,"type":"integer"}},{"description":"beginning row","in":"query","name":"start","schema":{"type":"integer"}},{"description":"Enable faceting","in":"query","name":"facet","schema":{"default":false,"type":"boolean"}},{"description":"Fields to facet on","explode":true,"in":"query","name":"facet_fields","schema":{"items":{"type":"string"},"type":"array"}},{"description":"If true, excludes evidence objects in response","in":"query","name":"unselect_evidence","schema":{"default":false,"type":"boolean"}},{"description":"If true, excludes associations that involve IEAs (ECO:0000501)","in":"query","name":"exclude_automatic_assertions","schema":{"default":false,"type":"boolean"}},{"description":"If true, returns a distinct set of association.objects (typically ontology terms). This appears at the top level of the results payload","in":"query","name":"fetch_objects","schema":{"default":false,"type":"boolean"}},{"description":"If true, returns results in compact associations format","in":"query","name":"use_compact_associations","schema":{"default":false,"type":"boolean"}},{"description":"Map objects up (slim) to a higher level category. Value can be ontology class ID or subset ID","explode":true,"in":"query","name":"slim","schema":{"items":{"type":"string"},"type":"array"}},{"description":"Object id, e.g. ECO:0000501 (for IEA; Includes inferred by default) or a specific publication or other supporting object, e.g. ZFIN:ZDB-PUB-060503-2","in":"query","name":"evidence","schema":{"type":"string"}},{"description":"Set true to only include direct associations, and false to include inferred (via subclass or subclass|part of), default=False","in":"query","name":"direct","schema":{"default":false,"type":"boolean"}},{"description":"One or more taxon CURIE to filter associations by subject taxon; includes inferred associations by default","explode":true,"in":"query","name":"taxon","schema":{"items":{"type":"string"},"type":"array"}},{"description":"Set true to exclude inferred taxa","in":"query","name":"direct_taxon","schema":{"default":false,"type":"boolean"}},{"description":"A relation CURIE to filter associations","in":"query","name":"relation","schema":{"type":"string"}},{"description":"Sorting responses <field> <desc,asc>","in":"query","name":"sort","schema":{"type":"string"}},{"description":"Query string to filter documents","in":"query","name":"q","schema":{"type":"string"}}],"responses":{"200":{"description":"Success"}},"summary":"Returns gene IDs for all genes associated with a given anatomy, filtered by taxon","tags":["bioentity"]},"parameters":[{"description":"Species or high level taxon grouping, e.g NCBITaxon:10090 (Mus musculus)","in":"path","name":"taxid","required":true,"schema":{"type":"string"}},{"description":"CURIE identifier of anatomical entity, e.g. GO:0005634 (nucleus), UBERON:0002037 (cerebellum), CL:0000540 (neuron). Equivalent IDs can be used with same results","in":"path","name":"id","required":true,"schema":{"type":"string"}}]},"/bioentity/case/{id}/diseases":{"get":{"operationId":"get_case_disease_associations","parameters":[{"description":"number of rows","in":"query","name":"rows","schema":{"default":100,"type":"integer"}},{"description":"beginning row","in":"query","name":"start","schema":{"type":"integer"}},{"description":"Enable faceting","in":"query","name":"facet","schema":{"default":false,"type":"boolean"}},{"description":"Fields to facet on","explode":true,"in":"query","name":"facet_fields","schema":{"items":{"type":"string"},"type":"array"}},{"description":"If true, excludes evidence objects in response","in":"query","name":"unselect_evidence","schema":{"default":false,"type":"boolean"}},{"description":"If true, excludes associations that involve IEAs (ECO:0000501)","in":"query","name":"exclude_automatic_assertions","schema":{"default":false,"type":"boolean"}},{"description":"If true, returns a distinct set of association.objects (typically ontology terms). This appears at the top level of the results payload","in":"query","name":"fetch_objects","schema":{"default":false,"type":"boolean"}},{"description":"If true, returns results in compact associations format","in":"query","name":"use_compact_associations","schema":{"default":false,"type":"boolean"}},{"description":"Map objects up (slim) to a higher level category. Value can be ontology class ID or subset ID","explode":true,"in":"query","name":"slim","schema":{"items":{"type":"string"},"type":"array"}},{"description":"Object id, e.g. ECO:0000501 (for IEA; Includes inferred by default) or a specific publication or other supporting object, e.g. ZFIN:ZDB-PUB-060503-2","in":"query","name":"evidence","schema":{"type":"string"}},{"description":"Set true to only include direct associations, and false to include inferred (via subclass or subclass|part of), default=False","in":"query","name":"direct","schema":{"default":false,"type":"boolean"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssociationResults"}}},"description":"Success"}},"summary":"Returns diseases associated with a case","tags":["bioentity"]},"parameters":[{"description":"CURIE identifier for a case","in":"path","name":"id","required":true,"schema":{"type":"string"}}]},"/bioentity/case/{id}/genotypes":{"get":{"operationId":"get_case_genotype_associations","parameters":[{"description":"number of rows","in":"query","name":"rows","schema":{"default":100,"type":"integer"}},{"description":"beginning row","in":"query","name":"start","schema":{"type":"integer"}},{"description":"Enable faceting","in":"query","name":"facet","schema":{"default":false,"type":"boolean"}},{"description":"Fields to facet on","explode":true,"in":"query","name":"facet_fields","schema":{"items":{"type":"string"},"type":"array"}},{"description":"If true, excludes evidence objects in response","in":"query","name":"unselect_evidence","schema":{"default":false,"type":"boolean"}},{"description":"If true, excludes associations that involve IEAs (ECO:0000501)","in":"query","name":"exclude_automatic_assertions","schema":{"default":false,"type":"boolean"}},{"description":"If true, returns a distinct set of association.objects (typically ontology terms). This appears at the top level of the results payload","in":"query","name":"fetch_objects","schema":{"default":false,"type":"boolean"}},{"description":"If true, returns results in compact associations format","in":"query","name":"use_compact_associations","schema":{"default":false,"type":"boolean"}},{"description":"Map objects up (slim) to a higher level category. Value can be ontology class ID or subset ID","explode":true,"in":"query","name":"slim","schema":{"items":{"type":"string"},"type":"array"}},{"description":"Object id, e.g. ECO:0000501 (for IEA; Includes inferred by default) or a specific publication or other supporting object, e.g. ZFIN:ZDB-PUB-060503-2","in":"query","name":"evidence","schema":{"type":"string"}},{"description":"Set true to only include direct associations, and false to include inferred (via subclass or subclass|part of), default=False","in":"query","name":"direct","schema":{"default":false,"type":"boolean"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssociationResults"}}},"description":"Success"}},"summary":"Returns genotypes associated with a case","tags":["bioentity"]},"parameters":[{"description":"CURIE identifier for a case","in":"path","name":"id","required":true,"schema":{"type":"string"}}]},"/bioentity/case/{id}/models":{"get":{"operationId":"get_case_model_associations","parameters":[{"description":"number of rows","in":"query","name":"rows","schema":{"default":100,"type":"integer"}},{"description":"beginning row","in":"query","name":"start","schema":{"type":"integer"}},{"description":"Enable faceting","in":"query","name":"facet","schema":{"default":false,"type":"boolean"}},{"description":"Fields to facet on","explode":true,"in":"query","name":"facet_fields","schema":{"items":{"type":"string"},"type":"array"}},{"description":"If true, excludes evidence objects in response","in":"query","name":"unselect_evidence","schema":{"default":false,"type":"boolean"}},{"description":"If true, excludes associations that involve IEAs (ECO:0000501)","in":"query","name":"exclude_automatic_assertions","schema":{"default":false,"type":"boolean"}},{"description":"If true, returns a distinct set of association.objects (typically ontology terms). This appears at the top level of the results payload","in":"query","name":"fetch_objects","schema":{"default":false,"type":"boolean"}},{"description":"If true, returns results in compact associations format","in":"query","name":"use_compact_associations","schema":{"default":false,"type":"boolean"}},{"description":"Map objects up (slim) to a higher level category. Value can be ontology class ID or subset ID","explode":true,"in":"query","name":"slim","schema":{"items":{"type":"string"},"type":"array"}},{"description":"Object id, e.g. ECO:0000501 (for IEA; Includes inferred by default) or a specific publication or other supporting object, e.g. ZFIN:ZDB-PUB-060503-2","in":"query","name":"evidence","schema":{"type":"string"}},{"description":"Set true to only include direct associations, and false to include inferred (via subclass or subclass|part of), default=False","in":"query","name":"direct","schema":{"default":false,"type":"boolean"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssociationResults"}}},"description":"Success"}},"summary":"Returns models associated with a case","tags":["bioentity"]},"parameters":[{"description":"CURIE identifier for a case","in":"path","name":"id","required":true,"schema":{"type":"string"}}]},"/bioentity/case/{id}/phenotypes":{"get":{"operationId":"get_case_phenotype_associations","parameters":[{"description":"number of rows","in":"query","name":"rows","schema":{"default":100,"type":"integer"}},{"description":"beginning row","in":"query","name":"start","schema":{"type":"integer"}},{"description":"Enable faceting","in":"query","name":"facet","schema":{"default":false,"type":"boolean"}},{"description":"Fields to facet on","explode":true,"in":"query","name":"facet_fields","schema":{"items":{"type":"string"},"type":"array"}},{"description":"If true, excludes evidence objects in response","in":"query","name":"unselect_evidence","schema":{"default":false,"type":"boolean"}},{"description":"If true, excludes associations that involve IEAs (ECO:0000501)","in":"query","name":"exclude_automatic_assertions","schema":{"default":false,"type":"boolean"}},{"description":"If true, returns a distinct set of association.objects (typically ontology terms). This appears at the top level of the results payload","in":"query","name":"fetch_objects","schema":{"default":false,"type":"boolean"}},{"description":"If true, returns results in compact associations format","in":"query","name":"use_compact_associations","schema":{"default":false,"type":"boolean"}},{"description":"Map objects up (slim) to a higher level category. Value can be ontology class ID or subset ID","explode":true,"in":"query","name":"slim","schema":{"items":{"type":"string"},"type":"array"}},{"description":"Object id, e.g. ECO:0000501 (for IEA; Includes inferred by default) or a specific publication or other supporting object, e.g. ZFIN:ZDB-PUB-060503-2","in":"query","name":"evidence","schema":{"type":"string"}},{"description":"Set true to only include direct associations, and false to include inferred (via subclass or subclass|part of), default=False","in":"query","name":"direct","schema":{"default":false,"type":"boolean"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssociationResults"}}},"description":"Success"}},"summary":"Returns phenotypes associated with a case","tags":["bioentity"]},"parameters":[{"description":"CURIE identifier for a case","in":"path","name":"id","required":true,"schema":{"type":"string"}}]},"/bioentity/case/{id}/variants":{"get":{"operationId":"get_case_variant_associations","parameters":[{"description":"number of rows","in":"query","name":"rows","schema":{"default":100,"type":"integer"}},{"description":"beginning row","in":"query","name":"start","schema":{"type":"integer"}},{"description":"Enable faceting","in":"query","name":"facet","schema":{"default":false,"type":"boolean"}},{"description":"Fields to facet on","explode":true,"in":"query","name":"facet_fields","schema":{"items":{"type":"string"},"type":"array"}},{"description":"If true, excludes evidence objects in response","in":"query","name":"unselect_evidence","schema":{"default":false,"type":"boolean"}},{"description":"If true, excludes associations that involve IEAs (ECO:0000501)","in":"query","name":"exclude_automatic_assertions","schema":{"default":false,"type":"boolean"}},{"description":"If true, returns a distinct set of association.objects (typically ontology terms). This appears at the top level of the results payload","in":"query","name":"fetch_objects","schema":{"default":false,"type":"boolean"}},{"description":"If true, returns results in compact associations format","in":"query","name":"use_compact_associations","schema":{"default":false,"type":"boolean"}},{"description":"Map objects up (slim) to a higher level category. Value can be ontology class ID or subset ID","explode":true,"in":"query","name":"slim","schema":{"items":{"type":"string"},"type":"array"}},{"description":"Object id, e.g. ECO:0000501 (for IEA; Includes inferred by default) or a specific publication or other supporting object, e.g. ZFIN:ZDB-PUB-060503-2","in":"query","name":"evidence","schema":{"type":"string"}},{"description":"Set true to only include direct associations, and false to include inferred (via subclass or subclass|part of), default=False","in":"query","name":"direct","schema":{"default":false,"type":"boolean"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssociationResults"}}},"description":"Success"}},"summary":"Returns variants associated with a case","tags":["bioentity"]},"parameters":[{"description":"CURIE identifier for a case","in":"path","name":"id","required":true,"schema":{"type":"string"}}]},"/bioentity/disease/{id}/cases":{"get":{"operationId":"get_disease_case_associations","parameters":[{"description":"number of rows","in":"query","name":"rows","schema":{"default":100,"type":"integer"}},{"description":"beginning row","in":"query","name":"start","schema":{"type":"integer"}},{"description":"Enable faceting","in":"query","name":"facet","schema":{"default":false,"type":"boolean"}},{"description":"Fields to facet on","explode":true,"in":"query","name":"facet_fields","schema":{"items":{"type":"string"},"type":"array"}},{"description":"If true, excludes evidence objects in response","in":"query","name":"unselect_evidence","schema":{"default":false,"type":"boolean"}},{"description":"If true, excludes associations that involve IEAs (ECO:0000501)","in":"query","name":"exclude_automatic_assertions","schema":{"default":false,"type":"boolean"}},{"description":"If true, returns a distinct set of association.objects (typically ontology terms). This appears at the top level of the results payload","in":"query","name":"fetch_objects","schema":{"default":false,"type":"boolean"}},{"description":"If true, returns results in compact associations format","in":"query","name":"use_compact_associations","schema":{"default":false,"type":"boolean"}},{"description":"Map objects up (slim) to a higher level category. Value can be ontology class ID or subset ID","explode":true,"in":"query","name":"slim","schema":{"items":{"type":"string"},"type":"array"}},{"description":"Object id, e.g. ECO:0000501 (for IEA; Includes inferred by default) or a specific publication or other supporting object, e.g. ZFIN:ZDB-PUB-060503-2","in":"query","name":"evidence","schema":{"type":"string"}},{"description":"Set true to only include direct associations, and false to include inferred (via subclass or subclass|part of), default=False","in":"query","name":"direct","schema":{"default":false,"type":"boolean"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssociationResults"}}},"description":"Success"}},"summary":"Returns cases associated with a disease","tags":["bioentity"]},"parameters":[{"description":"CURIE identifier of disease, e.g. MONDO:0007103, MONDO:0010918. Equivalent IDs can be used with same results","in":"path","name":"id","required":true,"schema":{"type":"string"}}]},"/bioentity/disease/{id}/genes":{"get":{"operationId":"get_disease_gene_associations","parameters":[{"description":"number of rows","in":"query","name":"rows","schema":{"default":100,"type":"integer"}},{"description":"beginning row","in":"query","name":"start","schema":{"type":"integer"}},{"description":"Enable faceting","in":"query","name":"facet","schema":{"default":false,"type":"boolean"}},{"description":"Fields to facet on","explode":true,"in":"query","name":"facet_fields","schema":{"items":{"type":"string"},"type":"array"}},{"description":"If true, excludes evidence objects in response","in":"query","name":"unselect_evidence","schema":{"default":false,"type":"boolean"}},{"description":"If true, excludes associations that involve IEAs (ECO:0000501)","in":"query","name":"exclude_automatic_assertions","schema":{"default":false,"type":"boolean"}},{"description":"If true, returns a distinct set of association.objects (typically ontology terms). This appears at the top level of the results payload","in":"query","name":"fetch_objects","schema":{"default":false,"type":"boolean"}},{"description":"If true, returns results in compact associations format","in":"query","name":"use_compact_associations","schema":{"default":false,"type":"boolean"}},{"description":"Map objects up (slim) to a higher level category. Value can be ontology class ID or subset ID","explode":true,"in":"query","name":"slim","schema":{"items":{"type":"string"},"type":"array"}},{"description":"Object id, e.g. ECO:0000501 (for IEA; Includes inferred by default) or a specific publication or other supporting object, e.g. ZFIN:ZDB-PUB-060503-2","in":"query","name":"evidence","schema":{"type":"string"}},{"description":"Set true to only include direct associations, and false to include inferred (via subclass or subclass|part of), default=False","in":"query","name":"direct","schema":{"default":false,"type":"boolean"}},{"description":"One or more taxon CURIE to filter associations by subject taxon; includes inferred associations by default","explode":true,"in":"query","name":"taxon","schema":{"items":{"type":"string"},"type":"array"}},{"description":"Set true to exclude inferred taxa","in":"query","name":"direct_taxon","schema":{"default":false,"type":"boolean"}},{"description":"A relation CURIE to filter associations","in":"query","name":"relation","schema":{"type":"string"}},{"description":"Sorting responses <field> <desc,asc>","in":"query","name":"sort","schema":{"type":"string"}},{"description":"Query string to filter documents","in":"query","name":"q","schema":{"type":"string"}},{"description":"Additional filters: causal, non_causal, both","explode":true,"in":"query","name":"association_type","schema":{"default":"both","enum":["causal","non_causal","both"],"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssociationResults"}}},"description":"Success"}},"summary":"Returns genes associated with a disease","tags":["bioentity"]},"parameters":[{"description":"CURIE identifier of disease, e.g. OMIM:605543, DOID:678. Equivalent IDs can be used with same results","in":"path","name":"id","required":true,"schema":{"type":"string"}}]},"/bioentity/disease/{id}/genotypes":{"get":{"operationId":"get_disease_genotype_associations","parameters":[{"description":"number of rows","in":"query","name":"rows","schema":{"default":100,"type":"integer"}},{"description":"beginning row","in":"query","name":"start","schema":{"type":"integer"}},{"description":"Enable faceting","in":"query","name":"facet","schema":{"default":false,"type":"boolean"}},{"description":"Fields to facet on","explode":true,"in":"query","name":"facet_fields","schema":{"items":{"type":"string"},"type":"array"}},{"description":"If true, excludes evidence objects in response","in":"query","name":"unselect_evidence","schema":{"default":false,"type":"boolean"}},{"description":"If true, excludes associations that involve IEAs (ECO:0000501)","in":"query","name":"exclude_automatic_assertions","schema":{"default":false,"type":"boolean"}},{"description":"If true, returns a distinct set of association.objects (typically ontology terms). This appears at the top level of the results payload","in":"query","name":"fetch_objects","schema":{"default":false,"type":"boolean"}},{"description":"If true, returns results in compact associations format","in":"query","name":"use_compact_associations","schema":{"default":false,"type":"boolean"}},{"description":"Map objects up (slim) to a higher level category. Value can be ontology class ID or subset ID","explode":true,"in":"query","name":"slim","schema":{"items":{"type":"string"},"type":"array"}},{"description":"Object id, e.g. ECO:0000501 (for IEA; Includes inferred by default) or a specific publication or other supporting object, e.g. ZFIN:ZDB-PUB-060503-2","in":"query","name":"evidence","schema":{"type":"string"}},{"description":"Set true to only include direct associations, and false to include inferred (via subclass or subclass|part of), default=False","in":"query","name":"direct","schema":{"default":false,"type":"boolean"}},{"description":"One or more taxon CURIE to filter associations by subject taxon; includes inferred associations by default","explode":true,"in":"query","name":"taxon","schema":{"items":{"type":"string"},"type":"array"}},{"description":"Set true to exclude inferred taxa","in":"query","name":"direct_taxon","schema":{"default":false,"type":"boolean"}},{"description":"A relation CURIE to filter associations","in":"query","name":"relation","schema":{"type":"string"}},{"description":"Sorting responses <field> <desc,asc>","in":"query","name":"sort","schema":{"type":"string"}},{"description":"Query string to filter documents","in":"query","name":"q","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssociationResults"}}},"description":"Success"}},"summary":"Returns genotypes associated with a disease","tags":["bioentity"]},"parameters":[{"description":"CURIE identifier of disease, e.g. Orphanet:399158, DOID:0080008. Equivalent IDs can be used with same results","in":"path","name":"id","required":true,"schema":{"type":"string"}}]},"/bioentity/disease/{id}/models":{"get":{"description":"In the association object returned, the subject will be the disease, and the object will be the model.\nThe model may be a gene or genetic element.\n\nIf the query disease is a general class, the association subject may be to a specific disease.\n\nIn some cases the association will be *direct*, for example if a paper asserts a genotype is a model of a disease.\n\nIn other cases, the association will be *indirect*, for\nexample, chaining over orthology. In these cases the chain\nwill be reflected in the *evidence graph*\n\n* TODO: provide hook into owlsim for dynamic computation of models by similarity","operationId":"get_disease_model_associations","parameters":[{"description":"number of rows","in":"query","name":"rows","schema":{"default":100,"type":"integer"}},{"description":"beginning row","in":"query","name":"start","schema":{"type":"integer"}},{"description":"Enable faceting","in":"query","name":"facet","schema":{"default":false,"type":"boolean"}},{"description":"Fields to facet on","explode":true,"in":"query","name":"facet_fields","schema":{"items":{"type":"string"},"type":"array"}},{"description":"If true, excludes evidence objects in response","in":"query","name":"unselect_evidence","schema":{"default":false,"type":"boolean"}},{"description":"If true, excludes associations that involve IEAs (ECO:0000501)","in":"query","name":"exclude_automatic_assertions","schema":{"default":false,"type":"boolean"}},{"description":"If true, returns a distinct set of association.objects (typically ontology terms). This appears at the top level of the results payload","in":"query","name":"fetch_objects","schema":{"default":false,"type":"boolean"}},{"description":"If true, returns results in compact associations format","in":"query","name":"use_compact_associations","schema":{"default":false,"type":"boolean"}},{"description":"Map objects up (slim) to a higher level category. Value can be ontology class ID or subset ID","explode":true,"in":"query","name":"slim","schema":{"items":{"type":"string"},"type":"array"}},{"description":"Object id, e.g. ECO:0000501 (for IEA; Includes inferred by default) or a specific publication or other supporting object, e.g. ZFIN:ZDB-PUB-060503-2","in":"query","name":"evidence","schema":{"type":"string"}},{"description":"Set true to only include direct associations, and false to include inferred (via subclass or subclass|part of), default=False","in":"query","name":"direct","schema":{"default":false,"type":"boolean"}},{"description":"One or more taxon CURIE to filter associations by subject taxon; includes inferred associations by default","explode":true,"in":"query","name":"taxon","schema":{"items":{"type":"string"},"type":"array"}},{"description":"Set true to exclude inferred taxa","in":"query","name":"direct_taxon","schema":{"default":false,"type":"boolean"}},{"description":"A relation CURIE to filter associations","in":"query","name":"relation","schema":{"type":"string"}},{"description":"Sorting responses <field> <desc,asc>","in":"query","name":"sort","schema":{"type":"string"}},{"description":"Query string to filter documents","in":"query","name":"q","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssociationResults"}}},"description":"Success"}},"summary":"Returns associations to models of the disease","tags":["bioentity"]},"parameters":[{"description":"CURIE identifier of disease, e.g. OMIM:605543, DOID:678. Equivalent IDs can be used with same results","in":"path","name":"id","required":true,"schema":{"type":"string"}}]},"/bioentity/disease/{id}/models/{taxon}":{"get":{"deprecated":true,"description":"See /disease/<id>/models route for full details","operationId":"get_disease_model_taxon_associations","parameters":[{"description":"number of rows","in":"query","name":"rows","schema":{"default":100,"type":"integer"}},{"description":"beginning row","in":"query","name":"start","schema":{"type":"integer"}},{"description":"Enable faceting","in":"query","name":"facet","schema":{"default":false,"type":"boolean"}},{"description":"Fields to facet on","explode":true,"in":"query","name":"facet_fields","schema":{"items":{"type":"string"},"type":"array"}},{"description":"If true, excludes evidence objects in response","in":"query","name":"unselect_evidence","schema":{"default":false,"type":"boolean"}},{"description":"If true, excludes associations that involve IEAs (ECO:0000501)","in":"query","name":"exclude_automatic_assertions","schema":{"default":false,"type":"boolean"}},{"description":"If true, returns a distinct set of association.objects (typically ontology terms). This appears at the top level of the results payload","in":"query","name":"fetch_objects","schema":{"default":false,"type":"boolean"}},{"description":"If true, returns results in compact associations format","in":"query","name":"use_compact_associations","schema":{"default":false,"type":"boolean"}},{"description":"Map objects up (slim) to a higher level category. Value can be ontology class ID or subset ID","explode":true,"in":"query","name":"slim","schema":{"items":{"type":"string"},"type":"array"}},{"description":"Object id, e.g. ECO:0000501 (for IEA; Includes inferred by default) or a specific publication or other supporting object, e.g. ZFIN:ZDB-PUB-060503-2","in":"query","name":"evidence","schema":{"type":"string"}},{"description":"Set true to only include direct associations, and false to include inferred (via subclass or subclass|part of), default=False","in":"query","name":"direct","schema":{"default":false,"type":"boolean"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssociationResults"}}},"description":"Success"}},"summary":"Returns associations to models of the disease constrained by taxon","tags":["bioentity"]},"parameters":[{"description":"CURIE of organism taxonomy class to constrain models, e.g NCBITaxon:10090 (M. musculus).\n\n Higher level taxa may be used","in":"path","name":"taxon","required":true,"schema":{"type":"string"}},{"description":"CURIE identifier of disease, e.g. OMIM:605543, DOID:678. Equivalent IDs can be used with same results","in":"path","name":"id","required":true,"schema":{"type":"string"}}]},"/bioentity/disease/{id}/pathways":{"get":{"operationId":"get_disease_pathway_associations","parameters":[{"description":"number of rows","in":"query","name":"rows","schema":{"default":100,"type":"integer"}},{"description":"beginning row","in":"query","name":"start","schema":{"type":"integer"}},{"description":"Enable faceting","in":"query","name":"facet","schema":{"default":false,"type":"boolean"}},{"description":"Fields to facet on","explode":true,"in":"query","name":"facet_fields","schema":{"items":{"type":"string"},"type":"array"}},{"description":"If true, excludes evidence objects in response","in":"query","name":"unselect_evidence","schema":{"default":false,"type":"boolean"}},{"description":"If true, excludes associations that involve IEAs (ECO:0000501)","in":"query","name":"exclude_automatic_assertions","schema":{"default":false,"type":"boolean"}},{"description":"If true, returns a distinct set of association.objects (typically ontology terms). This appears at the top level of the results payload","in":"query","name":"fetch_objects","schema":{"default":false,"type":"boolean"}},{"description":"If true, returns results in compact associations format","in":"query","name":"use_compact_associations","schema":{"default":false,"type":"boolean"}},{"description":"Map objects up (slim) to a higher level category. Value can be ontology class ID or subset ID","explode":true,"in":"query","name":"slim","schema":{"items":{"type":"string"},"type":"array"}},{"description":"Object id, e.g. ECO:0000501 (for IEA; Includes inferred by default) or a specific publication or other supporting object, e.g. ZFIN:ZDB-PUB-060503-2","in":"query","name":"evidence","schema":{"type":"string"}},{"description":"Set true to only include direct associations, and false to include inferred (via subclass or subclass|part of), default=False","in":"query","name":"direct","schema":{"default":false,"type":"boolean"}},{"description":"One or more taxon CURIE to filter associations by subject taxon; includes inferred associations by default","explode":true,"in":"query","name":"taxon","schema":{"items":{"type":"string"},"type":"array"}},{"description":"Set true to exclude inferred taxa","in":"query","name":"direct_taxon","schema":{"default":false,"type":"boolean"}},{"description":"A relation CURIE to filter associations","in":"query","name":"relation","schema":{"type":"string"}},{"description":"Sorting responses <field> <desc,asc>","in":"query","name":"sort","schema":{"type":"string"}},{"description":"Query string to filter documents","in":"query","name":"q","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssociationResults"}}},"description":"Success"}},"summary":"Returns pathways associated with a disease","tags":["bioentity"]},"parameters":[{"description":"CURIE identifier of disease, e.g. DOID:4450. Equivalent IDs can be used with same results","in":"path","name":"id","required":true,"schema":{"type":"string"}}]},"/bioentity/disease/{id}/phenotypes":{