stacks
Add assets to a stack
Adds one or more existing assets to the stack. An asset already in another stack is reconciled exactly as create_stack does. Ids already in this stack are silently skipped.
An add that changes membership marks the stack user-owned (origin = user), which freezes it against burst re-detection; a request that changes nothing leaves origin unchanged.
If a concurrent stack change invalidates the request mid-flight, it returns 409 and nothing is changed; retry the request unchanged, except where the 409 reports the target stack itself is gone, which is terminal.
post/api/stacks/{stack_id}/assets
Path parameters
stack_idstring required
Stack ID (with asset_stack_ prefix) of the stack to add the assets to.
Stack ID (with asset_stack_ prefix) of the stack to add the assets to.
Request body
Response
Successful Response