[{"label":"Latest (v37.0)","version":"latest"},{"version":"v36.3"},{"version":"v36.2"},{"version":"v36.1"},{"version":"v36.0"},{"link":"https://developer.vmware.com/apis/1046/vmware-cloud-director","version":"v35.0"}]
vmware-cloud-director

Upload UI Plugin Resource

Description

Initiates an upload for the plugin for this extension using the Transfer service A unique transfer service URL is returned where the plugin may be uploaded.

Request

Request

URL

URL


post
https://{api_host}/cloudapi/extensions/ui/{id}/plugin
Copy

Path Parameters

Path Parameters

string
id Required

Request Body

Request Body

UploadSpec of type(s) application/json Required
{
	"fileName": "string",
	"size": 0
}
string
fileName Required

integer as int64
size Required

string
checksum Optional

string
checksumAlgo Optional

Possible values are: sha1sha256

Authentication

Authentication

This operation uses the following authentication methods.

Response

Response

204 No Content

No Content

No error details were provided in the OpenAPI specification.

Code Samples

Code Samples

cURL Command

curl -X POST -H "Content-Type: application/json" -d '{"checksum":"string","checksumAlgo":"sha1","fileName":"string","size":0}' https://{api_host}/cloudapi/extensions/ui/{id}/plugin


[{"label":"Latest (v37.0)","version":"latest"},{"version":"v36.3"},{"version":"v36.2"},{"version":"v36.1"},{"version":"v36.0"},{"link":"https://developer.vmware.com/apis/1046/vmware-cloud-director","version":"v35.0"}]
vmware-cloud-director
Availability
Added in 30.0
UI Plugin Resource Operations
Feedback

Was this page helpful?