getCollectionAsJsonSuspend

suspend fun getCollectionAsJsonSuspend(    collectionAlias: String,     from: Int = 0,     size: Int = DEFAULT_PAGINATION_SIZE,     shouldIgnoreCache: Boolean = false,     preLoading: Boolean? = null): Either<ArcXPException, String>

getCollectionAsJsonSuspend - request collection by content alias Note this should be a troubleshooting function, does not use cache

Return

Either Json String or ArcXPException

Parameters

collectionAlias

searches for this id

from

starting index to return results, ie 0 for page 1, 20(size) for page 2

size

number of results to return

preLoading

: Boolean should we call collection full? if nothing is entered, will default to ArcXPContentConfig.preLoading value

shouldIgnoreCache

if true, we ignore caching for this call only