Summary
Exports an artifact
Description
Exports an artifact from the current IAP environment.
Route
GET /admin/artifacts/export/:id
Roles
admin
apiread
Parameters
DetailsExampleSchema
Name |
Type |
Required |
Description |
id |
string |
yes |
Contains the id for the selected artifact. |
Copied to Clipboard
{
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
Return
DetailsExampleSchema
Name |
Type |
Description |
result |
object |
The output of the export process. |
Copied to Clipboard
{
"metadata": {
"name": "device-connection-health-check",
"version": "1.0.0",
"description": "Description about the functionality of an artifact",
"author": "Itential Artifacts",
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "https://gitlab.com:itentialopensource/pre-built-automations/content-workflow.git"
},
"keywords": [
"Itential",
"Itential",
"Itential"
],
"gitlabId": 17866482
},
"manifest": {
"bundleName": "Content-Workflow",
"fingerprint": "5e84f892c5eab11ec2eee16d",
"createdEpoch": "1585772690392",
"artifacts": [
{
"id": "5e5ea3bd16da51d52b4a8f9f",
"name": "device-connection-health-check",
"type": "mop-analytic-template",
"location": "/bundles/workflows/IAP Test Artifact Workflow.json"
},
{
"id": "5e5ea3bd16da51d52b4a8f9f",
"name": "artifact-wizard",
"type": "workflow",
"location": "/bundles/workflows/IAP Test Artifact Workflow.json"
},
{
"id": "5e5ea3bd16da51d52b4a8f9f",
"name": "artifact-wizard",
"type": "mop-template",
"location": "/bundles/workflows/IAP Test Artifact Workflow.json"
}
]
},
"bundles": [
{
"type": "workflow"
},
{
"type": "workflow"
},
{
"type": "workflow"
},
{
"type": "workflow"
},
{
"type": "workflow"
}
],
"readme": "example of readme"
}