Summary
Install an artifact
Description
Installs an artifact onto an IAP environment.
Route
POST /admin/artifacts
Roles
admin
Parameters
DetailsExampleSchema
Name |
Type |
Required |
Description |
id |
number |
yes |
Contains the Gitlab repo id for the selected artifact. |
Copied to Clipboard
{
"id": 15549302
}
Copied to Clipboard
{
"type": "object",
"properties": {
"id": {
"title": "id",
"type": "number",
"examples": [
15549302
]
}
},
"required": [
"id"
],
"additionalProperties": false
}
Return
DetailsExampleSchema
Name |
Type |
Description |
result |
object |
The result of the install process contains the status of the command. |
Copied to Clipboard
{
"success": true,
"message": "minim anim deserunt tempor",
"created": {
"metadata": {
"name": "device-connection-health-check",
"version": "0.1.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"
],
"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": "transformation",
"location": "/bundles/workflows/IAP Test Artifact Workflow.json"
},
{
"id": "5e5ea3bd16da51d52b4a8f9f",
"name": "artifact-wizard",
"type": "transformation",
"location": "/bundles/workflows/IAP Test Artifact Workflow.json"
}
]
},
"bundles": [
{
"type": "workflow"
},
{
"type": "workflow"
},
{
"type": "workflow"
},
{
"type": "workflow"
},
{
"type": "workflow"
}
],
"readme": "example of readme"
}
}