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_type_hierarchyobjectOptional
The edge type hierarchy. Omitted when the ontology has no edge subtypes.
edge_typeslist of objectsOptional
The edge types defined in the ontology in effect at this scope.
entity_type_hierarchyobjectOptional
The entity type hierarchy. Omitted when the ontology has no entity subtypes.
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_type_hierarchyobjectOptional
The edge type hierarchy. Omitted when the ontology has no edge subtypes.
edge_typeslist of objectsOptional
The edge types defined in the ontology in effect at this scope.
entity_type_hierarchyobjectOptional
The entity type hierarchy. Omitted when the ontology has no entity subtypes.
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