[{"label":"Latest (v37.2)","version":"latest"},{"version":"v37.1"},{"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 Resource
DescriptionInitiate an upload for the resources of this branding theme using the Transfer Service.
A unique transfer service URL is returned where the plugin can be uploaded.
The resources should be bundled in an archive, which must also contain a manfiest.json
describing the various resources bundled in this archive.
Example manifest.json
{
Name: “cusome_name.zip”,
Description: “Autogenerated branding theme resources”,
Vendor: “Vmware”,
Version: 0.0.1
Resources: {
FavIcon:
Request
URLURL
https://{api_host}/cloudapi/1.0.0/brandingThemes/{brandingThemeId}/resources
Path Parameters
Path Parameters
string
brandingThemeId
Required
theme URN
Request Body
Request Body
BrandingUploadSpec
of type(s) application/json
Required
This request body class requires all of the following:
UploadSpec, InlineBrandingUploadSpec1
Authentication
This operation uses the following authentication methods.
Errors
Error
400
Invalid configuration.
Code Samples
cURL Command
curl -X PUT -H "Content-Type: application/json" -d '{"background":"example.png","checksum":"string","checksumAlgo":"sha1","customLinks":"example.json","favIcon":"example.png","fileName":"string","localizations":"example.json","logo":"example.png","portalName":"organization name","size":0,"styles":"example.css"}' https://{api_host}/cloudapi/1.0.0/brandingThemes/{brandingThemeId}/resources
[{"label":"Latest (v37.2)","version":"latest"},{"version":"v37.1"},{"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
Availability
Added in 38.0.0-alpha