Adds assets to a collection with the given id.
import { Showpad } from '@showpad/experience-app-sdk'const collection = { "id": "c3e2a7a48eea0209af74c0d45e616da6", "name": "Sample"}const assetSlugs = ['648b2eb8-6fa1-40f2-b787-39cb1d51db69']const collectionId = await Showpad.addAssetsToCollectionWithId(collection.id, assetSlugs) Copy
import { Showpad } from '@showpad/experience-app-sdk'const collection = { "id": "c3e2a7a48eea0209af74c0d45e616da6", "name": "Sample"}const assetSlugs = ['648b2eb8-6fa1-40f2-b787-39cb1d51db69']const collectionId = await Showpad.addAssetsToCollectionWithId(collection.id, assetSlugs)
Id of the collection the assets were added to.
Generated using TypeDoc
Adds assets to a collection with the given id.
Example