Skip to content
URL:
https://<kgserveradmin_datamodel_constraintRules-url>/add
Methods:
POST
Version Introduced:
11.3

Description

The add operation is available for a knowledge graph service data model's administrative constraint rules resource. The add operation can be used to add a constraint rule from the data model. Identify the constraint rule you want to create by specifying the constraint rule name. Use the data model query operation to learn more about the constraint rules that are defined in the schema.

Requests and responses

This operation can only be performed by sending a Protocolbuffer Binary Format (PBF)-formatted request and receiving a PBF-formatted response. Details of the request and response parameters are provided in the appropriate .proto files.

PBF request

Create a PBF-formatted request to perform this operation based on the AddConstraintRulesRequest.proto file.

PBF response

Create a PBF-formatted response to get feedback from the operation based on the AddConstraintResponse.proto file.

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.