Newer Version Available

This content describes an older version of this product. View Latest

ManagedContentDelivery Class

Get collection items. Get collection metadata. Get a managed content channel. Get managed content.

Namespace

ConnectApi

ManagedContentDelivery Methods

The following are methods for ManagedContentDelivery. All methods are static.

getManagedContentChannel(channelId) (Beta)

Get a managed content channel.

API Version

This feature is a Beta Service. Customer may opt to try such Beta Service in its sole discretion. Any use of the Beta Service is subject to the applicable Beta Services Terms provided at Agreements and Terms.

Note

54.0

Available to Guest Users

54.0

Requires Chatter

No

Signature

public static ConnectApi.ManagedContentChannelDetail getManagedContentChannel(String channelId)

Parameters

channelId
Type: String
ID of the channel.

getManagedContentForChannel(channelId, contentKeyOrId, showAbsoluteUrl) (Beta)

Get a piece of published content for a channel.

API Version

This feature is a Beta Service. Customer may opt to try such Beta Service in its sole discretion. Any use of the Beta Service is subject to the applicable Beta Services Terms provided at Agreements and Terms.

Note

54.0

Available to Guest Users

54.0

Requires Chatter

No

Signature

public static ConnectApi.ManagedContentDeliveryDocument getManagedContentForChannel(String channelId, String contentKeyOrId, Boolean showAbsoluteUrl)

Parameters

channelId
Type: String
ID of the channel.
contentKeyOrId
Type: String
Content key or ID of the content. A content key is a unique identifier such as MCA4CCV5QS2BAB5H7YRCRPTCWGZQ.
showAbsoluteUrl
Type: Boolean
For public channels only, specifies whether to return the absolute unauthenticatedUrl in the output class. The default value is false.

getManagedContentForChannel(channelId, contentKeyOrId, language, showAbsoluteUrl) (Beta)

Get a piece of published content in a specified language for a channel.

API Version

This feature is a Beta Service. Customer may opt to try such Beta Service in its sole discretion. Any use of the Beta Service is subject to the applicable Beta Services Terms provided at Agreements and Terms.

Note

54.0

Available to Guest Users

54.0

Requires Chatter

No

Signature

public static ConnectApi.ManagedContentDeliveryDocument getManagedContentForChannel(String channelId, String contentKeyOrId, String language, Boolean showAbsoluteUrl)

Parameters

channelId
Type: String
ID of the channel.
contentKeyOrId
Type: String
Content key or ID of the content. A content key is a unique identifier such as MCA4CCV5QS2BAB5H7YRCRPTCWGZQ.
language
Type: String
Language locale for the managed content, for example, en_US. If the requested translation isn’t available, the language defaults to the channel or site’s default language. If the channel or site’s default language isn’t available, the language defaults to the primary language of the content space.
showAbsoluteUrl
Type: Boolean
For public channels only, specifies whether to return the absolute unauthenticatedUrl in the output class. The default value is false.

getManagedContentForChannel(channelId, contentKeyOrId, language, showAbsoluteUrl, referenceDepth, expandReferences, referencesAsList) (Beta)

Get a piece of published content in a specified language with references for a channel.

API Version

This feature is a Beta Service. Customer may opt to try such Beta Service in its sole discretion. Any use of the Beta Service is subject to the applicable Beta Services Terms provided at Agreements and Terms.

Note

54.0

Available to Guest Users

54.0

Requires Chatter

No

Signature

public static ConnectApi.ManagedContentDeliveryDocument getManagedContentForChannel(String channelId, String contentKeyOrId, String language, Boolean showAbsoluteUrl, Integer referenceDepth, Boolean expandReferences, Boolean referencesAsList)

Parameters

channelId
Type: String
ID of the channel.
contentKeyOrId
Type: String
Content key or ID of the content. A content key is a unique identifier such as MCA4CCV5QS2BAB5H7YRCRPTCWGZQ.
language
Type: String
Language locale for the managed content, for example, en_US. If the requested translation isn’t available, the language defaults to the channel or site’s default language. If the channel or site’s default language isn’t available, the language defaults to the primary language of the content space.
showAbsoluteUrl
Type: Boolean
For public channels only, specifies whether to return the absolute unauthenticatedUrl in the output class. The default value is false.
referenceDepth
Type: Integer
An integer 0–3 specifying the depth of references. If you specify 0, the references property of the ConnectApi.ManagedContentDeliveryDocument output class is null. If unspecified, the default value is 0.
expandReferences
Type: Boolean
Specifies whether to include details of references (true) or summaries of references (false) in the output class. If unspecified, the default value is false.
referencesAsList
Type: Boolean
Specifies whether to return the references as a list in the referencesList property of the ConnectApi.ManagedContentDeliveryDocument output class (true). If you specify false, the references are returned as key value pairs in the references property. If unspecified, the default value is false.

getManagedContentForSite(siteId, contentKeyOrId, showAbsoluteUrl) (Beta)

Get a piece of published content for an Experience Cloud site.

API Version

This feature is a Beta Service. Customer may opt to try such Beta Service in its sole discretion. Any use of the Beta Service is subject to the applicable Beta Services Terms provided at Agreements and Terms.

Note

54.0

Available to Guest Users

54.0

Requires Chatter

No

Signature

public static ConnectApi.ManagedContentDeliveryDocument getManagedContentForSite(String siteId, String contentKeyOrId, Boolean showAbsoluteUrl)

Parameters

siteId
Type: String
ID for the Experience Cloud site.
contentKeyOrId
Type: String
Content key or ID of the content. A content key is a unique identifier such as MCA4CCV5QS2BAB5H7YRCRPTCWGZQ.
showAbsoluteUrl
Type: Boolean
For public channels only, specifies whether to return the absolute unauthenticatedUrl in the output class. The default value is false.

getManagedContentForSite(siteId, contentKeyOrId, language, showAbsoluteUrl) (Beta)

Get a piece of published content in a specified language for an Experience Cloud site.

API Version

This feature is a Beta Service. Customer may opt to try such Beta Service in its sole discretion. Any use of the Beta Service is subject to the applicable Beta Services Terms provided at Agreements and Terms.

Note

54.0

Available to Guest Users

54.0

Requires Chatter

No

Signature

public static ConnectApi.ManagedContentDeliveryDocument getManagedContentForSite(String siteId, String contentKeyOrId, String language, Boolean showAbsoluteUrl)

Parameters

siteId
Type: String
ID for the Experience Cloud site.
contentKeyOrId
Type: String
Content key or ID of the content. A content key is a unique identifier such as MCA4CCV5QS2BAB5H7YRCRPTCWGZQ.
language
Type: String
Language locale for the managed content, for example, en_US. If the requested translation isn’t available, the language defaults to the channel or site’s default language. If the channel or site’s default language isn’t available, the language defaults to the primary language of the content space.
showAbsoluteUrl
Type: Boolean
For public channels only, specifies whether to return the absolute unauthenticatedUrl in the output class. The default value is false.

getManagedContentForSite(siteId, contentKeyOrId, language, showAbsoluteUrl, referenceDepth, expandReferences, referencesAsList) (Beta)

Get a piece of published content in a specified language with references for an Experience Cloud site.

API Version

This feature is a Beta Service. Customer may opt to try such Beta Service in its sole discretion. Any use of the Beta Service is subject to the applicable Beta Services Terms provided at Agreements and Terms.

Note

54.0

Available to Guest Users

54.0

Requires Chatter

No

Signature

public static ConnectApi.ManagedContentDeliveryDocument getManagedContentForSite(String siteId, String contentKeyOrId, String language, Boolean showAbsoluteUrl, Integer referenceDepth, Boolean expandReferences, Boolean referencesAsList)

Parameters

siteId
Type: String
ID for the Experience Cloud site.
contentKeyOrId
Type: String
Content key or ID of the content. A content key is a unique identifier such as MCA4CCV5QS2BAB5H7YRCRPTCWGZQ.
language
Type: String
Language locale for the managed content, for example, en_US. If the requested translation isn’t available, the language defaults to the channel or site’s default language. If the channel or site’s default language isn’t available, the language defaults to the primary language of the content space.
showAbsoluteUrl
Type: Boolean
For public channels only, specifies whether to return the absolute unauthenticatedUrl in the output class. The default value is false.
referenceDepth
Type: Integer
An integer 0–3 specifying the depth of references. If you specify 0, the references property of the ConnectApi.ManagedContentDeliveryDocument output class is null. If unspecified, the default value is 0.
expandReferences
Type: Boolean
Specifies whether to include details of references (true) or summaries of references (false) in the output class. If unspecified, the default value is false.
referencesAsList
Type: Boolean
Specifies whether to return the references as a list in the referencesList property of the ConnectApi.ManagedContentDeliveryDocument output class (true). If you specify false, the references are returned as key value pairs in the references property. If unspecified, the default value is false.