Cloud APIs
AssetsApi
assetOfVersion

assetOfVersion

Gets an asset of a specific version.

Parameters

NameTypeDescription
assetIdAssetIdThe ID of the asset to get.
versionVersionThe version of the asset to get.

Example

const { data: assetInfo } = await AssetsApi.assetOfVersion({ assetId: 18508967120, version: 1 }); 

Example Data

{
  path: "assets/18508967120/versions/1",
  creationContext: { creator: { userId: "45348281" } },
  moderationResult: { moderationState: "Approved" },
} 

Endpoint

GET /v1/assets/{assetId}/versions/{version}