Advertisement
Guest User

Untitled

a guest
Apr 21st, 2019
131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.89 KB | None | 0 0
  1. query {
  2. node(id: "NewsArticle:133854278") {
  3. id
  4. ... dublinCoreFields
  5. ... on INewsArticle {
  6.  
  7. author {
  8. name
  9. image {
  10. imageUrl(name: "original")
  11. }
  12. user {
  13. ... on User {
  14. id
  15. }
  16. firstname
  17. lastname
  18. nickname
  19. }
  20. }
  21. authors {
  22. ... on User {
  23. id
  24. }
  25. firstname
  26. lastname
  27. nickname
  28. }
  29. title
  30. labelType
  31. contextLabel
  32. lead
  33. urls {
  34. relative
  35. canonical
  36. }
  37. seo {
  38. title
  39. description
  40. follow
  41. index
  42. }
  43. mainRessort {
  44. ... ressortFields
  45. }
  46. ressorts {
  47. ... ressortFields
  48. }
  49. mainAsset {
  50. __typename
  51. contentType
  52. title
  53. usage
  54. ... relatedImageFields
  55. ... relatedImageGalleryFields
  56. ... relatedVideoFields
  57. ... relatedAudioFields
  58. ... relatedHTMLSnippetFields
  59. }
  60. assets {
  61. __typename
  62. contentType
  63. title
  64. usage
  65. options
  66. ... relatedImageFields
  67. ... relatedImageGalleryFields
  68. ... relatedVideoFields
  69. ... relatedAudioFields
  70. ... relatedHTMLSnippetFields
  71. }
  72. blocks {
  73. __typename
  74. placement
  75. ... on IEnrichmentBlock {
  76. title
  77. description
  78. }
  79. ... textBlockFields
  80. ... imageBlockFields
  81. ... imageGalleryBlockFields
  82. ... audioBlockFields
  83. ... videoBlockFields
  84. ... themeImagesOutputBlockFields
  85. ... htmlSnippetBlockFields
  86. }
  87. }
  88. }
  89. }
  90. fragment relatedImageGalleryFields on RelatedImageGallery {
  91. ... withImageGalleryFields
  92. }
  93. fragment relatedImageFields on RelatedImage {
  94. ... withImageFields
  95. }
  96.  
  97. fragment relatedVideoFields on RelatedVideo {
  98. ... withImageFields
  99. ... withVideoFields
  100. }
  101. fragment relatedAudioFields on RelatedAudio {
  102. ... withImageFields
  103. ... withAudioFields
  104. }
  105. fragment relatedHTMLSnippetFields on RelatedHTMLSnippet {
  106. html
  107. }
  108. fragment imageBlockFields on ImageEnrichmentBlock {
  109. ... withImageFields
  110. }
  111. fragment imageGalleryBlockFields on ImageGalleryEnrichmentBlock {
  112. ... withImageGalleryFields
  113. }
  114. fragment audioBlockFields on AudioEnrichmentBlock {
  115. ... withImageFields
  116. ... withAudioFields
  117. }
  118. fragment videoBlockFields on VideoEnrichmentBlock {
  119. ... withImageFields
  120. ... withVideoFields
  121. }
  122. fragment textBlockFields on HTMLTextBlock {
  123. html
  124. }
  125. fragment htmlSnippetBlockFields on HTMLSnippetEnrichmentBlock {
  126. html
  127. }
  128.  
  129. fragment themeImagesOutputBlockFields on ThemeImagesOutputEnrichmentBlock {
  130. themes
  131. themeImages(limit: 10) {
  132. data {
  133. title
  134. description
  135. keywords
  136. imageUrl(name: "original")
  137. source {
  138. title
  139. shortcut
  140. url
  141. }
  142. }
  143. total
  144. }
  145. }
  146.  
  147. fragment dublinCoreFields on IDublinCore {
  148. dc {
  149. created
  150. modified
  151. effective
  152. expires
  153. creator
  154. contributor
  155. publisher
  156. }
  157. }
  158. fragment ressortFields on NewsRessort {
  159. id
  160. urlpart
  161. title
  162. parent {
  163. id
  164. urlpart
  165. title
  166. }
  167. }
  168. fragment withVideoFields on IWithVideo {
  169. video {
  170. kaltura {
  171. kalturaId
  172. }
  173. source {
  174. title
  175. }
  176. }
  177. }
  178. fragment withAudioFields on IWithAudio {
  179. audio {
  180. downloadable
  181. kaltura {
  182. kalturaId
  183. }
  184. source {
  185. title
  186. }
  187. }
  188. }
  189. fragment withImageFields on IWithImage {
  190. image {
  191. imageUrl(name: "original")
  192. source {
  193. title
  194. shortcut
  195. url
  196. }
  197. originalInfo {
  198. width
  199. height
  200. contentType
  201. }
  202. processParams {
  203. cropHeight
  204. cropWidth
  205. cropX
  206. cropY
  207. resizeWidth
  208. resizeHeight
  209. rotate
  210. format
  211. focusX
  212. focusY
  213. }
  214. }
  215. }
  216. fragment withImageGalleryFields on IWithImageGallery {
  217. imageGallery {
  218. images {
  219. data {
  220. title
  221. description
  222. ... withImageFields
  223. }
  224. total
  225. }
  226. }
  227. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement