Type

URL:
https://<kgserver_datamodel_edit_namedTypes-url>/<typeName>
Methods:
GET
Operations:
Update, Delete
Child Resources:
Fields, Indexes

Description

The Type resource allows you to access information and modify settings for a specific entity type or relationship type defined in a knowledge graph service's data model resource. You can add properties to an existing entity type or relationship type by defining a new field. You can include a property in the search index for the knowledge graph service by indexing the appropriate field. You can also update or delete an existing entity type or relationship type if you have sufficient privileges.

Use the data model Query operation to learn about the item types that are defined in the schema. Use the data model Named Types resource with the name of the specific entity type or relationship type you want to access.

Request parameters

ParameterDetails

f

The response format. The only supported response format is html .

Example usage

The following is a sample request URL to get information about the Warehouse entity type. Warehouse is one of the named types defined in the data model resource for a knowledge graph service named SupplyChain :

Use dark colors for code blocksCopy
1
https://machine.domain.com/webadaptor/rest/services/Hosted/SupplyChain/KnowledgeGraphServer/dataModel/edit/namedTypes/Warehouse?f=html

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