PUT https://{hostname}:{port}
/cli/application/create
Accept: application/json
Parameter | Type | Required | Description |
---|---|---|---|
Accept | application/json | true |
{
"description": "Description",
"enforceCompleteSnapshots": "Specify true to require an
explicit version for each component",
"name": "Application name or ID",
"notificationScheme": "Notification scheme",
"templateId": "The ID of the template to use. If you are
using an application template, either this field or
templateName are required.",
"templateName": "The name of the template to use. If you
are using an application template, either this field or
templateId are required.",
"templateVersion": "The version of the template to use.
This field is required if you are using an application
template."
}
For
version 6.2.3.1 or later, do not specify an application template. 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"
}
In
version 6.2.3.1 or later, to create an application from an application template, see Create an application with components from a JSON file.{
"name": "My new application",
"description": "New application for command example",
"notificationScheme": "Default Notification Scheme",
"enforceCompleteSnapshots": "false"
}
{
"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.