Images
Covered in this doc:
List images
List all images uploaded within a Site
Parameters
Name
Type
Description
site_id
string
optional ID of the Site
you want to get the images for
Response
Full URI of images
Any image file is available publicly using the image
parameter from the response and prefixing it with the frontend hostname of your API instance.
Example:
Linking to images
If you are using uploaded images within hosted Sites (CSS, HTML, etc), you should reference these images by their local path. You do not want to directly link to yourprivatelabel.cloudfrontend.net
.
Upload a new image (via an External URL)
Parameters
Name
Type
Description
site_id
integer
optional Site to upload the image to
external_url
string
required Publicly accessible url for the image to be fetched by our system and uploaded
Example
Response
A status code of 201 created
is returned on a successful creation and contains the created image object as JSON.
Upload a new image (via base64)
Parameters
Name
Type
Description
upload
object
required
site_id
int
optional
Example
Response
A status code of 201 created
is returned on a successful creation and contains the created image object as JSON.
Last updated