Collections

A Collection represents a set of media files grouped by specific attributes and includes all types of assets. It can be a collection of profile pictures, banners, stock photos, etc.

Create, update or destroy

Create a new collection

To create a collection.

POST: /collections

Update an existing collection

To update a collection.

PUT: /collections/{id}

Destroy an existing collection

To destroy a collection.

DELETE: /collections/{id}

Managing collections

Add assets to a collection

To add assets to the collection.

POST: /collections/{id}/assets

Remove assets from a collection

To remove assets from the collection.

DELETE: /collections/{id}/assets

Set a collection cover

To set a cover of the collection.

POST: /collections/{id}/cover

Scopes

collections, collections_publish, collections_delete