GraphQL : Is is possible to query content fragments from specific folder location? | Community
Skip to main content
New Participant
September 27, 2022
Solved

GraphQL : Is is possible to query content fragments from specific folder location?

  • September 27, 2022
  • 1 reply
  • 526 views

I want to use GraphQL to query content fragments in specific folder location. Can I do it using GQL or would that only be possible in QueryBuilder API?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by rawvarun

Sample query:

{ cityByPath (_path: "/content/dam/sample-content-fragments/folder") { item { _path name } } }

1 reply

rawvarun
rawvarunAccepted solution
New Participant
May 31, 2023

Sample query:

{ cityByPath (_path: "/content/dam/sample-content-fragments/folder") { item { _path name } } }