Every file you upload to DatoCMS will be retrievable from this endpoint.
RFC 4122 UUID of upload expressed in URL-safe base64 format
"q0VNpiNQSkG6z0lif_O1zg"
Must be exactly "upload"
.
size of the upload
444
Width of image
30
Height of image
30
Upload path
"/45/1496845848-digital-cats.jpg"
Upload basename
"digital-cats"
Upload filename
"digital-cats.jpg"
Upload URL
"https://www.datocms-assets.com/45/1496845848-digital-cats.jpg"
Format
"jpg"
Author
"Mark Smith"
Copyright
"2020 DatoCMS"
Notes
"Nyan the cat"
The MD5 hash of the asset
"873c296d0f2b7ee569f2d7ddaebc0d33"
Seconds of duration for the video
62
Frame rate (FPS) for the video
30
Blurhash for the asset
"LEHV6nWB2yk8pyo0adR*.7kCMdnj"
Base64 encoded ThumbHash for the asset
"UhqCDQIkrHOfVG8wBa2v39z7CXeqZWFLdg=="
Public Mux playback ID. Used with stream.mux.com to create the source URL for a video player.
"a1B2c3D4e5F6g7H8i9"
Maximum quality of MP4 rendition available
"high"
For each of the project's locales, the default metadata to apply if nothing is specified at record's level.
{
en: {
title: "this is the default title",
alt: "this is the default alternate text",
custom_data: { foo: "bar" },
focal_point: { x: 0.5, y: 0.5 },
},
}
Is this upload an image?
Date of upload
Date of last update
Mime type of upload
"image/jpeg"
Tags
["cats"]
Smart tags
["robot-cats"]
Exif information
{
iso: 10000,
model: "ILCE-7",
flash_mode: 16,
focal_length: 35,
exposure_time: 0.0166667,
}
Dominant colors of the image
[
{ red: 206, green: 203, blue: 167, alpha: 255 },
{ red: 158, green: 163, blue: 93, alpha: 255 },
]
Red value (from 0 to 255)
115
Green value (from 0 to 255)
133
Blue value (from 0 to 255)
27
Alpha value (from 0 to 255)
255
The entity (account/collaborator/access token) who created the asset
Upload collection to which the asset belongs