Summary
Export a prebuilt
Description
Export a prebuilt from IAP.
Route
GET /prebuilts/:id/export
Roles
admin
apiread
Parameters
DetailsExampleSchema
Name |
Type |
Required |
Description |
id |
string |
yes |
The object id of the selected prebuilt. |
Copied to Clipboard
{
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
Return
DetailsExampleSchema
Name |
Type |
Description |
prebuilt |
object |
The data for a prebuilt. |
Copied to Clipboard
{
"metadata": {
"name": "@itentialopensource/cisco-nx-upgrade",
"version": "1.1.1-2020.1.0",
"description": "A basic description",
"author": "Itential Artifacts",
"license": "Apache-2.0",
"repository": {
"type": "local",
"hostname": "gitlab.com",
"path": "/itentialopensource/pre-built-automations"
},
"keywords": [
"Itential",
"Itential"
],
"gitlabId": 17866482
},
"manifest": {
"bundleName": "aggregateFunctions",
"artifacts": [
{
"id": "5e5ea3bd16da51d52b4a8f9f",
"name": "aggregateFunctions",
"type": "json-forms",
"location": "/bundles/workflows/IAP Test Artifact Workflow.json"
},
{
"id": "5e5ea3bd16da51d52b4a8f9f",
"name": "aggregateFunctions",
"type": "mop-template",
"location": "/bundles/workflows/IAP Test Artifact Workflow.json"
}
],
"fingerprint": "5e84f892c5eab11ec2eee16d",
"createdEpoch": "1585772690392"
},
"bundles": [
{
"type": "mop-template"
},
{
"type": "mop-template"
},
{
"type": "transformation"
}
],
"readme": "example of readme"
}