Response Structure
| AVAILABLE API VERSION |
|---|
| API v67.0 and later |
The Managed Content API uses several types to represent search results, content items, and channel delivery information. This guide describes the schema structure and field definitions.
The ManagedContentSearchResultPage type is the top-level response object that contains paginated search results.
The ManagedContentSearchResultPage type contains these fields.
total- Total number of matching results across all pagesoffset- Zero-based offset of the first item in this result pagepageSize- Number of items returned per pageitems- Array of content items in this result page
The ManagedContentSearchResultItem type represents individual content items in the search results.
The ManagedContentSearchResultItem type contains these fields.
managedContentId- Unique identifier for the CMS content item, such as20Yxx000000001XEAQmanagedContentKey- Content key used for deduplication across channelstitle- Title of the CMS content itemcontentType- Fully qualified name of the content type, such asnews,sfdc_cms__imagelanguage- IETF-style locale code indicating the language variant, such asen_US,frtaxonomies- Array of associated taxonomy term identifiersmanagedContentChannelDeliveryDetails- Array of delivery details for each CMS channel where the content is published
The ManagedContentChannelDeliveryDetails type contains channel-specific delivery information for content.
The ManagedContentChannelDeliveryDetails type contains these fields.
managedContentChannelDetails- Information about the channelcontentUrl- URL where the content is accessible on the channelpublishedDate- Date string that indicates when the content item was published to the channel. The date is in ISO 8601 format.
The ManagedContentChannelDetails type contains information about the CMS channel where the content was published.
The ManagedContentChannelDetails type contains these fields.
id- Unique identifier for the channel, such as0apxx000000001XAAQname- Name of the channeltype- The channel type, such aspublic
Here’s an example of a complete search response.