Skip to main content

Upload image

POST 

/images/:siteId/uploadImage

Id of the project site for which the image is being uploaded

Request

Path Parameters

    siteId int64required

Body

    image-to-upload binaryrequired

Responses

OK

Schema

    baseColor int32

    Image base color

    colorDepth int32
    createdById int64

    Account Id of the image uploader

    date date-time

    Date the image was uploaded

    fileName string

    Image file name

    fileWeight int64

    Image file size in KB

    format string

    Image format (formats accepted: JPG, JPEG, PNG, GIF, WEBP, SVG, MVG)

    Possible values: [PNG, JPEG, GIF, SVG, MVG, WEB]

    height int32

    Image height in pixels

    id int64

    Unique Id of the image

    keywords string[]

    Keyword(s) associated with the image

    name string

    Image name

    path string

    Image path

    shared boolean

    Indicates if the image has been shared

    siteId int64

    Unique Id of the site your project is associated with

    size int64

    Image size in bytes. Image file size should be maximum 5242880 bytes

    source string

    Image source

    sourceUrl string

    URL or the image source

    width int32

    Image width in pixels

Loading...