Copy Assets Between Projects
POST /project/copy_assets
Overview
This API copies a list of assets from one or more projects to a single project. The source projects and the destination project can be within the same Org or in different Orgs.
If you are migrating or copying accounts or policies to a different Org,
The source Org must recognize the destination Org as a Trusted Org.
The destination Org must have at least the same security level as the source Org.
Learn how to add a trusted Org.
If the destination Project does not exist, it will be created.
If an asset with the same name already exists in the destination Project, the asset in the destination is overwritten.
A Task remains enabled when copied to the destination, only if the following conditions are met; otherwise, the Task is disabled.
Its associated pipeline is also copied in the same transaction.
The runtime path of the Task is also valid in the destination Project.
The Snaplex associated with the Task is defined in the Org's
shared
folder, the destination Project'sshared
folder, or the destination Project's folder.
Prerequisites
Read access to the source Project
Write access to the destination Project
Request
Path Parameters
Key | Description |
---|---|
| Required. The path to your SnapLogic pod. Example: |
Query Parameters
None.
Request Header
Specify Basic
for authorization and application/json
for content type.
Request Body
Key | Type | Description |
---|---|---|
| string | Required. The path to the destination SnapLogic project. Format: Important: The path comparison is case-sensitive. |
| array | Required. A list containing the paths to the assets to copy. Format: |
Response
Response Body
Key | Type | Description |
---|---|---|
| array | A list containing the paths of the newly copied assets in the destination project. |
| array | A list containing the paths of assets that were not copied from the source project. |
Have feedback? Email documentation@snaplogic.com | Ask a question in the SnapLogic Community
© 2017-2024 SnapLogic, Inc.