[{"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

Description

Initiate 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: , Logo: , Background: , Localizations: , CustomLinks: , Styles: , PortalName: <id_of_localization_or_just_text_to_be_displayed> } }

Request

Request

URL

URL


put
https://{api_host}/cloudapi/1.0.0/brandingThemes/{brandingThemeId}/resources
Copy

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

Authentication

This operation uses the following authentication methods.

Response

Response

202 Accepted

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

Errors

Errors

Error
400

Invalid configuration.

Code Samples

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
Feedback

Was this page helpful?