Skip to content

Instantly share code, notes, and snippets.

View ummdorian's full-sized avatar

Dorian Damon ummdorian

View GitHub Profile
@ummdorian
ummdorian / example.json
Last active February 18, 2020 22:27
Homepage GraphQL Response
{
"data": {
"nodeQuery": {
"entities": [
{
"entityId": "1",
"entityUuid": "2b044ae0-f8f9-4a81-9b89-b290c7f4dba9",
"title": "Home Page",
"fieldPageContent": [
{
query {
nodeQuery(
filter: {
conditions: [
{
operator: EQUAL,
field: "type",
value: ["default_data"]
}
]
{
"data": {
"nodeQuery": {
"entities": [
{
"fieldDefaultDataSeason": {
"entity": {
"entityLabel": "Winter"
}
}
query {
taxonomyTermQuery(
filter: {
conditions: [
{
operator: EQUAL,
field: "vid",
value: ["site_navigation"]
}
]
{
"data": {
"taxonomyTermQuery": {
"entities": [
{
"entityId": "1",
"entityBundle": "site_navigation"
},
{
"entityId": "251",
query {
nodeQuery(
filter: {
conditions: [
{
operator: EQUAL,
field: "type",
value: ["default_data"]
}
]
{
"data": {
"nodeQuery": {
"entities": [
{
"fieldPageContent": [
{
"entity": {
"id": 2136,
"entityBundle": "wrapper_content"
query {
taxonomyTermQuery(
filter: {
conditions: [
{
operator: EQUAL,
field: "vid",
value: ["override_trail_and_lift_info"]
}
]
{
"data": {
"taxonomyTermQuery": {
"entities": [
{
"entityId": "2981",
"entityBundle": "override_trail_and_lift_info"
},
{
"entityId": "2986",
{
redirectQuery(filter: {}) {
entities {
... on RedirectRedirect {
redirectSource {
path
query
}
redirectRedirect {
uri