Skip to main content
Skip table of contents

Adding to a collection


Adding an image to a previously created collection.

POST /api/collections/{collection-uid}?format=json
Body
json
JSON
{
    "image": ",/9j/4AAQSkZJRgABAQEASABIAAD/2wCEAAgICAgJCAkKCgkNDgwODRMRE8bGx8bKyYu"
}
collection-uidoptional
uid

Unique collection identifier

imageoptional
string

Image in Base64 format

Response
200

Returns a JSON object with the identifier of the created image

JSON
{
                 "image_uid": "8d5d09a0-1090-11ec-a9fc-addec8dfe22c"
            }
404

Collection with such UID not found

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.