pageQuery

query pageQuery($first: Int, $after: String) {
pages(first: $first, after: $after, where: {status: PUBLISH}) {
nodes {
isSearch
isArchive
isCategory
analyticsData {
postId
advertId
articleId
campaignId
campaignName
clientId
clientName
imgCount
isPremium
postAuthor
postCategories
postDescription
postImage
postModified
postPath
postPromotion
postTags
postPublished
postTitle
postUrl
wordCount
}
archive
content
contentJson
featuredImage {
node {
sourceUrl
}
}
id
seoData {
meta {
content
name
property
}
title
}
slug
title
uri
}
}
}

postsQuery

query postsQuery($first: Int, $year: Int, $after: String) {
posts(first: $first, after: $after, where: { orderby: {field: DATE, order: DESC}, status: PUBLISH, dateQuery: {year: $year} }) {
nodes {
analyticsData {
advertId
articleId
campaignId
campaignName
clientId
clientName
postId
imgCount
postAuthor
postCategories
postDescription
postImage
postModified
postPath
postPromotion
postPublished
postTags
postTitle
postUrl
isPremium
wordCount
}
campaignCode {
hasCode
link
linkText
title
voucher
}
categories {
nodes {
databaseId
}
}
commentCount
commentStatus
contentJson
databaseId
date
dateGmt
excerpt
featuredImage {
node {
sourceUrl
}
}
hasAdlinks
id
isPromotion
likes
mobCount
modified
modifiedGmt
panoramaCount
postId: databaseId
postImageWithFallback
promoter {
partner
}
related
relatedTitle
seoData {
title
meta {
content
name
property
}
}
shop {
active
title
subtitle
adlinks {
id
title
company
link
price
image {
altText
sourceUrl
}
}
}
showRelated
slug: uri
status
title
uri
}
}
}