Assets

Add To Version Stack

Add assets to a version stack, or create a new stack.

The target_asset_id becomes version 1 (or stays in its existing stack). The asset_ids are added on top, with the last becoming the new top version. All asset_ids must not already be in a version stack.

post/assets/versions/add

Request

  • Base URL
    https://api.aspect.inc
  • URL
    https://api.aspect.inc/assets/versions/add
  • Auth
    API key in header Authorization

Request body

asset_idsstring[] required

IDs of assets to add to the stack. These must not already be in a stack.

target_asset_idstring uuid required

ID of the target asset. If not in a stack, a new stack is created with this asset as version 1.

Response

Successful Response

version_stack_idstring uuid required

ID of the version stack

Changes

No recorded changes to this operation across all 1 revision of this API.