Info |
---|
This page is no longer maintained (). For the most current information, go to https://docs.snaplogic.com/public-apis/post-project-import-import-path.html. |
Redirect | ||||
---|---|---|---|---|
|
POST /project/import/{import_path}
Request
Appsplus panel macro confluence macro | ||
---|---|---|
| ||
|
Path Parameters
Key | Description | ||
---|---|---|---|
| Required. The path to your SnapLogic pod. Example: | ||
| The path to the target location. Format:
|
Query Parameters
Key | Type | Description |
---|---|---|
| string | Indicates how to handle duplicates between the source and the destination during import. Valid values:
|
| list | The types of assets that can be overwritten, if an asset with the same name already exists in the destination project. Valid values:
Note: Policies are always overwritten. |
Request Header
Specify Basic
for authorization and multipart/form-data
for content type.
Appsplus panel macro confluence macro | ||
---|---|---|
| ||
|
Request Body
Key | Type | Description | ||||
---|---|---|---|---|---|---|
| string | The unmodified zip file of the source project that was exported.
The name of this zip file does not indicate the name of the target project, which is specified in | ||||
| string | Optional. The JSON file containing the list of accounts to modify. To create this file:
If this file is not provided, the accounts are not modified. | ||||
| string | Optional. A zip file containing expression files to add to the root of the project in the new location. If an expression file with the same name already exists in the target location, it is overwritten. If this file is not provided, no additional expression files are added to the project.
Example: An expression library file (typically with the
|
Response
Response Body
Appsplus panel macro confluence macro | ||
---|---|---|
| ||
|
Key | Type | Description |
---|---|---|
| array | An array of objects that contain:
For successfully updated accounts, |
| array | An array of objects that contain:
|
| array | An array of objects that contain:
|