Two queries can be used as in below example to fetch needed component presentations and then combine results on client.
{
page(namespaceId: 1, publicationId: 1, url: "url value") {
containerItems(types: COMPONENT_PRESENTATION) {
... on ComponentPresentation {
namespaceId
publicationId
itemId
# other fields
}
}
}
componentPresentations(namespaceId: 1, publicationId: 1, filter: {keyword: {categoryName: "cat name", key: "ket value"}}) {
edges {
node {
namespaceId
publicationId
itemId
# other fields
}
}
}
}
It is only possible to filter by page URL only on the page(...) query and there is no filtering in the containerItems child element. But it would be possible to filter then componentPresentations(...) by taxonomy and combine both query results.