//sdk/com.adobe.express.embedsdk.wishesandgreetings.data.content/WishesAndGreetingsContentServiceApi
class WishesAndGreetingsContentServiceApi(contentEndpoint: String, apiKey: String, httpClient: HttpClient, json: Json = Json { ignoreUnknownKeys = true })
Anonymous Adobe Content Service (ACP) HTTP surface for the Wishes & greetings templates browse: requests carry only the x-api-key, never a user token.
| WishesAndGreetingsContentServiceApi | constructor(contentEndpoint: String, apiKey: String, httpClient: HttpClient, json: Json = Json { ignoreUnknownKeys = true }) |
| Name | Summary |
|---|---|
| Companion | object Companion |
| Name | Summary |
|---|---|
| getChildAssetsWithLink | suspend fun getChildAssetsWithLink(href: String): ContentAssetList Fetches one ACP asset page from href. Callers pass a link from getInitialAssetsLink or getInitialSearchAssetsLink (both already require an ACP link) or an ACP page’s next link. |
| getChildCollectionsWithLink | suspend fun getChildCollectionsWithLink(href: String): ContentCollectionList |
| getInitialAssetsLink | fun getInitialAssetsLink(collection: ContentCollection, limit: Int, searchTerms: SearchTerms? = null): String? Builds the ACP browse-assets link for collection. |
| getInitialCollectionsLink | fun getInitialCollectionsLink(collection: ContentCollection, limit: Int, searchTerms: SearchTerms? = null): String? Builds the ACP collections link for collection (adds only the region filter, if present). |
| getInitialSearchAssetsLink | fun getInitialSearchAssetsLink(collection: ContentCollection, limit: Int, searchTerms: SearchTerms?): String? Builds the ACP search-assets link for collection. |
| resolve | suspend fun resolve(id: String): ContentCollection? |