Summary
Import an artifact
Description
Imports an artifact onto an IAP environment.
Route
POST /admin/artifacts/import
Roles
admin
Parameters
DetailsExampleSchema
Name |
Type |
Required |
Description |
artifact |
object |
yes |
Contains metadata and content for the selected artifact. |
Copied to Clipboard
{
"artifact": {
"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",
"Itential"
],
"gitlabId": 17866482
},
"manifest": {
"bundleName": "Content-Workflow",
"fingerprint": "5e84f892c5eab11ec2eee16d",
"createdEpoch": "1585772690392",
"artifacts": [
{
"id": "5e5ea3bd16da51d52b4a8f9f",
"name": "device-connection-health-check",
"type": "template",
"location": "/bundles/workflows/IAP Test Artifact Workflow.json"
},
{
"id": "5e5ea3bd16da51d52b4a8f9f",
"name": "device-connection-health-check",
"type": "ac-agenda-job",
"location": "/bundles/workflows/IAP Test Artifact Workflow.json"
},
{
"id": "5e5ea3bd16da51d52b4a8f9f",
"name": "device-connection-health-check",
"type": "ac-agenda-job",
"location": "/bundles/workflows/IAP Test Artifact Workflow.json"
}
]
},
"bundles": [
{
"type": "workflow"
},
{
"type": "workflow"
}
],
"readme": "example of readme"
}
}
Copied to Clipboard
{
"type": "object",
"properties": {
"artifact": {
"title": "artifact",
"$ref": "artifact-schema"
}
},
"required": [
"artifact"
],
"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": "dolore ex",
"created": {
"metadata": {
"name": "device-connection-health-check",
"version": "1.1.1-2020.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",
"Itential",
"Itential"
],
"gitlabId": 17866482
},
"manifest": {
"bundleName": "Content-Workflow",
"fingerprint": "5e84f892c5eab11ec2eee16d",
"createdEpoch": "1585772690392",
"artifacts": [
{
"id": "5e5ea3bd16da51d52b4a8f9f",
"name": "device-connection-health-check",
"type": "service-catalog",
"location": "/bundles/workflows/IAP Test Artifact Workflow.json"
}
]
},
"bundles": [
{
"type": "workflow"
}
],
"readme": "example of readme"
}
}