Create App Template

Create App Template

Creates a new AppTemplate in the provided catalog.

Request
URI
POST
https://{api_host}/cloudapi/1.0.0/appTemplates
COPY
Request Body
AppTemplate of type(s) application/json
Optional
{
    "appType": "string",
    "id": "string",
    "appId": "string",
    "catalogContentSource": {
        "name": "string",
        "id": "string"
    },
    "name": "string",
    "description": "string",
    "creationDate": "string",
    "lastUpdateDate": "string",
    "status": "READY, FAILED, NOT_READY",
    "logoUrl": "string",
    "screenshotUrls": [
        "string"
    ],
    "owner": {
        "name": "string",
        "id": "string"
    },
    "catalog": {
        "name": "string",
        "id": "string"
    },
    "org": {
        "name": "string",
        "id": "string"
    }
}
string
appType
Required

Type of template. This is a discriminator field that helps in distinguishing the type of template this object represents. If the template is an image of a container application, the value of this field is ContainerAppTemplate. If the template is an image of a virtual machine or a collection of virtual machines then the value of this field is VmAppTemplate. If the template is an image of a media item then the value of this field is MediaAppTemplate.

string
id
Optional

A unique identifier for the appTemplate.

string
appId
Required

A unique identifier to globally identify this appTemplate. Items sourced from an external source such as VMware Marketplace have their appId referenced by the unique id in that external source. This means an item sourced from an external source in two different catalogs will still have the same appId.

catalogContentSource
Optional

catalogContentSource

string
name
Optional

The name of the appTemplate.

string
description
Optional

The description of the appTemplate.

string As date-time As date-time
creationDate
Optional

The date and time when this appTemplate was created. This value will be formatted as per ISO 8601 format and include timezone information.

string As date-time As date-time
lastUpdateDate
Optional

The date and time representing when this appTemplate was last updated. This value will be formatted as per ISO 8601 format and include timezone information.

string
status
Optional

Status indicating whether this appTemplate is ready or not.

string
logoUrl
Optional

URL of the logo of this application.

array of string
screenshotUrls
Optional

List of screenshot URLs of the application.

owner
Optional

owner

catalog
Optional

catalog

org
Optional

org

Authentication
This operation uses the following authentication methods.
Responses
202

The request have been accepted and the task to monitor the request is in the Location header.

Operation doesn't return any data structure

400

Invalid configuration.

Returns Error of type(s) */*;version=38.1
{
    "minorErrorCode": "string",
    "message": "string",
    "stackTrace": "string"
}
string
minorErrorCode
Required

minorErrorCode

string
message
Required

message

string
stackTrace
Optional

stackTrace