Update Definition

URL:
https://<knowledgegraphserviceadmin-url>/updateDefinition
Methods:
GET

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

input

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 :

1
https://machine.domain.com/webadaptor/rest/admin/services/Hosted/SupplyChain/KnowledgeGraphServer/updateDefinition?f=json

JSON Response syntax

When a JSON request is sent to the knowledge graph service, a JSON response is returned outlining the capabilities of the service. The following example represents the syntax for describing the capabilities of a knowledge graph service:

1
2
3
4
5
6
7
8
9
10
11
12
{
  "capabilities": "<comma-separated list of capabilities>",
  "allowGeometryUpdates": <boolean>,
  "searchMaxRecordCount": <integer>,
  "maxRecordCount": <integer>,
  "description": "<string>",
  "copyrightText": "<string>",
  "preferredTimeReference": {
    "timeZone": "<time zone name>",
    "respectsDaylightSaving": <boolean>
  }
}

JSON Response example

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

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

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