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.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
🚧

Please make sure files you upload have the correct extension. For example, PNG images should have .png and JPEG should have .jpg or .jpeg

🚧

Only 10 resources can be uploaded in a single call

PropertyTypeDescription
n_failuresintThe number of failed resource that failed to upload.
uploaded_resourcesArray of ObjectsAn array of objects describing each resource uploaded. This contains an original URL, new URL (in the Duda system) and a status.
original_urlURLThe source URL of the resource that was uploaded.
new_urlURLA direct URL link to the resource from the Duda CDN.
statusStringThe status of the upload. Value can be NOT_FOUND or UPLOADED
📘

Since Duda must download the image, multi-size them and finally compress images uploaded through this API, it can often take several seconds to respond, depending on the number of images. If possible, we recommend you perform this action asynchronously.

Path Params
string
required

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

Body Params
Responses

405

Method Not Allowed

500

Internal Server Error

Language
Credentials
Basic
base64
:
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json