get Collection As Json Suspend
suspend fun getCollectionAsJsonSuspend( collectionAlias: String, from: Int = 0, size: Int = DEFAULT_PAGINATION_SIZE, shouldIgnoreCache: Boolean = false, preLoading: Boolean? = null): Either<ArcXPException, String>
Content copied to clipboard
getCollectionAsJsonSuspend - request collection by content alias Note this should be a troubleshooting function, does not use cache
Return
Either Json String or ArcXPException
Parameters
collection Alias
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
pre Loading
: Boolean should we call collection full? if nothing is entered, will default to ArcXPContentConfig.preLoading value
should Ignore Cache
if true, we ignore caching for this call only