HomeGuidesRecipesAPI
HomeGuidesAPILog In

Sync Projects (Import)

The project/sync/import method performs the import of the individual objects contained within a sync pack.
By default, everything in the syncPack is processed regardless of whether the object exists already or when it was modified, existing objects are overwritten.
It is possible to flag whether to import an object when it is not already present or the version in the request is newer. To do so pass an options object containing the flags in the following table.

ObjectImportOption
projectsAlways, IfNotExists, IfNewer
contentLibraryItemsAlways, IfNotExists, IfNewer
dataSourcesAlways, IfNotExists
contentFoldersAlways, IfNotExists
publishedProjectsAlways, IfNotExists
publishFoldersAlways, IfNotExists
usersAlways, IfNotExists
groupsAlways, IfNotExists
rolesAlways, IfNotExists
customFieldsAlways, IfNotExists
connectorSettingsAlways, IfNotExists