{
posts(input: {
terms: {
view: "new"
limit: 50
meta: null # this seems to get both meta and non-meta posts
before: "2023-12-31"
after: "2023-01-01"
}
}) {
results {
_id
title
slug
pageUrl
postedAt
baseScore
voteCount
commentCount
meta
question
url
user {
username
slug
displayName
}
}
}
}
Run this query
{
comments(input: {
terms: {
view: "recentComments"
limit: 10
}
}) {
results {
_id
post {
_id
title
slug
}
user {
_id
slug
username
displayName
}
htmlBody
postId
pageUrl
}
}
}
Run this query