CMS Connect REST API
CMS Connect REST API (v67.0)
Download OpenAPI specification:Download
Note: The API Reference has a new three-panel layout. Browse grouped endpoints on the left, review endpoint details in the center, and access examples on the right.
Important: Where possible, we changed noninclusive terms to align with our company value of Equality. We maintained certain terms to avoid any effect on customer implementations.
Get published managed content versions for an Experience Cloud site or a channel. Search managed content in an Experience Cloud site or channel. Get managed content delivery channels for the context user. Get published managed content versions for a channel. Search managed content in a channel. Get the binary stream of published managed content. Get or update the searchable status for managed content types in a channel. Get a piece of managed content. Get a managed content folder.
If you have enhanced CMS workspaces, see Enhanced CMS Workspaces Resources.
CMS Searchable Content Types, Channel
Get the searchable status for managed content types in a channel.
Available in: v49.0
path Parameters
| channelId required | string <Id> ^(0ap)\w* ID of a channel. |
query Parameters
| page | integer Number of the page you want returned. Starts at 0. If you don’t specify a value or if you specify 0, the first page is returned. Available in: v49.0 |
| pageSize | integer Specifies the number of items per page. Valid values are from 1 through 250. If you don’t specify a value, the default size is 25. Available in: v49.0 |
Responses
Response samples
- 200
{- "currentPageUrl": "string",
- "items": [
- {
- "id": "string",
- "isSearchable": true,
- "label": "string",
- "name": "string"
}
], - "nextPageUrl": "string",
- "totalItems": 0
}CMS Searchable Content Types, Channel
Update the searchable status for managed content types in a channel.
Available in: v49.0
path Parameters
| channelId required | string <Id> ^(0ap)\w* ID of a channel. |
Request Body schema: application/json
Update the searchable status of a managed content type.
| isSearchable required | boolean Specifies whether to set the managed content type to searchable
( Available in: v49.0 |
| name required | string Developer name of the managed content type. In version 63.0 and later, specify the fully qualified name for content types that are package-installed. Available in: v49.0 |
Responses
Request samples
- Payload
{- "name": "Media",
- "isSearchable": "false"
}Response samples
- 200
{- "id": "string",
- "isSearchable": true,
- "label": "string",
- "name": "string"
}CMS Delivery Channels
Get managed content delivery channels for the context user.
Available in: v48.0
This resource returns Managed Content Channel Collection response schema in v48.0–61.0.
query Parameters
| page | integer Number of the page you want returned. Starts at 0. If
you pass in Available in: v48.0 |
| pageSize | integer Specifies the number of items per page. Valid values are from 1 through 250. If you don’t specify a value, the default size is 25. Available in: v48.0 |
Responses
Response samples
- 200
{- "channels": [
- {
- "domainUrl": "string",
- "id": "string",
- "name": "string",
- "resourceUrl": "string",
- "target": {
- "id": "string"
}, - "type": "CloudToCloud"
}
], - "currentPageUrl": "string",
- "nextPageUrl": "string",
- "previousPageUrl": "string",
- "totalChannels": 0
}CMS Delivery, Channel Query
Get published managed content versions for a channel.
Available in: v48.0
path Parameters
| channelId required | string <Id> ^(0ap)\w* ID of a channel. |
query Parameters
| contentKeys | Array of strings List of up to 50 content keys for the managed content. A content key is a universally unique identifier (UUID) such as MCA4CCV5QS2BAB5H7YRCRPTCWGZQ. Specify either Available in: v51.0 |
| endDate | string Publish end date in ISO 8601 format, for example, 2011-02-25T18:24:31.000Z. Available in: v48.0 |
| includeMetadata | boolean Specifies whether to include metadata in the response
( Available in: v48.0 |
| language | string Language locale for the managed content, for example, Available in: v48.0 |
| managedContentIds | Array of strings Comma-separated list of managed content IDs. HTTP/2 clients support up to 200 IDs. HTTP/1.1 clients don’t. Specify either Available in: v48.0 |
| managedContentType | string Developer name of the content type, such as Available in: v48.0 |
| page | integer Number of the page you want returned. Starts at 0. If you don’t specify a value or if you specify 0, the first page is returned. Available in: v48.0 |
| pageSize | 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 don’t specify a value, the default size is 25. Available in: v48.0 |
| showAbsoluteUrl | boolean Specifies whether to show absolute URLs in
the response body ( Available in: v50.0 |
| startDate | string Publish start date in ISO 8601 format, for example, 2011-02-25T18:24:31.000Z. Available in: v48.0 |
Responses
Response samples
- 200
{- "currentPageUrl": "string",
- "items": [
- {
- "associations": {
- "topics": [
- {
- "id": "string",
- "name": "string"
}
]
}, - "contentKey": "string",
- "contentNodes": {
- "altText": "string",
- "altUrl": "string",
- "contentKey": "string",
- "fileName": "string",
- "mediaType": "Document",
- "mimeType": "string",
- "nodeType": "Date",
- "resourceUrl": "string",
- "thumbnailUrl": "string",
- "title": "string",
- "unauthenticatedUrl": "string",
- "url": "string"
}, - "contentUrlName": "string",
- "language": "string",
- "managedContentId": "string",
- "publishedDate": "2019-08-24T14:15:22Z",
- "title": "string",
- "type": "string",
- "typeLabel": "string",
- "unauthenticatedUrl": "string"
}
], - "managedContentTypes": {
- "property1": {
- "label": "string",
- "name": "string",
- "nodeTypes": {
- "property1": {
- "label": "string",
- "name": "string",
- "nodeType": "Date"
}, - "property2": {
- "label": "string",
- "name": "string",
- "nodeType": "Date"
}
}
}, - "property2": {
- "label": "string",
- "name": "string",
- "nodeTypes": {
- "property1": {
- "label": "string",
- "name": "string",
- "nodeType": "Date"
}, - "property2": {
- "label": "string",
- "name": "string",
- "nodeType": "Date"
}
}
}
}, - "nextPageUrl": "string",
- "total": 0,
- "totalTypes": 0
}CMS Delivery Search, Channel
Search managed content in a channel.
Note: CMS Delivery Search, Channel doesn’t support enhanced CMS channels. To search in enhanced CMS workspaces, use CMS Search.
Available in: v48.0
path Parameters
| channelId required | string <Id> ^(0ap)\w* ID of a channel. |
query Parameters
| page | integer Number of the page you want returned. Starts at 0. If you don’t specify a value or if you specify 0, the first page is returned. Available in: v48.0 |
| pageSize | integer Specifies the number of items per page. Valid values are from 1 through 250. If you don’t specify a value, the default size is 25. Available in: v48.0 |
| queryTerm required | string SOSL query. Available in: v48.0 |
| scope | string (ConnectManagedContentSearchScopeEnum) Enum: "All" "TitleOnly" Scope of the content search. Values are:
If you don’t specify a
value, the default is Available in: v48.0 |
Responses
Response samples
- 200
{- "count": 0,
- "currentPageUri": "string",
- "items": [
- {
- "contentKey": "string",
- "contentType": {
- "developerName": "string",
- "label": "string"
}, - "id": "string",
- "publishDate": "2019-08-24T14:15:22Z",
- "title": "string",
- "urlName": "string"
}
], - "nextPageUri": "string"
}CMS Delivery Content, Channel
Get the binary stream of a media node of published content in a channel.
Available in: v49.0
path Parameters
| channelId required | string <Id> ^(0ap)\w* ID of a channel. |
| mediaGuid required | string <Id> The |
query Parameters
| language | string Language locale for the managed content,
for example, Available in: v54.0 |
Responses
CMS Folder
Get a managed content folder.
Available in: v53.0
path Parameters
| folderId required | string <Id> ^(9Pu)\w* ID of the folder. |
query Parameters
| contextContentSpaceId | string ID of the context workspace. Specify to get folder hierarchy information starting from the root of the context workspace. Available in: v61.0 |
Responses
Response samples
- 200
{- "createdBy": "string",
- "createdDate": "2019-08-24T14:15:22Z",
- "folderHierarchy": [
- {
- "folderType": "SharedWithSpace",
- "id": "string",
- "name": "string",
- "parentFolderId": "string"
}
], - "folderType": "SharedWithSpace",
- "id": "string",
- "isShared": true,
- "lastModifiedBy": "string",
- "lastModifiedDate": "2019-08-24T14:15:22Z",
- "name": "string",
- "parentFolderId": "string"
}Managed Content Delivery, Experience Cloud Site
Get published managed content versions for an Experience Cloud site.
Available in: v47.0
path Parameters
| communityId required | string <CommunityId> ID of an Experience Cloud site. |
query Parameters
| contentKeys | Array of strings List of up to 50 content keys for the managed content. A content key is a universally unique identifier (UUID) such as MCA4CCV5QS2BAB5H7YRCRPTCWGZQ. Specify either Available in: v51.0 |
| language | string Language locale for the managed content, for example, Available in: v47.0 |
| managedContentIds | Array of strings Comma-separated list of managed content IDs. HTTP/2 clients support up to 200 IDs. HTTP/1.1 clients don’t. Specify either Available in: v47.0 |
| managedContentType | string Developer name of the content type, such as Available in: v47.0 |
| page | integer Number of the page you want returned. Starts at 0. If you don’t specify a value or if you specify 0, the first page is returned. Available in: v47.0 |
| pageSize | 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 don’t specify a value, the default size is 25. Available in: v47.0 |
| showAbsoluteUrl | boolean Specifies whether to show absolute URLs in
the response body ( Available in: v50.0 |
| topics | Array of strings Comma-separated list of up to 15 content topic names. Available in: v47.0 |
Responses
Response samples
- 200
{- "currentPageUrl": "string",
- "items": [
- {
- "associations": {
- "topics": [
- {
- "id": "string",
- "name": "string"
}
]
}, - "contentKey": "string",
- "contentNodes": {
- "altText": "string",
- "altUrl": "string",
- "contentKey": "string",
- "fileName": "string",
- "mediaType": "Document",
- "mimeType": "string",
- "nodeType": "Date",
- "resourceUrl": "string",
- "thumbnailUrl": "string",
- "title": "string",
- "unauthenticatedUrl": "string",
- "url": "string"
}, - "contentUrlName": "string",
- "language": "string",
- "managedContentId": "string",
- "publishedDate": "2019-08-24T14:15:22Z",
- "title": "string",
- "type": "string",
- "typeLabel": "string",
- "unauthenticatedUrl": "string"
}
], - "managedContentTypes": {
- "property1": {
- "label": "string",
- "name": "string",
- "nodeTypes": {
- "property1": {
- "label": "string",
- "name": "string",
- "nodeType": "Date"
}, - "property2": {
- "label": "string",
- "name": "string",
- "nodeType": "Date"
}
}
}, - "property2": {
- "label": "string",
- "name": "string",
- "nodeTypes": {
- "property1": {
- "label": "string",
- "name": "string",
- "nodeType": "Date"
}, - "property2": {
- "label": "string",
- "name": "string",
- "nodeType": "Date"
}
}
}
}, - "nextPageUrl": "string",
- "total": 0,
- "totalTypes": 0
}Managed Content Delivery Search, Experience Cloud Site
Search managed content in an Experience Cloud site.
Available in: v48.0
path Parameters
| communityId required | string <CommunityId> ID of an Experience Cloud site. |
query Parameters
| page | integer Number of the page you want returned. Starts at 0. If you don’t specify a value or if you specify 0, the first page is returned. Available in: v48.0 |
| pageSize | integer Specifies the number of items per page. Valid values are from 1 through 250. If you don’t specify a value, the default size is 25. Available in: v48.0 |
| queryTerm required | string SOSL query. Available in: v48.0 |
| scope | string (ConnectManagedContentSearchScopeEnum) Enum: "All" "TitleOnly" Scope of the content search. Values are:
If you don’t specify a
value, the default is Available in: v48.0 |
Responses
Response samples
- 200
{- "count": 0,
- "currentPageUri": "string",
- "items": [
- {
- "contentKey": "string",
- "contentType": {
- "developerName": "string",
- "label": "string"
}, - "id": "string",
- "publishDate": "2019-08-24T14:15:22Z",
- "title": "string",
- "urlName": "string"
}
], - "nextPageUri": "string"
}Content Workspace Permissions
Get a user's permissions for a content workspace.
Available in: v39.0
path Parameters
| userId required | string <IdOrMe> ^(005)\w*|me ID of the user. |
| workspaceId required | string <Id> ^(058)\w* ID of the workspace. |
Responses
Response samples
- 200
{- "canAddFileComments": true,
- "canAddFiles": true,
- "canAddFilesOnBehalfOfOthers": true,
- "canArchiveFiles": true,
- "canAttachOrShareFilesToFeed": true,
- "canDeleteFiles": true,
- "canDeliverContent": true,
- "canFeatureFiles": true,
- "canManageWorkspace": true,
- "canModifyFileComments": true,
- "canOrganizeFilesAndFolders": true,
- "canTagFiles": true,
- "canViewFileComments": true
}Get managed content channels. Create a managed content channel. Get, update, or delete a managed content channel. Get managed content delivery channels. Get collection items for a channel or Experience Cloud site. Get a collection of published contents for a channel or Experience Cloud site. Get a piece of published content for a channel or Experience Cloud site. Search for content in a channel or Experience Cloud site. Get the binary stream of a media node of published content in a channel. Get or update the searchable status for managed content types in a channel. Get search indexes or trigger search indexing for a channel. Create managed content. Get a version of a piece of content. Clone a piece of managed content. Get, add, or remove taxonomy term associations from managed content. Get digital asset management (DAM) providers. Create, update, or delete a DAM provider instance. Publish and unpublish content. Create, update, get, or delete a managed content variant. Get a managed content folder. Get targets that a managed content space folder can be shared with. Get or update the targets that a managed content space folder is shared with. Search for managed content items, including variants and folders, in spaces and folders. Get managed content spaces. Create, get, or update a managed content space. Get channels for a managed content space. Add or remove channels from a managed content space.
These resources are available for enhanced CMS workspaces. If you don’t have enhanced CMS workspaces, see CMS Managed Content Resources.
CMS Channels
Get managed content channels.
To get managed content delivery channels, see CMS Delivery Channels.
Available in: v62.0
query Parameters
| page | integer Number of the page you want returned. Starts at 0. If you don’t specify a value or if you specify 0, the first page is returned. Available in: v62.0 |
| pageSize | integer Specifies the number of items per page. Valid values are from 1 through 250. If you don’t specify a value, the default size is 25. Available in: v62.0 |
| showDetails | boolean Specifies whether to show the channels’ detailed information ( Available in: v62.0 |
Responses
Response samples
- 200
{- "channels": {
- "cacheControlMaxAge": 0,
- "channelId": "string",
- "channelName": "string",
- "channelType": "CloudToCloud",
- "domain": "string",
- "domainId": "string",
- "domainName": "string",
- "id": "string",
- "isChannelSearchable": true,
- "isDedicatedContentDelivery": true,
- "isDomainLocked": true,
- "isSearchable": true,
- "managedContentChannelDomain": {
- "isLocked": true,
- "name": "string",
- "value": "string"
}, - "mediaCacheControlMaxAge": 0,
- "name": "string",
- "targetId": "string",
- "type": "CloudToCloud"
}, - "currentPageUrl": "string",
- "nextPageUrl": "string",
- "previousPageUrl": "string",
- "totalChannels": 0
}CMS Channels
Create managed content channels.
To get managed content delivery channels, see CMS Delivery Channels.
Available in: v62.0
Request Body schema: application/json
Input body to create a managed content channel.
| cacheControlMaxAge | integer <int64> Cache control max age value in seconds. Available in: v62.0 |
| domain | string ID or name of the domain assigned to the public channel. Available in: v62.0 |
| isCrossApi | boolean Optional, set to signify that the channel is able to support both 1.0 and 2.0 contents |
| isDedicatedContentDelivery | boolean Specifies whether the channel has off-core
dedicated content delivery enabled ( Available in: v63.0 |
| isDomainLocked | boolean Specifies whether the domain is locked and can’t be
changed ( Available in: v62.0 |
| isSearchable | boolean Specifies whether the text contents of the channel
are searchable ( Available in: v62.0 |
object (ManagedContentOffCoreLocationInput) The input representation for creating or updating an offcore location | |
| mediaCacheControlMaxAge | integer <int64> Media cache control max age value in seconds. Available in: v62.0 |
| name required | string Name of the managed content channel. Available in: v62.0 |
| targetId | string ID of the target associated with the managed content channel. Required for all channel types except Available in: v62.0 |
| type required | string (ConnectManagedContentChannelTypeEnum) Enum: "CloudToCloud" "Community" "ConnectedApp" "PublicUnauthenticated" "UserPermission" Type of managed content channel. Values are:
Available in: v62.0 |
Responses
Request samples
- Payload
{- "name": "New Channel",
- "targetId": "0DBxx0000004ExEGAU",
- "type": "Community"
}Response samples
- 200
{- "cacheControlMaxAge": 0,
- "channelId": "string",
- "channelName": "string",
- "channelType": "CloudToCloud",
- "domain": "string",
- "domainId": "string",
- "domainName": "string",
- "id": "string",
- "isChannelSearchable": true,
- "isDedicatedContentDelivery": true,
- "isDomainLocked": true,
- "isSearchable": true,
- "managedContentChannelDomain": {
- "isLocked": true,
- "name": "string",
- "value": "string"
}, - "mediaCacheControlMaxAge": 0,
- "name": "string",
- "targetId": "string",
- "type": "CloudToCloud"
}CMS Channel
Get a managed content channel.
To get a managed content delivery channel, see CMS Delivery Channel.
Available in: v62.0
path Parameters
| channelId required | string <Id> ^(0ap)\w* ID of a channel. |
Responses
Response samples
- 200
{- "cacheControlMaxAge": 0,
- "channelId": "string",
- "channelName": "string",
- "channelType": "CloudToCloud",
- "domain": "string",
- "domainId": "string",
- "domainName": "string",
- "id": "string",
- "isChannelSearchable": true,
- "isDedicatedContentDelivery": true,
- "isDomainLocked": true,
- "isSearchable": true,
- "managedContentChannelDomain": {
- "isLocked": true,
- "name": "string",
- "value": "string"
}, - "mediaCacheControlMaxAge": 0,
- "name": "string",
- "targetId": "string",
- "type": "CloudToCloud"
}CMS Channel
Update a managed content channel.
To get a managed content delivery channel, see CMS Delivery Channel.
Available in: v62.0
path Parameters
| channelId required | string <Id> ^(0ap)\w* ID of a channel. |
Request Body schema: application/json
Input body to update a managed content channel.
| cacheControlMaxAge | integer <int64> Cache control max age value in seconds. Available in: v62.0 |
| domain | string ID or name of the domain assigned to the public channel. Available in: v62.0 |
| isDedicatedContentDelivery | boolean Specifies whether the channel has off-core
dedicated content delivery enabled ( Available in: v63.0 |
| isDomainLocked | boolean Specifies whether the domain is locked and can’t be
changed ( Available in: v62.0 |
| isSearchable | boolean Specifies whether the text contents of the channel
are searchable ( Available in: v62.0 |
object (ManagedContentOffCoreLocationInput) The input representation for creating or updating an offcore location | |
| mediaCacheControlMaxAge | integer <int64> Media cache control max age value in seconds. Available in: v62.0 |
| name required | string Name of the managed content channel. Available in: v62.0 |
| targetId | string ID of the target associated with the managed content channel. Required for all channel types except Available in: v62.0 |
Responses
Request samples
- Payload
{- "name": "New Channel Name"
}Response samples
- 200
{- "cacheControlMaxAge": 0,
- "channelId": "string",
- "channelName": "string",
- "channelType": "CloudToCloud",
- "domain": "string",
- "domainId": "string",
- "domainName": "string",
- "id": "string",
- "isChannelSearchable": true,
- "isDedicatedContentDelivery": true,
- "isDomainLocked": true,
- "isSearchable": true,
- "managedContentChannelDomain": {
- "isLocked": true,
- "name": "string",
- "value": "string"
}, - "mediaCacheControlMaxAge": 0,
- "name": "string",
- "targetId": "string",
- "type": "CloudToCloud"
}CMS Channel
Delete a managed content channel.
To get a managed content delivery channel, see CMS Delivery Channel.
Available in: v62.0
path Parameters
| channelId required | string <Id> ^(0ap)\w* ID of a channel. |
Responses
CMS Channel Search Indexes
Get the latest live and non-live search indexes.
Available in: v54.0
path Parameters
| channelId required | string <Id> ^(0ap)\w* ID of a channel. |
Responses
Response samples
- 200
{- "indexes": [
- {
- "completionDate": "2019-08-24T14:15:22Z",
- "createdDate": "2019-08-24T14:15:22Z",
- "creationType": "Manual",
- "id": "string",
- "indexStatus": "Expired",
- "message": "string"
}
]
}CMS Channel Search Indexes
Trigger incremental or full search indexing for a channel.
Available in: v54.0
After you index your content, use the Experience Cloud CMS Content Search Resource to search your site.
path Parameters
| channelId required | string <Id> ^(0ap)\w* ID of a channel. |
query Parameters
| fallbackToFullIndex | boolean Specifies whether to perform a full index in cases where incremental indexes aren’t possible ( Available in: v59.0 |
| isIncremental | boolean Specifies whether to update the index only with changes that have happened since the last full index was performed ( Available in: v59.0 |
Responses
Response samples
- 200
{- "completionDate": "2019-08-24T14:15:22Z",
- "createdDate": "2019-08-24T14:15:22Z",
- "creationType": "Manual",
- "id": "string",
- "indexStatus": "Expired",
- "message": "string"
}CMS Contents
Create managed content.
Available in: v54.0
Note: In version 56.0 and later, you can upload binary files to create managed content. To upload a binary file, you must send it in a multipart/form-data request. For information about how to create the multipart/form-data message, see Uploading Binary Files.
Request Body schema:
Managed content.
| apiName | string API name of the managed content. Available in: v61.0 |
required | object (ManagedContentBodyInputRep) Body of the managed content. Available in: v54.0 |
| contentKey | string Content key to assign to the managed content. A content key is a universally unique identifier (UUID) such as MCA4CCV5QS2BAB5H7YRCRPTCWGZQ. Available in: v56.0 |
| contentSpaceOrFolderId required | string Content space or folder ID where the content is created. Available in: v54.0 |
| contentType required | string Fully qualified name of the content type to create. If you’re uploading
a binary file using a multipart/form-data message, You can't create a Form using Available in: v54.0 |
| externalId | string External ID of the managed content. Available in: v58.0 |
object (ManagedContentExternalSourceInput) Input representation for a managed content external source | |
| title required | string Title of the managed content. Available in: v54.0 |
| urlName | string URL name of the managed content within the org. Available in: v54.0 |
Responses
Request samples
- Payload
Version 60.0 and later
{- "contentSpaceOrFolderId": "0Zuxx00000003M5CAI",
- "title": "Title of Document",
- "contentType": "sfdc_cms__news",
- "urlName": "test-url",
- "contentBody": {
- "bannerImage": {
- "source": {
- "type": "imageReference",
- "ref": {
- "contentKey": "MCZOCY2AM5PFBADN5UDRB53TLXR4"
}
}
}, - "excerpt": "this is test excerpt",
- "body": "<p>Test body</p>"
}
}Response samples
- 200
{- "apiName": "string",
- "contentBody": {
- "property1": { },
- "property2": { }
}, - "contentFqn": "string",
- "contentKey": "string",
- "contentSpace": {
- "id": "string",
- "resourceUrl": "string"
}, - "contentType": {
- "fullyQualifiedName": "string",
- "name": "string"
}, - "contentVersion": 0,
- "createdBy": {
- "id": "string",
- "name": "string",
- "resourceUrl": "string"
}, - "createdDate": "2019-08-24T14:15:22Z",
- "externalId": "string",
- "folder": {
- "id": "string",
- "resourceUrl": "string"
}, - "isPublished": true,
- "language": "string",
- "lastModifiedBy": {
- "id": "string",
- "name": "string",
- "resourceUrl": "string"
}, - "lastModifiedDate": "2019-08-24T14:15:22Z",
- "managedContentId": "string",
- "managedContentVariantId": "string",
- "managedContentVersionId": "string",
- "status": {
- "label": "string",
- "status": "Draft"
}, - "title": "string",
- "urlName": "string",
- "variantVersion": 0,
- "versionNumber": "string"
}CMS Contents Publish
Publish content.
Available in: v55.0
Request Body schema: application/json
Managed content publish.
| contentIds | Array of strings IDs of content to publish. All variants of the content are published. Required if Available in: v55.0 |
| contextContentSpaceId | string ID of the context workspace. If specified, content from other workspaces is published if it is shared to the specified workspace. If unspecified, the context workspace is derived from the content’s origin workspace. All content in the request should belong to the same origin workspace. Available in: v61.0 |
| description | string Description for publish action. Available in: v55.0 |
| includeContentReferences | boolean Specifies whether to include content
references ( Available in: v57.0 |
| variantIds | Array of strings IDs of variants to publish. All variants must be from the same content space. Required if Available in: v57.0 |
Responses
Request samples
- Payload
{- "description": "Test Description",
- "contentIds": [
- "20YRM0000000CPi2AM"
]
}Response samples
- 200
{- "deploymentId": "string",
- "description": "string",
- "publishDate": "2019-08-24T14:15:22Z"
}CMS Contents Unpublish
Unpublish content.
Available in: v55.0
Request Body schema: application/json
Managed content unpublish.
| contentIds | Array of strings IDs of content to unpublish. All variants of the content are unpublished. Required if Available in: v55.0 |
| contextContentSpaceId | string ID of the context workspace. If specified, content from other workspaces is unpublished if it is shared to the specified workspace. If unspecified, the context workspace is derived from the content’s origin workspace. All content in the request should belong to the same origin workspace. Available in: v61.0 |
| description | string Description for unpublish action. Available in: v55.0 |
| variantIds | Array of strings IDs of variants to unpublish. All variants must be from the same content space. Required if Available in: v57.0 |
Responses
Request samples
- Payload
{- "description": "Test Description",
- "contentIds": [
- "20YRM0000000CPi2AM"
]
}Response samples
- 200
{- "deploymentId": "string",
- "description": "string",
- "unpublishDate": "2019-08-24T14:15:22Z"
}CMS Contents Variants
Create a managed content variant.
Available in: v58.0
Request Body schema: application/json
Input used to create a managed content variant.
required | object Body of the managed content variant. Available in: v58.0 |
| language required | string Language of the managed content variant. Available in: v58.0 |
| managedContentKeyOrId required | string Managed content key or ID of the content associated to the variant to be created. Available in: v58.0 |
| title | string Title of the managed content variant. Available in: v58.0 |
| urlName | string URL name of the managed content variant within the org. Available in: v58.0 |
Responses
Request samples
- Payload
{- "managedContentKeyorId": "MCWWQJDO2BUZAX7FITHQVAGIASAE",
- "language": "fr",
- "title": "French title",
- "urlName": "my_url_name",
- "contentBody": {
- "excerpt": "French excerpt",
- "body": "French body"
}
}Response samples
- 200
{- "apiName": "string",
- "contentBody": {
- "property1": { },
- "property2": { }
}, - "contentFqn": "string",
- "contentKey": "string",
- "contentSpace": {
- "id": "string",
- "resourceUrl": "string"
}, - "contentType": {
- "fullyQualifiedName": "string",
- "name": "string"
}, - "createdBy": {
- "id": "string",
- "name": "string",
- "resourceUrl": "string"
}, - "createdDate": "2019-08-24T14:15:22Z",
- "externalId": "string",
- "folder": {
- "id": "string",
- "resourceUrl": "string"
}, - "isPublished": true,
- "language": "string",
- "lastModifiedBy": {
- "id": "string",
- "name": "string",
- "resourceUrl": "string"
}, - "lastModifiedDate": "2019-08-24T14:15:22Z",
- "managedContentId": "string",
- "managedContentVariantId": "string",
- "managedContentVersionId": "string",
- "status": {
- "label": "string",
- "status": "Draft"
}, - "title": "string",
- "urlName": "string"
}CMS Contents Variant
Get a managed content variant.
Available in: v54.0
path Parameters
| variantId required | string <Id> ^(9Ps)\w* ID of the variant. |
Responses
Response samples
- 200
{- "apiName": "string",
- "contentBody": {
- "property1": { },
- "property2": { }
}, - "contentFqn": "string",
- "contentKey": "string",
- "contentSpace": {
- "id": "string",
- "resourceUrl": "string"
}, - "contentType": {
- "fullyQualifiedName": "string",
- "name": "string"
}, - "createdBy": {
- "id": "string",
- "name": "string",
- "resourceUrl": "string"
}, - "createdDate": "2019-08-24T14:15:22Z",
- "externalId": "string",
- "folder": {
- "id": "string",
- "resourceUrl": "string"
}, - "isPublished": true,
- "language": "string",
- "lastModifiedBy": {
- "id": "string",
- "name": "string",
- "resourceUrl": "string"
}, - "lastModifiedDate": "2019-08-24T14:15:22Z",
- "managedContentId": "string",
- "managedContentVariantId": "string",
- "managedContentVersionId": "string",
- "status": {
- "label": "string",
- "status": "Draft"
}, - "title": "string",
- "urlName": "string"
}CMS Contents Variant
Update a managed content variant.
Available in: v54.0
Note: In version 56.0 and later, you can upload binary files. To upload a binary file, you must send it in a multipart/form-data request. For information about how to create the multipart/form-data message, see Uploading Binary Files.
path Parameters
| variantId required | string <Id> ^(9Ps)\w* ID of the variant. |
Request Body schema: multipart/form-data
Managed content variant update.
| contentData | string <binary> |
| apiName | string API name of the managed content variant. Available in: v63.0 |
| contentBody | string Body of the managed content variant. Available in: v54.0 |
| title | string Title of the managed content variant. Available in: v54.0 |
| urlName | string URL name of the managed content variant within the org. Available in: v54.0 |
Responses
Request samples
- Payload
Version 60.0 and later
{ "title": "Title of Document", "urlName": "test-url", "contentBody": { "bannerImage": { "source": { "type": "imageReference", "ref": { "contentKey": "MCZOCY2AM5PFBADN5UDRB53TLXR4" } } }, "excerpt": "this is test excerpt", "body": "<p>Test body</p>" } }
Response samples
- 200
{- "apiName": "string",
- "contentBody": {
- "property1": { },
- "property2": { }
}, - "contentFqn": "string",
- "contentKey": "string",
- "contentSpace": {
- "id": "string",
- "resourceUrl": "string"
}, - "contentType": {
- "fullyQualifiedName": "string",
- "name": "string"
}, - "createdBy": {
- "id": "string",
- "name": "string",
- "resourceUrl": "string"
}, - "createdDate": "2019-08-24T14:15:22Z",
- "externalId": "string",
- "folder": {
- "id": "string",
- "resourceUrl": "string"
}, - "isPublished": true,
- "language": "string",
- "lastModifiedBy": {
- "id": "string",
- "name": "string",
- "resourceUrl": "string"
}, - "lastModifiedDate": "2019-08-24T14:15:22Z",
- "managedContentId": "string",
- "managedContentVariantId": "string",
- "managedContentVersionId": "string",
- "status": {
- "label": "string",
- "status": "Draft"
}, - "title": "string",
- "urlName": "string"
}CMS Content
Get a piece of managed content. In enhanced CMS workspaces, get a version of a piece of managed content.
Available in: v57.0
path Parameters
| contentKeyOrId required | string A unique identifier or ID of a content. |
query Parameters
| contentVersion | string Content version of the managed content. Available in: v66.0 |
| language | string Language locale of the managed content, for example, Available in: v57.0 |
| variantVersion | string Variant version of the managed content. Available in: v66.0 |
| version | string In non-enhanced workspaces, the 18-character ID of the content version. In enhanced workspaces, the version number ID. Available in: v57.0 |
Responses
Response samples
- 200
{- "apiName": "string",
- "contentBody": {
- "property1": { },
- "property2": { }
}, - "contentFqn": "string",
- "contentKey": "string",
- "contentSpace": {
- "id": "string",
- "resourceUrl": "string"
}, - "contentType": {
- "fullyQualifiedName": "string",
- "name": "string"
}, - "contentVersion": 0,
- "createdBy": {
- "id": "string",
- "name": "string",
- "resourceUrl": "string"
}, - "createdDate": "2019-08-24T14:15:22Z",
- "externalId": "string",
- "folder": {
- "id": "string",
- "resourceUrl": "string"
}, - "isPublished": true,
- "language": "string",
- "lastModifiedBy": {
- "id": "string",
- "name": "string",
- "resourceUrl": "string"
}, - "lastModifiedDate": "2019-08-24T14:15:22Z",
- "managedContentId": "string",
- "managedContentVariantId": "string",
- "managedContentVersionId": "string",
- "status": {
- "label": "string",
- "status": "Draft"
}, - "title": "string",
- "urlName": "string",
- "variantVersion": 0,
- "versionNumber": "string"
}CMS Content Clone
Clone a piece of managed content.
Available in: v61.0
path Parameters
| contentKeyOrId required | string Content key or ID of the managed content. |
Request Body schema: application/json
Managed content clone input.
| apiName | string API name of the cloned content. Available in: v61.0 |
| contentSpaceOrFolderId | string ID of the target folder for the cloned content. If unspecified, defaults to the folder of the source content. Available in: v61.0 |
| includeVariants | boolean Specifies whether to include variants ( Available in: v61.0 |
| title | string Title of the cloned content. If unspecified, “clone of” is appended to the source content’s title. Available in: v61.0 |
Responses
Request samples
- Payload
{- "includeVariants": true,
- "contentSpaceOrFolderId": "9Puxx0000004M92CAE",
- "title": "Cloned Content",
- "apiName": "new_api_name"
}Response samples
- 200
{- "apiName": "string",
- "cloneStatus": {
- "label": "string",
- "status": "Failure"
}, - "contentKey": "string",
- "errorMessage": "string",
- "failedVariants": [
- {
- "errorMessage": "string",
- "language": "string",
- "sourceManagedContentVariantId": "string"
}
], - "folder": {
- "id": "string",
- "resourceUrl": "string"
}, - "managedContentId": "string",
- "resourceURL": "string",
- "sourceContentKeyOrId": "string",
- "title": "string",
- "variants": [
- {
- "language": "string",
- "managedContentVariantId": "string",
- "resourceURL": "string"
}
]
}CMS Content Taxonomy Terms
Get taxonomy terms that are associated with managed content.
Content admins use this resource to work with taxonomy term associations with CMS managed content. Content taxonomists use Content Taxonomy Resources to create, get, update, delete, and search content taxonomy terms.
Available in: v63.0
path Parameters
| contentKeyOrId required | string A unique identifier or ID of a content. |
Responses
Response samples
- 200
{- "contentKey": "string",
- "managedContentId": "string",
- "taxonomyTerms": [
- {
- "id": "string",
- "label": "string",
- "pathsFromRoot": [
- {
- "label": "string",
- "taxonomyFragment": {
- "id": "string",
- "label": "string"
}, - "termFragments": [
- {
- "id": "string",
- "label": "string"
}
]
}
]
}
]
}CMS Content Taxonomy Terms
Add or remove taxonomy term associations from managed content.
Content admins use this resource to work with taxonomy term associations with CMS managed content. Content taxonomists use Content Taxonomy Resources to create, get, update, delete, and search content taxonomy terms.
Available in: v63.0
path Parameters
| contentKeyOrId required | string A unique identifier or ID of a content. |
query Parameters
| publish | boolean Specifies whether to publish the taxonomy term associations ( If content is published and has no outstanding changes,
setting Available in: v63.0 |
Request Body schema: application/json
Add or remove taxonomy term associations from managed content.
Available in: v63.0
| termsToAdd | Array of strings <Id> [ items <Id > ] List of IDs of the taxonomy terms to associate with managed content. Required if Available in: v63.0 |
| termsToRemove | Array of strings <Id> [ items <Id > ] List of IDs of the taxonomy terms to remove their association with managed content. Required if Available in: v63.0 |
Responses
Request samples
- Payload
{- "termsToAdd": [
- "15dxx000001X8UzBBJ",
- "15dxx000001X8UzBBJ",
- "15dxx000001X8UzDBK"
], - "termsToRemove": [
- "15dxx000001X8UzBCI"
]
}Response samples
- 200
{- "contentKey": "string",
- "managedContentId": "string",
- "taxonomyTerms": [
- {
- "id": "string",
- "label": "string",
- "pathsFromRoot": [
- {
- "label": "string",
- "taxonomyFragment": {
- "id": "string",
- "label": "string"
}, - "termFragments": [
- {
- "id": "string",
- "label": "string"
}
]
}
]
}
]
}CMS Delivery Channel
Get a managed content delivery channel.
Available in: v54.0
This resource returns Managed Content Channel Detail in v54.0–61.0.
path Parameters
| channelId required | string <Id> ^(0ap)\w* ID of a channel. |
Responses
Response samples
- 200
{- "domain": "string",
- "domainName": "string",
- "id": "string",
- "isDedicatedContentDelivery": true,
- "isDomainLocked": true,
- "isSearchable": true,
- "name": "string",
- "type": "CloudToCloud"
}CMS Delivery Collection
Get collection items for a channel or Experience Cloud site.
Experience Cloud site path
/connect/sites/{siteId}/cms/delivery/collections/{collectionKeyOrId}
Available in: v56.0
path Parameters
| channelId required | string <Id> ^(0ap)\w* ID of a channel. |
| collectionKeyOrId required | string Collection key or ID of the collection. A collection key is a unique identifier such as MCA4CCV5QS2BAB5H7YRCRPTCWGZQ. |
query Parameters
| language | string Language locale for the managed content, for
example, Available in: v56.0 |
| pageSize | integer Number of items per page. Valid values are from 1 through 250. If you don't specify a value, the default size is 50. Available in: v63.0 |
| pageToken | integer Integer specifying a page token of items. If you don't specify a value, the default value is 0, which returns the first page token. Available in: v63.0 |
Responses
Response samples
- 200
{- "channelSummary": {
- "domainUrl": "string",
- "id": "string",
- "name": "string",
- "resourceUrl": "string",
- "target": {
- "id": "string"
}, - "type": "CloudToCloud"
}, - "collectionKey": "string",
- "collectionType": {
- "fullyQualifiedName": "string",
- "name": "string"
}, - "currentPageUrl": "string",
- "id": "string",
- "items": [
- {
- "body": {
- "property1": { },
- "property2": { }
}, - "contentType": {
- "fullyQualifiedName": "string",
- "name": "string"
}, - "id": "string",
- "name": "string"
}
], - "language": "string",
- "nextPageUrl": "string",
- "previousPageUrl": "string",
- "publishedDate": "2019-08-24T14:15:22Z",
- "title": "string",
- "total": 0,
- "urlName": "string",
- "channelInfo": {
- "domainUrl": "string",
- "id": "string",
- "name": "string",
- "resourceUrl": "string",
- "target": {
- "id": "string"
}, - "type": "CloudToCloud",
- "url": "string"
}
}CMS Delivery Contents
Get a collection of published contents for a channel or Experience Cloud site.
Experience Cloud site path
/connect/sites/{siteId}/cms/delivery/contents
Available in: v55.0
path Parameters
| channelId required | string <Id> ^(0ap)\w* ID of a channel. |
query Parameters
| contentKeys | Array of strings Comma-separated list of up to 50 content keys. Specify either managed content IDs or content keys. Available in: v55.0 |
| contentTypeFQN | string Fully qualified name of the managed content type. Available in: v55.0 |
| expandReferences | boolean Specifies whether to include details of references ( Available in: v55.0 |
| includeContentBody | boolean Specifies whether to return the content body ( Available in: v55.0 |
| language | string Language locale for the managed content, for example, Available in: v55.0 |
| managedContentIds | Array of strings Comma-separated list of up to 100 managed content IDs. Specify either managed content IDs or content keys. Available in: v55.0 |
| page | integer Number of the page you want returned. Starts at 0. If you don’t specify a value or if you specify 0, the first page is returned. Available in: v55.0 |
| pageSize | integer Specifies the number of items per page. Valid values are from 1 through 250. If unspecified, the default size is 25. If you specify Available in: v55.0 |
| publishEndDate | string ISO 8601 formatted publish end date. Available in: v55.0 |
| publishStartDate | string ISO 8601 formatted publish start date. Available in: v55.0 |
| referenceDepth | integer An integer 0–3 specifying the depth of references. If you specify 0, the Available in: v55.0 |
| referencesAsList | boolean Specifies whether to return the references as a list in the Available in: v55.0 |
| showAbsoluteUrl | boolean Specifies whether to show absolute URLs in
the response body ( Available in: v58.0 |
Responses
Response samples
- 200
{- "channelSummary": {
- "domainUrl": "string",
- "id": "string",
- "name": "string",
- "resourceUrl": "string",
- "target": {
- "id": "string"
}, - "type": "CloudToCloud"
}, - "contents": {
- "channelInfo": {
- "domainUrl": "string",
- "id": "string",
- "name": "string",
- "resourceUrl": "string",
- "target": {
- "id": "string"
}, - "type": "CloudToCloud",
- "url": "string"
}, - "channelSummary": {
- "domainUrl": "string",
- "id": "string",
- "name": "string",
- "resourceUrl": "string",
- "target": {
- "id": "string"
}, - "type": "CloudToCloud"
}, - "contentBody": {
- "property1": { },
- "property2": { }
}, - "contentKey": "string",
- "contentType": {
- "fullyQualifiedName": "string",
- "name": "string"
}, - "contentVersion": 0,
- "isLatest": true,
- "language": "string",
- "managedContentId": "string",
- "publishedDate": "2019-08-24T14:15:22Z",
- "references": {
- "contentBody": {
- "property1": { },
- "property2": { }
}, - "contentKey": "string",
- "managedContentId": "string",
- "resourceUrl": "string",
- "title": "string"
}, - "referencesList": {
- "contentBody": {
- "property1": { },
- "property2": { }
}, - "contentKey": "string",
- "managedContentId": "string",
- "resourceUrl": "string",
- "title": "string"
}, - "resourceUrl": "string",
- "title": "string",
- "unauthenticatedUrl": "string",
- "urlName": "string"
}, - "currentPageUrl": "string",
- "nextPageUrl": "string",
- "previousPageUrl": "string",
- "references": {
- "contentBody": {
- "property1": { },
- "property2": { }
}, - "contentKey": "string",
- "managedContentId": "string",
- "resourceUrl": "string",
- "title": "string"
}, - "referencesList": {
- "contentBody": {
- "property1": { },
- "property2": { }
}, - "contentKey": "string",
- "managedContentId": "string",
- "resourceUrl": "string",
- "title": "string"
}, - "channelInfo": {
- "domainUrl": "string",
- "id": "string",
- "name": "string",
- "resourceUrl": "string",
- "target": {
- "id": "string"
}, - "type": "CloudToCloud",
- "url": "string"
}
}CMS Delivery Channel Contents Search
Search for content in a channel or an Experience Cloud site.
Experience Cloud site path
/connect/sites/{siteId}/cms/delivery/contents/enhanced-search
Available in: v64.0
path Parameters
| channelId required | string <Id> ^(0ap)\w* ID of a channel. |
Request Body schema: application/json
Search managed content in a channel.
object (ManagedContentDeliverySearchFiltersInputRequest) Filters used to search managed content. Available in: v64.0 | |
| page | integer Number of the page you want returned. Starts at 0. If you don't specify a value or if you specify 0, the first page is returned. Available in: v64.0 |
| pageSize | integer Number of items per page. Valid values are from 1 to 250. If you don't specify a value, the default is 25. Available in: v64.0 |
| queryTerm required | string Query term used as key word to search managed content. Available in: v64.0 |
Responses
Request samples
- Payload
{- "queryTerm": "BMW",
- "filters": {
- "taxonomyQuery": {
- "expression": "'15dxx000001X8UzBBJ' OR '15dxx000001X8UzBBD'",
- "doesSearchInHierarchy": false
}, - "language": "en_US",
- "contentTypeFQNs": [
- "sfdc_cms__news",
- "sfdc_cms__marketing"
]
}, - "page": 1,
- "pageSize": 10
}Response samples
- 200
{- "count": 0,
- "isNextPageAvailable": true,
- "items": [
- {
- "contentKey": "string",
- "contentType": {
- "fullyQualifiedName": "string",
- "name": "string"
}, - "language": "string",
- "managedContentId": "string",
- "publishedDate": "2019-08-24T14:15:22Z",
- "resourceUrl": "string",
- "taxonomyTerms": [
- {
- "id": "string",
- "label": "string",
- "pathsFromRoot": [
- {
- "label": "string",
- "taxonomyFragment": {
- "id": "string",
- "label": "string"
}, - "termFragments": [
- {
- "id": "string",
- "label": "string"
}
]
}
]
}
], - "title": "string"
}
]
}CMS Delivery Content
Get a piece of published content for a channel or Experience Cloud site.
Experience Cloud site path
/connect/sites/{siteId}/cms/delivery/contents/{contentKeyOrId}
Available in: v54.0
path Parameters
| channelId required | string <Id> ^(0ap)\w* ID of a channel. |
| contentKeyOrId required | string Content key or ID of the managed content. |
query Parameters
| contentVersion | integer |
| expandReferences | boolean Specifies whether to include details of references ( Available in: v54.0 |
| language | string Language locale for the managed content,
for example, Available in: v54.0 |
| referenceDepth | integer An integer 0–3 specifying the depth of references. If you specify 0, the Available in: v54.0 |
| referencesAsList | boolean Specifies whether to return the references as a list in the Available in: v54.0 |
| showAbsoluteUrl | boolean For public channels only, specifies whether
to return the absolute Available in: v54.0 |
Responses
Response samples
- 200
{- "channelInfo": {
- "domainUrl": "string",
- "id": "string",
- "name": "string",
- "resourceUrl": "string",
- "target": {
- "id": "string"
}, - "type": "CloudToCloud",
- "url": "string"
}, - "channelSummary": {
- "domainUrl": "string",
- "id": "string",
- "name": "string",
- "resourceUrl": "string",
- "target": {
- "id": "string"
}, - "type": "CloudToCloud"
}, - "contentBody": {
- "property1": { },
- "property2": { }
}, - "contentKey": "string",
- "contentType": {
- "fullyQualifiedName": "string",
- "name": "string"
}, - "contentVersion": 0,
- "isLatest": true,
- "language": "string",
- "managedContentId": "string",
- "publishedDate": "2019-08-24T14:15:22Z",
- "references": {
- "contentBody": {
- "property1": { },
- "property2": { }
}, - "contentKey": "string",
- "managedContentId": "string",
- "resourceUrl": "string",
- "title": "string"
}, - "referencesList": {
- "contentBody": {
- "property1": { },
- "property2": { }
}, - "contentKey": "string",
- "managedContentId": "string",
- "resourceUrl": "string",
- "title": "string"
}, - "resourceUrl": "string",
- "title": "string",
- "unauthenticatedUrl": "string",
- "urlName": "string"
}CMS Digital Asset Management Providers
Get digital asset management (DAM) providers.
Available in: v65.0
query Parameters
| contentSpaceId | string ID of the managed content space. Available in: v66.0 |
Responses
Response samples
- 200
{- "contentSpaceId": "string",
- "currentPageUrl": "string",
- "nextPageUrl": "string",
- "providers": [
- {
- "componentDefinition": "string",
- "icon": "string",
- "label": "string",
- "providerId": "string",
- "providerInstances": [
- {
- "instanceKey": "string",
- "isDefault": true,
- "isEnabledForSpace": true,
- "name": "string",
- "providerInstanceId": "string"
}
], - "providerLightningComponentId": "string",
- "type": "DigitalAssetManager"
}
], - "total": 0
}CMS Digital Asset Management Providers
Create a DAM provider instance.
Available in: v65.0
Request Body schema: application/json
Create or update a managed content provider instance.
| instanceKey | string Provider instance key. Required for POST. At least one property is required for PATCH Available in: v65.0 |
| isDefault | boolean Specifies whether the instance is the default instance ( Required for POST. At least one property is required for PATCH. Available in: v65.0 |
| name | string Name of the provider instance. Required for POST. At least one property is required for PATCH. Available in: v65.0 |
| providerLightningComponentId | string <Id> ID of the provider lightning component. Required for POST. This property isn’t supported for PATCH. Available in: v65.0 |
Responses
Request samples
- Payload
Creating a managed content provider instance
{- "isDefault": "true",
- "name": "Bynder-Brand-1",
- "providerLightningComponentId": "106xxxxxxxxxxx"
}Response samples
- 200
{- "instanceKey": "string",
- "isDefault": true,
- "isEnabledForSpace": true,
- "name": "string",
- "providerInstanceId": "string"
}CMS Digital Asset Management Provider
Update a digital asset management (DAM) provider instance.
Available in: v66.0
path Parameters
| providerInstanceId required | string <Id> ^(1QX)\w* ID of the provider instance. |
Request Body schema: application/json
Create or update a managed content provider instance.
| instanceKey | string Provider instance key. Required for POST. At least one property is required for PATCH Available in: v65.0 |
| isDefault | boolean Specifies whether the instance is the default instance ( Required for POST. At least one property is required for PATCH. Available in: v65.0 |
| name | string Name of the provider instance. Required for POST. At least one property is required for PATCH. Available in: v65.0 |
| providerLightningComponentId | string <Id> ID of the provider lightning component. Required for POST. This property isn’t supported for PATCH. Available in: v65.0 |
Responses
Request samples
- Payload
Creating a managed content provider instance
{- "isDefault": "true",
- "name": "Bynder-Brand-1",
- "providerLightningComponentId": "106xxxxxxxxxxx"
}Response samples
- 200
{- "instanceKey": "string",
- "isDefault": true,
- "isEnabledForSpace": true,
- "name": "string",
- "providerInstanceId": "string"
}CMS Digital Asset Management Provider
Delete a digital asset management (DAM) provider instance.
Available in: v65.0
Note: 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.
path Parameters
| providerInstanceId required | string <Id> ^(1QX)\w* ID of the provider instance. |
Responses
CMS Search
Search for managed content items, including variants, in spaces and folders.
Available in: v57.0
query Parameters
| contentSpaceOrFolderIds required | Array of strings <Id> [ items <Id > ] IDs of managed content spaces (key prefix 0Zu) and folders (key prefix 9Pu) in which to search. In version 57.0, exactly one space is required and one folder in that space is allowed. Available in: v57.0 |
| contentTypeFQN | string Fully qualified name of the content type used to restrict the search. Available in: v57.0 |
| languages | Array of strings List of up to 10 languages or In version 57.0, search returns all languages by default. In version
58.0 and later, use Available in: v58.0 |
| page | integer Number of the page you want returned. Starts at 0. If you don’t specify a value or if you specify 0, the first page is returned. Available in: v57.0 |
| pageSize | integer Specifies the number of items per page. Valid values are from 1 through 250. If you don’t specify a value, the default size is 25. Available in: v57.0 |
| queryTerm required | string List of up to 50 space separated search terms. The search terms must contain at least two characters that aren’t wildcards . Available in: v57.0 |
| scope | string (ConnectManagedContentSearchScopeEnum) Enum: "All" "TitleOnly" Text search scope for items. If unspecified, defaults to If you specify a folder ID, you can’t restrict the search scope. Available in: v57.0 |
Responses
Response samples
- 200
{- "count": 0,
- "currentPageUri": "string",
- "items": {
- "createdBy": {
- "id": "string",
- "name": "string",
- "resourceUrl": "string"
}, - "createdDate": "2019-08-24T14:15:22Z",
- "folder": {
- "id": "string",
- "resourceUrl": "string"
}, - "id": "string",
- "lastModifiedBy": {
- "id": "string",
- "name": "string",
- "resourceUrl": "string"
}, - "lastModifiedDate": "2019-08-24T14:15:22Z",
- "managedContentSpaceId": "string",
- "name": "string",
- "type": "string"
}, - "nextPageUri": "string"
}CMS Spaces
Get managed content spaces.
Available in: v64.0
query Parameters
| nameFragment | string Name fragment to filter spaces that contain the value in the workspace name. Available in: v64.0 |
| page | integer Number of the page you want returned. Starts at 0. If you don’t specify a value or if you specify 0, the first page is returned. Available in: v64.0 |
| pageSize | integer Specifies the number of items per page. Valid values are from 1 through 250. If you don't specify a value, the default size is 25. Available in: v64.0 |
Responses
Response samples
- 200
{- "spaces": [
- {
- "apiName": "string",
- "createdBy": "string",
- "createdDate": "2019-08-24T14:15:22Z",
- "defaultLanguage": "string",
- "description": "string",
- "fullyQualifiedName": "string",
- "id": "string",
- "isEnhancedSpace": true,
- "isFlowOrchestrationEnabled": true,
- "lastModifiedBy": "string",
- "lastModifiedDate": "2019-08-24T14:15:22Z",
- "name": "string",
- "rootFolderId": "string",
- "spaceType": {
- "apiName": "string"
}
}
]
}CMS Spaces
Create a managed content space.
Available in: v64.0
Request Body schema: application/json
Create a managed content space.
| apiName | string API name of the managed content space. Available in: v64.0 |
| defaultLanguage | string Default language of the managed content space. Available in: v64.0 |
| description | string Description of the managed content space. Available in: v64.0 |
| name required | string Name of the managed content space. Available in: v64.0 |
| spaceType | string (ConnectManagedContentSpaceTypeEnum) Enum: "App_Dev" "Content" "Enablement" "Experience" "ExperienceContainer" "Fragment_Space" "Gen_AI" "Library" "Marketing" "SalesEngagement" Type of managed content space. Available in: v64.0 |
Responses
Request samples
- Payload
{- "name": "ShoeStoreWorkspace",
- "description": "To serve shoe store content.",
- "defaultLanguage": "en_US",
- "spacetype": "Content",
- "apiName": "shoe_store_workspace"
}Response samples
- 200
{- "apiName": "string",
- "createdBy": "string",
- "createdDate": "2019-08-24T14:15:22Z",
- "defaultLanguage": "string",
- "description": "string",
- "fullyQualifiedName": "string",
- "id": "string",
- "isEnhancedSpace": true,
- "isFlowOrchestrationEnabled": true,
- "lastModifiedBy": "string",
- "lastModifiedDate": "2019-08-24T14:15:22Z",
- "name": "string",
- "rootFolderId": "string",
- "spaceType": {
- "apiName": "string"
}
}CMS Space
Get a managed content space.
Available in: v55.0
path Parameters
| contentSpaceId required | string <Id> ^(0Zu)\w* ID of the content space. |
Responses
Response samples
- 200
{- "apiName": "string",
- "createdBy": "string",
- "createdDate": "2019-08-24T14:15:22Z",
- "defaultLanguage": "string",
- "description": "string",
- "fullyQualifiedName": "string",
- "id": "string",
- "isEnhancedSpace": true,
- "isFlowOrchestrationEnabled": true,
- "lastModifiedBy": "string",
- "lastModifiedDate": "2019-08-24T14:15:22Z",
- "name": "string",
- "rootFolderId": "string",
- "spaceType": {
- "apiName": "string"
}
}CMS Space
Update a managed content space.
Available in: v64.0
path Parameters
| contentSpaceId required | string <Id> ^(0Zu)\w* ID of the content space. |
Request Body schema: application/json
Update the name or description of a managed content space.
| description | string Description of the managed content space. Available in: v64.0 |
| name | string Name of the managed content space. Available in: v64.0 |
Responses
Request samples
- Payload
{- "name": "ShoeStoreWorkspaceUpdated",
- "description": "To serve shoe store content. Updated."
}Response samples
- 200
{- "apiName": "string",
- "createdBy": "string",
- "createdDate": "2019-08-24T14:15:22Z",
- "defaultLanguage": "string",
- "description": "string",
- "fullyQualifiedName": "string",
- "id": "string",
- "isEnhancedSpace": true,
- "isFlowOrchestrationEnabled": true,
- "lastModifiedBy": "string",
- "lastModifiedDate": "2019-08-24T14:15:22Z",
- "name": "string",
- "rootFolderId": "string",
- "spaceType": {
- "apiName": "string"
}
}CMS Space Channels
Get channels for a managed content space.
Available in: v62.0
path Parameters
| contentSpaceId required | string <Id> ^(0Zu)\w* ID of the content space. |
query Parameters
| page | integer Number of the page you want returned. Starts at 0. If you don’t specify a value or if you specify 0, the first page is returned. Available in: v62.0 |
| pageSize | integer Number of items per page. Valid values are from 1 through 250. If you don't specify a value, the default size is 25. Available in: v62.0 |
Responses
Response samples
- 200
{- "currentPageUrl": "string",
- "nextPageUrl": "string",
- "previousPageUrl": "string",
- "spaceChannels": [
- {
- "channelSummary": {
- "domainUrl": "string",
- "id": "string",
- "name": "string",
- "resourceUrl": "string",
- "target": {
- "id": "string"
}, - "type": "CloudToCloud",
- "url": "string"
}, - "createdBy": {
- "id": "string",
- "name": "string",
- "resourceUrl": "string"
}, - "createdDate": "2019-08-24T14:15:22Z",
- "status": "Added"
}
], - "totalSpaceChannels": 0
}CMS Space Channels
Add or remove channels from a managed content space.
Available in: v62.0
path Parameters
| contentSpaceId required | string <Id> ^(0Zu)\w* ID of the content space. |
Request Body schema: application/json
Channels to add or remove from a managed content space.
required | Array of objects (ManagedContentSpaceChannelInput) List of channels to add or remove from the managed content space. Available in: v62.0 |
Responses
Request samples
- Payload
{- "spaceChannels": [
- {
- "channelId": "0ap000000000001",
- "operation": "Add"
}, - {
- "channelId": "0ap000000000003",
- "operation": "Remove"
}, - {
- "channelId": "0ap000000000004",
- "operation": "Remove"
}, - {
- "channelId": "0ap000000000002",
- "operation": "Add"
}
]
}Response samples
- 200
{- "currentPageUrl": "string",
- "nextPageUrl": "string",
- "previousPageUrl": "string",
- "spaceChannels": [
- {
- "channelSummary": {
- "domainUrl": "string",
- "id": "string",
- "name": "string",
- "resourceUrl": "string",
- "target": {
- "id": "string"
}, - "type": "CloudToCloud",
- "url": "string"
}, - "createdBy": {
- "id": "string",
- "name": "string",
- "resourceUrl": "string"
}, - "createdDate": "2019-08-24T14:15:22Z",
- "status": "Added"
}
], - "totalSpaceChannels": 0
}Experience Cloud CMS Content Search
Search an Experience Cloud site.
This resource is available only for sites with Enhanced CMS Workspaces. Make sure your content is indexed with the CMS Channel Search Indexes resource before searching your site.
Available in: v54.0
path Parameters
| siteId required | string <Id> ^(0DM)\w* ID of an Experience Cloud site. |
query Parameters
| language | string Language locale for the context user. If unspecified or if the
specified language locale isn’t available, the default value is Available in: v54.0 |
| pageSize | integer Specifies the number of items per page. Valid values are from 1 through 240. If unspecified, defaults to 25. Available in: v54.0 |
| pageToken | string Specifies the base64 encoded page token. Page tokens are returned as part of the response. If unspecified, the first page is returned. Available in: v54.0 |
| queryTerm required | string White-space separated words used to search for relevant content. Provide a maximum of 1024 characters, composed of up to 32 words and white spaces. Logical operators aren’t supported. Available in: v54.0 |
Responses
Response samples
- 200
{- "currentPageToken": "string",
- "currentPageUrl": "string",
- "items": [
- {
- "contentReference": "string",
- "contentTypeDeveloperName": "string",
- "highlightedSnippet": "string",
- "id": "string",
- "pageType": "ContentPage",
- "title": "string"
}
], - "language": "string",
- "nextPageToken": "string",
- "nextPageUrl": "string",
- "pageSize": 0,
- "previousPageToken": "string",
- "previousPageUrl": "string",
- "totalItems": 0
}