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

400

Invalid configuration.

Code Samples

Code Samples

cURL Command

curl -X PUT -H "Content-Type: application/json" -d '{}' https://{api_host}/cloudapi/1.0.0/brandingThemes/{brandingThemeId}/resources


[{"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
What's changed in v37.0?
INTRODUCED
New in this version
Feedback

Was this page helpful?