GraphQL request for getting all items across Tridion Sites and Tridion Docs that share the same Keyword
The mashup feature lets you tag Tridion Docs content with the same Keyword specified in a Taxonomy in Tridion Sites, and used to tag Tridion Sites content.
The following very basic query returns the IDs of all items in either Tridion Sites or Tridion Docs that have the Keyword with ID 9006:
{
items(
filter: {
or: [
{customMeta: {key:"FMBCONTENTREFTYPE+logical+element", value:"9006"}},
{keyword: {categoryId: 222, keywordId: 9006}}
]
}
) {
edges {
node {
id
}
}
}
}