◀️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
Name | Type | Description |
---|---|---|
key* | string | Your API key. |
entryID* | string | The entry ID of the content entry being accessed. |
operation* | string | The operation to be executed. Options: |
versionId | string | The version to execute the operation on. Applies to the |
comment | string | The comment to set to the version. Applies to the |
secKey* | string | Your Secret key. Only if enabled through the Security page. |
Operations
query
: Get information on all asset version.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