Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

In this article

...

Use the Project Migration API to migrate a SnapLogic Project from one Org to another.

Note

When you migrate a Project more than once, the existing assets are overwritten. You might have to associate your Tasks with the correct Pipelines after the migration. Typically, even after multiple migrations, account references remain intact in the Pipeline, but we recommend that you verify all references before starting your Pipeline executions.

HTTP Request 

POST api/1/rest/public/project/migrate/<project_pathname>


Parameters

Parameter NameDescriptionDefault ValueExample
dest_path

The path of the target destination. 

Note

In the 4.24 Release (February 2021), this parameter no longer supports specifying Project Spaces. You can only use this API parameter to specify Project folders.


N/A"/myotherorg/clientprojects/sales"
asset_typesA list of the asset types to be included in the Project for migration. N/A["File", "Job", "Account", "Pipeline"]
async_modeIf true, then the request is returned immediately with message to wait for motd notification.true"false"
duplicate_check

If true, then the request raises a conflict error if the Project with the same name exists in the specified destination path.

true"false"
content-type

Binary header specifying the content type. Since all SnapLogic assets are JSON files, this parameter's value must always be application/json.

Note

Use this parameter only in the HTTP header section of the API call.


application/json"application/json"

...