- URL:
- https://<knowledgegraphserviceadmin-url>/updateDefinition
- Methods:
GET
Description
A knowledge graph service's update
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
Parameter | Details |
---|---|
| The new service definition. |
| The response format. The default response format is Values: |
Example usage
The following is an sample request URL for a knowledge graph service named Supply
:
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:
{
"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:
{
"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
}
}