Changed5
[{"label":"Latest (v37.1)","version":"latest"},{"version":"v37.0"},{"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 Branding Theme Contents Deprecated

Description

Update an existing custom theme’s contents, uniquely identified by name. Currently, this is limited to a single CSS file.

Request

Request

URL

URL


post
https://{api_host}/cloudapi/branding/themes/{name}/contents
Copy

Path Parameters

Path Parameters

string
name 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/branding/themes/{name}/contents


[{"label":"Latest (v37.1)","version":"latest"},{"version":"v37.0"},{"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
What's changed in v37.1?
CHANGED (5)
deprecated

Extension Added
x-vcloud-added-in
Extension Added
x-vcloud-deprecated-in
Extension Added
x-vcloud-deprecated-alternative
Availability
Added in 30.0
Deprecated in 37.1
With alternative: See /cloudapi/1.0.0/brandingThemes
Branding Operations
Feedback

Was this page helpful?