Newer Version Available
ManagedContentDelivery Class
Namespace
ManagedContentDelivery Methods
getManagedContentChannel(channelId) (Beta)
API Version
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.
Return Value
getManagedContentForChannel(channelId, contentKeyOrId, showAbsoluteUrl) (Beta)
API Version
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.
Return Value
getManagedContentForChannel(channelId, contentKeyOrId, language, showAbsoluteUrl) (Beta)
API Version
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.
Return Value
getManagedContentForChannel(channelId, contentKeyOrId, language, showAbsoluteUrl, referenceDepth, expandReferences, referencesAsList) (Beta)
API Version
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.
Return Value
getManagedContentForSite(siteId, contentKeyOrId, showAbsoluteUrl) (Beta)
API Version
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.
Return Value
getManagedContentForSite(siteId, contentKeyOrId, language, showAbsoluteUrl) (Beta)
API Version
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.
Return Value
getManagedContentForSite(siteId, contentKeyOrId, language, showAbsoluteUrl, referenceDepth, expandReferences, referencesAsList) (Beta)
API Version
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.