If this content did not answer your questions, try searching or contacting our support team for further assistance.
acquia-dam-sdk / Components / CollectionsApi
new CollectionsApi(
client
):CollectionsApi
Create an instance of the CollectionsApi class
Provides information about global, shared, and private Collections
Provide an instance of ApiClient.
src/apis/collections/api.ts:19
addOrRemoveAssets(
params
):Promise
<void
>
Add or remove multiple assets from multiple collections
Information about the request
Promise
<void
>
Promise containing no information
https://widenv1.docs.apiary.io/#reference/collections/collection-assets/adding/removing-assets
src/apis/collections/api.ts:29
createCollection(
params
):Promise
<CreateCollectionResult
>
Create a local (private) collection
Information about the request
Promise
<CreateCollectionResult
>
Promise containing information about the created collection
https://widenv1.docs.apiary.io/#reference/collections/collection-assets/create-a-collection
src/apis/collections/api.ts:57
listCollections(
params
):Promise
<ListCollectionsResult
>
Retrieve a list of collections.
Information about the request
Promise
<ListCollectionsResult
>
Promise containing a list of collections
https://widenv2.docs.apiary.io/#reference/collections/collections/list-collections