⏪Version
Learn how to save the location of a user accessing a content entry.
Get asset versions
GET
https://api.echo3d.com/versionControl
This endpoint allows you to retrieve information on the different versions of an asset entry.
Request Body
key*
string
Your API key.
entryId
string
The entry ID of the content entry being accessed.
operation*
string
The operation to be executed. Options: query
, queryAll
, revert
, editComment
, deleteVersion
versionId
string
The version to execute the operation on. Applies to the revert
, editComment
, deleteVersion
operations
comment
string
The comment to set to the version. Applies to the editComment
operation.
secKey*
string
Operations
query
: Get information on all asset versions. Your request must include:entryId
: The ID of the asset version to query.
queryAll
: Get information on versions of all assets in a collection.revert
: Set a previous asset version as the latest version. Your request must include:versionId
: The ID of the asset version to revert to.
editComment
: Add or update a comment on a specific asset version. Your request must include:versionId
: The ID of the asset version to comment on.comment
: The comment to add.
deleteVersion
: Remove a specific asset version from the database. Your request must include:versionId
: The ID of the asset version to delete.
Last updated