Assets

Reorder Version Stack

Reorder assets within a version stack.

The last element of ordered_asset_ids becomes the new top version. Returns 409 with conflict details if the new top's name conflicts with an existing item.

post/assets/versions/reorder

Request

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

Request body

version_stack_idstring uuid required

ID of the version stack to reorder

ordered_asset_idsstring[] required

Ordered list of asset IDs. Position 0 = version 1 (bottom), last = top version.

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.