API
This is the official API for the Ontology Curation Tool. It allows you to programmatically retrieve and interact with Ontology data.
You can send your feedback at helpdesk@cropontology-curationtool.org
BRAPI calls
- get all the BRAPI calls implemented
- URL: cropontology.org/brapi/v1/calls
- Method: GET
- Returns: JSON
- Example: cropontology.org/brapi/v1/calls
- get all the CO traits
- URL: cropontology.org/brapi/v1/traits
- Method: GET
- Returns: JSON
- Example: cropontology.org/brapi/v1/traits
- get a specific trait
- URL: cropontology.org/brapi/v1/traits/{traitID}
- Method: GET
- Returns: JSON
- Example: cropontology.org/brapi/v1/traits/CO_321:0000017
- get all the CO variables
- URL: cropontology.org/brapi/v1/variables
- Method: GET
- Returns: JSON
- Example: cropontology.org/brapi/v1/variables
- get a specific variable
- URL: cropontology.org/brapi/v1/variables/{variablesID}
- Method: GET
- Returns: JSON
- Example: cropontology.org/brapi/v1/variables/CO_321:0001199
BRAPI like calls
- get all the traits from a given ontology
- URL: cropontology.org/brapi/v1/traits/{ontologyID}
- Method: GET
- Returns: JSON
- Example: cropontology.org/brapi/v1/traits/CO_334
- get all the variables from a given ontology
- URL: cropontology.org/brapi/v1/variables/{ontologyID}
- Method: GET
- Example: cropontology.org/brapi/v1/variables/CO_334
RDF calls
- get the owl version of an ontology
- URL: cropontology.org/ontology/{ontologyID}/rdf
- Method: GET
- Returns: OWL (RDF/XML)
- Example: cropontology.org/ontology/CO_334/rdf
- get the owl version of a term
- URL: cropontology.org/rdf/{term_id}
- Method: GET
- Returns: OWL (RDF/XML)
- Example: cropontology.org/rdf/CO_321:0001199
- get statistics of all ontologies
- URL: cropontology.org/ontos_stats
- Method: GET
- Returns: JSON
- Example: cropontology.org/ontos_stats
- get ontology metadata
- URL: cropontology.org/metadata
- Method: GET
- Return: YAML
- Example: cropontology.org/metadata