Skip to content

The upload object

These attributes define the properties of an upload object.
The upload object is used to store images in an organized way.

Attributes

id string
The unique UUID for the upload.

name string
The file name of the upload.

size number
The size of the upload in bytes.

contentType string
The content type of the upload.

createdAt string
The date and time when the upload was created.

Sample Object

Here’s a sample object of an upload:

{
"id": "3c435c83-6682-4468-939f-6af175caacex",
"name": "my-image.jpg",
"size": 123456,
"contentType": "image/jpeg",
"createdAt": "2024-01-01T00:00:00Z"
}