Create an application from a JSON file

Request

PUT https://{hostname}:{port}
    /cli/application/create
This command takes a JSON request string or file. Use the following template for the request:
{
  "description": "Description",
  "enforceCompleteSnapshots": "Specify true to require an 
  explicit version for each component",
  "name": "Application name or ID",
  "notificationScheme": "Notification scheme"
}

Example JSON request

{
  "name": "My new application",
  "description": "New application for command example",
  "notificationScheme": "Default Notification Scheme",
  "enforceCompleteSnapshots": "false"
}

Example response

{
  "id": "5064e2b5-08aa-4e79-b0d5-9b63ba218d48",
  "name": "My new application",
  "description": "New application for command example",
  "created": 1390504790883,
  "enforceCompleteSnapshots": false,
  "active": true,
  "tags": [
  ],
  "user": "admin"
}

Related CLI command: createApplication.


Feedback