HomeGuidesRecipesAPI
HomeGuidesAPILog In
API
These docs are for v11.0. Click to read the latest docs for v31.

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.

Object

ImportOption

projects

Always, IfNotExists, IfNewer

contentLibraryItems

Always, IfNotExists, IfNewer

dataSources

Always, IfNotExists

contentFolders

Always, IfNotExists

publishedProjects

Always, IfNotExists

publishFolders

Always, IfNotExists

users

Always, IfNotExists

groups

Always, IfNotExists

roles

Always, IfNotExists

customFields

Always, IfNotExists

connectorSettings

Always, IfNotExists