Summary
Creates a new project
Description
Creates a new project
Route
POST /automation-studio/projects
Roles
admin
apiwrite
Parameters
DetailsExampleSchema
Name |
Type |
Required |
Description |
createData |
object |
yes |
Project create data |
Copied to Clipboard
{
"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",
"components": [
{
"iid": 96219899,
"type": "workflow",
"reference": "labore consectetur",
"folder": "/"
},
{
"iid": 11921510,
"type": "workflow",
"reference": "nisi",
"folder": "/"
},
{
"iid": 93302107,
"type": "template",
"reference": "Lorem est",
"folder": "/"
},
{
"iid": 15291425,
"type": "jsonForm",
"reference": "ullamco qui",
"folder": "/"
},
{
"iid": 21186117,
"type": "mopAnalyticTemplate",
"reference": "nostrud cupidatat magna voluptate sed",
"folder": "/"
}
]
}
Return
DetailsExampleSchema
Name |
Type |
Description |
response |
object |
Create result |
Copied to Clipboard
{
"message": "do eu irure ex esse",
"data": {
"_id": "62a1f3d2ebedfc54e6e0065c",
"iid": 58750964,
"name": "Firewall Service Provisioning",
"description": "This project is used at Acme Corp as the foundation of some major parts of our business process.",
"members": [
{
"type": "account",
"reference": "62a1f3d2ebedfc54e6e0065c",
"role": "editor",
"missing": true,
"username": "nisi irure in amet officia",
"name": "et ad enim id",
"provenance": "deserunt fugiat"
},
{
"type": "account",
"reference": "62a1f3d2ebedfc54e6e0065c",
"role": "owner",
"missing": false,
"username": "enim est ex elit",
"name": "laboris exercitation commodo tempor nisi",
"provenance": "dolor nulla veniam ipsum"
}
],
"accessControl": {
"read": [
"eiusmod reprehenderit amet nulla Duis"
],
"write": [
"pariatur tempor nulla"
],
"execute": [
"reprehenderit consectetur",
"voluptate Excepteur",
"dolor enim occaecat Lorem aute",
"labore deserunt",
"Duis incididunt"
],
"manage": [
"sed eiusmod irure reprehenderit"
]
},
"componentIidIndex": 3837085,
"components": [
{
"iid": 81861901,
"type": "template",
"reference": "Duis",
"folder": "/"
},
{
"iid": 89613002,
"type": "transformation",
"reference": "velit cupidatat esse id qui",
"folder": "/"
},
{
"iid": 98384930,
"type": "transformation",
"reference": "ullamco",
"folder": "/"
},
{
"iid": 42065467,
"type": "jsonForm",
"reference": "minim sit",
"folder": "/"
}
],
"created": "2019-11-25T22:51:39.201Z",
"createdBy": {
"_id": "5cb7b531d06cceb89fd21b1c",
"username": "ut ullamco ex",
"provenance": "consequat",
"missing": true
},
"lastUpdated": "2019-11-25T22:51:39.201Z",
"lastUpdatedBy": {
"_id": "62a1f3d2ebedfc54e6e0065c",
"username": null,
"provenance": "culpa ut ad",
"missing": false
},
"versionHistory": [
{
"versionNumber": -27945512,
"commitMessage": "esse sint Lorem in id",
"author": "ullamco sint",
"branchName": "occaecat est cupidatat aute ut"
},
{
"versionNumber": 83264972,
"commitMessage": "incididunt",
"author": "sit nostrud in",
"branchName": "exercitation proident tempor amet"
}
],
"gitConfiguration": {
"connectionType": "GitHub",
"repositoryPath": "dolor ad",
"branchName": "laborum dolore qui est Ut",
"projectPath": "ipsum qui proident Excepteur voluptate"
}
}
}
Copied to Clipboard
{
"title": "response",
"type": "object",
"properties": {
"message": {
"type": "string"
},
"data": {
"oneOf": [
{
"type": "null"
},
{
"$ref": "projects-http"
}
]
},
"metadata": {
"type": "object"
}
}
}