kikoestr

GQL Query

Aug 27th, 2021 (edited)
34
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. query MyQuery {
  2. allDatoCmsCaseStudy(filter: {slug: {eq: "top-shop-auto"}}) {
  3. edges {
  4. node {
  5. title
  6. tag {
  7. id
  8. name
  9. }
  10. publishDate(formatString: "MMMM DD, YYYY")
  11. company {
  12. about
  13. companySize
  14. industry {
  15. name
  16. }
  17. location
  18. name
  19. }
  20. content {
  21. value
  22. links {
  23. __typename
  24. ... on DatoCmsCardDeckComponent {
  25. id
  26. originalId
  27. heading
  28. subhead
  29. cardDeckCards {
  30. heading
  31. subhead
  32. image {
  33. url
  34. title
  35. alt
  36. }
  37. }
  38. }
  39. __typename
  40. ... on DatoCmsWebsiteVideo {
  41. id
  42. internalName
  43. youtubeUrl
  44. videoThumbnail {
  45. image {
  46. url
  47. }
  48. }
  49. }
  50. __typename
  51. ... on DatoCmsConversionPanelComponent {
  52. id
  53. internalName
  54. subhead
  55. heading
  56. headingKicker
  57. conversionPanelImage {
  58. id
  59. internalName
  60. link
  61. image {
  62. title
  63. url
  64. tags
  65. fluid {
  66. ...GatsbyDatoCmsFluid
  67. }
  68. }
  69. imageMobile {
  70. tags
  71. title
  72. url
  73. fluid {
  74. ...GatsbyDatoCmsFluid
  75. }
  76. }
  77. }
  78. conversionPanelCallToAction {
  79. id
  80. heading
  81. internalName
  82. label
  83. openInNewTab
  84. url
  85. }
  86. }
  87. __typename
  88. ... on DatoCmsComponentTestimonial {
  89. id
  90. headline
  91. body
  92. internalName
  93. person {
  94. id
  95. internalName
  96. company {
  97. id
  98. name
  99. about
  100. location
  101. companySize
  102. }
  103. }
  104. }
  105. }
  106. }
  107. sidebar {
  108. value
  109. links {
  110. __typename
  111. ... on DatoCmsListItem {
  112. iconImage {
  113. url
  114. alt
  115. title
  116. }
  117. id
  118. heading
  119. internalName
  120. subhead
  121. }
  122. __typename
  123. ... on DatoCmsComponentTestimonial {
  124. id
  125. body
  126. headline
  127. person {
  128. role
  129. internalName
  130. company {
  131. name
  132. }
  133. }
  134. }
  135. }
  136. }
  137. }
  138. }
  139. }
  140. }
RAW Paste Data