Created
March 22, 2024 10:19
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
query MyQuery($datasource: String!, $language: String!) { | |
datasource: item(path: $datasource, language: $language) { | |
# List 20 children of given template under given datasource | |
children( | |
first: 20 | |
includeTemplateIDs: "{A6DDAC75-7D24-4BDB-B3F6-5F47FBB21379}" | |
# after: "endCursor" (see endCursor below) | |
# hasLayout: true | |
) | |
{ | |
pageInfo { | |
hasNext | |
endCursor | |
} | |
results { | |
id | |
name | |
field(name: "MyCustomField") { | |
jsonValue | |
} | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment