Update stack
update_stackChange the cover asset of a photo stack so the library displays a different image, updating the stack on the server.
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 |