Add (Named Types)

URL:
https://<kgserver_datamodel_edit_namedTypes-url>/add
Methods:
GET

Description

The add operation is available for a knowledge graph service data model's named types resource. With this operation, you can define a new entity type or relationship type in the data model.

The user must have sufficient privileges to edit content and editing must be enabled for the knowledge graph service for this operation to be successful. Editing can be enabled for a knowledge graph service in the same manner that you enable it for a hosted feature layer. The knowledge graph service's strict property must not be set to true, which indicates the data model cannot be modified.

When defining a new named type, its name must satisfy all naming restrictions for entity types and relationship types.

Requests and responses

This operation can only be performed by sending a 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 AddNamedTypesRequest.proto file.

PBF Response

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

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

You can no longer sign into this site. Go to your ArcGIS portal or the ArcGIS Location Platform dashboard to perform management tasks.

Your ArcGIS portal

Create, manage, and access API keys and OAuth 2.0 developer credentials, hosted layers, and data services.

Your ArcGIS Location Platform dashboard

Manage billing, monitor service usage, and access additional resources.

Learn more about these changes in the What's new in Esri Developers June 2024 blog post.

Close