Skip to navigation

Set project ontology

Replaces the entity types and the edge types that the project uses.

Authentication

AuthorizationApi-Key

Type "Api-Key" followed by a space and the project API key.

Request

Request body
edge_typeslist of objectsOptional
The edge types defined in the ontology in effect at this scope.
entity_type_hierarchyobjectOptional

The entity type hierarchy (spec ontology-1). Omitted when the ontology is flat.

entity_typeslist of objectsOptional
The entity types defined in the ontology in effect at this scope.
inheritedbooleanOptional
Whether this is the project's default value rather than an override set on this graph.

Response

OK
edge_typeslist of objectsOptional
The edge types defined in the ontology in effect at this scope.
entity_type_hierarchyobjectOptional

The entity type hierarchy (spec ontology-1). Omitted when the ontology is flat.

entity_typeslist of objectsOptional
The entity types defined in the ontology in effect at this scope.
inheritedbooleanOptional
Whether this is the project's default value rather than an override set on this graph.

Errors

400
Bad Request Error
401
Unauthorized Error
404
Not Found Error