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": 17356568, "type": "mopAnalyticTemplate", "reference": "eu", "folder": "/" }, { "iid": 56968431, "type": "mopAnalyticTemplate", "reference": "Lorem", "folder": "/" }, { "iid": 21954124, "type": "transformation", "reference": "sit", "folder": "/" } ], "mode": "copy" }
{ "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": "voluptate dolor anim", "data": [ { "_id": "5cb7b531d06cceb89fd21b1c", "iid": 6482277, "name": "Arista EOS Utilities", "description": "This project is used at Acme Corp as the foundation of some major parts of our business process.", "members": [ { "type": "group", "reference": "4321abcdef694aa79dae47ad", "role": "editor", "missing": true, "username": "in Excepteur", "name": "in", "provenance": "dolor ipsum aliquip veniam occaecat" } ], "accessControl": { "read": [ "sint consequat voluptate ex" ], "write": [ "proident in Duis labore", "occaecat adipisicing consectetur mollit", "nulla qui", "dolore proident est ut", "ex" ], "execute": [ "voluptate Excepteur reprehenderit aliqua", "elit", "dolore aliquip Duis sint cillum" ], "manage": [ "dolore laboris", "amet ea deserunt nulla", "mollit aute" ] }, "componentIidIndex": 68536666, "components": [ { "iid": 88731897, "type": "transformation", "reference": "reprehenderit in Lorem", "folder": "/" }, { "iid": 66766927, "type": "mopCommandTemplate", "reference": "non veniam consequat dolore", "folder": "/" }, { "iid": 42668727, "type": "mopAnalyticTemplate", "reference": "amet in sunt", "folder": "/" } ], "created": "2019-11-25T22:51:39.201Z", "createdBy": { "_id": "62a1f3d2ebedfc54e6e0065c", "username": null, "provenance": "veniam sunt", "missing": false }, "lastUpdated": "2019-11-25T22:51:39.201Z", "lastUpdatedBy": { "_id": "5cb7b531d06cceb89fd21b1c", "username": "non incididunt nulla", "provenance": "in anim est ad et", "missing": true }, "versionHistory": [ { "versionNumber": 73764486, "commitMessage": "enim et", "author": "ut ad mollit", "branchName": "nulla" }, { "versionNumber": 46215833, "commitMessage": "nostrud ut", "author": "est", "branchName": "sint in" }, { "versionNumber": -15843204, "commitMessage": "exercitation elit consequat ex", "author": "dolor velit cillum", "branchName": "qui" }, { "versionNumber": 52081433, "commitMessage": "minim exercitation consequat", "author": "amet fugiat quis", "branchName": "cupidatat in officia dolore" }, { "versionNumber": -87360041, "commitMessage": "laboris cupidatat in commodo", "author": "in nostrud fugiat", "branchName": "dolore fugiat et" } ], "gitConfiguration": { "connectionType": "GitHub", "repositoryPath": "ea dolor adipisicing", "branchName": "do deserunt dolor", "projectPath": "cillum commodo qui" } }, { "_id": "4321abcdef694aa79dae47ad", "iid": 87110567, "name": "Arista EOS Utilities", "description": "This project is used at Acme Corp as the foundation of some major parts of our business process.", "members": [ { "type": "group", "reference": "62a1f3d2ebedfc54e6e0065c", "role": "viewer", "missing": true, "username": "cillum exercitation dolore reprehenderit", "name": "nisi aute veniam", "provenance": "do voluptate commodo in dolor" }, { "type": "group", "reference": "4321abcdef694aa79dae47ad", "role": "operator", "missing": true, "username": "mollit magna aliquip", "name": "aliqua ut", "provenance": "ut occaecat do" }, { "type": "account", "reference": "4321abcdef694aa79dae47ad", "role": "editor", "missing": false, "username": "nisi velit eiusmod ut ad", "name": "laborum elit", "provenance": "amet dolor anim" } ], "accessControl": { "read": [ "elit tempor in", "deserunt" ], "write": [ "occaecat proident dolore ad nulla", "cupidatat consectetur minim enim", "dolore" ], "execute": [ "Excepteur esse", "deserunt sed Duis consequat", "officia Ut laborum" ], "manage": [ "elit occaecat quis", "id sunt", "veniam deserunt ut laborum occaecat" ] }, "componentIidIndex": 7722687, "components": [ { "iid": 43821286, "type": "jsonForm", "reference": "incididunt mollit in qui", "folder": "/" }, { "iid": 13567818, "type": "workflow", "reference": "ullamco amet laboris anim", "folder": "/" } ], "created": "2019-11-25T22:51:39.201Z", "createdBy": { "_id": "62a1f3d2ebedfc54e6e0065c", "username": null, "provenance": "enim", "missing": true }, "lastUpdated": "2019-11-25T22:51:39.201Z", "lastUpdatedBy": { "_id": "62a1f3d2ebedfc54e6e0065c", "username": "do officia tempor", "provenance": "dolor", "missing": true }, "versionHistory": [ { "versionNumber": -26105659, "commitMessage": "tempor incididunt", "author": "do in elit", "branchName": "pariatur Ut id" }, { "versionNumber": 80622385, "commitMessage": "pariatur", "author": "tempor nisi Ut enim", "branchName": "id labore dolore mollit exercitation" }, { "versionNumber": 95754261, "commitMessage": "et Lorem in", "author": "occaecat in pariatur", "branchName": "ad aliqua" } ], "gitConfiguration": { "connectionType": "GitHub", "repositoryPath": "labore ad", "branchName": "fugiat sint", "projectPath": "amet laborum ut fugiat" } }, { "_id": "4321abcdef694aa79dae47ad", "iid": 27993800, "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": "nulla", "name": "esse deserunt velit nisi", "provenance": "Excepteur" }, { "type": "account", "reference": "4321abcdef694aa79dae47ad", "role": "owner", "missing": true, "username": "labore nostrud commodo ut", "name": "aliqua", "provenance": "commodo dolore ea veniam nostrud" }, { "type": "account", "reference": "4321abcdef694aa79dae47ad", "role": "owner", "missing": false, "username": "esse adipisicing minim", "name": "exercitation Excepteur do culpa", "provenance": "ullamco dolor eu" }, { "type": "group", "reference": "4321abcdef694aa79dae47ad", "role": "viewer", "missing": true, "username": "non", "name": "commodo consectetur cupidatat veniam ea", "provenance": "eiusmod pariatur magna consequat exercitation" }, { "type": "group", "reference": "5cb7b531d06cceb89fd21b1c", "role": "editor", "missing": true, "username": "laboris elit", "name": "consequat non culpa occaecat", "provenance": "nulla" } ], "accessControl": { "read": [ "et dolor", "magna ipsum ad irure proident", "commodo quis ex Excepteur qui", "reprehenderit nulla adipisicing cillum" ], "write": [ "culpa elit sed" ], "execute": [ "pariatur ullamco Ut", "qui sit", "aliquip tempor consectetur", "laboris" ], "manage": [ "irure est sint enim", "Ut Excepteur in", "tempor", "in", "veniam dolore consequat" ] }, "componentIidIndex": 44407052, "components": [ { "iid": 78227979, "type": "mopAnalyticTemplate", "reference": "cillum ipsum qui", "folder": "/" }, { "iid": 47847564, "type": "mopAnalyticTemplate", "reference": "eiusmod", "folder": "/" }, { "iid": 66971023, "type": "template", "reference": "aute consectetur fugiat irure", "folder": "/" }, { "iid": 30493557, "type": "mopAnalyticTemplate", "reference": "ut qui", "folder": "/" }, { "iid": 81912396, "type": "mopAnalyticTemplate", "reference": "culpa sed eu", "folder": "/" } ], "created": "2019-11-25T22:51:39.201Z", "createdBy": { "_id": "62a1f3d2ebedfc54e6e0065c", "username": null, "provenance": "irure enim", "missing": false }, "lastUpdated": "2019-11-25T22:51:39.201Z", "lastUpdatedBy": { "_id": "4321abcdef694aa79dae47ad", "username": null, "provenance": "labore dolor in pariatur", "missing": true }, "versionHistory": [ { "versionNumber": 41864704, "commitMessage": "adipisicing occaecat dolor commodo", "author": "dolore elit nulla esse magna", "branchName": "anim Ut est sint ipsum" }, { "versionNumber": -26424711, "commitMessage": "Excepteur", "author": "deserunt qui labore reprehenderit nulla", "branchName": "dolore in" } ], "gitConfiguration": { "connectionType": "GitLab", "repositoryPath": "mollit", "branchName": "ex velit", "projectPath": "adipisicing qui" } } ] }
{ "title": "response", "type": "object", "properties": { "message": { "type": "string" }, "data": { "type": "array", "items": { "$ref": "projects-http" } }, "metadata": { "type": "object" } } }