HomeDev GuideRecipesAPI Reference
Dev GuideAPI ReferenceUser GuideLegal TermsGitHubNuGetDev CommunityOptimizely AcademySubmit a ticketLog In
Dev Guide

Content links

Describes the links available for querying CMS (SaaS) content in Optimizely Graph.

Links in Optimizely Graph are a way to define relations between indexed items, see Joins with linking in the Optimizely Graph documentation. Some links are available when querying Content Management System (CMS) (SaaS) content from Optimizely Graph.

ITEMS

The default link if no type is specified is ITEMS. It returns all content items with the current content item as the container. This means it returns all items within the current container (analogous to all children for a tree node). The following GraphQL query is an example where the displayName is fetched for content, including its items:

PATH

The link type PATH can be thought of the opposite ofITEMS. It returns the containers (potentially several levels) for a content item (analogous to ancestors for a tree node). The following is a GraphQL example where the displayName is fetched for content, including displayName for all items from link with type PATH:

ASSETS

The link type ASSETS returns all exclusive assets for the content. In the CMS (SaaS) UI, they display in the folders For This Page, For This Block, and For This Content. The following is a GraphQL example where displayName and types are queried for a content item: