Skip to main content
Glama

OLS MCP Server

by seandavi
15
  • Apple
  • Linux
openapi.json116 kB
{"openapi":"3.0.1","info":{"title":"OLS Service","description":"REST API for OLS. Please see <a href='https://www.ebi.ac.uk/ols4/defined-response-fields' target='_blank'> this page</a> for defined response field in OLS.","termsOfService":"https://www.ebi.ac.uk/about/terms-of-use/","license":{"name":"CC0 1.0 Universal (CC0 1.0) Public Domain Dedication","url":"https://creativecommons.org/publicdomain/zero/1.0/"},"version":"3.0"},"servers":[{"url":"/ols4"}],"tags":[{"name":"V2 LLM Controller"},{"name":"Individual Controller","description":"NOTE: For IRI parameters, the value must be URL encoded. For example, the IRI http://purl.obolibrary.org/obo/IAO_0000124 should be encoded as http%3A%252F%2Fpurl.obolibrary.org%2Fobo%2FIAO_0000124."},{"name":"Select Controller"},{"name":"V2 Stats Controller","description":"This endpoint provides statistics about the current state of the ontology index. It includes the number of ontologies, classes, individuals and properties indexed, and the last time the index was modified."},{"name":"V2 Individual Controller","description":"This endpoint provides access to individuals information."},{"name":"Property Controller","description":"NOTE: For IRI parameters, the value must be URL encoded. For example, the IRI http://purl.obolibrary.org/obo/DUO_0000041 should be encoded as http%3A%2F%2Fpurl.obolibrary.org%2Fobo%2FDUO_0000041."},{"name":"V2 Property Controller","description":"This endpoint provides access to property information."},{"name":"Ontology Individual Controller","description":"NOTE: For IRI parameters, the value must be URL encoded. For example, the IRI http://purl.obolibrary.org/obo/IAO_0000103 should be encoded as http%3A%2F%2Fpurl.obolibrary.org%2Fobo%2FIAO_0000103."},{"name":"Ontology Controller"},{"name":"Ontology Property Controller","description":"NOTE: For IRI parameters, the value must be URL encoded. For example, the IRI http://purl.obolibrary.org/obo/DUO_0000041 should be encoded as http%3A%2F%2Fpurl.obolibrary.org%2Fobo%2FDUO_0000041."},{"name":"Search Controller"},{"name":"V2 Ontology Controller","description":"This endpoint provides access to ontology information."},{"name":"Terms Controller","description":"NOTE: For IRI parameters, the value must be URL encoded. For example, the IRI http://purl.obolibrary.org/obo/DUO_0000017 should be encoded as http%3A%2F%2Fpurl.obolibrary.org%2Fobo%2FDUO_0000017."},{"name":"V2 Entity Controller","description":"This endpoint provides access to entity information."},{"name":"Ontology Term Controller","description":"NOTE: For IRI parameters, the value must be URL encoded. For example, the IRI http://purl.obolibrary.org/obo/DUO_0000017 should be encoded as http%3A%2F%2Fpurl.obolibrary.org%2Fobo%2FDUO_0000017."},{"name":"Suggest Controller"},{"name":"V2 Class Controller","description":"This endpoint provides access to class information. \n\n**Additionally**, if you want to retrieve detailed information about class synonyms then you need to parse the response using the `synonymProperty` field. \n\nFor each element of the synonymProperty array you can then find the detailed information about each synonym type within the response as each synonym type is a separate object. \n\nFor further details about the meaning of different synonym types please refer to this link: [Synonym Documentation](https://ontology-development-kit.readthedocs.io/en/latest/Synonyms.html). \n\n### Example \n\nFor example, for `Lactose Intolerance` class we have following `synonymProperty`: \n\n```json\n\"synonymProperty\": [ \n \"http://www.geneontology.org/formats/oboInOwl#hasExactSynonym\", \n \"http://www.geneontology.org/formats/oboInOwl#hasRelatedSynonym\" \n]\n``` \n\nand then for each of the elements such as ExactSynonym we have following separate object within the same json response: \n\n```json\n\"http://www.geneontology.org/formats/oboInOwl#hasExactSynonym\" : [ {\n \"type\" : [ \"reification\" ],\n \"value\" : \"LM - lactose malabsorption\",\n \"axioms\" : [ {\n \"http://www.geneontology.org/formats/oboInOwl#hasDbXref\" : \"DOID:10604\"\n } ]\n }, {\n \"type\" : [ \"reification\" ],\n \"value\" : \"lactose intolerance\",\n \"axioms\" : [ {\n \"http://www.w3.org/2000/01/rdf-schema#comment\" : \"preferred label from MONDO\"\n }, {\n \"http://www.geneontology.org/formats/oboInOwl#hasDbXref\" : [ \"DOID:10604\", \"MONDO:ambiguous\", \"NCIT:C3154\", \"icd11.foundation:1026224967\" ]\n } ]\n }, {\n \"type\" : [ \"reification\" ],\n \"value\" : \"lactose intolerance (disease)\",\n \"axioms\" : [ {\n \"http://www.geneontology.org/formats/oboInOwl#hasDbXref\" : [ \"MONDO:0009116\", \"https://orcid.org/0000-0002-6601-2165\" ]\n } ]\n } ]\n```"}],"paths":{"/api/v2/classes/llm_embedding":{"post":{"tags":["V2 LLM Controller"],"operationId":"searchClassesByVector","parameters":[{"name":"lang","in":"query","required":false,"schema":{"type":"string","default":"en"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"vector":{"type":"array","items":{"type":"number","format":"double"}},"pageable":{"$ref":"#/components/schemas/Pageable"}}}}},"required":true},"responses":{"404":{"description":"Not Found"},"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V2PagedResponseV2Entity"}}}}}}},"/api/v2/stats":{"get":{"tags":["V2 Stats Controller"],"operationId":"getStatistics","responses":{"404":{"description":"Not Found"},"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V2Statistics"}},"application/hal+json":{"schema":{"$ref":"#/components/schemas/V2Statistics"}}}}}}},"/api/v2/properties":{"get":{"tags":["V2 Property Controller"],"operationId":"getProperties","parameters":[{"name":"pageable","in":"query","description":"Specify the size of the result you want to get in the output","required":true,"schema":{"$ref":"#/components/schemas/Pageable"},"example":{"page":0,"size":20}},{"name":"lang","in":"query","required":false,"schema":{"type":"string","default":"en"}},{"name":"search","in":"query","description":"This parameter specify the search query text.","required":false,"schema":{"type":"string"},"example":"definition"},{"name":"searchFields","in":"query","description":"This parameter is a white space separated list of fields to search in. The fields are weighted equally. The fields are defined in the schema. The default fields are label and definition. The fields weights can be boosted by appending a caret ^ and a positive integer to the field name. For example, label^3 synonyms^2 description^1 logical_definition^1","required":false,"schema":{"type":"string"},"example":"label^100 description"},{"name":"boostFields","in":"query","description":"This parameter is a white space separated list of fields appended with a caret to boost in search. The default fields are type, is_defining_ontology, label, curie, shortForm and synonym . The fields weights can be boosted by appending a caret ^ and a positive integer to the field name. ","required":false,"schema":{"type":"string"},"example":"label^100 curie^50"},{"name":"exactMatch","in":"query","description":"As the name suggests its a boolean parameter to specify if search should be exact match or not.The default value is false","required":false,"schema":{"type":"boolean","default":false}},{"name":"includeObsoleteEntities","in":"query","description":"A boolean parameter to specify if obsolete entities should be included or not. Default value is false.","required":false,"schema":{"type":"boolean","default":false}},{"name":"searchProperties","in":"query","description":"Specify any other search field here which are not specified by searchFields or boostFields.","required":true,"schema":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}},"example":{}}],"responses":{"404":{"description":"Not Found"},"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V2PagedAndFacetedResponseV2Entity"}}}}}}},"/api/v2/ontologies":{"get":{"tags":["V2 Ontology Controller"],"operationId":"getOntologies","parameters":[{"name":"pageable","in":"query","description":"Specify the size of the result you want to get in the output","required":true,"schema":{"$ref":"#/components/schemas/Pageable"},"example":{"page":0,"size":20}},{"name":"lang","in":"query","required":false,"schema":{"type":"string","default":"en"}},{"name":"search","in":"query","description":"This parameter specify the search query text.","required":false,"schema":{"type":"string"},"example":"efo"},{"name":"searchFields","in":"query","description":"This parameter is a white space separated list of fields to search in. The fields are weighted equally. The fields are defined in the schema. The default fields are label, ontologyId and definition. The fields weights can be boosted by appending a caret ^ and a positive integer to the field name. For example, label^3 synonyms^2 description^1 logical_definition^1","required":false,"schema":{"type":"string"},"example":"ontologyId"},{"name":"boostFields","in":"query","description":"This parameter is a white space separated list of fields appended with a caret to boost in search. The default fields are type, is_defining_ontology, label, curie, shortForm and synonym . The fields weights can be boosted by appending a caret ^ and a positive integer to the field name. ","required":false,"schema":{"type":"string"},"example":"label^100 curie^50"},{"name":"exactMatch","in":"query","description":"As the name suggests its a boolean parameter to specify if search should be exact match or not.The default value is false","required":false,"schema":{"type":"boolean","default":false}},{"name":"includeObsoleteEntities","in":"query","description":"A boolean parameter to specify if obsolete entities should be included or not. Default value is false.","required":false,"schema":{"type":"boolean","default":false}},{"name":"searchProperties","in":"query","description":"Specify any other search field here which are not specified by searchFields or boostFields.","required":true,"schema":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}},"example":{}}],"responses":{"404":{"description":"Not Found"},"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V2PagedAndFacetedResponseV2Entity"}}}}}}},"/api/v2/ontologies/{onto}":{"get":{"tags":["V2 Ontology Controller"],"operationId":"getOntology","parameters":[{"name":"onto","in":"path","description":"Ontology Id to get the information about.","required":true,"schema":{"type":"string"},"example":"efo"},{"name":"lang","in":"query","required":false,"schema":{"type":"string","default":"en"}}],"responses":{"404":{"description":"Not Found"},"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V2Entity"}}}}}}},"/api/v2/ontologies/{onto}/properties":{"get":{"tags":["V2 Property Controller"],"operationId":"getProperties_1","parameters":[{"name":"pageable","in":"query","description":"Specify the size of the result you want to get in the output","required":true,"schema":{"$ref":"#/components/schemas/Pageable"},"example":{"page":0,"size":20}},{"name":"onto","in":"path","description":"Ontology Id to search properties in.","required":true,"schema":{"type":"string"},"example":"efo"},{"name":"lang","in":"query","required":false,"schema":{"type":"string","default":"en"}},{"name":"search","in":"query","description":"This parameter specify the search query text.","required":false,"schema":{"type":"string"},"example":"definition"},{"name":"search fields","in":"query","description":"This parameter is a white space separated list of fields to search in. The fields are weighted equally. The fields are defined in the schema. The default fields are label and definition. The fields weights can be boosted by appending a caret ^ and a positive integer to the field name. For example, label^3 synonyms^2 description^1 logical_definition^1","required":false,"schema":{"type":"string"}},{"name":"boost fields","in":"query","description":"This parameter is a white space separated list of fields appended with a caret to boost in search. The default fields are type, is_defining_ontology, label, curie, shortForm and synonym . The fields weights can be boosted by appending a caret ^ and a positive integer to the field name. ","required":false,"schema":{"type":"string"}},{"name":"exactMatch","in":"query","description":"As the name suggests its a boolean parameter to specify if search should be exact match or not.The default value is false","required":false,"schema":{"type":"boolean","default":false}},{"name":"includeObsoleteEntities","in":"query","description":"A boolean parameter to specify if obsolete entities should be included or not. Default value is false.","required":false,"schema":{"type":"boolean","default":false}},{"name":"searchProperties","in":"query","description":"Specify any other search field here which are not specified by searchFields or boostFields.","required":true,"schema":{"type":"object","properties":{"all":{"type":"object","additionalProperties":{"type":"string"},"writeOnly":true},"empty":{"type":"boolean"}},"additionalProperties":{"type":"array","items":{"type":"string"}}},"example":{}}],"responses":{"404":{"description":"Not Found"},"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V2PagedAndFacetedResponseV2Entity"}}}}}}},"/api/v2/ontologies/{onto}/properties/{property}":{"get":{"tags":["V2 Property Controller"],"operationId":"getProperty","parameters":[{"name":"onto","in":"path","description":"Ontology Id to search properties in.","required":true,"schema":{"type":"string"},"example":"efo"},{"name":"property","in":"path","description":"The IRI of the property, this value must be double URL encoded","required":true,"schema":{"type":"string"},"example":"http%3A%2F%2Fwww.ebi.ac.uk%2Fefo%2FEFO_0000742"},{"name":"lang","in":"query","required":false,"schema":{"type":"string","default":"en"}}],"responses":{"404":{"description":"Not Found"},"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V2Entity"}}}}}}},"/api/v2/ontologies/{onto}/properties/{property}/llm_similar":{"get":{"tags":["V2 LLM Controller"],"operationId":"getSimilarPropertiesByOntology","parameters":[{"name":"pageable","in":"query","description":"Specify the size of the result you want to get in the output","required":true,"schema":{"$ref":"#/components/schemas/Pageable"},"example":{"page":0,"size":20}},{"name":"onto","in":"path","description":"Ontology Id to get the information about.","required":true,"schema":{"type":"string"},"example":"efo"},{"name":"property","in":"path","description":"The IRI of the property, this value must be double URL encoded","required":true,"schema":{"type":"string"},"example":"http%3A%2F%2Fwww.ebi.ac.uk%2Fefo%2FEFO_0000742"},{"name":"lang","in":"query","required":false,"schema":{"type":"string","default":"en"}}],"responses":{"404":{"description":"Not Found"},"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V2PagedResponseV2Entity"}}}}}}},"/api/v2/ontologies/{onto}/properties/{property}/children":{"get":{"tags":["V2 Property Controller"],"operationId":"getChildrenByOntology","parameters":[{"name":"pageable","in":"query","description":"Specify the size of the result you want to get in the output","required":true,"schema":{"$ref":"#/components/schemas/Pageable"},"example":{"page":0,"size":20}},{"name":"onto","in":"path","description":"Ontology Id to search properties in.","required":true,"schema":{"type":"string"},"example":"efo"},{"name":"property","in":"path","description":"The IRI of the property, this value must be double URL encoded","required":true,"schema":{"type":"string"},"example":"http%3A%2F%2Fwww.ebi.ac.uk%2Fefo%2FEFO_0000824"},{"name":"lang","in":"query","required":false,"schema":{"type":"string","default":"en"}}],"responses":{"404":{"description":"Not Found"},"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V2PagedResponseV2Entity"}}}}}}},"/api/v2/ontologies/{onto}/properties/{property}/ancestors":{"get":{"tags":["V2 Property Controller"],"operationId":"getAncestorsByOntology","parameters":[{"name":"pageable","in":"query","description":"Specify the size of the result you want to get in the output","required":true,"schema":{"$ref":"#/components/schemas/Pageable"},"example":{"page":0,"size":20}},{"name":"onto","in":"path","description":"Ontology Id to search properties in.","required":true,"schema":{"type":"string"},"example":"efo"},{"name":"property","in":"path","description":"The IRI of the property, this value must be double URL encoded","required":true,"schema":{"type":"string"},"example":"http%3A%2F%2Fwww.ebi.ac.uk%2Fefo%2FEFO_0000742"},{"name":"lang","in":"query","required":false,"schema":{"type":"string","default":"en"}}],"responses":{"404":{"description":"Not Found"},"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V2PagedResponseV2Entity"}}}}}}},"/api/v2/ontologies/{onto}/individuals":{"get":{"tags":["V2 Individual Controller"],"operationId":"getIndividuals","parameters":[{"name":"pageable","in":"query","description":"Specify the size of the result you want to get in the output","required":true,"schema":{"$ref":"#/components/schemas/Pageable"},"example":{"page":0,"size":20}},{"name":"onto","in":"path","description":"Ontology Id to search individuals in.","required":true,"schema":{"type":"string"},"example":"efo"},{"name":"lang","in":"query","required":false,"schema":{"type":"string","default":"en"}},{"name":"search","in":"query","description":"This parameter specify the search query text.","required":false,"schema":{"type":"string"},"example":"metadata complete"},{"name":"searchFields","in":"query","description":"This parameter is a white space separated list of fields to search in. The fields are weighted equally. The fields are defined in the schema. The default fields are label and definition. The fields weights can be boosted by appending a caret ^ and a positive integer to the field name. For example, label^3 synonyms^2 description^1 logical_definition^1","required":false,"schema":{"type":"string"},"example":"label^100 description"},{"name":"boostFields","in":"query","description":"This parameter is a white space separated list of fields appended with a caret to boost in search. The default fields are type, is_defining_ontology, label, curie, shortForm and synonym . The fields weights can be boosted by appending a caret ^ and a positive integer to the field name. ","required":false,"schema":{"type":"string"},"example":"label^100 curie^50"},{"name":"exactMatch","in":"query","description":"As the name suggests its a boolean parameter to specify if search should be exact match or not.The default value is false","required":false,"schema":{"type":"boolean","default":false}},{"name":"includeObsoleteEntities","in":"query","description":"A boolean parameter to specify if obsolete entities should be included or not. Default value is false.","required":false,"schema":{"type":"boolean","default":false}},{"name":"searchProperties","in":"query","description":"Specify any other search field here which are not specified by searchFields or boostFields.","required":true,"schema":{"type":"object","properties":{"all":{"type":"object","additionalProperties":{"type":"string"},"writeOnly":true},"empty":{"type":"boolean"}},"additionalProperties":{"type":"array","items":{"type":"string"}}},"example":{}}],"responses":{"404":{"description":"Not Found"},"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V2PagedAndFacetedResponseV2Entity"}},"application/hal+json":{"schema":{"$ref":"#/components/schemas/V2PagedAndFacetedResponseV2Entity"}}}}}}},"/api/v2/ontologies/{onto}/individuals/{individual}":{"get":{"tags":["V2 Individual Controller"],"operationId":"getIndividual","parameters":[{"name":"onto","in":"path","description":"Ontology Id to get the information about.","required":true,"schema":{"type":"string"},"example":"efo"},{"name":"individual","in":"path","description":"The IRI of the individual, this value must be double URL encoded","required":true,"schema":{"type":"string"},"example":"http%3A%2F%2Fpurl.obolibrary.org%2Fobo%2FIAO_0000002"},{"name":"lang","in":"query","required":false,"schema":{"type":"string","default":"en"}}],"responses":{"404":{"description":"Not Found"},"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V2Entity"}},"application/hal+json":{"schema":{"$ref":"#/components/schemas/V2Entity"}}}}}}},"/api/v2/ontologies/{onto}/individuals/{individual}/ancestors":{"get":{"tags":["V2 Class Controller"],"operationId":"getIndividualAncestorsByOntology","parameters":[{"name":"pageable","in":"query","description":"Specify the size of the result you want to get in the output","required":true,"schema":{"$ref":"#/components/schemas/Pageable"},"example":{"page":0,"size":20}},{"name":"onto","in":"path","description":"Ontology Id to get the information about.","required":true,"schema":{"type":"string"},"example":"afo"},{"name":"individual","in":"path","description":"The IRI of the individual, this value must be double URL encoded","required":true,"schema":{"type":"string"},"example":"http%3A%2F%2Fpurl.allotrope.org%2Fontologies%2Fprocess%23AFP_0003781"},{"name":"lang","in":"query","required":false,"schema":{"type":"string","default":"en"}},{"name":"includeObsoleteEntities","in":"query","description":"A boolean parameter to specify if obsolete entities should be included or not. Default value is false.","required":false,"schema":{"type":"boolean","default":false}}],"responses":{"404":{"description":"Not Found"},"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V2PagedResponseV2Entity"}}}}}}},"/api/v2/ontologies/{onto}/entities":{"get":{"tags":["V2 Entity Controller"],"operationId":"getTerms","parameters":[{"name":"pageable","in":"query","description":"Specify the size of the result you want to get in the output","required":true,"schema":{"$ref":"#/components/schemas/Pageable"},"example":{"page":0,"size":20}},{"name":"onto","in":"path","description":"Ontology Id to get the information about.","required":true,"schema":{"type":"string"},"example":"efo"},{"name":"lang","in":"query","required":false,"schema":{"type":"string","default":"en"}},{"name":"search","in":"query","description":"This parameter specify the search query text.","required":false,"schema":{"type":"string"},"example":"liver disease"},{"name":"searchFields","in":"query","description":"This parameter is a white space separated list of fields to search in. The fields are weighted equally. The fields are defined in the schema. The default fields are label and definition. The fields weights can be boosted by appending a caret ^ and a positive integer to the field name. For example, label^3 synonyms^2 description^1 logical_definition^1","required":false,"schema":{"type":"string"},"example":"label^100 description"},{"name":"boostFields","in":"query","description":"This parameter is a white space separated list of fields appended with a caret to boost in search. The default fields are type, is_defining_ontology, label, curie, shortForm and synonym . The fields weights can be boosted by appending a caret ^ and a positive integer to the field name. ","required":false,"schema":{"type":"string"},"example":"label^100 curie^50"},{"name":"facetFields","in":"query","description":"This parameter is a white space separated list of fields to facet data by.","required":false,"schema":{"type":"string"}},{"name":"exactMatch","in":"query","description":"As the name suggests its a boolean parameter to specify if search should be exact match or not.The default value is false","required":false,"schema":{"type":"boolean","default":false}},{"name":"includeObsoleteEntities","in":"query","description":"A boolean parameter to specify if obsolete entities should be included or not. Default value is false.","required":false,"schema":{"type":"boolean","default":false}},{"name":"searchProperties","in":"query","description":"Specify any other search field here which are not specified by searchFields or boostFields.","required":true,"schema":{"type":"object","properties":{"all":{"type":"object","additionalProperties":{"type":"string"},"writeOnly":true},"empty":{"type":"boolean"}},"additionalProperties":{"type":"array","items":{"type":"string"}}},"example":{}}],"responses":{"404":{"description":"Not Found"},"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V2PagedAndFacetedResponseV2Entity"}}}}}}},"/api/v2/ontologies/{onto}/entities/{entity}":{"get":{"tags":["V2 Entity Controller"],"operationId":"getEntity","parameters":[{"name":"onto","in":"path","description":"Ontology Id to get the information about.","required":true,"schema":{"type":"string"},"example":"efo"},{"name":"entity","in":"path","description":"The IRI of the entity, this value must be double URL encoded","required":true,"schema":{"type":"string"},"example":"http%3A%2F%2Fwww.ebi.ac.uk%2Fefo%2FEFO_1000967"},{"name":"lang","in":"query","required":false,"schema":{"type":"string","default":"en"}}],"responses":{"404":{"description":"Not Found"},"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V2Entity"}}}}}}},"/api/v2/ontologies/{onto}/classes":{"get":{"tags":["V2 Class Controller"],"operationId":"getClasses","parameters":[{"name":"pageable","in":"query","description":"Specify the size of the result you want to get in the output","required":true,"schema":{"$ref":"#/components/schemas/Pageable"},"example":{"page":0,"size":20}},{"name":"onto","in":"path","description":"Ontology Id to get the information about.","required":true,"schema":{"type":"string"},"example":"efo"},{"name":"lang","in":"query","required":false,"schema":{"type":"string","default":"en"}},{"name":"search","in":"query","description":"This parameter specify the search query text.","required":false,"schema":{"type":"string"},"example":"liver disease"},{"name":"searchFields","in":"query","description":"This parameter is a white space separated list of fields to search in. The fields are weighted equally. The fields are defined in the schema. The default fields are label and definition. The fields weights can be boosted by appending a caret ^ and a positive integer to the field name. For example, label^3 synonyms^2 description^1 logical_definition^1","required":false,"schema":{"type":"string"},"example":"label^100 description"},{"name":"boostFields","in":"query","description":"This parameter is a white space separated list of fields appended with a caret to boost in search. The default fields are type, is_defining_ontology, label, curie, shortForm and synonym . The fields weights can be boosted by appending a caret ^ and a positive integer to the field name. ","required":false,"schema":{"type":"string"},"example":"label^100 curie^50"},{"name":"exactMatch","in":"query","description":"As the name suggests its a boolean parameter to specify if search should be exact match or not.The default value is false","required":false,"schema":{"type":"boolean","default":false}},{"name":"includeObsoleteEntities","in":"query","description":"A boolean parameter to specify if obsolete entities should be included or not. Default value is false.","required":false,"schema":{"type":"boolean","default":false}},{"name":"searchProperties","in":"query","description":"Specify any other search field here which are not specified by searchFields or boostFields.","required":true,"schema":{"type":"object","properties":{"all":{"type":"object","additionalProperties":{"type":"string"},"writeOnly":true},"empty":{"type":"boolean"}},"additionalProperties":{"type":"array","items":{"type":"string"}}},"example":{}}],"responses":{"404":{"description":"Not Found"},"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V2PagedAndFacetedResponseV2Entity"}}}}}}},"/api/v2/ontologies/{onto}/classes/{class}":{"get":{"tags":["V2 Class Controller"],"operationId":"getClass","parameters":[{"name":"onto","in":"path","description":"Ontology Id to get the information about.","required":true,"schema":{"type":"string"},"example":"efo"},{"name":"class","in":"path","description":"The IRI of the class, this value must be double URL encoded","required":true,"schema":{"type":"string"},"example":"http%3A%2F%2Fwww.ebi.ac.uk%2Fefo%2FEFO_1000967"},{"name":"lang","in":"query","required":false,"schema":{"type":"string","default":"en"}}],"responses":{"404":{"description":"Not Found"},"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V2Entity"}}}}}}},"/api/v2/ontologies/{onto}/classes/{class}/llm_similarity/{otherclass}":{"get":{"tags":["V2 LLM Controller"],"operationId":"getSimilarityByOntology","parameters":[{"name":"pageable","in":"query","description":"Specify the size of the result you want to get in the output","required":true,"schema":{"$ref":"#/components/schemas/Pageable"},"example":{"page":0,"size":20}},{"name":"onto","in":"path","description":"Ontology Id to get the information about.","required":true,"schema":{"type":"string"},"example":"efo"},{"name":"class","in":"path","description":"The IRI of the class, this value must be double URL encoded","required":true,"schema":{"type":"string"},"example":"http%3A%2F%2Fwww.ebi.ac.uk%2Fefo%2FEFO_1000967"},{"name":"otherclass","in":"path","description":"The IRI of the other class, this value must be double URL encoded","required":true,"schema":{"type":"string"},"example":"http%3A%2F%2Fwww.ebi.ac.uk%2Fefo%2FEFO_1000967"}],"responses":{"404":{"description":"Not Found"},"200":{"description":"OK","content":{"application/json":{"schema":{"type":"string"}}}}}}},"/api/v2/ontologies/{onto}/classes/{class}/llm_similar":{"get":{"tags":["V2 LLM Controller"],"operationId":"getSimilarByOntology","parameters":[{"name":"pageable","in":"query","description":"Specify the size of the result you want to get in the output","required":true,"schema":{"$ref":"#/components/schemas/Pageable"},"example":{"page":0,"size":20}},{"name":"onto","in":"path","description":"Ontology Id to get the information about.","required":true,"schema":{"type":"string"},"example":"efo"},{"name":"class","in":"path","description":"The IRI of the class, this value must be double URL encoded","required":true,"schema":{"type":"string"},"example":"http%3A%2F%2Fwww.ebi.ac.uk%2Fefo%2FEFO_1000967"},{"name":"lang","in":"query","required":false,"schema":{"type":"string","default":"en"}}],"responses":{"404":{"description":"Not Found"},"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V2PagedResponseV2Entity"}}}}}}},"/api/v2/ontologies/{onto}/classes/{class}/llm_embedding":{"get":{"tags":["V2 LLM Controller"],"operationId":"getEmbeddingByOntology","parameters":[{"name":"pageable","in":"query","description":"Specify the size of the result you want to get in the output","required":true,"schema":{"$ref":"#/components/schemas/Pageable"},"example":{"page":0,"size":20}},{"name":"onto","in":"path","description":"Ontology Id to get the information about.","required":true,"schema":{"type":"string"},"example":"efo"},{"name":"class","in":"path","description":"The IRI of the class, this value must be double URL encoded","required":true,"schema":{"type":"string"},"example":"http%3A%2F%2Fwww.ebi.ac.uk%2Fefo%2FEFO_1000967"},{"name":"lang","in":"query","required":false,"schema":{"type":"string","default":"en"}}],"responses":{"404":{"description":"Not Found"},"200":{"description":"OK","content":{"application/json":{"schema":{"type":"string"}}}}}}},"/api/v2/ontologies/{onto}/classes/{class}/individuals":{"get":{"tags":["V2 Individual Controller"],"operationId":"getClassIndividuals","parameters":[{"name":"pageable","in":"query","description":"Specify the size of the result you want to get in the output","required":true,"schema":{"$ref":"#/components/schemas/Pageable"},"example":{"page":0,"size":20}},{"name":"onto","in":"path","description":"Ontology Id to get the information about.","required":true,"schema":{"type":"string"}},{"name":"class","in":"path","description":"The IRI of the class, this value must be double URL encoded","required":true,"schema":{"type":"string"}},{"name":"lang","in":"query","required":false,"schema":{"type":"string","default":"en"}}],"responses":{"404":{"description":"Not Found"},"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V2PagedResponseV2Entity"}}}}}}},"/api/v2/ontologies/{onto}/classes/{class}/hierarchicalChildren":{"get":{"tags":["V2 Class Controller"],"operationId":"getHierarchicalChildrenByOntology","parameters":[{"name":"pageable","in":"query","description":"Specify the size of the result you want to get in the output","required":true,"schema":{"$ref":"#/components/schemas/Pageable"},"example":{"page":0,"size":20}},{"name":"onto","in":"path","description":"Ontology Id to get the information about.","required":true,"schema":{"type":"string"},"example":"efo"},{"name":"class","in":"path","description":"The IRI of the class, this value must be double URL encoded","required":true,"schema":{"type":"string"},"example":"http%3A%2F%2Fwww.ebi.ac.uk%2Fefo%2FEFO_0000001"},{"name":"lang","in":"query","required":false,"schema":{"type":"string","default":"en"}},{"name":"includeObsoleteEntities","in":"query","description":"A boolean parameter to specify if obsolete entities should be included or not. Default value is false.","required":false,"schema":{"type":"boolean","default":false}}],"responses":{"404":{"description":"Not Found"},"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V2PagedResponseV2Entity"}}}}}}},"/api/v2/ontologies/{onto}/classes/{class}/hierarchicalAncestors":{"get":{"tags":["V2 Class Controller"],"operationId":"getHierarchicalAncestorsByOntology","parameters":[{"name":"pageable","in":"query","description":"Specify the size of the result you want to get in the output","required":true,"schema":{"$ref":"#/components/schemas/Pageable"},"example":{"page":0,"size":20}},{"name":"onto","in":"path","description":"Ontology Id to get the information about.","required":true,"schema":{"type":"string"},"example":"efo"},{"name":"class","in":"path","description":"The IRI of the class, this value must be double URL encoded","required":true,"schema":{"type":"string"},"example":"http%3A%2F%2Fwww.ebi.ac.uk%2Fefo%2FEFO_1000967"},{"name":"lang","in":"query","required":false,"schema":{"type":"string","default":"en"}},{"name":"includeObsoleteEntities","in":"query","description":"A boolean parameter to specify if obsolete entities should be included or not. Default value is false.","required":false,"schema":{"type":"boolean","default":false}}],"responses":{"404":{"description":"Not Found"},"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V2PagedResponseV2Entity"}}}}}}},"/api/v2/ontologies/{onto}/classes/{class}/children":{"get":{"tags":["V2 Class Controller"],"operationId":"getChildrenByOntology_1","parameters":[{"name":"pageable","in":"query","description":"Specify the size of the result you want to get in the output","required":true,"schema":{"$ref":"#/components/schemas/Pageable"},"example":{"page":0,"size":20}},{"name":"onto","in":"path","description":"Ontology Id to get the information about.","required":true,"schema":{"type":"string"},"example":"efo"},{"name":"class","in":"path","description":"The IRI of the class, this value must be double URL encoded","required":true,"schema":{"type":"string"},"example":"http%3A%2F%2Fwww.ebi.ac.uk%2Fefo%2FEFO_0000001"},{"name":"lang","in":"query","required":false,"schema":{"type":"string","default":"en"}},{"name":"includeObsoleteEntities","in":"query","description":"A boolean parameter to specify if obsolete entities should be included or not. Default value is false.","required":false,"schema":{"type":"boolean","default":false}}],"responses":{"404":{"description":"Not Found"},"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V2PagedResponseV2Entity"}}}}}}},"/api/v2/ontologies/{onto}/classes/{class}/ancestors":{"get":{"tags":["V2 Class Controller"],"operationId":"getAncestorsByOntology_1","parameters":[{"name":"pageable","in":"query","description":"Specify the size of the result you want to get in the output","required":true,"schema":{"$ref":"#/components/schemas/Pageable"},"example":{"page":0,"size":20}},{"name":"onto","in":"path","description":"Ontology Id to get the information about.","required":true,"schema":{"type":"string"},"example":"efo"},{"name":"class","in":"path","description":"The IRI of the class, this value must be double URL encoded","required":true,"schema":{"type":"string"},"example":"http%3A%2F%2Fwww.ebi.ac.uk%2Fefo%2FEFO_1000967"},{"name":"lang","in":"query","required":false,"schema":{"type":"string","default":"en"}},{"name":"includeObsoleteEntities","in":"query","description":"A boolean parameter to specify if obsolete entities should be included or not. Default value is false.","required":false,"schema":{"type":"boolean","default":false}}],"responses":{"404":{"description":"Not Found"},"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V2PagedResponseV2Entity"}}}}}}},"/api/v2/individuals":{"get":{"tags":["V2 Individual Controller"],"operationId":"getIndividuals_1","parameters":[{"name":"pageable","in":"query","description":"Specify the size of the result you want to get in the output","required":true,"schema":{"$ref":"#/components/schemas/Pageable"},"example":{"page":0,"size":20}},{"name":"lang","in":"query","required":false,"schema":{"type":"string","default":"en"}},{"name":"search","in":"query","description":"This parameter specify the search query text.","required":false,"schema":{"type":"string"},"example":"metadata complete"},{"name":"searchFields","in":"query","description":"This parameter is a white space separated list of fields to search in. The fields are weighted equally. The fields are defined in the schema. The default fields are label and definition. The fields weights can be boosted by appending a caret ^ and a positive integer to the field name. For example, label^3 synonyms^2 description^1 logical_definition^1","required":false,"schema":{"type":"string"},"example":"label^100 description"},{"name":"boostFields","in":"query","description":"This parameter is a white space separated list of fields appended with a caret to boost in search. The default fields are type, is_defining_ontology, label, curie, shortForm and synonym . The fields weights can be boosted by appending a caret ^ and a positive integer to the field name. ","required":false,"schema":{"type":"string"},"example":"label^100 curie^50"},{"name":"exactMatch","in":"query","description":"As the name suggests its a boolean parameter to specify if search should be exact match or not.The default value is false","required":false,"schema":{"type":"boolean","default":false}},{"name":"includeObsoleteEntities","in":"query","description":"A boolean parameter to specify if obsolete entities should be included or not. Default value is false.","required":false,"schema":{"type":"boolean","default":false}},{"name":"searchProperties","in":"query","description":"Specify any other search field here which are not specified by searchFields or boostFields.","required":true,"schema":{"type":"object","properties":{"all":{"type":"object","additionalProperties":{"type":"string"},"writeOnly":true},"empty":{"type":"boolean"}},"additionalProperties":{"type":"array","items":{"type":"string"}}},"example":{}}],"responses":{"404":{"description":"Not Found"},"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V2PagedAndFacetedResponseV2Entity"}},"application/hal+json":{"schema":{"$ref":"#/components/schemas/V2PagedAndFacetedResponseV2Entity"}}}}}}},"/api/v2/entities":{"get":{"tags":["V2 Entity Controller"],"operationId":"getEntities","parameters":[{"name":"pageable","in":"query","description":"Specify the size of the result you want to get in the output","required":true,"schema":{"$ref":"#/components/schemas/Pageable"},"example":{"page":0,"size":20}},{"name":"lang","in":"query","required":false,"schema":{"type":"string","default":"en"}},{"name":"search","in":"query","description":"This parameter specify the search query text.","required":false,"schema":{"type":"string"},"example":"liver disease"},{"name":"searchFields","in":"query","description":"This parameter is a white space separated list of fields to search in. The fields are weighted equally. The fields are defined in the schema. The default fields are label and definition. The fields weights can be boosted by appending a caret ^ and a positive integer to the field name. For example, label^3 synonyms^2 description^1 logical_definition^1","required":false,"schema":{"type":"string"},"example":"label^100 description"},{"name":"boostFields","in":"query","description":"This parameter is a white space separated list of fields appended with a caret to boost in search. The default fields are type, is_defining_ontology, label, curie, shortForm and synonym . The fields weights can be boosted by appending a caret ^ and a positive integer to the field name. ","required":false,"schema":{"type":"string"},"example":"label^100 curie^50"},{"name":"facetFields","in":"query","description":"This parameter is a white space separated list of fields to facet data by.","required":false,"schema":{"type":"string"}},{"name":"exactMatch","in":"query","description":"As the name suggests its a boolean parameter to specify if search should be exact match or not.The default value is false","required":false,"schema":{"type":"boolean","default":false}},{"name":"includeObsoleteEntities","in":"query","description":"A boolean parameter to specify if obsolete entities should be included or not. Default value is false.","required":false,"schema":{"type":"boolean","default":false}},{"name":"searchProperties","in":"query","description":"Specify any other search field here which are not specified by searchFields or boostFields.","required":true,"schema":{"type":"object","properties":{"all":{"type":"object","additionalProperties":{"type":"string"},"writeOnly":true},"empty":{"type":"boolean"}},"additionalProperties":{"type":"array","items":{"type":"string"}}},"example":{}}],"responses":{"404":{"description":"Not Found"},"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V2PagedAndFacetedResponseV2Entity"}}}}}}},"/api/v2/defined-fields":{"get":{"tags":["v-2-defined-fields-controller"],"operationId":"getDefinedFields","responses":{"404":{"description":"Not Found"},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DefinedFieldDto"}}}}}}}},"/api/v2/classes":{"get":{"tags":["V2 Class Controller"],"operationId":"getClasses_1","parameters":[{"name":"pageable","in":"query","description":"Specify the size of the result you want to get in the output","required":true,"schema":{"$ref":"#/components/schemas/Pageable"},"example":{"page":0,"size":20}},{"name":"lang","in":"query","required":false,"schema":{"type":"string","default":"en"}},{"name":"search","in":"query","description":"This parameter specify the search query text.","required":false,"schema":{"type":"string"},"example":"liver disease"},{"name":"searchFields","in":"query","description":"This parameter is a white space separated list of fields to search in. The fields are weighted equally. The fields are defined in the schema. The default fields are label and definition. The fields weights can be boosted by appending a caret ^ and a positive integer to the field name. For example, label^3 synonyms^2 description^1 logical_definition^1","required":false,"schema":{"type":"string"},"example":"label^100 description"},{"name":"boostFields","in":"query","description":"This parameter is a white space separated list of fields appended with a caret to boost in search. The default fields are type, is_defining_ontology, label, curie, shortForm and synonym . The fields weights can be boosted by appending a caret ^ and a positive integer to the field name. ","required":false,"schema":{"type":"string"},"example":"label^100 curie^50"},{"name":"exactMatch","in":"query","description":"As the name suggests its a boolean parameter to specify if search should be exact match or not.The default value is false","required":false,"schema":{"type":"boolean","default":false}},{"name":"includeObsoleteEntities","in":"query","description":"A boolean parameter to specify if obsolete entities should be included or not. Default value is false.","required":false,"schema":{"type":"boolean","default":false}},{"name":"searchProperties","in":"query","description":"Specify any other search field here which are not specified by searchFields or boostFields.","required":true,"schema":{"type":"object","properties":{"all":{"type":"object","additionalProperties":{"type":"string"},"writeOnly":true},"empty":{"type":"boolean"}},"additionalProperties":{"type":"array","items":{"type":"string"}}},"example":{}}],"responses":{"404":{"description":"Not Found"},"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V2PagedAndFacetedResponseV2Entity"}}}}}}},"/api/terms":{"get":{"tags":["Terms Controller"],"operationId":"getTerms_1","parameters":[{"name":"iri","in":"query","description":"The IRI of the term.","required":false,"schema":{"type":"string"},"example":"http://purl.obolibrary.org/obo/DUO_0000017"},{"name":"short_form","in":"query","description":"This refers to the short form of the term.","required":false,"schema":{"type":"string"},"example":"DUO_0000017"},{"name":"obo_id","in":"query","description":"This refers to the OBO ID of the term.","required":false,"schema":{"type":"string"},"example":"DUO:0000017"},{"name":"id","in":"query","description":"This can be any of the above i.e. iri, short_form or obo_id.","required":false,"schema":{"type":"string"}},{"name":"lang","in":"query","required":false,"schema":{"type":"string","default":"en"}}],"responses":{"404":{"description":"Not Found"},"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PagedModelV1Term"}},"application/hal+json":{"schema":{"$ref":"#/components/schemas/PagedModelV1Term"}}}}}}},"/api/terms/{iri}":{"get":{"tags":["Terms Controller"],"operationId":"getTermsByIri","parameters":[{"name":"iri","in":"path","description":"The IRI of the term, this value must be double URL encoded","required":true,"schema":{"type":"string"},"example":"http%3A%2F%2Fpurl.obolibrary.org%2Fobo%2FDUO_0000017"},{"name":"lang","in":"query","required":false,"schema":{"type":"string","default":"en"}}],"responses":{"404":{"description":"Not Found"},"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PagedModelV1Term"}},"application/hal+json":{"schema":{"$ref":"#/components/schemas/PagedModelV1Term"}}}}}}},"/api/terms/findByIdAndIsDefiningOntology":{"get":{"tags":["Terms Controller"],"operationId":"getTermsByIdAndIsDefiningOntology","parameters":[{"name":"iri","in":"query","description":"The IRI of the term","required":false,"schema":{"type":"string"},"example":"http://purl.obolibrary.org/obo/DUO_0000017"},{"name":"short_form","in":"query","description":"This refers to the short form of the term.","required":false,"schema":{"type":"string"},"example":"DUO_0000017"},{"name":"obo_id","in":"query","description":"This refers to the OBO ID of the term.","required":false,"schema":{"type":"string"},"example":"DUO:0000017"},{"name":"id","in":"query","description":"This can be any of the above i.e. iri, short_form or obo_id.","required":false,"schema":{"type":"string"}},{"name":"lang","in":"query","required":false,"schema":{"type":"string","default":"en"}}],"responses":{"404":{"description":"Not Found"},"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PagedModelV1Term"}},"application/hal+json":{"schema":{"$ref":"#/components/schemas/PagedModelV1Term"}}}}}}},"/api/terms/findByIdAndIsDefiningOntology/{iri}":{"get":{"tags":["Terms Controller"],"operationId":"getTermsByIdAndIsDefiningOntology_1","parameters":[{"name":"iri","in":"path","description":"The IRI of the term, this value must be double URL encoded","required":true,"schema":{"type":"string"},"example":"http%3A%2F%2Fpurl.obolibrary.org%2Fobo%2FDUO_0000017"},{"name":"lang","in":"query","required":false,"schema":{"type":"string","default":"en"}}],"responses":{"404":{"description":"Not Found"},"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PagedModelV1Term"}},"application/hal+json":{"schema":{"$ref":"#/components/schemas/PagedModelV1Term"}}}}}}},"/api/suggest":{"get":{"tags":["Suggest Controller"],"operationId":"suggest","parameters":[{"name":"q","in":"query","required":true,"schema":{"type":"string"}},{"name":"ontology","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}}},{"name":"rows","in":"query","required":false,"schema":{"type":"integer","format":"int32","default":10}},{"name":"start","in":"query","required":false,"schema":{"type":"integer","format":"int32","default":0}}],"responses":{"404":{"description":"Not Found"},"200":{"description":"OK"}}}},"/api/select":{"get":{"tags":["Select Controller"],"operationId":"select","parameters":[{"name":"q","in":"query","description":"The terms to search. By default the search is performed over term labels, synonyms, descriptions, identifiers and annotation properties.","required":true,"schema":{"type":"string"},"example":"disease or liver+disease"},{"name":"ontology","in":"query","description":"Restrict a search to a set of ontologies e.g. ontology=efo,bfo","required":false,"schema":{"type":"array","items":{"type":"string"}},"example":"efo,bfo"},{"name":"type","in":"query","description":"Restrict a search to an entity type, one of {class,property,individual,ontology}","required":false,"schema":{"type":"array","items":{"type":"string"}},"example":"class,property"},{"name":"slim","in":"query","description":"Restrict a search to an particular set of slims by name","required":false,"schema":{"type":"array","items":{"type":"string"}}},{"name":"fieldList","in":"query","description":"Specifcy the fields to return, the defaults are {iri,label,short_form,obo_id,ontology_name,ontology_prefix,description,type}","required":false,"schema":{"type":"array","items":{"type":"string"}},"example":"iri,label,short_form,obo_id,ontology_name"},{"name":"obsoletes","in":"query","description":"Set to true to include obsoleted terms in the results","required":false,"schema":{"type":"boolean","default":false},"example":false},{"name":"local","in":"query","description":"Set to true to only return terms that are in a defining ontology e.g. Only return matches to gene ontology terms in the gene ontology, and exclude ontologies where those terms are also referenced","required":false,"schema":{"type":"boolean","default":false},"example":false},{"name":"childrenOf","in":"query","description":"You can restrict a search to children of a given term. Supply a list of IRI for the terms that you want to search under","required":false,"schema":{"type":"array","items":{"type":"string"}},"example":"http://www.ebi.ac.uk/efo/EFO_0001421, http://www.ebi.ac.uk/efo/EFO_0004228"},{"name":"allChildrenOf","in":"query","description":"You can restrict a search to all children of a given term. Supply a list of IRI for the terms that you want to search under (subclassOf/is-a plus any hierarchical/transitive properties like 'part of' or 'develops from')","required":false,"schema":{"type":"array","items":{"type":"string"}},"example":"http://www.ebi.ac.uk/efo/EFO_0001421, http://www.ebi.ac.uk/efo/EFO_0004228"},{"name":"rows","in":"query","required":false,"schema":{"type":"integer","format":"int32","default":10}},{"name":"start","in":"query","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"name":"lang","in":"query","required":false,"schema":{"type":"string","default":"en"}}],"responses":{"404":{"description":"Not Found"},"200":{"description":"OK"}}}},"/api/search":{"get":{"tags":["Search Controller"],"operationId":"search","parameters":[{"name":"q","in":"query","description":"The terms to search. By default the search is performed over term labels, synonyms, descriptions, identifiers and annotation properties.","required":true,"schema":{"type":"string"},"example":"disease or liver+disease"},{"name":"ontology","in":"query","description":"Restrict a search to a set of ontologies e.g. ontology=efo,bfo","required":false,"schema":{"type":"array","items":{"type":"string"}},"example":"efo,bfo"},{"name":"type","in":"query","description":"Restrict a search to an entity type, one of {class,property,individual,ontology}","required":false,"schema":{"type":"array","items":{"type":"string"}},"example":"class,property"},{"name":"slim","in":"query","description":"Restrict a search to an particular set of slims by name","required":false,"schema":{"type":"array","items":{"type":"string"}}},{"name":"fieldList","in":"query","description":"Specifcy the fields to return, the defaults are {iri,label,short_form,obo_id,ontology_name,ontology_prefix,description,type}","required":false,"schema":{"type":"array","items":{"type":"string"}},"example":"iri,label,short_form,obo_id,ontology_name"},{"name":"queryFields","in":"query","description":"Specify the fields to query, the defaults are {label, synonym, description, short_form, obo_id, annotations, logical_description, iri}","required":false,"schema":{"type":"array","items":{"type":"string"}},"example":"iri,label,short_form,ontology_name"},{"name":"exact","in":"query","description":"Set to true for exact matches","required":false,"schema":{"type":"boolean"},"example":false},{"name":"groupField","in":"query","description":"Group results by unique id (IRI)","required":false,"schema":{"type":"string"},"example":"http://www.ebi.ac.uk/efo/EFO_0001421"},{"name":"obsoletes","in":"query","description":"Set to true to include obsoleted terms in the results","required":false,"schema":{"type":"boolean","default":false},"example":false},{"name":"local","in":"query","description":"Set to true to only return terms that are in a defining ontology e.g. Only return matches to gene ontology terms in the gene ontology, and exclude ontologies where those terms are also referenced","required":false,"schema":{"type":"boolean","default":false},"example":false},{"name":"childrenOf","in":"query","description":"You can restrict a search to children of a given term. Supply a list of IRI for the terms that you want to search under","required":false,"schema":{"type":"array","items":{"type":"string"}},"example":"http://www.ebi.ac.uk/efo/EFO_0001421, http://www.ebi.ac.uk/efo/EFO_0004228"},{"name":"allChildrenOf","in":"query","description":"You can restrict a search to all children of a given term. Supply a list of IRI for the terms that you want to search under (subclassOf/is-a plus any hierarchical/transitive properties like 'part of' or 'develops from')","required":false,"schema":{"type":"array","items":{"type":"string"}},"example":"http://www.ebi.ac.uk/efo/EFO_0001421, http://www.ebi.ac.uk/efo/EFO_0004228"},{"name":"inclusive","in":"query","required":false,"schema":{"type":"boolean"}},{"name":"isLeaf","in":"query","required":false,"schema":{"type":"boolean"}},{"name":"rows","in":"query","required":false,"schema":{"type":"integer","format":"int32","default":10}},{"name":"start","in":"query","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"name":"format","in":"query","description":"You can select the format you want the response in. Default is `json` but you can select xml, csv etc. Full list of acceptable value can be found here: https://solr.apache.org/guide/solr/latest/query-guide/response-writers.html","required":false,"schema":{"type":"string","default":"json"}},{"name":"lang","in":"query","required":false,"schema":{"type":"string","default":"en"}}],"responses":{"404":{"description":"Not Found"},"200":{"description":"OK"}}}},"/api/properties":{"get":{"tags":["Property Controller"],"operationId":"getAllProperties","parameters":[{"name":"iri","in":"query","description":"The IRI of the property","required":false,"schema":{"type":"string"},"example":"http://purl.obolibrary.org/obo/DUO_0000041"},{"name":"short_form","in":"query","description":"This refers to the short form of the property.","required":false,"schema":{"type":"string"},"example":"DUO_0000041"},{"name":"obo_id","in":"query","description":"This refers to the OBO ID of the property.","required":false,"schema":{"type":"string"},"example":"DUO:0000041"},{"name":"lang","in":"query","required":false,"schema":{"type":"string","default":"en"}}],"responses":{"404":{"description":"Not Found"},"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PagedModelV1Property"}},"application/hal+json":{"schema":{"$ref":"#/components/schemas/PagedModelV1Property"}}}}}}},"/api/properties/{iri}":{"get":{"tags":["Property Controller"],"operationId":"getPropertiesByIri","parameters":[{"name":"iri","in":"path","description":"The IRI of the property, this value must be double URL encoded","required":true,"schema":{"type":"string"},"example":"http%3A%2F%2Fpurl.obolibrary.org%2Fobo%2FDUO_0000041"},{"name":"lang","in":"query","required":false,"schema":{"type":"string","default":"en"}}],"responses":{"404":{"description":"Not Found"},"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PagedModelV1Property"}},"application/hal+json":{"schema":{"$ref":"#/components/schemas/PagedModelV1Property"}}}}}}},"/api/properties/findByIdAndIsDefiningOntology":{"get":{"tags":["Property Controller"],"operationId":"getPropertiesByIdAndIsDefiningOntology","parameters":[{"name":"iri","in":"query","description":"The IRI of the property.","required":false,"schema":{"type":"string"},"example":"http://purl.obolibrary.org/obo/GALLONT_0000000"},{"name":"short_form","in":"query","description":"This refers to the short form of the property.","required":false,"schema":{"type":"string"},"example":"GALLONT_0000000"},{"name":"obo_id","in":"query","description":"This refers to the OBO ID of the property.","required":false,"schema":{"type":"string"},"example":"GALLONT:0000000"},{"name":"lang","in":"query","required":false,"schema":{"type":"string","default":"en"}}],"responses":{"404":{"description":"Not Found"},"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PagedModelV1Property"}},"application/hal+json":{"schema":{"$ref":"#/components/schemas/PagedModelV1Property"}}}}}}},"/api/properties/findByIdAndIsDefiningOntology/{iri}":{"get":{"tags":["Property Controller"],"operationId":"getPropertiesByIriAndIsDefiningOntology","parameters":[{"name":"iri","in":"path","description":"The IRI of the property, this value must be double URL encoded","required":true,"schema":{"type":"string"},"example":"http%3A%2F%2Fpurl.obolibrary.org%2Fobo%2FDUO_0000041"},{"name":"lang","in":"query","required":false,"schema":{"type":"string","default":"en"}}],"responses":{"404":{"description":"Not Found"},"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PagedModelV1Property"}},"application/hal+json":{"schema":{"$ref":"#/components/schemas/PagedModelV1Property"}}}}}}},"/api/ontologies":{"get":{"tags":["Ontology Controller"],"operationId":"getOntologies_1","parameters":[{"name":"lang","in":"query","required":false,"schema":{"type":"string","default":"en"}}],"responses":{"404":{"description":"Not Found"},"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PagedModelV1Ontology"}},"application/hal+json":{"schema":{"$ref":"#/components/schemas/PagedModelV1Ontology"}}}}}}},"/api/ontologies/{onto}":{"get":{"tags":["Ontology Controller"],"operationId":"getOntology_1","parameters":[{"name":"lang","in":"query","required":false,"schema":{"type":"string","default":"en"}},{"name":"onto","in":"path","description":"The ID of the ontology. For example for Data Use Ontology, the ID is duo.","required":true,"schema":{"type":"string"},"example":"duo"}],"responses":{"404":{"description":"Not Found"},"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EntityModelV1Ontology"}},"application/hal+json":{"schema":{"$ref":"#/components/schemas/EntityModelV1Ontology"}}}}}}},"/api/ontologies/{onto}/terms":{"get":{"tags":["Ontology Term Controller"],"operationId":"termsByOntology","parameters":[{"name":"onto","in":"path","description":"The ID of the ontology. For example for Data Use Ontology, the ID is duo.","required":true,"schema":{"type":"string"},"example":"duo"},{"name":"iri","in":"query","description":"The IRI of the term.","required":false,"schema":{"type":"string"},"example":"http://purl.obolibrary.org/obo/DUO_0000017"},{"name":"short_form","in":"query","description":"This refers to the short form of the term.","required":false,"schema":{"type":"string"},"example":"DUO_0000017"},{"name":"obo_id","in":"query","description":"This refers to the OBO ID of the term.","required":false,"schema":{"type":"string"},"example":"DUO:0000017"},{"name":"id","in":"query","description":"This can be any of the above i.e. iri, short_form or obo_id.","required":false,"schema":{"type":"string"}},{"name":"obsoletes","in":"query","required":false,"schema":{"type":"boolean"}},{"name":"lang","in":"query","required":false,"schema":{"type":"string","default":"en"}}],"responses":{"404":{"description":"Not Found"},"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PagedModelV1Term"}},"application/hal+json":{"schema":{"$ref":"#/components/schemas/PagedModelV1Term"}}}}}}},"/api/ontologies/{onto}/terms/{iri}":{"get":{"tags":["Ontology Term Controller"],"operationId":"getTerm","parameters":[{"name":"onto","in":"path","description":"The ID of the ontology. For example for Data Use Ontology, the ID is duo.","required":true,"schema":{"type":"string"},"example":"duo"},{"name":"iri","in":"path","description":"The IRI of the term, this value must be double URL encoded","required":true,"schema":{"type":"string"},"example":"http%3A%2F%2Fpurl.obolibrary.org%2Fobo%2FDUO_0000017"},{"name":"lang","in":"query","required":false,"schema":{"type":"string","default":"en"}}],"responses":{"404":{"description":"Not Found"},"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EntityModelV1Term"}},"application/hal+json":{"schema":{"$ref":"#/components/schemas/EntityModelV1Term"}}}}}}},"/api/ontologies/{onto}/terms/{iri}/{property_iri}":{"get":{"tags":["Ontology Term Controller"],"operationId":"related","parameters":[{"name":"onto","in":"path","description":"The ID of the ontology. For example for Data Use Ontology, the ID is duo.","required":true,"schema":{"type":"string"},"example":"duo"},{"name":"iri","in":"path","description":"The IRI of the term, this value must be double URL encoded.","required":true,"schema":{"type":"string"},"example":"http%3A%2F%2Fpurl.obolibrary.org%2Fobo%2FDUO_0000017"},{"name":"property_iri","in":"path","description":"The IRI of the property, this must be double URL encoded.","required":true,"schema":{"type":"string"},"example":"http%3A%2F%2Fpurl.obolibrary.org%2Fobo%2FDUO_0000041"},{"name":"lang","in":"query","required":false,"schema":{"type":"string","default":"en"}}],"responses":{"404":{"description":"Not Found"},"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PagedModelV1Term"}},"application/hal+json":{"schema":{"$ref":"#/components/schemas/PagedModelV1Term"}}}}}}},"/api/ontologies/{onto}/terms/{iri}/parents":{"get":{"tags":["Ontology Term Controller"],"operationId":"getParents","parameters":[{"name":"onto","in":"path","description":"The ID of the ontology. For example for Data Use Ontology, the ID is duo.","required":true,"schema":{"type":"string"},"example":"duo"},{"name":"iri","in":"path","description":"The IRI of the term, this value must be double URL encoded","required":true,"schema":{"type":"string"},"example":"http%3A%2F%2Fpurl.obolibrary.org%2Fobo%2FDUO_0000017"},{"name":"lang","in":"query","required":false,"schema":{"type":"string","default":"en"}}],"responses":{"404":{"description":"Not Found"},"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PagedModelV1Term"}},"application/hal+json":{"schema":{"$ref":"#/components/schemas/PagedModelV1Term"}}}}}}},"/api/ontologies/{onto}/terms/{iri}/jstree":{"get":{"tags":["Ontology Term Controller"],"operationId":"graphJsTree","parameters":[{"name":"onto","in":"path","description":"The ID of the ontology. For example for Data Use Ontology, the ID is duo.","required":true,"schema":{"type":"string"},"example":"duo"},{"name":"iri","in":"path","description":"The IRI of the term, this value must be double URL encoded","required":true,"schema":{"type":"string"},"example":"http%3A%2F%2Fpurl.obolibrary.org%2Fobo%2FDUO_0000017"},{"name":"lang","in":"query","required":false,"schema":{"type":"string","default":"en"}},{"name":"siblings","in":"query","required":false,"schema":{"type":"boolean","default":false}},{"name":"viewMode","in":"query","required":false,"schema":{"type":"string","default":"PreferredRoots"}}],"responses":{"404":{"description":"Not Found"},"200":{"description":"OK","content":{"application/json":{"schema":{"type":"string"}},"application/hal+json":{"schema":{"type":"string"}}}}}}},"/api/ontologies/{onto}/terms/{iri}/jstree/children/{nodeid}":{"get":{"tags":["Ontology Term Controller"],"operationId":"graphJsTreeChildren","parameters":[{"name":"onto","in":"path","description":"The ID of the ontology. For example for Data Use Ontology, the ID is duo.","required":true,"schema":{"type":"string"},"example":"duo"},{"name":"iri","in":"path","description":"The IRI of the property, this IRI should exist in the specified ontology by {onto} param. This value must be double URL encoded","required":true,"schema":{"type":"string"},"example":"http%3A%2F%2Fpurl.obolibrary.org%2Fobo%2FDUO_0000017"},{"name":"nodeid","in":"path","description":"This is the id of the node in the jstree of ontology specified by {onto} parameter","required":true,"schema":{"type":"string"},"example":"aHR0cDovL3B1cmwub2JvbGlicmFyeS5vcmcvb2JvL0JGT18wMDAwMDUx"},{"name":"lang","in":"query","required":false,"schema":{"type":"string","default":"en"}}],"responses":{"404":{"description":"Not Found"},"200":{"description":"OK","content":{"application/json":{"schema":{"type":"string"}}}}}}},"/api/ontologies/{onto}/terms/{iri}/hierarchicalParents":{"get":{"tags":["Ontology Term Controller"],"operationId":"getHierarchicalParents","parameters":[{"name":"onto","in":"path","description":"The ID of the ontology. For example for Data Use Ontology, the ID is duo.","required":true,"schema":{"type":"string"},"example":"duo"},{"name":"iri","in":"path","description":"The IRI of the term, this value must be double URL encoded","required":true,"schema":{"type":"string"},"example":"http%3A%2F%2Fpurl.obolibrary.org%2Fobo%2FDUO_0000017"},{"name":"lang","in":"query","required":false,"schema":{"type":"string","default":"en"}}],"responses":{"404":{"description":"Not Found"},"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PagedModelV1Term"}},"application/hal+json":{"schema":{"$ref":"#/components/schemas/PagedModelV1Term"}}}}}}},"/api/ontologies/{onto}/terms/{iri}/hierarchicalDescendants":{"get":{"tags":["Ontology Term Controller"],"operationId":"getHierarchicalDescendants","parameters":[{"name":"onto","in":"path","description":"The ID of the ontology. For example for Data Use Ontology, the ID is duo.","required":true,"schema":{"type":"string"},"example":"duo"},{"name":"iri","in":"path","description":"The IRI of the term, this value must be double URL encoded","required":true,"schema":{"type":"string"},"example":"http%3A%2F%2Fpurl.obolibrary.org%2Fobo%2FDUO_0000017"},{"name":"lang","in":"query","required":false,"schema":{"type":"string","default":"en"}}],"responses":{"404":{"description":"Not Found"},"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PagedModelV1Term"}},"application/hal+json":{"schema":{"$ref":"#/components/schemas/PagedModelV1Term"}}}}}}},"/api/ontologies/{onto}/terms/{iri}/hierarchicalChildren":{"get":{"tags":["Ontology Term Controller"],"operationId":"getHierarchicalChildren","parameters":[{"name":"onto","in":"path","description":"The ID of the ontology. For example for Data Use Ontology, the ID is duo.","required":true,"schema":{"type":"string"},"example":"duo"},{"name":"iri","in":"path","description":"The IRI of the term, this value must be double URL encoded","required":true,"schema":{"type":"string"},"example":"http%3A%2F%2Fpurl.obolibrary.org%2Fobo%2FDUO_0000017"},{"name":"lang","in":"query","required":false,"schema":{"type":"string","default":"en"}}],"responses":{"404":{"description":"Not Found"},"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PagedModelV1Term"}},"application/hal+json":{"schema":{"$ref":"#/components/schemas/PagedModelV1Term"}}}}}}},"/api/ontologies/{onto}/terms/{iri}/hierarchicalAncestors":{"get":{"tags":["Ontology Term Controller"],"operationId":"getHierarchicalAncestors","parameters":[{"name":"onto","in":"path","description":"The ID of the ontology. For example for Data Use Ontology, the ID is duo.","required":true,"schema":{"type":"string"},"example":"duo"},{"name":"iri","in":"path","description":"The IRI of the term, this value must be double URL encoded","required":true,"schema":{"type":"string"},"example":"http%3A%2F%2Fpurl.obolibrary.org%2Fobo%2FDUO_0000017"},{"name":"lang","in":"query","required":false,"schema":{"type":"string","default":"en"}}],"responses":{"404":{"description":"Not Found"},"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PagedModelV1Term"}},"application/hal+json":{"schema":{"$ref":"#/components/schemas/PagedModelV1Term"}}}}}}},"/api/ontologies/{onto}/terms/{iri}/graph":{"get":{"tags":["Ontology Term Controller"],"operationId":"graphJson","parameters":[{"name":"onto","in":"path","description":"The ID of the ontology. For example for Data Use Ontology, the ID is duo.","required":true,"schema":{"type":"string"},"example":"duo"},{"name":"iri","in":"path","description":"The IRI of the term, this value must be double URL encoded","required":true,"schema":{"type":"string"},"example":"http%3A%2F%2Fpurl.obolibrary.org%2Fobo%2FDUO_0000017"},{"name":"lang","in":"query","required":false,"schema":{"type":"string","default":"en"}}],"responses":{"404":{"description":"Not Found"},"200":{"description":"OK","content":{"application/json":{"schema":{"type":"string"}}}}}}},"/api/ontologies/{onto}/terms/{iri}/descendants":{"get":{"tags":["Ontology Term Controller"],"operationId":"descendants","parameters":[{"name":"onto","in":"path","description":"The ID of the ontology. For example for Data Use Ontology, the ID is duo.","required":true,"schema":{"type":"string"},"example":"duo"},{"name":"iri","in":"path","description":"The IRI of the term, this value must be double URL encoded","required":true,"schema":{"type":"string"},"example":"http%3A%2F%2Fpurl.obolibrary.org%2Fobo%2FDUO_0000017"},{"name":"lang","in":"query","required":false,"schema":{"type":"string","default":"en"}}],"responses":{"404":{"description":"Not Found"},"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PagedModelV1Term"}},"application/hal+json":{"schema":{"$ref":"#/components/schemas/PagedModelV1Term"}}}}}}},"/api/ontologies/{onto}/terms/{iri}/children":{"get":{"tags":["Ontology Term Controller"],"operationId":"children","parameters":[{"name":"onto","in":"path","description":"The ID of the ontology. For example for Data Use Ontology, the ID is duo.","required":true,"schema":{"type":"string"},"example":"duo"},{"name":"iri","in":"path","description":"The IRI of the term, this value must be double URL encoded","required":true,"schema":{"type":"string"},"example":"http%3A%2F%2Fpurl.obolibrary.org%2Fobo%2FDUO_0000017"},{"name":"lang","in":"query","required":false,"schema":{"type":"string","default":"en"}}],"responses":{"404":{"description":"Not Found"},"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PagedModelV1Term"}},"application/hal+json":{"schema":{"$ref":"#/components/schemas/PagedModelV1Term"}}}}}}},"/api/ontologies/{onto}/terms/{iri}/ancestors":{"get":{"tags":["Ontology Term Controller"],"operationId":"ancestors","parameters":[{"name":"onto","in":"path","description":"The ID of the ontology. For example for Data Use Ontology, the ID is duo.","required":true,"schema":{"type":"string"},"example":"duo"},{"name":"iri","in":"path","description":"The IRI of the term, this value must be double URL encoded","required":true,"schema":{"type":"string"},"example":"http%3A%2F%2Fpurl.obolibrary.org%2Fobo%2FDUO_0000017"},{"name":"lang","in":"query","required":false,"schema":{"type":"string","default":"en"}}],"responses":{"404":{"description":"Not Found"},"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PagedModelV1Term"}},"application/hal+json":{"schema":{"$ref":"#/components/schemas/PagedModelV1Term"}}}}}}},"/api/ontologies/{onto}/terms/roots":{"get":{"tags":["Ontology Term Controller"],"operationId":"getRoots","parameters":[{"name":"onto","in":"path","description":"The ID of the ontology. For example for Data Use Ontology, the ID is duo.","required":true,"schema":{"type":"string"},"example":"duo"},{"name":"includeObsoletes","in":"query","required":false,"schema":{"type":"boolean","default":false}},{"name":"lang","in":"query","required":false,"schema":{"type":"string","default":"en"}}],"responses":{"404":{"description":"Not Found"},"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PagedModelV1Term"}},"application/hal+json":{"schema":{"$ref":"#/components/schemas/PagedModelV1Term"}}}}}}},"/api/ontologies/{onto}/terms/preferredRoots":{"get":{"tags":["Ontology Term Controller"],"operationId":"getPreferredRoots","parameters":[{"name":"onto","in":"path","description":"The ID of the ontology. For example for Data Use Ontology, the ID is duo.","required":true,"schema":{"type":"string"},"example":"duo"},{"name":"includeObsoletes","in":"query","required":false,"schema":{"type":"boolean","default":false}},{"name":"lang","in":"query","required":false,"schema":{"type":"string","default":"en"}}],"responses":{"404":{"description":"Not Found"},"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PagedModelV1Term"}},"application/hal+json":{"schema":{"$ref":"#/components/schemas/PagedModelV1Term"}}}}}}},"/api/ontologies/{onto}/properties":{"get":{"tags":["Ontology Property Controller"],"operationId":"getAllPropertiesByOntology","parameters":[{"name":"onto","in":"path","description":"The ID of the ontology. For example for Data Use Ontology, the ID is duo.","required":true,"schema":{"type":"string"},"example":"duo"},{"name":"iri","in":"query","description":"The IRI of the property, this IRI should exist in the specified ontology by {onto} param.","required":false,"schema":{"type":"string"},"example":"http://purl.obolibrary.org/obo/DUO_0000041"},{"name":"short_form","in":"query","description":"This refers to the short form of the property, it should exist in the specified ontology by {onto} param.","required":false,"schema":{"type":"string"},"example":"DUO_0000041"},{"name":"obo_id","in":"query","description":"This refers to the OBO ID of the property, it should exist in the specified ontology by {onto} param.","required":false,"schema":{"type":"string"},"example":"DUO:0000041"},{"name":"lang","in":"query","required":false,"schema":{"type":"string","default":"en"}}],"responses":{"404":{"description":"Not Found"},"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PagedModelV1Property"}},"application/hal+json":{"schema":{"$ref":"#/components/schemas/PagedModelV1Property"}}}}}}},"/api/ontologies/{onto}/properties/{iri}":{"get":{"tags":["Ontology Property Controller"],"operationId":"getProperty_1","parameters":[{"name":"onto","in":"path","description":"The ID of the ontology. For example for Data Use Ontology, the ID is duo.","required":true,"schema":{"type":"string"},"example":"duo"},{"name":"iri","in":"path","description":"The IRI of the property, this IRI should exist in the specified ontology by {onto} param. This value must be double URL encoded","required":true,"schema":{"type":"string"},"example":"http%3A%2F%2Fpurl.obolibrary.org%2Fobo%2FDUO_0000041"},{"name":"lang","in":"query","required":false,"schema":{"type":"string","default":"en"}}],"responses":{"404":{"description":"Not Found"},"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EntityModelV1Property"}},"application/hal+json":{"schema":{"$ref":"#/components/schemas/EntityModelV1Property"}}}}}}},"/api/ontologies/{onto}/properties/{iri}/parents":{"get":{"tags":["Ontology Property Controller"],"operationId":"getParents_1","parameters":[{"name":"onto","in":"path","description":"The ID of the ontology. For example for Data Use Ontology, the ID is duo.","required":true,"schema":{"type":"string"},"example":"duo"},{"name":"iri","in":"path","description":"The IRI of the property, this IRI should exist in the specified ontology by {onto} param. This value must be double URL encoded","required":true,"schema":{"type":"string"},"example":"http%3A%2F%2Fpurl.obolibrary.org%2Fobo%2FBFO_0000179"},{"name":"lang","in":"query","required":false,"schema":{"type":"string","default":"en"}}],"responses":{"404":{"description":"Not Found"},"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PagedModelV1Property"}},"application/hal+json":{"schema":{"$ref":"#/components/schemas/PagedModelV1Property"}}}}}}},"/api/ontologies/{onto}/properties/{iri}/jstree":{"get":{"tags":["Ontology Property Controller"],"operationId":"getJsTree","parameters":[{"name":"onto","in":"path","description":"The ID of the ontology. For example for Data Use Ontology, the ID is duo.","required":true,"schema":{"type":"string"},"example":"duo"},{"name":"iri","in":"path","description":"The IRI of the property, this IRI should exist in the specified ontology by {onto} param. This value must be double URL encoded","required":true,"schema":{"type":"string"},"example":"http%3A%2F%2Fpurl.obolibrary.org%2Fobo%2FDUO_0000041"},{"name":"siblings","in":"query","required":false,"schema":{"type":"boolean","default":false}},{"name":"viewMode","in":"query","required":false,"schema":{"type":"string","default":"PreferredRoots"}},{"name":"lang","in":"query","required":false,"schema":{"type":"string","default":"en"}}],"responses":{"404":{"description":"Not Found"},"200":{"description":"OK","content":{"application/json":{"schema":{"type":"string"}},"application/hal+json":{"schema":{"type":"string"}}}}}}},"/api/ontologies/{onto}/properties/{iri}/jstree/children/{nodeid}":{"get":{"tags":["Ontology Property Controller"],"operationId":"graphJsTreeChildren_1","parameters":[{"name":"onto","in":"path","description":"The ID of the ontology. For example for Data Use Ontology, the ID is duo.","required":true,"schema":{"type":"string"},"example":"duo"},{"name":"iri","in":"path","description":"The IRI of the property, this IRI should exist in the specified ontology by {onto} param. This value must be double URL encoded","required":true,"schema":{"type":"string"},"example":"http%3A%2F%2Fpurl.obolibrary.org%2Fobo%2FBFO_0000051"},{"name":"nodeid","in":"path","description":"This is the id of the node in the jstree of ontology specified by {onto} parameter","required":true,"schema":{"type":"string"},"example":"aHR0cDovL3B1cmwub2JvbGlicmFyeS5vcmcvb2JvL0JGT18wMDAwMDUx"},{"name":"lang","in":"query","required":false,"schema":{"type":"string","default":"en"}}],"responses":{"404":{"description":"Not Found"},"200":{"description":"OK","content":{"application/json":{"schema":{"type":"string"}}}}}}},"/api/ontologies/{onto}/properties/{iri}/descendants":{"get":{"tags":["Ontology Property Controller"],"operationId":"descendants_1","parameters":[{"name":"onto","in":"path","description":"The ID of the ontology.","required":true,"schema":{"type":"string"},"example":"mondo"},{"name":"iri","in":"path","description":"The IRI of the property, this IRI should exist in the specified ontology by {onto} param. This value must be double URL encoded","required":true,"schema":{"type":"string"},"example":"http%3A%2F%2Fpurl.obolibrary.org%2Fobo%2FBFO_0000051"},{"name":"lang","in":"query","required":false,"schema":{"type":"string","default":"en"}}],"responses":{"404":{"description":"Not Found"},"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PagedModelV1Property"}},"application/hal+json":{"schema":{"$ref":"#/components/schemas/PagedModelV1Property"}}}}}}},"/api/ontologies/{onto}/properties/{iri}/children":{"get":{"tags":["Ontology Property Controller"],"operationId":"children_1","parameters":[{"name":"onto","in":"path","description":"The ID of the ontology.","required":true,"schema":{"type":"string"},"example":"mondo"},{"name":"iri","in":"path","description":"The IRI of the property, this IRI should exist in the specified ontology by {onto} param. This value must be double URL encoded","required":true,"schema":{"type":"string"},"example":"http%3A%2F%2Fpurl.obolibrary.org%2Fobo%2FBFO_0000051"},{"name":"lang","in":"query","required":false,"schema":{"type":"string","default":"en"}}],"responses":{"404":{"description":"Not Found"},"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PagedModelV1Property"}},"application/hal+json":{"schema":{"$ref":"#/components/schemas/PagedModelV1Property"}}}}}}},"/api/ontologies/{onto}/properties/{iri}/ancestors":{"get":{"tags":["Ontology Property Controller"],"operationId":"ancestors_1","parameters":[{"name":"onto","in":"path","description":"The ID of the ontology.","required":true,"schema":{"type":"string"},"example":"mondo"},{"name":"iri","in":"path","description":"The IRI of the property, this IRI should exist in the specified ontology by {onto} param. This value must be double URL encoded","required":true,"schema":{"type":"string"},"example":"http%3A%2F%2Fpurl.obolibrary.org%2Fobo%2FBFO_0000051"},{"name":"lang","in":"query","required":false,"schema":{"type":"string","default":"en"}}],"responses":{"404":{"description":"Not Found"},"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PagedModelV1Property"}},"application/hal+json":{"schema":{"$ref":"#/components/schemas/PagedModelV1Property"}}}}}}},"/api/ontologies/{onto}/properties/roots":{"get":{"tags":["Ontology Property Controller"],"operationId":"getRoots_1","parameters":[{"name":"onto","in":"path","description":"The ID of the ontology. For example for Data Use Ontology, the ID is duo.","required":true,"schema":{"type":"string"},"example":"duo"},{"name":"includeObsoletes","in":"query","description":"A boolean flag to get Obsolete terms","required":false,"schema":{"type":"boolean","default":false},"example":true},{"name":"lang","in":"query","required":false,"schema":{"type":"string","default":"en"}}],"responses":{"404":{"description":"Not Found"},"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PagedModelV1Property"}},"application/hal+json":{"schema":{"$ref":"#/components/schemas/PagedModelV1Property"}}}}}}},"/api/ontologies/{onto}/parents":{"get":{"tags":["Ontology Term Controller"],"operationId":"termParentsByOntology","parameters":[{"name":"onto","in":"path","description":"The ID of the ontology. For example for Data Use Ontology, the ID is duo.","required":true,"schema":{"type":"string"},"example":"duo"},{"name":"iri","in":"query","description":"The IRI of the term.","required":false,"schema":{"type":"string"},"example":"http://purl.obolibrary.org/obo/DUO_0000017"},{"name":"short_form","in":"query","description":"This refers to the short form of the term.","required":false,"schema":{"type":"string"},"example":"DUO_0000017"},{"name":"obo_id","in":"query","description":"This refers to the OBO ID of the term.","required":false,"schema":{"type":"string"},"example":"DUO:0000017"},{"name":"id","in":"query","description":"This can be any of the above i.e. iri, short_form or obo_id.","required":false,"schema":{"type":"string"}},{"name":"lang","in":"query","required":false,"schema":{"type":"string","default":"en"}}],"responses":{"404":{"description":"Not Found"},"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PagedModelV1Term"}},"application/hal+json":{"schema":{"$ref":"#/components/schemas/PagedModelV1Term"}}}}}}},"/api/ontologies/{onto}/individuals":{"get":{"tags":["Ontology Individual Controller"],"operationId":"getAllIndividualsByOntology","parameters":[{"name":"onto","in":"path","description":"The ID of the ontology. For example for Information Artifact Ontology, the ID is iao.","required":true,"schema":{"type":"string"},"example":"iao"},{"name":"iri","in":"query","description":"The IRI of the individual, this IRI should exist in the specified ontology by {onto} param.","required":false,"schema":{"type":"string"},"example":"http://purl.obolibrary.org/obo/IAO_0000002"},{"name":"short_form","in":"query","description":"This refers to the short form of the individual, it should exist in the specified ontology by {onto} param.","required":false,"schema":{"type":"string"},"example":"IAO_0000002"},{"name":"obo_id","in":"query","description":"This refers to the OBO ID of the individual, it should exist in the specified ontology by {onto} param.","required":false,"schema":{"type":"string"},"example":"IAO:0000002"},{"name":"lang","in":"query","required":false,"schema":{"type":"string","default":"en"}}],"responses":{"404":{"description":"Not Found"},"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PagedModelV1Individual"}},"application/hal+json":{"schema":{"$ref":"#/components/schemas/PagedModelV1Individual"}}}}}}},"/api/ontologies/{onto}/individuals/{iri}":{"get":{"tags":["Ontology Individual Controller"],"operationId":"getIndividual_1","parameters":[{"name":"onto","in":"path","description":"The ID of the ontology. For example for Information Artifact Ontology, the ID is iao.","required":true,"schema":{"type":"string"},"example":"iao"},{"name":"iri","in":"path","description":"The IRI of the individual, this IRI should exist in the specified ontology by {onto} param. This value must be double URL encoded","required":true,"schema":{"type":"string"},"example":"http%3A%2F%2Fpurl.obolibrary.org%2Fobo%2FIAO_0000103"},{"name":"lang","in":"query","required":false,"schema":{"type":"string","default":"en"}}],"responses":{"404":{"description":"Not Found"},"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EntityModelV1Individual"}},"application/hal+json":{"schema":{"$ref":"#/components/schemas/EntityModelV1Individual"}}}}}}},"/api/ontologies/{onto}/individuals/{iri}/types":{"get":{"tags":["Ontology Individual Controller"],"operationId":"getDirectTypes","parameters":[{"name":"onto","in":"path","description":"The ID of the ontology. For example for Information Artifact Ontology, the ID is iao.","required":true,"schema":{"type":"string"},"example":"iao"},{"name":"iri","in":"path","description":"The IRI of the individual, this IRI should exist in the specified ontology by {onto} param. This value must be double URL encoded","required":true,"schema":{"type":"string"},"example":"http%3A%2F%2Fpurl.obolibrary.org%2Fobo%2FIAO_0000103"},{"name":"lang","in":"query","required":false,"schema":{"type":"string","default":"en"}}],"responses":{"404":{"description":"Not Found"},"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PagedModelV1Term"}},"application/hal+json":{"schema":{"$ref":"#/components/schemas/PagedModelV1Term"}}}}}}},"/api/ontologies/{onto}/individuals/{iri}/jstree":{"get":{"tags":["Ontology Individual Controller"],"operationId":"getJsTree_1","parameters":[{"name":"onto","in":"path","description":"The ID of the ontology. For example for Information Artifact Ontology, the ID is iao.","required":true,"schema":{"type":"string"},"example":"iao"},{"name":"iri","in":"path","description":"The IRI of the individual, this IRI should exist in the specified ontology by {onto} param. This value must be double URL encoded","required":true,"schema":{"type":"string"},"example":"http%3A%2F%2Fpurl.obolibrary.org%2Fobo%2FIAO_0000103"},{"name":"lang","in":"query","required":false,"schema":{"type":"string","default":"en"}}],"responses":{"404":{"description":"Not Found"},"200":{"description":"OK","content":{"application/json":{"schema":{"type":"string"}}}}}}},"/api/ontologies/{onto}/individuals/{iri}/alltypes":{"get":{"tags":["Ontology Individual Controller"],"operationId":"ancestors_2","parameters":[{"name":"onto","in":"path","description":"The ID of the ontology. For example for Information Artifact Ontology, the ID is iao.","required":true,"schema":{"type":"string"},"example":"iao"},{"name":"iri","in":"path","description":"The IRI of the individual, this IRI should exist in the specified ontology by {onto} param. This value must be double URL encoded","required":true,"schema":{"type":"string"},"example":"http%3A%2F%2Fpurl.obolibrary.org%2Fobo%2FIAO_0000103"},{"name":"lang","in":"query","required":false,"schema":{"type":"string","default":"en"}}],"responses":{"404":{"description":"Not Found"},"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PagedModelV1Property"}},"application/hal+json":{"schema":{"$ref":"#/components/schemas/PagedModelV1Property"}}}}}}},"/api/ontologies/{onto}/hierarchicalDescendants":{"get":{"tags":["Ontology Term Controller"],"operationId":"termHierarchicalDescendantsByOntology","parameters":[{"name":"onto","in":"path","description":"The ID of the ontology. For example for Data Use Ontology, the ID is duo.","required":true,"schema":{"type":"string"},"example":"duo"},{"name":"iri","in":"query","description":"The IRI of the term.","required":false,"schema":{"type":"string"},"example":"http://purl.obolibrary.org/obo/DUO_0000017"},{"name":"short_form","in":"query","description":"This refers to the short form of the term.","required":false,"schema":{"type":"string"},"example":"DUO_0000017"},{"name":"obo_id","in":"query","description":"This refers to the OBO ID of the term.","required":false,"schema":{"type":"string"},"example":"DUO:0000017"},{"name":"id","in":"query","description":"This can be any of the above i.e. iri, short_form or obo_id.","required":false,"schema":{"type":"string"}},{"name":"lang","in":"query","required":false,"schema":{"type":"string","default":"en"}}],"responses":{"404":{"description":"Not Found"},"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PagedModelV1Term"}},"application/hal+json":{"schema":{"$ref":"#/components/schemas/PagedModelV1Term"}}}}}}},"/api/ontologies/{onto}/hierarchicalChildren":{"get":{"tags":["Ontology Term Controller"],"operationId":"termHierarchicalChildrenByOntology","parameters":[{"name":"onto","in":"path","description":"The ID of the ontology. For example for Data Use Ontology, the ID is duo.","required":true,"schema":{"type":"string"},"example":"duo"},{"name":"iri","in":"query","description":"The IRI of the term.","required":false,"schema":{"type":"string"},"example":"http://purl.obolibrary.org/obo/DUO_0000017"},{"name":"short_form","in":"query","description":"This refers to the short form of the term.","required":false,"schema":{"type":"string"},"example":"DUO_0000017"},{"name":"obo_id","in":"query","description":"This refers to the OBO ID of the term.","required":false,"schema":{"type":"string"},"example":"DUO:0000017"},{"name":"id","in":"query","description":"This can be any of the above i.e. iri, short_form or obo_id.","required":false,"schema":{"type":"string"}},{"name":"lang","in":"query","required":false,"schema":{"type":"string","default":"en"}}],"responses":{"404":{"description":"Not Found"},"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PagedModelV1Term"}},"application/hal+json":{"schema":{"$ref":"#/components/schemas/PagedModelV1Term"}}}}}}},"/api/ontologies/{onto}/hierarchicalAncestors":{"get":{"tags":["Ontology Term Controller"],"operationId":"termHierarchicalAncestorsByOntology","parameters":[{"name":"onto","in":"path","description":"The ID of the ontology. For example for Data Use Ontology, the ID is duo.","required":true,"schema":{"type":"string"},"example":"duo"},{"name":"iri","in":"query","description":"The IRI of the term.","required":false,"schema":{"type":"string"},"example":"http://purl.obolibrary.org/obo/DUO_0000017"},{"name":"short_form","in":"query","description":"This refers to the short form of the term.","required":false,"schema":{"type":"string"},"example":"DUO_0000017"},{"name":"obo_id","in":"query","description":"This refers to the OBO ID of the term.","required":false,"schema":{"type":"string"},"example":"DUO:0000017"},{"name":"id","in":"query","description":"This can be any of the above i.e. iri, short_form or obo_id.","required":false,"schema":{"type":"string"}},{"name":"lang","in":"query","required":false,"schema":{"type":"string","default":"en"}}],"responses":{"404":{"description":"Not Found"},"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PagedModelV1Term"}},"application/hal+json":{"schema":{"$ref":"#/components/schemas/PagedModelV1Term"}}}}}}},"/api/ontologies/{onto}/descendants":{"get":{"tags":["Ontology Term Controller"],"operationId":"termDescendantsByOntology","parameters":[{"name":"onto","in":"path","description":"The ID of the ontology. For example for Data Use Ontology, the ID is duo.","required":true,"schema":{"type":"string"},"example":"duo"},{"name":"iri","in":"query","description":"The IRI of the term.","required":false,"schema":{"type":"string"},"example":"http://purl.obolibrary.org/obo/DUO_0000017"},{"name":"short_form","in":"query","description":"This refers to the short form of the term.","required":false,"schema":{"type":"string"},"example":"DUO_0000017"},{"name":"obo_id","in":"query","description":"This refers to the OBO ID of the term.","required":false,"schema":{"type":"string"},"example":"DUO:0000017"},{"name":"id","in":"query","description":"This can be any of the above i.e. iri, short_form or obo_id.","required":false,"schema":{"type":"string"}},{"name":"lang","in":"query","required":false,"schema":{"type":"string","default":"en"}}],"responses":{"404":{"description":"Not Found"},"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PagedModelV1Term"}},"application/hal+json":{"schema":{"$ref":"#/components/schemas/PagedModelV1Term"}}}}}}},"/api/ontologies/{onto}/children":{"get":{"tags":["Ontology Term Controller"],"operationId":"termChildrenByOntology","parameters":[{"name":"onto","in":"path","description":"The ID of the ontology. For example for Data Use Ontology, the ID is duo.","required":true,"schema":{"type":"string"},"example":"duo"},{"name":"iri","in":"query","description":"The IRI of the term.","required":false,"schema":{"type":"string"},"example":"http://purl.obolibrary.org/obo/DUO_0000017"},{"name":"short_form","in":"query","description":"This refers to the short form of the term.","required":false,"schema":{"type":"string"},"example":"DUO_0000017"},{"name":"obo_id","in":"query","description":"This refers to the OBO ID of the term.","required":false,"schema":{"type":"string"},"example":"DUO:0000017"},{"name":"id","in":"query","description":"This can be any of the above i.e. iri, short_form or obo_id.","required":false,"schema":{"type":"string"}},{"name":"lang","in":"query","required":false,"schema":{"type":"string","default":"en"}}],"responses":{"404":{"description":"Not Found"},"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PagedModelV1Term"}},"application/hal+json":{"schema":{"$ref":"#/components/schemas/PagedModelV1Term"}}}}}}},"/api/ontologies/{onto}/ancestors":{"get":{"tags":["Ontology Term Controller"],"operationId":"termAncestorsByOntology","parameters":[{"name":"onto","in":"path","description":"The ID of the ontology. For example for Data Use Ontology, the ID is duo.","required":true,"schema":{"type":"string"},"example":"duo"},{"name":"iri","in":"query","description":"The IRI of the term.","required":false,"schema":{"type":"string"},"example":"http://purl.obolibrary.org/obo/DUO_0000017"},{"name":"short_form","in":"query","description":"This refers to the short form of the term.","required":false,"schema":{"type":"string"},"example":"DUO_0000017"},{"name":"obo_id","in":"query","description":"This refers to the OBO ID of the term.","required":false,"schema":{"type":"string"},"example":"DUO:0000017"},{"name":"id","in":"query","description":"This can be any of the above i.e. iri, short_form or obo_id.","required":false,"schema":{"type":"string"}},{"name":"lang","in":"query","required":false,"schema":{"type":"string","default":"en"}}],"responses":{"404":{"description":"Not Found"},"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PagedModelV1Term"}},"application/hal+json":{"schema":{"$ref":"#/components/schemas/PagedModelV1Term"}}}}}}},"/api/individuals":{"get":{"tags":["Individual Controller"],"operationId":"getAllIndividuals","parameters":[{"name":"iri","in":"query","description":"The IRI of the individual.","required":false,"schema":{"type":"string"},"example":"http://purl.obolibrary.org/obo/GAZ_00043159"},{"name":"short_form","in":"query","description":"This refers to the short form of the individual.","required":false,"schema":{"type":"string"},"example":"GAZ_00043159"},{"name":"obo_id","in":"query","description":"This refers to the OBO ID of the individual.","required":false,"schema":{"type":"string"},"example":"GAZ:00043159"},{"name":"lang","in":"query","required":false,"schema":{"type":"string","default":"en"}}],"responses":{"404":{"description":"Not Found"},"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PagedModelV1Individual"}},"application/hal+json":{"schema":{"$ref":"#/components/schemas/PagedModelV1Individual"}}}}}}},"/api/individuals/{iri}":{"get":{"tags":["Individual Controller"],"operationId":"getAllIndividuals_1","parameters":[{"name":"iri","in":"path","description":"The IRI of the individual, this value must be double URL encoded","required":true,"schema":{"type":"string"},"example":"http%3A%2F%2Fpurl.obolibrary.org%2Fobo%2FGAZ_00043159"},{"name":"lang","in":"query","required":false,"schema":{"type":"string","default":"en"}}],"responses":{"404":{"description":"Not Found"},"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PagedModelV1Individual"}},"application/hal+json":{"schema":{"$ref":"#/components/schemas/PagedModelV1Individual"}}}}}}},"/api/individuals/findByIdAndIsDefiningOntology":{"get":{"tags":["Individual Controller"],"operationId":"getAllIndividualsByIdAndIsDefiningOntology","parameters":[{"name":"iri","in":"query","description":"The IRI of the individual, this value must be double URL encoded","required":false,"schema":{"type":"string"},"example":"http://purl.obolibrary.org/obo/OHD_0000363"},{"name":"short_form","in":"query","description":"This refers to the short form of the individual.","required":false,"schema":{"type":"string"},"example":"OHD_0000363"},{"name":"obo_id","in":"query","description":"This refers to the OBO ID of the individual.","required":false,"schema":{"type":"string"},"example":"OHD:0000363"},{"name":"lang","in":"query","required":false,"schema":{"type":"string","default":"en"}}],"responses":{"404":{"description":"Not Found"},"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PagedModelV1Individual"}},"application/hal+json":{"schema":{"$ref":"#/components/schemas/PagedModelV1Individual"}}}}}}},"/api/individuals/findByIdAndIsDefiningOntology/{iri}":{"get":{"tags":["Individual Controller"],"operationId":"getAllIndividualsByIdAndIsDefiningOntology_1","parameters":[{"name":"iri","in":"path","description":"The IRI of the individual, this value must be double URL encoded","required":true,"schema":{"type":"string"},"example":"http%3A%2F%2Fpurl.obolibrary.org%2Fobo%2FOHD_0000363"},{"name":"lang","in":"query","required":false,"schema":{"type":"string","default":"en"}}],"responses":{"404":{"description":"Not Found"},"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PagedModelV1Individual"}},"application/hal+json":{"schema":{"$ref":"#/components/schemas/PagedModelV1Individual"}}}}}}},"/error":{"get":{"tags":["custom-error-controller"],"operationId":"handleError_3","responses":{"404":{"description":"Not Found"},"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"put":{"tags":["custom-error-controller"],"operationId":"handleError_2","responses":{"404":{"description":"Not Found"},"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"post":{"tags":["custom-error-controller"],"operationId":"handleError","responses":{"404":{"description":"Not Found"},"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"delete":{"tags":["custom-error-controller"],"operationId":"handleError_1","responses":{"404":{"description":"Not Found"},"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"options":{"tags":["custom-error-controller"],"operationId":"handleError_5","responses":{"404":{"description":"Not Found"},"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"head":{"tags":["custom-error-controller"],"operationId":"handleError_4","responses":{"404":{"description":"Not Found"},"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"patch":{"tags":["custom-error-controller"],"operationId":"handleError_6","responses":{"404":{"description":"Not Found"},"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/api/v2/health":{"get":{"tags":["health-check-controller"],"operationId":"checkHealth_3","responses":{"404":{"description":"Not Found"},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"string"}}}}}},"put":{"tags":["health-check-controller"],"operationId":"checkHealth_2","responses":{"404":{"description":"Not Found"},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"string"}}}}}},"post":{"tags":["health-check-controller"],"operationId":"checkHealth","responses":{"404":{"description":"Not Found"},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"string"}}}}}},"delete":{"tags":["health-check-controller"],"operationId":"checkHealth_1","responses":{"404":{"description":"Not Found"},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"string"}}}}}},"options":{"tags":["health-check-controller"],"operationId":"checkHealth_5","responses":{"404":{"description":"Not Found"},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"string"}}}}}},"head":{"tags":["health-check-controller"],"operationId":"checkHealth_4","responses":{"404":{"description":"Not Found"},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"string"}}}}}},"patch":{"tags":["health-check-controller"],"operationId":"checkHealth_6","responses":{"404":{"description":"Not Found"},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"string"}}}}}}}},"components":{"schemas":{"Pageable":{"type":"object","properties":{"page":{"minimum":0,"type":"integer","format":"int32"},"size":{"minimum":1,"type":"integer","format":"int32"},"sort":{"type":"array","items":{"type":"string"}}},"description":"Specify the size of the result you want to get in the output"},"V2Entity":{"type":"object"},"V2PagedResponseV2Entity":{"type":"object","properties":{"page":{"type":"integer","format":"int64"},"numElements":{"type":"integer","format":"int64"},"totalPages":{"type":"integer","format":"int64"},"totalElements":{"type":"integer","format":"int64"},"elements":{"type":"array","items":{"$ref":"#/components/schemas/V2Entity"}}}},"V2Statistics":{"type":"object","properties":{"lastModified":{"type":"string"},"numberOfOntologies":{"type":"integer","format":"int32"},"numberOfClasses":{"type":"integer","format":"int32"},"numberOfProperties":{"type":"integer","format":"int32"},"numberOfIndividuals":{"type":"integer","format":"int32"}}},"V2PagedAndFacetedResponseV2Entity":{"type":"object","properties":{"page":{"type":"integer","format":"int64"},"numElements":{"type":"integer","format":"int64"},"totalPages":{"type":"integer","format":"int64"},"totalElements":{"type":"integer","format":"int64"},"elements":{"type":"array","items":{"$ref":"#/components/schemas/V2Entity"}},"facetFieldsToCounts":{"type":"object","additionalProperties":{"type":"object","additionalProperties":{"type":"integer","format":"int64"}}}}},"DefinedFieldDto":{"type":"object","properties":{"ols4FieldName":{"type":"string"},"ols3FieldName":{"type":"string"},"description":{"type":"string"},"dataType":{"type":"string"}}},"Link":{"type":"object","properties":{"rel":{"type":"string"},"href":{"type":"string"},"hreflang":{"type":"string"},"media":{"type":"string"},"title":{"type":"string"},"type":{"type":"string"},"deprecation":{"type":"string"},"profile":{"type":"string"},"name":{"type":"string"}}},"PageMetadata":{"type":"object","properties":{"size":{"type":"integer","format":"int64"},"totalElements":{"type":"integer","format":"int64"},"totalPages":{"type":"integer","format":"int64"},"number":{"type":"integer","format":"int64"}}},"PagedModelV1Term":{"type":"object","properties":{"links":{"type":"array","items":{"$ref":"#/components/schemas/Link"}},"content":{"type":"array","items":{"$ref":"#/components/schemas/V1Term"}},"page":{"$ref":"#/components/schemas/PageMetadata"}}},"V1OboDefinitionCitation":{"type":"object","properties":{"definition":{"type":"string"},"oboXrefs":{"type":"array","items":{"$ref":"#/components/schemas/V1OboXref"}}}},"V1OboSynonym":{"type":"object","properties":{"name":{"type":"string"},"scope":{"type":"string"},"type":{"type":"string"},"xrefs":{"type":"array","items":{"$ref":"#/components/schemas/V1OboXref"}}}},"V1OboXref":{"type":"object","properties":{"database":{"type":"string"},"id":{"type":"string"},"description":{"type":"string"},"url":{"type":"string"}}},"V1Term":{"type":"object","properties":{"iri":{"type":"string"},"lang":{"type":"string"},"description":{"type":"array","items":{"type":"string"}},"synonyms":{"type":"array","items":{"type":"string"}},"annotation":{"type":"object","additionalProperties":{"type":"object"}},"label":{"type":"string"},"ontology_name":{"type":"string"},"ontology_prefix":{"type":"string"},"ontology_iri":{"type":"string"},"is_obsolete":{"type":"boolean"},"term_replaced_by":{"type":"string"},"is_defining_ontology":{"type":"boolean"},"has_children":{"type":"boolean"},"is_root":{"type":"boolean"},"short_form":{"type":"string"},"obo_id":{"type":"string"},"in_subset":{"type":"array","items":{"type":"string"}},"obo_definition_citation":{"type":"array","items":{"$ref":"#/components/schemas/V1OboDefinitionCitation"}},"obo_xref":{"type":"array","items":{"$ref":"#/components/schemas/V1OboXref"}},"obo_synonym":{"type":"array","items":{"$ref":"#/components/schemas/V1OboSynonym"}},"is_preferred_root":{"type":"boolean"}}},"PagedModelV1Property":{"type":"object","properties":{"links":{"type":"array","items":{"$ref":"#/components/schemas/Link"}},"content":{"type":"array","items":{"$ref":"#/components/schemas/V1Property"}},"page":{"$ref":"#/components/schemas/PageMetadata"}}},"V1Property":{"type":"object","properties":{"iri":{"type":"string"},"lang":{"type":"string"},"description":{"type":"array","items":{"type":"string"}},"synonyms":{"type":"array","items":{"type":"string"}},"annotation":{"type":"object","additionalProperties":{"type":"object"}},"label":{"type":"string"},"ontology_name":{"type":"string"},"ontology_prefix":{"type":"string"},"ontology_iri":{"type":"string"},"is_obsolete":{"type":"boolean"},"is_defining_ontology":{"type":"boolean"},"has_children":{"type":"boolean"},"is_root":{"type":"boolean"},"short_form":{"type":"string"},"obo_id":{"type":"string"}}},"PagedModelV1Ontology":{"type":"object","properties":{"links":{"type":"array","items":{"$ref":"#/components/schemas/Link"}},"content":{"type":"array","items":{"$ref":"#/components/schemas/V1Ontology"}},"page":{"$ref":"#/components/schemas/PageMetadata"}}},"V1Ontology":{"type":"object","properties":{"languages":{"type":"array","items":{"type":"string"}},"lang":{"type":"string"},"ontologyId":{"type":"string"},"loaded":{"type":"string"},"updated":{"type":"string"},"status":{"type":"string"},"message":{"type":"string"},"version":{"type":"string"},"fileHash":{"type":"string"},"loadAttempts":{"type":"integer","format":"int32"},"numberOfTerms":{"type":"integer","format":"int32"},"numberOfProperties":{"type":"integer","format":"int32"},"numberOfIndividuals":{"type":"integer","format":"int32"},"config":{"$ref":"#/components/schemas/V1OntologyConfig"},"baseUris":{"uniqueItems":true,"type":"array","items":{"type":"string"}}}},"V1OntologyConfig":{"type":"object","properties":{"id":{"type":"string"},"versionIri":{"type":"string"},"namespace":{"type":"string"},"preferredPrefix":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"homepage":{"type":"string"},"version":{"type":"string"},"mailingList":{"type":"string"},"tracker":{"type":"string"},"logo":{"type":"string"},"creators":{"type":"array","items":{"type":"string"}},"annotations":{"type":"object"},"fileLocation":{"type":"string"},"oboSlims":{"type":"boolean"},"labelProperty":{"type":"string"},"definitionProperties":{"type":"array","items":{"type":"string"}},"synonymProperties":{"type":"array","items":{"type":"string"}},"hierarchicalProperties":{"type":"array","items":{"type":"string"}},"baseUris":{"type":"array","items":{"type":"string"}},"hiddenProperties":{"type":"array","items":{"type":"string"}},"preferredRootTerms":{"type":"array","items":{"type":"string"}},"isSkos":{"type":"boolean"},"allowDownload":{"type":"boolean"}}},"EntityModelV1Ontology":{"type":"object","properties":{"languages":{"type":"array","items":{"type":"string"}},"lang":{"type":"string"},"ontologyId":{"type":"string"},"loaded":{"type":"string"},"updated":{"type":"string"},"status":{"type":"string"},"message":{"type":"string"},"version":{"type":"string"},"fileHash":{"type":"string"},"loadAttempts":{"type":"integer","format":"int32"},"numberOfTerms":{"type":"integer","format":"int32"},"numberOfProperties":{"type":"integer","format":"int32"},"numberOfIndividuals":{"type":"integer","format":"int32"},"config":{"$ref":"#/components/schemas/V1OntologyConfig"},"baseUris":{"uniqueItems":true,"type":"array","items":{"type":"string"}},"links":{"type":"array","items":{"$ref":"#/components/schemas/Link"}}}},"EntityModelV1Term":{"type":"object","properties":{"iri":{"type":"string"},"lang":{"type":"string"},"description":{"type":"array","items":{"type":"string"}},"synonyms":{"type":"array","items":{"type":"string"}},"annotation":{"type":"object","additionalProperties":{"type":"object"}},"label":{"type":"string"},"ontology_name":{"type":"string"},"ontology_prefix":{"type":"string"},"ontology_iri":{"type":"string"},"is_obsolete":{"type":"boolean"},"term_replaced_by":{"type":"string"},"is_defining_ontology":{"type":"boolean"},"has_children":{"type":"boolean"},"is_root":{"type":"boolean"},"short_form":{"type":"string"},"obo_id":{"type":"string"},"in_subset":{"type":"array","items":{"type":"string"}},"obo_definition_citation":{"type":"array","items":{"$ref":"#/components/schemas/V1OboDefinitionCitation"}},"obo_xref":{"type":"array","items":{"$ref":"#/components/schemas/V1OboXref"}},"obo_synonym":{"type":"array","items":{"$ref":"#/components/schemas/V1OboSynonym"}},"is_preferred_root":{"type":"boolean"},"links":{"type":"array","items":{"$ref":"#/components/schemas/Link"}}}},"EntityModelV1Property":{"type":"object","properties":{"iri":{"type":"string"},"lang":{"type":"string"},"description":{"type":"array","items":{"type":"string"}},"synonyms":{"type":"array","items":{"type":"string"}},"annotation":{"type":"object","additionalProperties":{"type":"object"}},"label":{"type":"string"},"ontology_name":{"type":"string"},"ontology_prefix":{"type":"string"},"ontology_iri":{"type":"string"},"is_obsolete":{"type":"boolean"},"is_defining_ontology":{"type":"boolean"},"has_children":{"type":"boolean"},"is_root":{"type":"boolean"},"short_form":{"type":"string"},"obo_id":{"type":"string"},"links":{"type":"array","items":{"$ref":"#/components/schemas/Link"}}}},"PagedModelV1Individual":{"type":"object","properties":{"links":{"type":"array","items":{"$ref":"#/components/schemas/Link"}},"content":{"type":"array","items":{"$ref":"#/components/schemas/V1Individual"}},"page":{"$ref":"#/components/schemas/PageMetadata"}}},"V1Individual":{"type":"object","properties":{"iri":{"type":"string"},"lang":{"type":"string"},"description":{"type":"array","items":{"type":"string"}},"synonyms":{"type":"array","items":{"type":"string"}},"annotation":{"type":"object","additionalProperties":{"type":"object"}},"type":{"type":"array","items":{"$ref":"#/components/schemas/V1Term"}},"label":{"type":"string"},"ontology_name":{"type":"string"},"ontology_prefix":{"type":"string"},"ontology_iri":{"type":"string"},"is_obsolete":{"type":"boolean"},"is_defining_ontology":{"type":"boolean"},"has_children":{"type":"boolean"},"is_root":{"type":"boolean"},"short_form":{"type":"string"},"obo_id":{"type":"string"},"in_subset":{"type":"array","items":{"type":"string"}}}},"EntityModelV1Individual":{"type":"object","properties":{"iri":{"type":"string"},"lang":{"type":"string"},"description":{"type":"array","items":{"type":"string"}},"synonyms":{"type":"array","items":{"type":"string"}},"annotation":{"type":"object","additionalProperties":{"type":"object"}},"type":{"type":"array","items":{"$ref":"#/components/schemas/V1Term"}},"label":{"type":"string"},"ontology_name":{"type":"string"},"ontology_prefix":{"type":"string"},"ontology_iri":{"type":"string"},"is_obsolete":{"type":"boolean"},"is_defining_ontology":{"type":"boolean"},"has_children":{"type":"boolean"},"is_root":{"type":"boolean"},"short_form":{"type":"string"},"obo_id":{"type":"string"},"in_subset":{"type":"array","items":{"type":"string"}},"links":{"type":"array","items":{"$ref":"#/components/schemas/Link"}}}},"ErrorResponse":{"type":"object","properties":{"status":{"type":"integer","format":"int32"},"message":{"type":"string"}}}}}}

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/seandavi/ols-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server