I am able to query pages with GraphiQL. I’ve never used GraphQL so I’m super green here. I have few issues.
- I don’t know how to query the “pageComponents”
- Using PostMan I see I get back the ID’s for each component but I’m not sure how to reach that content
- Did I mention I’m new to GraphQL?
This is the PostMan JSON
"data": {
"title": {
"iv": "Home"
},
"slug": {
"iv": "home"
},
"pageComponents": {
"iv": [
"58c04b97-c561-40b4-a09b-0f6baec71c0a",
"cf3c1760-363d-480b-be8a-2615ba005d19",
"de36a290-4423-4473-b93c-c146c17fe596"
]
}
}
This is as far as I have gotten with my Query
query{
findPagesContent(id:"xxxxxx", version:x) {
id,
data: flatData{
title,
slug,
pageComponents (Error's here the only option I get here is __typename)
}
}
}