getBrowseFacetsCRT

suspend fun getBrowseFacetsCRT(    page: Int? = null,     perPage: Int? = null,     offset: Int? = null,     showHiddenFacets: Boolean? = null): BrowseFacetsResponse

Returns a list of browse facets results. This function should be called within a coroutine scope.

Example:

runBlocking {
launch {
try {
val browseFacetsResults = constructorIo.getBrowseFacetsCRT(1)
// Do something with browseFacetsResults
} catch (e: Exception) {
println(e)
}
}
}

Parameters

page

the page number of the results (Can't be used with offset)

perPage

the number of results per page to return

offset

the number of results to skip from the start (Can't be used with page)

showHiddenFacets

show fields that are hidden by default