Import individual assets
POST /project/import/asset_path
Overview
This API imports individual assets within the same project, accounts, pipelines, tasks, and files.
Prerequisites
- Read access to the source
- Write access to the target
Request
POST https://{controlplane_path}/api/1/rest/public/project/import/asset_path
Path Parameters
Key | Description |
---|---|
controlplane_path |
Required. The path to the SnapLogic control plane. Example:
For other control planes, substitute the subdomain name for elastic . For
example:
|
asset_path |
Required. The path to the SnapLogic asset. |
Query Parameters
None.
Request Header
Specify Basic
for authorization and application/json
for content type.
Authorization: Basic {your_encoded_security_credentials}
Content-Type: application/json
Response
Response Example
{
"project_path": "snaplogic/AADemo/AzureProjectMax",
"assets":
{
"Account":[ "/snaplogic/AADemo/AzureProjectMax/AccountToUpdate" ],
"Job": [ "snaplogic/AADemo/AzureProjectMax/PipeToUpdateTask" ],
"File": [ "/snaplogic/AADemo/AzureProjectMax/mylib.expr",
"/snaplogic/AADemo/AzureProjectMax/README.md",
"/snaplogic/AADemo/AzureProjectMax/conflict2.txt",
"/snaplogic/AADemo/AzureProjectMax/timestamp.txt",
"/snaplogic/AADemo/AzureProjectMax/PipeToUpdate.slp" ]
}
},
"http_status_code": 200
}
}