Skip to main content
POST
Reorder Version Stack

Authorizations

Authorization
string
header
required

JWT in Authorization header. 'Bearer ' prefix optional.

Body

application/json

API request to reorder assets within a version stack

version_stack_id
string<uuid>
required

ID of the version stack to reorder

ordered_asset_ids
string<uuid>[]
required

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

conflict_resolutions
Conflict Resolutions · object | null

Resolution strategies for name conflicts when a new top version's name re-enters the uniqueness constraint. Keys are string UUIDs of conflicting items. If not provided and conflicts exist, returns 409.

Response

Successful Response

API response containing a full version stack

version_stack_id
string<uuid>
required

ID of the version stack

assets
AssetResponse · object[]
required

Assets in the stack, ordered from highest version number to lowest