Replaces the ontology routing rules of the graphDB
PUT/api/graph/graphdbs/:graphDBId/ontologyroutes
Replaces the graphDB's 'ontologyRoutes' list in the kgconfig document with the supplied set of rules. An empty (or omitted) 'ontologyRoutes' list clears all routes, returning the graphDB to its initial route-free state. Each route's 'ontologyId' must reference an ontology already registered in the top-level 'ontologies' array, and each 'condition' must be a valid ExpressionVisitor expression (see the 'condition' field for supported operators and properties).
Request
Responses
- 200
- 400
- 401
- 403
- 404
Ontology routing rules updated.
Invalid payload (missing/blank fields, unknown ontologyId, or a 'condition' that fails ExpressionVisitor parsing).
Not Authorized
Not Allowed
GraphDB not found (empty body).