CollectionApi

Constructors

Link copied to clipboard
constructor(api: ApiClient)

Functions

Link copied to clipboard
suspend fun addToCollection(collectionId: ERROR CLASS: Symbol not found for UUID, ids: Collection<ERROR CLASS: Symbol not found for UUID> = 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: Symbol not found for UUID?? = null, isLocked: Boolean? = false): Response<ERROR CLASS: Symbol not found for CollectionCreationResult>

Creates a new collection.

Link copied to clipboard
suspend fun removeFromCollection(collectionId: ERROR CLASS: Symbol not found for UUID, ids: Collection<ERROR CLASS: Symbol not found for UUID> = emptyList()): Response<Unit>

Removes items from a collection.