GraphQL : Is is possible to query content fragments from specific folder location? | Community
Skip to main content
Level 4
Sep 27, 2022 11:21 AM UTC
Solved

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

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.
rawvarun
rawvarunAccepted solution
New Participant
May 31, 2023 11:08 PM UTC

Sample query:

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

1 reply

rawvarun
rawvarunAccepted solution
New Participant
May 31, 2023 11:08 PM UTC

Sample query:

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