Expand my Community achievements bar.

Adobe Summit 2025: AEM Session Recordings Are Live! Missed a session or want to revisit your favorites? Watch the latest recordings now.

Mark Solution

This conversation has been locked due to inactivity. Please create a new post.

SOLVED

applying sling filter to GraphQL endpoint

Avatar

Level 5

i am trying to apply a sling filter to filter requests coming to /content/cq:graphql/global/endpoint.json because I want to add few fields to the json response.

But my filter is not getting invoked when I send a POST request to the graphql endpoint.

anybody tried doing so?or any pointers?

 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi,

I have not tried but if you want to change the response, you can try using https://sling.apache.org/documentation/bundles/output-rewriting-pipelines-org-apache-sling-rewriter.... 

Arun Patidar

AEM LinksLinkedIn

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

Hi,

I have not tried but if you want to change the response, you can try using https://sling.apache.org/documentation/bundles/output-rewriting-pipelines-org-apache-sling-rewriter.... 

Arun Patidar

AEM LinksLinkedIn