Skip to content

Instantly share code, notes, and snippets.

@jayercule
Last active October 24, 2023 02:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jayercule/f22b1f9ec9fafc3e464ce5037fcc0f37 to your computer and use it in GitHub Desktop.
Save jayercule/f22b1f9ec9fafc3e464ce5037fcc0f37 to your computer and use it in GitHub Desktop.
Hashnode API - Get publication posts GraphQL request body
query Publication {
publication (host:"jayerculetest.hashnode.dev") {
posts(first:10) {
edges {
node {
title
slug
coverImage {
url
attribution
}
brief
author {
name
}
content {
markdown
}
publishedAt
updatedAt
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment