Add assets to a stack
Changed onAdds 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.
Request
- Base URL: https://api.gumnut.ai
- URL: https://api.gumnut.ai/api/stacks/{stack_id}/assets
- Auth: one of:
- HTTP bearer
- HTTP bearer
Path parameters
Stack ID (with asset_stack_ prefix) of the stack to add the assets to.
Request body
Response
Successful Response
Changes
- breaking
response property
detaillist-of-types was widened by adding typesstringto media typeapplication/jsonof response422 - info
the response property
became required for the status
- breaking
- info
added the media type
application/jsonfor the response with the status - info
added the media type
application/jsonfor the response with the status - info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info