update_stack
Change the cover photo of an existing stack by setting a new primary asset, then update the stack on the server and receive the updated stack.
Instructions
Change which asset fronts a stack (the one the library shows). Side effect: updates the stack on the server.
Args:
stack_id: The stack to update.
primary_asset_id: The asset that should become the cover. It must already
belong to the stack.
Returns: JSON with the updated stack.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| stack_id | Yes | ||
| primary_asset_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |