get Collections

suspend fun getCollections(ownedOnly: Boolean = false, page: Int = DEFAULT_PAGE, pageSize: Int = DEFAULT_PAGE_SIZE, keywords: String = ""): JsonObject

Method the collections of the user

Return

the result of the request as JsonObject

Parameters

ownedOnly

Whether to get only the collections where the user is the owner

page

The page to request

pageSize

The size of the page to request

keywords

The keywords used to filter the query