Summary
Get all the prebuilts.
Description
Get all the prebuilts in IAP.
Route
GET /prebuilts
Roles
admin
apiread
Parameters
DetailsExampleSchema
Name |
Type |
Required |
Description |
queryOptions |
object |
yes |
Options for query parameters. |
Copied to Clipboard
{
"queryOptions": {
"contains": "nso",
"containsField": "name",
"equals": "artifact-wizard",
"equalsField": "name",
"startsWith": "a",
"startsWithField": "name",
"skip": 1,
"limit": 1,
"sort": "name",
"order": 1,
"config": "@itentialopensource"
}
}
Copied to Clipboard
{
"type": "object",
"properties": {
"queryOptions": {
"title": "queryOptions",
"type": "object",
"properties": {
"contains": {
"type": "string",
"examples": [
"nso"
]
},
"containsField": {
"type": "string",
"examples": [
"name"
]
},
"equals": {
"type": "string",
"examples": [
"artifact-wizard"
]
},
"equalsField": {
"type": "string",
"examples": [
"name"
]
},
"startsWith": {
"type": "string",
"examples": [
"n",
"a"
]
},
"startsWithField": {
"type": "string",
"examples": [
"name"
]
},
"skip": {
"$ref": "common-schema#/definitions/skip"
},
"limit": {
"$ref": "common-schema#/definitions/limit"
},
"sort": {
"$ref": "common-schema#/definitions/sort"
},
"order": {
"$ref": "common-schema#/definitions/order"
},
"config": {
"$ref": "common-schema#/definitions/config"
}
}
}
},
"required": [
"queryOptions"
],
"additionalProperties": false
}
Return
DetailsExampleSchema
Name |
Type |
Description |
results |
object |
Contains an array of prebuilts and the total in the response. |
Copied to Clipboard
{
"packages": [
{
"metadata": {
"name": "@itentialopensource/aggregate-functions-for-arrays",
"version": "1.0.0",
"description": "A basic description",
"author": "Itential Artifacts",
"license": "Apache-2.0",
"repository": {
"type": "gitlab",
"hostname": "gitlab.com",
"path": "/itentialopensource/pre-built-automations"
},
"keywords": [
"Itential",
"Itential",
"Itential",
"Itential"
],
"gitlabId": 17866482
},
"manifest": {
"bundleName": "aggregateFunctions",
"artifacts": [
{
"id": "5e5ea3bd16da51d52b4a8f9f",
"name": "aggregateFunctions",
"type": "forms",
"location": "/bundles/workflows/IAP Test Artifact Workflow.json"
}
],
"fingerprint": "5e84f892c5eab11ec2eee16d",
"createdEpoch": "1585772690392"
},
"bundles": [
{
"type": "template"
},
{
"type": "golden-config"
},
{
"type": "integration"
},
{
"type": "transformation"
},
{
"type": "transformation"
}
],
"readme": "example of readme"
},
{
"metadata": {
"name": "@itentialopensource/aggregate-functions-for-arrays",
"version": "0.0.1",
"description": "A basic description",
"author": "Itential Artifacts",
"license": "Apache-2.0",
"repository": {
"type": "gitlab",
"hostname": "gitlab.com",
"path": "/itentialopensource/pre-built-automations"
},
"keywords": [
"Itential",
"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"
},
{
"id": "5e5ea3bd16da51d52b4a8f9f",
"name": "aggregateFunctions",
"type": "automation",
"location": "/bundles/workflows/IAP Test Artifact Workflow.json"
},
{
"id": "5e5ea3bd16da51d52b4a8f9f",
"name": "aggregateFunctions",
"type": "forms",
"location": "/bundles/workflows/IAP Test Artifact Workflow.json"
}
],
"fingerprint": "5e84f892c5eab11ec2eee16d",
"createdEpoch": "1585772690392"
},
"bundles": [
{
"type": "golden-config"
},
{
"type": "mop-analytic-template"
}
],
"readme": "example of readme"
}
],
"total": 50
}