Skip to content

Instantly share code, notes, and snippets.

@Jlaird
Last active September 25, 2019 18:41
Show Gist options
  • Save Jlaird/c259c9b63deaa84bdd03457cd24f6c3d to your computer and use it in GitHub Desktop.
Save Jlaird/c259c9b63deaa84bdd03457cd24f6c3d to your computer and use it in GitHub Desktop.
# Query on id and return id, name and created date.
query
{
content(input:{id:21085626}) {
id
name
created
}
}
# Query everything in the Venue Directory section and return the name and website schedules.
query {
websiteScheduledContent(input: {sectionId: 59828 pagination: {limit: 10}}) {
totalCount
edges {
node {
name
websiteSchedules{option { id, name }}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment