Create Project

Details

API DetailsRelease-Specific Information
CloudCenter Platform 4xCloudCenter Suite 5x
NameCreate Project
Description

Creates a new CloudCenter project that includes one or more deployment environments

Allowed Role(s)WM_USER
MethodPOST
URI

v1/projects

cloudcenter-ccm-backend/api/v1/projects

Sample Request
curl -k -X POST -H "Accept: application/json" -H "Content-Type: application/json" -u cloudcenteradmin:40E45DBE57E35ECB "https://<HOST>:<PORT>/v1/projects"
curl -k -X POST -H "Accept: application/json" -H "Content-Type: application/json" -u cloudcenteradmin:40E45DBE57E35ECB "https://<HOST>:<PORT>/cloudcenter-ccm-backend/api/v1/projects"
Release

Introduced in CloudCenter 4.2

Modified in CloudCenter Suite 5.0.0

Notes
  • Only resource owners and users with WRITE perms can view all the fields for this resource.
  • Other users can only view common fields like name, description, and so forth. See Permission Control for additional context.
Back To LinksCloudCenter Platform 4x APIWorkload Manager API

ESB Header

action: create.projects

See the Enterprise Service Bus (ESB) section for additional context.

Not applicable

Sample Request Body

{
    "name": "Enterprise-CRM",
    "description": "CRM 2.0 Release",
    "targetEndDate": 1476379896000,
    "planType": "BUDGET",
    "quota": {
        "value": 50000
    },
    "apps": [
        {
            "id": "29"
        },
        {
            "id": "40"
        }
    ]
}

Response

{
    "id": "137",
    "resource": "https://<HOST>:<PORT>/v1/projects/137",
    "perms": [
        "read",
        "notify",
        "delete",
        "write",
        "administration"
    ],
    "name": "Enterprise-CRM",
    "projectOwnerId": 2,
    "description": "CRM 2.0 Release",
    "isDraft": true,
    "targetEndDate": 1476379896000,
    "notifyUsers": false,
    "planType": "BUDGET",
    "deleted": false,
    "quota": {
        "value": 50000,
        "measurableUnit": "$",
        "type": "LIMITED"
    },
    "projectCost": {
        "originalBalance": 0,
        "remainingBalance": 0,
        "measurableUnit": "$"
    },
    "apps": [
        {
            "id": "29",
            "resource": "https://<HOST>:<PORT>/v1/apps/29",
            "perms": [
                "read",
                "execute",
                "delete",
                "write",
                "administration"
            ],
            "appName": "SleekApp1"
        },
        {
            "id": "40",
            "resource": "https://<HOST>:<PORT>/v1/apps/40",
            "perms": [
                "read",
                "execute",
                "delete",
                "write",
                "administration"
            ],
            "appName": "SleekApp2"
        }
    ],
    "phases": []
}

Request Attributes

Required

Required

quota (click for additional details)

apps(project) (click for additional details)  

Response Attributes