Get Details of All Versions of an Asset

GET https://{{base_url}}/v3/assets/{{asset_uid}}/versions

The Get Details of All Versions of an Asset request allows you to retrieve the details of all the versions of an asset.
To configure the permissions for your application via OAuth, please include the cm.asset:read scope.

To use the API Request, you will need to authenticate yourself either with a Management Token (highly recommended) or an Authtoken. 
Read more about it in Authentication.


For more information, refer to the Get Details of All Versions of an Asset API Reference document

Request Params

KeyDatatypeRequiredDescription
skipnumberEnter the number of version details to be skipped.
limitnumberEnter the maximum number of version details to be returned.
namedbooleanSet to ‘true’ if you want to retrieve only the named versions of your asset.
include_countbooleanEnter 'true' to get the total count of the asset version details.
include_branchbooleanSet this to 'true' to include the '_branch' top-level key in the response. This key states the unique ID of the branch where the concerned Contentstack module resides.

HEADERS

KeyDatatypeRequiredDescription
api_keystring
authtokenstringEnter your authtoken.
authorizationstringFor this call we recommend you to use management token.
Content-Typestring
branchstringEnter your branch unique ID.