[{"label":"Latest (V1)","version":"latest"}]
horizon-cloud-nextgen

Update Application Package

Description

Updates an appPackage, belonging to the org and location from the authentication context.You can create a new version of an existing Package by updating the existing Package. The existing Package becomes the base package or acts as a reference for the new version of the Package

Request

Request

URL

URL


put
https://cloud.vmwarehorizon.com/av-appies/v1/create-app-package
Copy

Request Body

Request Body

DataRequestDtoOfApplicationPackageUpdateDto of mimetype application/json Required

Request Body for updating Application Package Capture

{
	"data": {
		"appVersionId": "da891c6b-3ac6-491b-9c79-c58788819501",
		"applicationId": "da891c6b-3ac6-491b-9c79-c58788819500",
		"createdAt": "2022-07-11T07:44:49.619+00:00",
		"id": "e7421121-d052-4fd9-861f-7ce57246134e",
		"location": "US",
		"orgId": "e7421121-d052-4fd9-861f-7ce57246134e",
		"packageInfrastructure": {
			"activeDirectoryId": "627937bfdc75be5d6f96a8bd",
			"deliveryMode": "ONDEMAND",
			"edgeDeploymentId": "63be5420e2f0db03a3fc1f52",
			"imageId": "625fe51bfdac3b4a3b3effbb",
			"imageReference": {
				"streamId": "625fe51bfdac3b4a3b3effbb",
				"versionId": "625fe51bfdac3b4a3b3effbc"
			},
			"packageDescription": "Notepadd++ packaged for windows",
			"packageName": "Notepadd++ v19.2",
			"packagerId": "22f6e662-f136-11ec-8ea0-0242ac120002",
			"packagerName": "testuser1@avtest.azure.vmwav.net",
			"providerInstanceId": "62cbc397a6d6c400cfb44765",
			"vmSkuId": "Standard_A1_v2"
		},
		"updatedAt": "2022-07-11T07:44:49.619+00:00"
	}
}
data Optional

Schema Representation of request for updating Application Package Capture

Authentication

Authentication

This operation uses the following authentication methods.

Response

Response

Response Body

Response Body

202 Accepted

Returns ApplicationDto of type */*
{
    "createdAt": "2022-07-11T07:44:49.619+00:00",
    "description": "This is MS Office application",
    "id": "e7421121-d052-4fd9-861f-7ce57246134e",
    "location": "US",
    "name": "MS Office",
    "orgId": "e7421121-d052-4fd9-861f-7ce57246134e",
    "updatedAt": "2022-07-11T07:44:49.619+00:00"
}
array of AppVersionDto
appVersions Optional

Schema Representation for AppVersion. AppVersion is the particular version of software installed/captured in a given capture session. As part of the Cloud native capture only one AppVersion can be part of a Package. AppVersion was called in the past as “App Bundle” in the 3.x terminology. This is uniquely identified by a uuid which is generated during the capture session. With application package merge, it is possible to have the same AppVersion in multiple packages and also that single Package can have more than one AppVersion contained in it. Eg: “Microsoft Office 2013 sp1” can be the application version which can be captured under a virtual application named “Microsoft Office”, and this version can reside on a package “Microsoft_Office_2013_SP1_Clean.vhd”


string
createdAt Optional

This represents the timestamp at which the object was created


string
description Optional

Any Description for the application


string
id Optional

This represents the unique Id of the Object


string
location Optional

This represents the location


string
name Optional

Name of the application


string
orgId Optional

This represents the organization Id


string
ownerId Optional

Azure AD Object guid of the Owner


string
status Optional

Possible values are: DELETE_FAILEDPENDING_DELETE


string
updatedAt Optional

This represents the latest timestamp at which the object was updated

Errors

Errors

ErrorResponse
401

Unauthorized


ErrorResponse
403

Forbidden


ErrorResponse
404

Not Found

Code Samples

Code Samples

cURL Command

curl -X PUT -H "Content-Type: application/json" -d '{"data":{"appVersionId":"da891c6b-3ac6-491b-9c79-c58788819501","applicationId":"da891c6b-3ac6-491b-9c79-c58788819500","createdAt":"2022-07-11T07:44:49.619+00:00","id":"e7421121-d052-4fd9-861f-7ce57246134e","location":"US","orgId":"e7421121-d052-4fd9-861f-7ce57246134e","packageInfrastructure":{"activeDirectoryId":"627937bfdc75be5d6f96a8bd","deliveryMode":"ONDEMAND","edgeDeploymentId":"63be5420e2f0db03a3fc1f52","imageId":"625fe51bfdac3b4a3b3effbb","imageReference":{"streamId":"625fe51bfdac3b4a3b3effbb","versionId":"625fe51bfdac3b4a3b3effbc"},"packageDescription":"Notepadd++ packaged for windows","packageName":"Notepadd++ v19.2","packagerId":"22f6e662-f136-11ec-8ea0-0242ac120002","packagerName":"testuser1@avtest.azure.vmwav.net","providerInstanceId":"62cbc397a6d6c400cfb44765","vmSkuId":"Standard_A1_v2"},"updatedAt":"2022-07-11T07:44:49.619+00:00"}}' https://cloud.vmwarehorizon.com/av-appies/v1/create-app-package
Vendor Extensions

Vendor Extensions

This operation contains the following vendor extensions defined in the spec:
x-codegen-request-body-name: packageUpdateDtoDataRequestDto


Feedback

Was this page helpful?