Create an ontology
POST/api/graph/ontologies
Accepts a multipart request with an ontology name, optional description, and a YAML file. Only .yaml and .yml files are accepted.
The YAML content itself is not validated on upload. The 201 response includes a Location header (/api/graph/ontologies/{ontologyId}). An empty ontologyName is treated as a missing part.
Request
Responses
- 201
- 400
- 401
- 403
- 409
- 413
Ontology created successfully.
Response Headers
Location
URL of the created ontology
Missing file, unsupported file type, or missing/blank name.
Not Authorized
Not Allowed
An ontology with the given name already exists (empty body).
Uploaded file exceeds the configured size limit.