Home > @tridion-sites/open-api-client > SchemasService > synchronizeWithSchema
Synchronizes the content and metadata of a given model with its Schema. The operation returns the synchronized model and the synchronization actions that were applied. This operation returns an instance of ‘SynchronizationResult’ type.
Using this operation will not persist the changes made through synchronization.
Signature:
static synchronizeWithSchema({ requestModel, flags, }: {
requestModel: IdentifiableObject;
flags?: Array<any>;
}): CancelablePromise<SynchronizationResult>;
Parameter | Type | Description |
---|---|---|
{ requestModel, flags, } | { requestModel: IdentifiableObject; flags?: Array<any>; } |
Returns:
CancelablePromise<SynchronizationResult>
SynchronizationResult The request was successful.
ApiError