ManagedContent Class
Clone managed content. Create and get managed content. Create, delete, or update a digital asset management (DAM) provider instance. Bulk delete managed content. Delete and replace variants. Get channels. Get DAM providers. Get targets that managed content space folders can be shared with. Get and update targets that managed content space folders are shared with. Expose managed content as metadata. Publish and unpublish content.
These methods are for ManagedContent. All methods are static.
-
cloneManagedContentDocument(contentKeyOrId, ManagedContentCloneInputParam)
Clone a piece of managed content.
-
createManagedContent(ManagedContentInputParam)
Create managed content.
-
createManagedContentProvider(providerInstanceInput)
Create a digital asset management (DAM) provider instance.
-
createManagedContentWithMedia(ManagedContentInputParam, contentData)
Create managed content with content data.
-
deleteContents(contentSpaceId, ManagedContentItemsDeleteInputParam)
Asynchronously bulk delete managed content folders and items for a managed content space.
-
deleteManagedContentProviderInstance(providerInstanceId)
Delete a digital asset management (DAM) provider instance.
-
deleteManagedContentVariant(variantId)
Delete a managed content variant.
-
exposeContentsAsMetadata(input)
Expose managed content as metadata so it can be accessed through Metadata API.
-
Get all managed content versions for a channel.
-
Get all managed content versions for a channel with absolute URLs.
-
getAllDeliveryChannels(pageParam, pageSize)
Get managed content delivery channels for the context user.
-
getAllManagedContent(communityId, pageParam, pageSize, language, managedContentType)
Get all managed content versions for an Experience Cloud site.
-
Get all managed content versions for an Experience Cloud site with absolute URLs.
-
Get managed content versions for a channel using a list of content keys.
-
Get managed content versions for a channel using a list of managed content IDs.
-
Get managed content versions for a channel with absolute URLs using a list of managed content IDs.
-
Get information about an import or export job.
-
Get managed content versions for an Experience Cloud site using a list of content keys.
-
Get managed content versions for an Experience Cloud site using a list of managed content IDs.
-
Get managed content versions for an Experience Cloud site with absolute URLs using a list of managed content IDs.
-
getManagedContentByTopics(communityId, topics, pageParam, pageSize, language, managedContentType)
Get managed content versions using a list of content topic names.
-
Get managed content versions with absolute URLs using a list of content topic names.
-
Get managed content versions using a list of content keys and content topic names.
-
Get managed content versions using a list of managed content IDs and content topic names.
-
Get managed content versions with absolute URLs using a list of managed content IDs and content topic names.
-
Get digital asset management (DAM) providers.
-
getManagedContentProvidersForSpace(contentSpaceId)
Get digital asset management (DAM) providers for a managed content space.
-
getManagedContentSingleItemContent(contentSpaceId, contentTypeFQN)
Get a single managed content item for a managed content space.
-
Get targets that a managed content space folder is shared with.
-
getMCSFolderShareTargets(folderId)
Get targets that a managed content space folder can be shared with.
-
patchMCSFolderShares(folderId, mcsFolderShareCollectionUpdateInput)
Update the targets that a managed content space folder is shared with.
-
Publish content.
-
replaceManagedContentVariant(variantId, ManagedContentVariantInputParam)
Replace a managed content variant.
-
replaceManagedContentVariantWithMedia(variantId, ManagedContentVariantInputParam, contentData)
Replace a managed content variant, including content data.
-
Unpublish content.
-
updateManagedContentProviderInstance(providerInstanceId, providerInstanceInput)
Update a digital asset management (DAM) provider instance.
Clone a piece of managed content.
61.0
No
public static ConnectApi.ManagedContentDocumentClone cloneManagedContentDocument(String contentKeyOrId, ConnectApi.ManagedContentDocumentCloneInput ManagedContentCloneInputParam)
- contentKeyOrId
Type: String
Content key or ID of the managed content to clone.
- ManagedContentCloneInputParam
Type:
ConnectApi.ManagedContentDocumentCloneInputConnectApi.ManagedContentDocumentCloneInputclass specifying the details for the cloned content.
Type: ConnectApi.ManagedContentDocumentClone
Create managed content.
60.0
No
public static ConnectApi.ManagedContentDocument createManagedContent(ConnectApi.ManagedContentDocumentInput ManagedContentInputParam)
- ManagedContentInputParam
Type:
ConnectApi.ManagedContentDocumentInputA
ConnectApi.ManagedContentDocumentInputinput class with information to create managed content.
Type: ConnectApi.ManagedContentDocument
Create a digital asset management (DAM) provider instance.
65.0
No
public static ConnectApi.ManagedContentProviderInstance createManagedContentProvider(ConnectApi.ManagedContentProviderInstanceInput providerInstanceInput)
- providerInstanceInput
Type:
ConnectApi.ManagedContentProviderInstanceInputConnectApi.ManagedContentProviderInstanceInputclass with the required information to create an instance.
Type: ConnectApi.ManagedContentProviderInstance
Create managed content with content data.
60.0
No
public static ConnectApi.ManagedContentDocument createManagedContentWithMedia(ConnectApi.ManagedContentDocumentInput ManagedContentInputParam, ConnectApi.BinaryInput contentData)
- ManagedContentInputParam
Type:
ConnectApi.ManagedContentDocumentInputA
ConnectApi.ManagedContentDocumentInputinput class with information to create managed content.- contentData
Type:
ConnectApi.BinaryInputA new binary file of the content data for the managed content.
Type: ConnectApi.ManagedContentDocument
Asynchronously bulk delete managed content folders and items for a managed content space.
68.0
No
public static ConnectApi.ManagedContentItemsDeleteOutput deleteContents(String contentSpaceId, ConnectApi.ManagedContentItemsDeleteInput ManagedContentItemsDeleteInputParam)
- contentSpaceId
Type: String
ID of the managed content space.
- ManagedContentItemsDeleteInputParam
Type:
ConnectApi.ManagedContentItemsDeleteInputConnectApi.ManagedContentItemsDeleteInputclass identifying which items to delete.
Type: ConnectApi.ManagedContentItemsDeleteOutput
Delete a digital asset management (DAM) provider instance.
You can’t delete a DAM provider instance that’s in use. Delete managed content that’s associated with a DAM provider instance before deleting the instance.
65.0
No
public static Void deleteManagedContentProviderInstance(String providerInstanceId)
- providerInstanceId
Type: String
ID of the provider instance to delete.
Type: Void
Delete a managed content variant.
60.0
No
public static Void deleteManagedContentVariant(String variantId)
- variantId
Type: String
ID of the variant to delete.
Type: Void
Expose managed content as metadata so it can be accessed through Metadata API.
68.0
No
public static ConnectApi.ManagedContentMetadataCollection exposeContentsAsMetadata(ConnectApi.ManagedContentMetadataCollectionInput input)
- input
Type:
ConnectApi.ManagedContentMetadataCollectionInputConnectApi.ManagedContentMetadataCollectionInputclass containing the identifiers for the managed content to expose as metadata.
Type: ConnectApi.ManagedContentMetadataCollection
Get all managed content versions for a channel.
48.0
48.0
No
public static ConnectApi.ManagedContentVersionCollection getAllContent(String channelId, Integer pageParam, Integer pageSize, String language, String managedContentType, Boolean includeMetadata, String startDate, String endDate)
- channelId
Type: String
ID of the channel.
- pageParam
Type: Integer
Number of the page you want returned. Starts at 0. If you pass in
nullor 0, the first page is returned.- pageSize
Type: Integer
Specifies the number of items per page. Valid values are from 1 through 250. For performance reasons, we recommend 25 or fewer items per page. If you pass in
null, the default size is 25.- 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 context user’s language. If the context user’s language isn’t available, the language defaults to the content type’s original language.- managedContentType
Type: String
Developer name of the content type, such as
cms_documentorcms_image.- includeMetadata
Type: Boolean
Specifies whether to include metadata in the response (
true) or not (false). The default value isfalse.- startDate
Type: String
Publish start date in ISO 8601 format, for example, 2011-02-25T18:24:31.000Z.
- endDate
Type: String
Publish end date in ISO 8601 format, for example, 2011-02-25T18:24:31.000Z.
Type: ConnectApi.ManagedContentVersionCollection
Get all managed content versions for a channel with absolute URLs.
50.0
50.0
No
public static ConnectApi.ManagedContentVersionCollection getAllContent(String channelId, Integer pageParam, Integer pageSize, String language, String managedContentType, Boolean includeMetadata, String startDate, String endDate, Boolean showAbsoluteUrl)
- channelId
Type: String
ID of the channel.
- pageParam
Type: Integer
Number of the page you want returned. Starts at 0. If you pass in
nullor 0, the first page is returned.- pageSize
Type: Integer
Specifies the number of items per page. Valid values are from 1 through 250. For performance reasons, we recommend 25 or fewer items per page. If you pass in
null, the default size is 25.- 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 context user’s language. If the context user’s language isn’t available, the language defaults to the content type’s original language.- managedContentType
Type: String
Developer name of the content type, such as
cms_documentorcms_image.- includeMetadata
Type: Boolean
Specifies whether to include metadata in the response (
true) or not (false). The default value isfalse.- startDate
Type: String
Publish start date in ISO 8601 format, for example, 2011-02-25T18:24:31.000Z.
- endDate
Type: String
Publish end date in ISO 8601 format, for example, 2011-02-25T18:24:31.000Z.
- showAbsoluteUrl
Type: Boolean
Specifies whether to show absolute URLs in the output class (
true) or not (false). The default value isfalse.
Type: ConnectApi.ManagedContentVersionCollection
Get managed content delivery channels for the context user.
48.0–61.0
In version 62.0 and later, use getChannels(pageParam, pageSize) in the ManagedContentDelivery class to get all delivery channels.
48.0
No
public static ConnectApi.ManagedContentChannelCollection getAllDeliveryChannels(Integer pageParam, Integer pageSize)
- pageParam
Type: Integer
Number of the page you want returned. Starts at 0. If you pass in
nullor 0, the first page is returned.- pageSize
Type: Integer
Specifies the number of items per page. Valid values are from 1 through 250. If you pass in
null, the default size is 25.
Type: ConnectApi.ManagedContentChannelCollection
Get all managed content versions for an Experience Cloud site.
47.0
47.0
No
public static ConnectApi.ManagedContentVersionCollection getAllManagedContent(String communityId, Integer pageParam, Integer pageSize, String language, String managedContentType)
- communityId
Type: String
ID of the Experience Cloud site.
- pageParam
Type: Integer
Number of the page you want returned. Starts at 0. If you pass in
nullor 0, the first page is returned.- pageSize
Type: Integer
Specifies the number of items per page. Valid values are from 1 through 250. For performance reasons, we recommend 25 or fewer items per page. If you pass in
null, the default size is 25.- 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 context user’s language. If the context user’s language isn’t available, the language defaults to the content type’s original language.- managedContentType
Type: String
Developer name of the content type, such as
cms_documentorcms_image.
Type: ConnectApi.ManagedContentVersionCollection
Get all managed content versions for an Experience Cloud site with absolute URLs.
50.0
50.0
No
public static ConnectApi.ManagedContentVersionCollection getAllManagedContent(String communityId, Integer pageParam, Integer pageSize, String language, String managedContentType, Boolean showAbsoluteUrl)
- communityId
Type: String
ID of the Experience Cloud site.
- pageParam
Type: Integer
Number of the page you want returned. Starts at 0. If you pass in
nullor 0, the first page is returned.- pageSize
Type: Integer
Specifies the number of items per page. Valid values are from 1 through 250. For performance reasons, we recommend 25 or fewer items per page. If you pass in
null, the default size is 25.- 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 context user’s language. If the context user’s language isn’t available, the language defaults to the content type’s original language.- managedContentType
Type: String
Developer name of the content type, such as
cms_documentorcms_image.- showAbsoluteUrl
Type: Boolean
Specifies whether to show absolute URLs in the output class (
true) or not (false). The default value isfalse.
Type: ConnectApi.ManagedContentVersionCollection
Get managed content versions for a channel using a list of content keys.
51.0
51.0
No
public static ConnectApi.ManagedContentVersionCollection getContentByContentKeys(String channelId, List<String> contentKeys, Integer pageParam, Integer pageSize, String language, String managedContentType, Boolean includeMetadata, String startDate, String endDate, Boolean showAbsoluteUrl)
- channelId
Type: String
ID of the channel.
- contentKeys
Type: List<String>
List of up to 50 content keys for the managed content. A content key is a universally unique identifier (UUID) such as MCA4CCV5QS2BAB5H7YRCRPTCWGZQ.
- pageParam
Type: Integer
Number of the page you want returned. Starts at 0. If you pass in
nullor 0, the first page is returned.- pageSize
Type: Integer
Specifies the number of items per page. Valid values are from 1 through 250. For performance reasons, we recommend 25 or fewer items per page. If you pass in
null, the default size is 25.- 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 context user’s language. If the context user’s language isn’t available, the language defaults to the content type’s original language.- managedContentType
Type: String
Developer name of the content type, such as
cms_documentorcms_image.- includeMetadata
Type: Boolean
Specifies whether to include metadata in the response (
true) or not (false). The default value isfalse.- startDate
Type: String
Publish start date in ISO 8601 format, for example, 2011-02-25T18:24:31.000Z.
- endDate
Type: String
Publish end date in ISO 8601 format, for example, 2011-02-25T18:24:31.000Z.
- showAbsoluteUrl
Type: Boolean
Specifies whether to show absolute URLs in the output class (
true) or not (false). The default value isfalse.
Type: ConnectApi.ManagedContentVersionCollection
Get managed content versions for a channel using a list of managed content IDs.
48.0
48.0
No
public static ConnectApi.ManagedContentVersionCollection getContentByIds(String channelId, List<String> managedContentIds, Integer pageParam, Integer pageSize, String language, String managedContentType, Boolean includeMetadata, String startDate, String endDate)
- channelId
Type: String
ID of the channel.
- managedContentIds
Type: List<String>
Comma-separated list of managed content IDs. HTTP/2 clients support up to 200 IDs. HTTP/1.1 clients don’t.
- pageParam
Type: Integer
Number of the page you want returned. Starts at 0. If you pass in
nullor 0, the first page is returned.- pageSize
Type: Integer
Specifies the number of items per page. Valid values are from 1 through 250. For performance reasons, we recommend 25 or fewer items per page. If you pass in
null, the default size is 25.- 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 context user’s language. If the context user’s language isn’t available, the language defaults to the content type’s original language.- managedContentType
Type: String
Developer name of the content type, such as
cms_documentorcms_image.- includeMetadata
Type: Boolean
Specifies whether to include metadata in the response (
true) or not (false). The default value isfalse.- startDate
Type: String
Publish start date in ISO 8601 format, for example, 2011-02-25T18:24:31.000Z.
- endDate
Type: String
Publish end date in ISO 8601 format, for example, 2011-02-25T18:24:31.000Z.
Type: ConnectApi.ManagedContentVersionCollection
Get managed content versions for a channel with absolute URLs using a list of managed content IDs.
50.0
50.0
No
public static ConnectApi.ManagedContentVersionCollection getContentByIds(String channelId, List<String> managedContentIds, Integer pageParam, Integer pageSize, String language, String managedContentType, Boolean includeMetadata, String startDate, String endDate, Boolean showAbsoluteUrl)
- channelId
Type: String
ID of the channel.
- managedContentIds
Type: List<String>
Comma-separated list of managed content IDs. HTTP/2 clients support up to 200 IDs. HTTP/1.1 clients don’t.
- pageParam
Type: Integer
Number of the page you want returned. Starts at 0. If you pass in
nullor 0, the first page is returned.- pageSize
Type: Integer
Specifies the number of items per page. Valid values are from 1 through 250. For performance reasons, we recommend 25 or fewer items per page. If you pass in
null, the default size is 25.- 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 context user’s language. If the context user’s language isn’t available, the language defaults to the content type’s original language.- managedContentType
Type: String
Developer name of the content type, such as
cms_documentorcms_image.- includeMetadata
Type: Boolean
Specifies whether to include metadata in the response (
true) or not (false). The default value isfalse.- startDate
Type: String
Publish start date in ISO 8601 format, for example, 2011-02-25T18:24:31.000Z.
- endDate
Type: String
Publish end date in ISO 8601 format, for example, 2011-02-25T18:24:31.000Z.
- showAbsoluteUrl
Type: Boolean
Specifies whether to show absolute URLs in the output class (
true) or not (false). The default value isfalse.
Type: ConnectApi.ManagedContentVersionCollection
Get information about an import or export job.
68.0
No
public static ConnectApi.ManagedContentJob getContentJob(String jobId)
- jobId
Type: String
ID of the job.
Type: ConnectApi.ManagedContentJob
Get managed content versions for an Experience Cloud site using a list of content keys.
51.0
51.0
No
public static ConnectApi.ManagedContentVersionCollection getManagedContentByContentKeys(String communityId, List<String> contentKeys, Integer pageParam, Integer pageSize, String language, String managedContentType, Boolean showAbsoluteUrl)
- communityId
Type: String
ID of the Experience Cloud site.
- contentKeys
Type: List<String>
List of up to 50 content keys for the managed content. A content key is a universally unique identifier (UUID) such as MCA4CCV5QS2BAB5H7YRCRPTCWGZQ.
- pageParam
Type: Integer
Number of the page you want returned. Starts at 0. If you pass in
nullor 0, the first page is returned.- pageSize
Type: Integer
Specifies the number of items per page. Valid values are from 1 through 250. For performance reasons, we recommend 25 or fewer items per page. If you pass in
null, the default size is 25.- 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 context user’s language. If the context user’s language isn’t available, the language defaults to the content type’s original language.- managedContentType
Type: String
Developer name of the content type, such as
cms_documentorcms_image.- showAbsoluteUrl
Type: Boolean
Specifies whether to show absolute URLs in the output class (
true) or not (false). The default value isfalse.
Type: ConnectApi.ManagedContentVersionCollection
Get managed content versions for an Experience Cloud site using a list of managed content IDs.
47.0
47.0
No
public static ConnectApi.ManagedContentVersionCollection getManagedContentByIds(String communityId, List<String> managedContentIds, Integer pageParam, Integer pageSize, String language, String managedContentType)
- communityId
Type: String
ID of the Experience Cloud site.
- managedContentIds
Type: List<String>
Comma-separated list of managed content IDs. HTTP/2 clients support up to 200 IDs. HTTP/1.1 clients don’t.
- pageParam
Type: Integer
Number of the page you want returned. Starts at 0. If you pass in
nullor 0, the first page is returned.- pageSize
Type: Integer
Specifies the number of items per page. Valid values are from 1 through 250. For performance reasons, we recommend 25 or fewer items per page. If you pass in
null, the default size is 25.- 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 context user’s language. If the context user’s language isn’t available, the language defaults to the content type’s original language.- managedContentType
Type: String
Developer name of the content type, such as
cms_documentorcms_image.
Type: ConnectApi.ManagedContentVersionCollection
Get managed content versions for an Experience Cloud site with absolute URLs using a list of managed content IDs.
50.0
50.0
No
public static ConnectApi.ManagedContentVersionCollection getManagedContentByIds(String communityId, List<String> managedContentIds, Integer pageParam, Integer pageSize, String language, String managedContentType, Boolean showAbsoluteUrl)
- communityId
Type: String
ID of the Experience Cloud site.
- managedContentIds
Type: List<String>
Comma-separated list of managed content IDs. HTTP/2 clients support up to 200 IDs. HTTP/1.1 clients don’t.
- pageParam
Type: Integer
Number of the page you want returned. Starts at 0. If you pass in
nullor 0, the first page is returned.- pageSize
Type: Integer
Specifies the number of items per page. Valid values are from 1 through 250. For performance reasons, we recommend 25 or fewer items per page. If you pass in
null, the default size is 25.- 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 context user’s language. If the context user’s language isn’t available, the language defaults to the content type’s original language.- managedContentType
Type: String
Developer name of the content type, such as
cms_documentorcms_image.- showAbsoluteUrl
Type: Boolean
Specifies whether to show absolute URLs in the output class (
true) or not (false). The default value isfalse.
Type: ConnectApi.ManagedContentVersionCollection
Get managed content versions using a list of content topic names.
47.0
47.0
No
public static ConnectApi.ManagedContentVersionCollection getManagedContentByTopics(String communityId, List<String> topics, Integer pageParam, Integer pageSize, String language, String managedContentType)
- communityId
Type: String
ID of the Experience Cloud site.
- topics
Type: List<String>
Comma-separated list of up to 15 content topic names.
- pageParam
Type: Integer
Number of the page you want returned. Starts at 0. If you pass in
nullor 0, the first page is returned.- pageSize
Type: Integer
Specifies the number of items per page. Valid values are from 1 through 250. For performance reasons, we recommend 25 or fewer items per page. If you pass in
null, the default size is 25.- 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 context user’s language. If the context user’s language isn’t available, the language defaults to the content type’s original language.- managedContentType
Type: String
Developer name of the content type, such as
cms_documentorcms_image.
Type: ConnectApi.ManagedContentVersionCollection
Get managed content versions with absolute URLs using a list of content topic names.
50.0
50.0
No
public static ConnectApi.ManagedContentVersionCollection getManagedContentByTopics(String communityId, List<String> topics, Integer pageParam, Integer pageSize, String language, String managedContentType, Boolean showAbsoluteUrl)
- communityId
Type: String
ID of the Experience Cloud site.
- topics
Type: List<String>
Comma-separated list of up to 15 content topic names.
- pageParam
Type: Integer
Number of the page you want returned. Starts at 0. If you pass in
nullor 0, the first page is returned.- pageSize
Type: Integer
Specifies the number of items per page. Valid values are from 1 through 250. For performance reasons, we recommend 25 or fewer items per page. If you pass in
null, the default size is 25.- 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 context user’s language. If the context user’s language isn’t available, the language defaults to the content type’s original language.- managedContentType
Type: String
Developer name of the content type, such as
cms_documentorcms_image.- showAbsoluteUrl
Type: Boolean
Specifies whether to show absolute URLs in the output class (
true) or not (false). The default value isfalse.
Type: ConnectApi.ManagedContentVersionCollection
Get managed content versions using a list of content keys and content topic names.
51.0
51.0
No
public static ConnectApi.ManagedContentVersionCollection getManagedContentByTopicsAndContentKeys(String communityId, List<String> contentKeys, List<String> topics, Integer pageParam, Integer pageSize, String language, String managedContentType, Boolean showAbsoluteUrl)
- communityId
Type: String
ID of the Experience Cloud site.
- contentKeys
Type: List<String>
List of up to 50 content keys for the managed content. A content key is a universally unique identifier (UUID) such as MCA4CCV5QS2BAB5H7YRCRPTCWGZQ.
- topics
Type: List<String>
Comma-separated list of up to 15 content topic names.
- pageParam
Type: Integer
Number of the page you want returned. Starts at 0. If you pass in
nullor 0, the first page is returned.- pageSize
Type: Integer
Specifies the number of items per page. Valid values are from 1 through 250. For performance reasons, we recommend 25 or fewer items per page. If you pass in
null, the default size is 25.- 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 context user’s language. If the context user’s language isn’t available, the language defaults to the content type’s original language.- managedContentType
Type: String
Developer name of the content type, such as
cms_documentorcms_image.- showAbsoluteUrl
Type: Boolean
Specifies whether to show absolute URLs in the output class (
true) or not (false). The default value isfalse.
Type: ConnectApi.ManagedContentVersionCollection
Get managed content versions using a list of managed content IDs and content topic names.
47.0
47.0
No
public static ConnectApi.ManagedContentVersionCollection getManagedContentByTopicsAndIds(String communityId, List<String> managedContentIds, List<String> topics, Integer pageParam, Integer pageSize, String language, String managedContentType)
- communityId
Type: String
ID of the Experience Cloud site.
- managedContentIds
Type: List<String>
Comma-separated list of managed content IDs. HTTP/2 clients support up to 200 IDs. HTTP/1.1 clients don’t.
- topics
Type: List<String>
Comma-separated list of up to 15 content topic names.
- pageParam
Type: Integer
Number of the page you want returned. Starts at 0. If you pass in
nullor 0, the first page is returned.- pageSize
Type: Integer
Specifies the number of items per page. Valid values are from 1 through 250. For performance reasons, we recommend 25 or fewer items per page. If you pass in
null, the default size is 25.- 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 context user’s language. If the context user’s language isn’t available, the language defaults to the content type’s original language.- managedContentType
Type: String
Developer name of the content type, such as
cms_documentorcms_image.
Type: ConnectApi.ManagedContentVersionCollection
Get managed content versions with absolute URLs using a list of managed content IDs and content topic names.
50.0
50.0
No
public static ConnectApi.ManagedContentVersionCollection getManagedContentByTopicsAndIds(String communityId, List<String> managedContentIds, List<String> topics, Integer pageParam, Integer pageSize, String language, String managedContentType, Boolean showAbsoluteUrl)
- communityId
Type: String
ID of the Experience Cloud site.
- managedContentIds
Type: List<String>
Comma-separated list of managed content IDs. HTTP/2 clients support up to 200 IDs. HTTP/1.1 clients don’t.
- topics
Type: List<String>
Comma-separated list of up to 15 content topic names.
- pageParam
Type: Integer
Number of the page you want returned. Starts at 0. If you pass in
nullor 0, the first page is returned.- pageSize
Type: Integer
Specifies the number of items per page. Valid values are from 1 through 250. For performance reasons, we recommend 25 or fewer items per page. If you pass in
null, the default size is 25.- 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 context user’s language. If the context user’s language isn’t available, the language defaults to the content type’s original language.- managedContentType
Type: String
Developer name of the content type, such as
cms_documentorcms_image.- showAbsoluteUrl
Type: Boolean
Specifies whether to show absolute URLs in the output class (
true) or not (false). The default value isfalse.
Type: ConnectApi.ManagedContentVersionCollection
Get digital asset management (DAM) providers.
65.0
No
public static ConnectApi.ManagedContentProviderCollection getManagedContentProviders()
Type: ConnectApi.ManagedContentProviderCollection
Get digital asset management (DAM) providers for a managed content space.
66.0
No
public static ConnectApi.ManagedContentProviderCollection getManagedContentProvidersForSpace(String contentSpaceId)
- contentSpaceId
Type: String
ID of the managed content space.
Type: ConnectApi.ManagedContentProviderCollection
Get a single managed content item for a managed content space.
68.0
No
public static ConnectApi.ManagedContentDocument getManagedContentSingleItemContent(String contentSpaceId, String contentTypeFQN)
- contentSpaceId
Type: String
ID of the managed content space.
- contentTypeFQN
Type: String
Fully qualified name of the managed content.
Type: ConnectApi.ManagedContentDocument
Get targets that a managed content space folder is shared with.
To get the targets that a managed content space folder can be shared with, use getMCSFolderShareTargets(folderId).
63.0
No
public static ConnectApi.MCSFolderShareCollection getMCSFolderShares(String folderId)
- folderId
Type: String
ID of the folder.
Type: ConnectApi.MCSFolderShareCollection
Get targets that a managed content space folder can be shared with.
To get the targets that a managed content space folder is shared with, use getMCSFolderShares(folderId).
63.0
No
public static ConnectApi.MCSFolderShareTargetCollection getMCSFolderShareTargets(String folderId)
- folderId
Type: String
ID of the folder.
Type: ConnectApi.MCSFolderShareTargetCollection
Update the targets that a managed content space folder is shared with.
Workspaces are the only supported sharing targets. To get the targets that a managed content space folder is shared with, use getMCSFolderShares(folderId). To get the targets that a managed content space folder can be shared with, use getMCSFolderShareTargets(folderId).
63.0
No
public static ConnectApi.MCSFolderShareCollection patchMCSFolderShares(String folderId, ConnectApi.MCSFolderShareCollectionUpdateInput mcsFolderShareCollectionUpdateInput)
- folderId
Type: String
ID of the folder.
- mcsFolderShareCollectionUpdateInput
Type:
ConnectApi.MCSFolderShareCollectionUpdateInputConnectApi.MCSFolderShareCollectionUpdateInputinput class with the targets to share and unshare.
Type: ConnectApi.MCSFolderShareCollection
Publish content.
60.0
No
public static ConnectApi.ManagedContentPublishOutput publish(ConnectApi.ManagedContentPublishInput publishInput)
- publishInput
Type:
ConnectApi.ManagedContentPublishInputA
ConnectApi.ManagedContentPublishInputrequest body specifying the content to publish.
Type: ConnectApi.ManagedContentPublishOutput
Replace a managed content variant.
60.0
No
public static ConnectApi.ManagedContentVariant replaceManagedContentVariant(String variantId, ConnectApi.ManagedContentVariantUpdateInput ManagedContentVariantInputParam)
- variantId
Type: String
ID of the managed content variant to replace.
- ManagedContentVariantInputParam
Type:
ConnectApi.ManagedContentVariantUpdateInputA
ConnectApi.ManagedContentVariantUpdateInputinput class with information about the managed content variant that is replacing the existing variant.
Type: ConnectApi.ManagedContentVariant
Replace a managed content variant, including content data.
60.0
No
public static ConnectApi.ManagedContentVariant replaceManagedContentVariantWithMedia(String variantId, ConnectApi.ManagedContentVariantUpdateInput ManagedContentVariantInputParam, ConnectApi.BinaryInput contentData)
- variantId
Type: String
ID of the managed content variant to replace.
- ManagedContentVariantInputParam
Type:
ConnectApi.ManagedContentVariantUpdateInputA
ConnectApi.ManagedContentVariantUpdateInputinput class with information about the managed content variant that is replacing the existing variant.- contentData
Type:
ConnectApi.BinaryInputA new binary file to replace the content data of the managed content variant.
Type: ConnectApi.ManagedContentVariant
Unpublish content.
60.0
No
public static ConnectApi.ManagedContentUnpublishOutput unpublish(ConnectApi.ManagedContentUnpublishInput unpublishInput)
- unpublishInput
Type:
ConnectApi.ManagedContentUnpublishInputA
ConnectApi,ManagedContentUnpublishInputrequest body specifying the content to unpublish.
Type: ConnectApi.ManagedContentUnpublishOutput
Update a digital asset management (DAM) provider instance.
66.0
No
public static ConnectApi.ManagedContentProviderInstance updateManagedContentProviderInstance(String providerInstanceId, ConnectApi.ManagedContentProviderInput providerInstanceInput)
- providerInstanceId
Type: String
ID of the provider instance to update.
- providerInstanceInput
Type:
ConnectApi.ManagedContentProviderInstanceInputConnectApi.ManagedContentProviderInstanceInputclass with the required information to update an instance.
Type: ConnectApi.ManagedContentProviderInstance
These methods for ManagedContent are retired.
-
getAllDeliveryChannels(pageParam, pageSize)
Get managed content delivery channels for the context user.
-
getManagedContentSpace(contentSpaceId)
Get a managed content space.
Get managed content delivery channels for the context user.
48.0–61.0
In version 62.0 and later, use getChannels(pageParam, pageSize) in the ManagedContentDelivery class to get all delivery channels.
48.0
No
public static ConnectApi.ManagedContentChannelCollection getAllDeliveryChannels(Integer pageParam, Integer pageSize)
- pageParam
Type: Integer
Number of the page you want returned. Starts at 0. If you pass in
nullor 0, the first page is returned.- pageSize
Type: Integer
Specifies the number of items per page. Valid values are from 1 through 250. If you pass in
null, the default size is 25.
Type: ConnectApi.ManagedContentChannelCollection
Get a managed content space.
55.0–63.0
In version 64.0 and later, use getManagedContentSpace(contentSpaceId) in the ManagedContentSpaces class to get a managed content space.
No
public static ConnectApi.ManagedContentSpace getManagedContentSpace(String contentSpaceId)
- contentSpaceId
Type: String
ID of the managed content space.