getContent

abstract suspend fun getContent(placement: ContentPlacement, surfaceCode: String = DEFAULT_SURFACE, locale: String? = null): ContentPage

The raw content of any placement and surfaceCode - the escape hatch for surfaces newer than this SDK's typed reads.

Parameters

placement

The placement to read.

surfaceCode

The surface within the placement, e.g. default.

locale

BCP-47 locale, or null for the member's default.

Throws

on a transport or HTTP failure.