Sitecore API catalog/Entity definitions API//
- Calculate the impact of changes to an entity definition
Retrieve all entity definitions
Retrieve an entity definition by name
Create an entity definition
Update an entity definition
Delete an entity definition by name
Retrieve an entity definition by name (V2)
Retrieve an entity definition by ID
Delete an entity definition by ID
Calculate the impact of c...
Submits a modified version of an entity definition and returns an analysis of the impact those changes would have compared to the current definition. Used to preview the effects of schema changes before applying them.
Security
OAuth2.0
The updated details of the entity definition to compare against the original, for example, an instance of Stylelabs.M.Base.Web.Api.Models.EntityDefinitionResource containing the proposed changes.
- https://your-serverhttps://your-server/api/entitydefinitions/{name}/impact
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
- application/json-patch+json
- application/json
- text/json
- application/*+json
curl -i -X POST \
'https://your-server/api/entitydefinitions/{name}/impact' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json-patch+json' \
-d '{
"id": 0,
"name": "string",
"modified_on": "2019-08-24T14:15:22Z",
"created_on": "2019-08-24T14:15:22Z",
"display_template": "string",
"is_taxonomy_item_definition": true,
"is_path_enabled_definition": true,
"is_manual_sorting_allowed": true,
"is_system_owned": true,
"is_built_in": true,
"labels": {
"property1": "string",
"property2": "string"
},
"member_groups": [
{
"name": "string",
"content_group": "string",
"labels": {
"property1": "string",
"property2": "string"
},
"members": [
{
"name": "string",
"labels": {
"property1": "string",
"property2": "string"
},
"helptext": {
"property1": "string",
"property2": "string"
},
"is_conditional": true,
"conditions": [
{
"member": "string"
}
],
"can_trigger_conditional_members": true,
"is_system_owned": true,
"is_secured": true,
"can_write": true,
"allow_updates": true
}
],
"is_system_owned": true,
"is_conditional": true,
"conditions": [
{
"member": "string"
}
],
"is_secured": true,
"can_write": true
}
],
"entities": {
"href": "string",
"filename_properties": [
"string"
],
"title": "string",
"templated": false
},
"related_paths": {
"href": "string",
"filename_properties": [
"string"
],
"title": "string",
"templated": false
},
"modified_by": {
"href": "string",
"filename_properties": [
"string"
],
"title": "string",
"templated": false
},
"created_by": {
"href": "string",
"filename_properties": [
"string"
],
"title": "string",
"templated": false
},
"permissions": [
"string"
],
"self": {
"href": "string",
"filename_properties": [
"string"
],
"title": "string",
"templated": false
}
}'