I want to fetch all the Image Components inside a Publication from DXD. I am using the below Query which gives me all the Components(Topics) inside a Publication but I want just Images.
Any idea of how to filter the Images from all the components in the result?
{
items(
filter: {
itemTypes:[COMPONENT]
namespaceIds: [2]
publicationIds:[8915]
}
) {
edges {
node {
itemId
title
}
}
}
}