CollectionApi

Constructors

Link copied to clipboard
constructor(api: ApiClient)

Functions

Link copied to clipboard
suspend fun addToCollection(collectionId: <Error class: unknown class>, ids: Collection<<Error class: unknown class>> = emptyList()): Response<Unit>

Adds items to a collection.

Link copied to clipboard
suspend fun createCollection(name: String? = null, ids: Collection<String>? = emptyList(), parentId: <Error class: unknown class>? = null, isLocked: Boolean? = false): Response<<Error class: unknown class>>

Creates a new collection.

Link copied to clipboard
suspend fun removeFromCollection(collectionId: <Error class: unknown class>, ids: Collection<<Error class: unknown class>> = emptyList()): Response<Unit>

Removes items from a collection.