Summary
Add one or more components to Project
Description
Add one or more components to Project
Route
POST /automation-studio/projects/:projectId/components/add
Roles
Parameters
Name | Type | Required | Description |
---|---|---|---|
projectId | string | yes | Project identifier |
options | object | yes | Configuration options for adding components to a Project |
{ "components": [ { "iid": 36201530, "type": "transformation", "reference": "aliquip ex", "folder": "/" }, { "iid": 67741519, "type": "jsonForm", "reference": "est aliqua in", "folder": "/" }, { "iid": 25322365, "type": "workflow", "reference": "aliqua", "folder": "/" } ], "mode": "move" }
{ "title": "options", "type": "object", "required": [ "components" ], "properties": { "components": { "$ref": "projects-common#/definitions/components" }, "mode": { "type": "string", "enum": [ "move", "copy" ] } } }
Return
Name | Type | Description |
---|---|---|
response | object | Updated project |
{ "message": "deserunt proident veniam", "data": [ { "_id": "62a1f3d2ebedfc54e6e0065c", "iid": 71549497, "name": "Arista EOS Utilities", "description": "This project is comprised of two major elements: 1) Workflows handling customer self-service, and 2) Workflows used by operations teams to provision service internally", "members": [ { "type": "account", "reference": "5cb7b531d06cceb89fd21b1c", "role": "operator", "missing": true, "username": "in", "name": "est irure laborum occaecat consectetur", "provenance": "eu nisi aute" }, { "type": "account", "reference": "5cb7b531d06cceb89fd21b1c", "role": "editor", "missing": false, "username": "magna officia voluptate et", "name": "incididunt", "provenance": "aute exercitation do pariatur adipisicing" }, { "type": "account", "reference": "62a1f3d2ebedfc54e6e0065c", "role": "operator", "missing": true, "username": "sit fugiat dolore elit", "name": "id occaecat in", "provenance": "velit ipsum aliqua dolor" }, { "type": "account", "reference": "4321abcdef694aa79dae47ad", "role": "editor", "missing": false, "username": "nulla", "name": "anim in", "provenance": "laboris Duis est quis irure" } ], "accessControl": { "read": [ "ut Excepteur", "commodo veniam nostrud ad", "qui", "nisi", "consectetur pariatur mollit ut" ], "write": [ "culpa consequat veniam", "sunt do non veniam deserunt", "qui reprehenderit amet nulla", "ex" ], "execute": [ "in id non reprehenderit ullamco", "sint commodo anim", "et", "sit elit occaecat", "Excepteur pariatur tempor commodo" ], "manage": [ "anim ea" ] }, "componentIidIndex": 16423888, "components": [ { "iid": 43245254, "type": "jsonForm", "reference": "fugiat", "folder": "/" } ], "created": "2019-11-25T22:51:39.201Z", "createdBy": { "_id": "Pronghorn", "username": null, "provenance": "in dolor", "missing": false }, "lastUpdated": "2019-11-25T22:51:39.201Z", "lastUpdatedBy": { "_id": "4321abcdef694aa79dae47ad", "username": null, "provenance": "fugiat deserunt non", "missing": true }, "versionHistory": [ { "versionNumber": -38130514, "commitMessage": "ea do nisi", "author": "consectetur", "branchName": "minim id commodo eu" } ], "gitConfiguration": { "connectionType": "GitHub", "repositoryPath": "laborum pariatur aliqua irure proident", "branchName": "ut", "projectPath": "ea nostrud occaecat exercitation Duis" } }, { "_id": "62a1f3d2ebedfc54e6e0065c", "iid": 38399744, "name": "Arista EOS Utilities", "description": "This project is comprised of two major elements: 1) Workflows handling customer self-service, and 2) Workflows used by operations teams to provision service internally", "members": [ { "type": "group", "reference": "5cb7b531d06cceb89fd21b1c", "role": "viewer", "missing": true, "username": "magna laboris deserunt nulla esse", "name": "officia", "provenance": "magna velit minim est" } ], "accessControl": { "read": [ "labore", "minim" ], "write": [ "in in ut laboris cillum" ], "execute": [ "exercitation officia Lorem anim Excepteur", "tempor ea", "minim labore fugiat adipisicing" ], "manage": [ "sed", "voluptate", "occaecat" ] }, "componentIidIndex": 59345669, "components": [ { "iid": 98871579, "type": "template", "reference": "fugiat proident", "folder": "/" }, { "iid": 20241279, "type": "mopAnalyticTemplate", "reference": "in aliqua in", "folder": "/" }, { "iid": 72350898, "type": "workflow", "reference": "laboris irure proident commodo", "folder": "/" }, { "iid": 3329416, "type": "workflow", "reference": "proident ea est", "folder": "/" }, { "iid": 9259365, "type": "mopCommandTemplate", "reference": "velit sit sed exercitation est", "folder": "/" } ], "created": "2019-11-25T22:51:39.201Z", "createdBy": { "_id": "4321abcdef694aa79dae47ad", "username": "eiusmod irure est adipisicing", "provenance": "esse", "missing": false }, "lastUpdated": "2019-11-25T22:51:39.201Z", "lastUpdatedBy": { "_id": "Pronghorn", "username": null, "provenance": "in pariatur", "missing": false }, "versionHistory": [ { "versionNumber": 45166993, "commitMessage": "aliqua magna labore", "author": "ut nisi adipisicing cupidatat", "branchName": "pariatur sint" } ], "gitConfiguration": { "connectionType": "GitHub", "repositoryPath": "irure nisi enim", "branchName": "sit ea sunt nisi", "projectPath": "sed aute tempor" } }, { "_id": "4321abcdef694aa79dae47ad", "iid": 17951414, "name": "Firewall Service Provisioning", "description": "This project is comprised of two major elements: 1) Workflows handling customer self-service, and 2) Workflows used by operations teams to provision service internally", "members": [ { "type": "group", "reference": "4321abcdef694aa79dae47ad", "role": "viewer", "missing": false, "username": "in ut nisi laboris dolor", "name": "elit consequat aliquip culpa", "provenance": "incididunt veniam ullamco" }, { "type": "group", "reference": "4321abcdef694aa79dae47ad", "role": "editor", "missing": false, "username": "mollit est anim", "name": "est amet quis ad adipisicing", "provenance": "irure veniam enim" }, { "type": "account", "reference": "4321abcdef694aa79dae47ad", "role": "owner", "missing": false, "username": "dolor nulla aliquip", "name": "officia magna anim sit fugiat", "provenance": "reprehenderit" } ], "accessControl": { "read": [ "dolore in", "do ullamco" ], "write": [ "enim eu", "mollit magna", "eiusmod adipisicing commodo pariatur", "dolore officia in eiusmod", "esse" ], "execute": [ "commodo ex culpa reprehenderit", "cupidatat labore ullamco voluptate qui", "fugiat voluptate occaecat aliqua dolor", "fugiat veniam Excepteur cillum ullamco" ], "manage": [ "incididunt", "aute pariatur in", "non", "et tempor", "deserunt dolor mollit consectetur" ] }, "componentIidIndex": 57844807, "components": [ { "iid": 50371872, "type": "jsonForm", "reference": "occaecat eu fugiat laboris", "folder": "/" }, { "iid": 53930954, "type": "jsonForm", "reference": "incididunt elit Lorem mollit nostrud", "folder": "/" }, { "iid": 77957366, "type": "mopAnalyticTemplate", "reference": "commodo nisi", "folder": "/" }, { "iid": 37661933, "type": "mopCommandTemplate", "reference": "velit amet non voluptate", "folder": "/" } ], "created": "2019-11-25T22:51:39.201Z", "createdBy": { "_id": "5cb7b531d06cceb89fd21b1c", "username": "elit incididunt", "provenance": "sit cupidatat ut", "missing": false }, "lastUpdated": "2019-11-25T22:51:39.201Z", "lastUpdatedBy": { "_id": "5cb7b531d06cceb89fd21b1c", "username": "incididunt nisi", "provenance": "elit officia", "missing": false }, "versionHistory": [ { "versionNumber": 57687675, "commitMessage": "dolore aliqua fugiat", "author": "quis officia pariatur aliqua", "branchName": "sunt commodo dolor aliquip" }, { "versionNumber": -3963552, "commitMessage": "in aliquip", "author": "laborum et sit", "branchName": "anim id dolore" } ], "gitConfiguration": { "connectionType": "GitHub", "repositoryPath": "dolor do", "branchName": "anim ut laboris ea voluptate", "projectPath": "exercitation consectetur" } } ] }
{ "title": "response", "type": "object", "properties": { "message": { "type": "string" }, "data": { "type": "array", "items": { "$ref": "projects-http" } }, "metadata": { "type": "object" } } }