Get Ontology

Get a specific Ontology

Request
path Parameters
id
required
string

: Ontology ID

Responses
200

Ok

400

Missing or Invalid id

404

Ontology not found

get/ontologies/{id}
Request samples

recipe.ontologies.get(ontology_id='ontology_id')

# 
# Get Ontology object to use in your code.
# 
# **Prerequisites**: You must be in the role of an *owner* or *developer*.
# 
# :param str ontology_id: ontology id
# :return: Ontology object
# :rtype: dtlpy.entities.ontology.Ontology
# 
# 
Response samples
application/json
{
  • "id": "string",
  • "url": "string",
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z",
  • "updatedBy": "string",
  • "creator": "string",
  • "metadata": {
    },
  • "v2": true
}