List file versions
This API returns details of all versions of a file.
Path parameters
The unique fileId of the uploaded file. fileId is returned in list and search assets API and upload API.
Response
Array of file version objects.
Unique identifier of the asset.
Type of the asset.
Name of the asset.
Path of the file. This is the path you would use in the URL to access the file. For example, if the file is at the root of the media library, the path will be /file.jpg. If the file is inside a folder named images, the path will be /images/file.jpg.
Specifies if the file is private or not.
Specifies if the file is published or not.
URL of the file.
URL of the thumbnail image. This URL is used to access the thumbnail image of the file in the media library.
Type of the file. Possible values are image, non-image.
MIME type of the file.
Width of the file.
Height of the file.
Size of the file in bytes.
The bit rate of the video in kbps (only for video).
The duration of the video in seconds (only for video).
The audio codec used in the video (only for video/audio).
The video codec used in the video (only for video).
Specifies if the image has an alpha channel.
A key-value data associated with the asset.
This field is included in the response only if the Path policy feature is available in the plan. It contains schema definitions for the custom metadata fields selected for the specified file path. Field selection can only be done when the Path policy feature is enabled.
Keys are the names of the custom metadata fields; the value object has details about the custom metadata schema.
Consolidated embedded metadata associated with the file. It includes exif, iptc, and xmp data.
Optional text to describe the contents of the file. Can be set by the user or the ai-auto-description extension.
Date and time when the file was uploaded. The date and time is in ISO8601 format.
Date and time when the file was last updated. The date and time is in ISO8601 format.