Skip to content
URL:
https://<knowledgegraphserviceadmin-url>/updateDefinition
Methods:
POST

Description

A knowledge graph service's updateDefinition operation allows an administrative client to change properties of the knowledge graph service. If you change the capabilities that are supported by the service, each capability must be identified as illustrated in the example in which each capability starts with a capital letter.

Request parameters

ParameterDetails

updateDefinition

The new service definition.

f

The response format. The default response format is html .

Values: html | pjson | json

Example usage

The following is an sample request URL for a knowledge graph service named SupplyChain :

Use dark colors for code blocksCopy
1
https://organization.example.com/<context>/rest/admin/services/Hosted/SupplyChain/KnowledgeGraphServer/updateDefinition?f=json

The following input example demonstrates how to update capabilities and properties of a knowledge graph service:

Use dark colors for code blocksCopy
1
2
3
4
5
6
7
8
9
10
11
12
{
  "capabilities": "Query,Editing,Create,Update,Delete,Extract",
  "allowGeometryUpdates": true,
  "searchMaxRecordCount": 10,
  "maxRecordCount": 10,
  "description": "Updated service description",
  "copyrightText": "Updated copyright information",
  "preferredTimeReference": {
    "timeZone": "Pacific Standard Time",
    "respectsDaylightSaving": true
  }
}

JSON Response syntax

Use dark colors for code blocksCopy
1
2
3
{
 "success": <true | false>
}

JSON Response example

The following is an example response to the example input shown above:

Use dark colors for code blocksCopy
1
2
3
{
 "success": true
}

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