ResourceChangeStructure
Version #1
Description:
Represents a change which should be applied to a single resource.
To create a new resource, leave the
id field empty and use type="override"To replace a given resource completely, reference it with the
id field and use type="override"To partially modify a resource, reference it with the
id field and use type="patch"To completely delete a resource, reference it with the
id field and use type="delete"When no changes should be applied to a resource, do not add it as a change.
Fields:
dataChanges: Array< DataChangeStructure:v1 > [Optional]- Default: No changesDescription: Should contain every change that should be applied to the resource’s custom data object.
fileChanges: Array< ResourceFileChangeStructure:v1 > [Optional]- Default: No changesDescription: Should contain every change that should be applied to the resource’s file list.
id: String [Optional]- Default: nullDescription: References the resource on which this changes should be applied.
nullvalue should be used only when a new resource is added.
type: Enum<patch | override | delete> [Optional]- Description: Defines what kind of change should be applied to the referenced resource.