Sites

Upload Resources

Uploads up to 10 resources, such as images, from external URLs to Duda's CDN, so they can be used on the site. Make sure each file has the right extension.

post/api/sites/multiscreen/resources/{site_name}/upload

Request

  • Base URL
    https://api.duda.co
  • URL
    https://api.duda.co/api/sites/multiscreen/resources/{site_name}/upload
  • Auth
    HTTP basic

Path parameters

site_namestring required

The site's unique name (its ID), returned when the site is created.

Request body

folderstring
resource_type'IMAGE' | 'FILE' | 'ICON' | 'AUDIO' | 'VIDEO'
srcstring
target_file_namestring

Response

OK

n_failuresinteger

Changes

No recorded changes to this operation across all 1 revision of this API.