Skip to content

Assets

Upload, read, and delete media library files.

Fields

idstringUnique identifier of the resource.
fileNamestring
publicUrlstring
contentTypestring
sizeinteger
widthinteger
heightinteger
altTextstring
See all 13 fields
directorystring
metadataobject
createdOnstringTimestamp when the resource was created, in ISO 8601.
createdBystring
updatedOnstringTimestamp when the resource was last modified, in ISO 8601.

Operations

MethodEndpointOperation
POST/v1/storage/assetsUpload file
GET/v1/storage/assetsList assets
POST/v1/storage/assets/base64Upload file as Base64
POST/v1/storage/assets/urlImport file from URL
GET/v1/storage/assets/{id}Get file
PATCH/v1/storage/assets/{id}Update file metadata
DELETE/v1/storage/assets/{id}Delete file
POST/v1/storage/assets/batch/deleteBatch delete assets
GET/v1/storage/assets/{id}/contentDownload file

Last updated: