◀️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

NameTypeDescription

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, 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

Your Secret key. Only if enabled through the Security page.

N/A

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