List assets content
POST /project/list_assets
Overview
This API lists the content for the exported files for project and individual assets.
Prerequisites
- Environemnt admin (Org admin) permissions
Request
POST https://{controlplane_path}/api/1/rest/public/project/list_assets
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:
|
list_assets |
Required. The list of SnapLogic assets. |
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
Request Body
{
"dest_path" : "...",
"asset_path_list" : [ ... ]
}
Key | Type | Description |
---|---|---|
dest_path |
string |
Required. The path to the destination SnapLogic project.
Format: Important: The path comparison is case-sensitive.
|
Response
Response Body
Example
{
{
"response_map": {
"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
}
}