contentful 2.16.0 → 2.16.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (147) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +3 -0
  3. data/lib/contentful/version.rb +1 -1
  4. metadata +3 -370
  5. data/.gitignore +0 -7
  6. data/.rspec +0 -1
  7. data/.rubocop.yml +0 -31
  8. data/.rubocop_todo.yml +0 -35
  9. data/.travis.yml +0 -15
  10. data/.yardopts +0 -4
  11. data/Gemfile +0 -9
  12. data/Guardfile +0 -24
  13. data/RELEASE.md +0 -8
  14. data/Rakefile +0 -33
  15. data/contentful.gemspec +0 -44
  16. data/examples/custom_classes.rb +0 -39
  17. data/examples/example_queries.rb +0 -26
  18. data/examples/raise_errors.rb +0 -20
  19. data/examples/raw_mode.rb +0 -14
  20. data/spec/array_spec.rb +0 -187
  21. data/spec/asset_spec.rb +0 -220
  22. data/spec/auto_includes_spec.rb +0 -12
  23. data/spec/client_class_spec.rb +0 -86
  24. data/spec/client_configuration_spec.rb +0 -394
  25. data/spec/content_type_spec.rb +0 -49
  26. data/spec/deleted_asset_spec.rb +0 -38
  27. data/spec/deleted_entry_spec.rb +0 -38
  28. data/spec/entry_spec.rb +0 -815
  29. data/spec/error_class_spec.rb +0 -327
  30. data/spec/error_requests_spec.rb +0 -87
  31. data/spec/field_spec.rb +0 -95
  32. data/spec/file_spec.rb +0 -33
  33. data/spec/fixtures/json_responses/400_details_errors_object.json +0 -14
  34. data/spec/fixtures/json_responses/400_details_errors_string.json +0 -12
  35. data/spec/fixtures/json_responses/400_details_string.json +0 -8
  36. data/spec/fixtures/json_responses/403_reasons.json +0 -13
  37. data/spec/fixtures/json_responses/404_details_string.json +0 -8
  38. data/spec/fixtures/json_responses/404_id.json +0 -11
  39. data/spec/fixtures/json_responses/404_sys_type.json +0 -12
  40. data/spec/fixtures/json_responses/404_type.json +0 -10
  41. data/spec/fixtures/json_responses/content_type.json +0 -83
  42. data/spec/fixtures/json_responses/default_400.json +0 -7
  43. data/spec/fixtures/json_responses/default_401.json +0 -7
  44. data/spec/fixtures/json_responses/default_403.json +0 -7
  45. data/spec/fixtures/json_responses/default_404.json +0 -7
  46. data/spec/fixtures/json_responses/default_429.json +0 -7
  47. data/spec/fixtures/json_responses/default_500.json +0 -7
  48. data/spec/fixtures/json_responses/default_502.json +0 -7
  49. data/spec/fixtures/json_responses/default_503.json +0 -7
  50. data/spec/fixtures/json_responses/includes.json +0 -111
  51. data/spec/fixtures/json_responses/link_array.json +0 -43
  52. data/spec/fixtures/json_responses/not_found.json +0 -13
  53. data/spec/fixtures/json_responses/nyancat.json +0 -48
  54. data/spec/fixtures/json_responses/other_error.json +0 -9
  55. data/spec/fixtures/json_responses/other_error_no_details.json +0 -8
  56. data/spec/fixtures/json_responses/other_error_no_message.json +0 -8
  57. data/spec/fixtures/json_responses/other_error_no_request_id.json +0 -8
  58. data/spec/fixtures/json_responses/other_error_nothing.json +0 -6
  59. data/spec/fixtures/json_responses/self_link.json +0 -82
  60. data/spec/fixtures/json_responses/unparsable.json +0 -13
  61. data/spec/fixtures/vcr_cassettes/array.yml +0 -288
  62. data/spec/fixtures/vcr_cassettes/array/marshal_custom_classes.yml +0 -159
  63. data/spec/fixtures/vcr_cassettes/array/marshal_unpublished.yml +0 -315
  64. data/spec/fixtures/vcr_cassettes/array/nested_resources.yml +0 -159
  65. data/spec/fixtures/vcr_cassettes/arrayField.yml +0 -87
  66. data/spec/fixtures/vcr_cassettes/array_page_1.yml +0 -106
  67. data/spec/fixtures/vcr_cassettes/array_page_2.yml +0 -73
  68. data/spec/fixtures/vcr_cassettes/asset.yml +0 -96
  69. data/spec/fixtures/vcr_cassettes/asset/select_empty_array.yml +0 -104
  70. data/spec/fixtures/vcr_cassettes/asset/select_no_sys.yml +0 -119
  71. data/spec/fixtures/vcr_cassettes/asset/select_one_field.yml +0 -97
  72. data/spec/fixtures/vcr_cassettes/asset/select_only_sys.yml +0 -88
  73. data/spec/fixtures/vcr_cassettes/asset/with_tags.yml +0 -138
  74. data/spec/fixtures/vcr_cassettes/assets/issues_129.yml +0 -90
  75. data/spec/fixtures/vcr_cassettes/assets/issues_jekyll_46.yml +0 -115
  76. data/spec/fixtures/vcr_cassettes/bad_request.yml +0 -76
  77. data/spec/fixtures/vcr_cassettes/content_type.yml +0 -147
  78. data/spec/fixtures/vcr_cassettes/entries.yml +0 -561
  79. data/spec/fixtures/vcr_cassettes/entries/empty_fields.yml +0 -246
  80. data/spec/fixtures/vcr_cassettes/entries/issue_117.yml +0 -201
  81. data/spec/fixtures/vcr_cassettes/entries/issue_125.yml +0 -198
  82. data/spec/fixtures/vcr_cassettes/entries/rich_text.yml +0 -1707
  83. data/spec/fixtures/vcr_cassettes/entries/rich_text_hydration_issue.yml +0 -460
  84. data/spec/fixtures/vcr_cassettes/entries/rich_text_nested_fields.yml +0 -653
  85. data/spec/fixtures/vcr_cassettes/entries/rich_text_unresolved_relationships.yml +0 -983
  86. data/spec/fixtures/vcr_cassettes/entries/unresolvable_assets.yml +0 -89
  87. data/spec/fixtures/vcr_cassettes/entries/unresolvable_filter.yml +0 -159
  88. data/spec/fixtures/vcr_cassettes/entries/unresolvable_filter_deeply_nested.yml +0 -167
  89. data/spec/fixtures/vcr_cassettes/entry.yml +0 -102
  90. data/spec/fixtures/vcr_cassettes/entry/custom_resource.yml +0 -168
  91. data/spec/fixtures/vcr_cassettes/entry/include_resolution.yml +0 -101
  92. data/spec/fixtures/vcr_cassettes/entry/include_resolution_uniques.yml +0 -81
  93. data/spec/fixtures/vcr_cassettes/entry/json_objects.yml +0 -88
  94. data/spec/fixtures/vcr_cassettes/entry/json_objects_client.yml +0 -86
  95. data/spec/fixtures/vcr_cassettes/entry/marshal_138.yml +0 -159
  96. data/spec/fixtures/vcr_cassettes/entry/marshal_unpublished.yml +0 -303
  97. data/spec/fixtures/vcr_cassettes/entry/marshall.yml +0 -293
  98. data/spec/fixtures/vcr_cassettes/entry/raw.yml +0 -201
  99. data/spec/fixtures/vcr_cassettes/entry/search_link_to_asset.yml +0 -81
  100. data/spec/fixtures/vcr_cassettes/entry/search_link_to_entry.yml +0 -81
  101. data/spec/fixtures/vcr_cassettes/entry/search_link_to_entry_with_custom_query.yml +0 -115
  102. data/spec/fixtures/vcr_cassettes/entry/select_empty_array.yml +0 -111
  103. data/spec/fixtures/vcr_cassettes/entry/select_no_sys.yml +0 -102
  104. data/spec/fixtures/vcr_cassettes/entry/select_one_field.yml +0 -76
  105. data/spec/fixtures/vcr_cassettes/entry/select_one_field_proper.yml +0 -114
  106. data/spec/fixtures/vcr_cassettes/entry/select_only_sys.yml +0 -111
  107. data/spec/fixtures/vcr_cassettes/entry/with_tags.yml +0 -238
  108. data/spec/fixtures/vcr_cassettes/entry_cache.yml +0 -288
  109. data/spec/fixtures/vcr_cassettes/entry_locales.yml +0 -104
  110. data/spec/fixtures/vcr_cassettes/field.yml +0 -147
  111. data/spec/fixtures/vcr_cassettes/human.yml +0 -118
  112. data/spec/fixtures/vcr_cassettes/linkField.yml +0 -83
  113. data/spec/fixtures/vcr_cassettes/locale.yml +0 -83
  114. data/spec/fixtures/vcr_cassettes/locale_from_environment.yml +0 -121
  115. data/spec/fixtures/vcr_cassettes/location.yml +0 -193
  116. data/spec/fixtures/vcr_cassettes/multi_locale_array_reference.yml +0 -196
  117. data/spec/fixtures/vcr_cassettes/multi_locale_reference.yml +0 -214
  118. data/spec/fixtures/vcr_cassettes/not_found.yml +0 -76
  119. data/spec/fixtures/vcr_cassettes/nyancat.yml +0 -102
  120. data/spec/fixtures/vcr_cassettes/query_array_1.yml +0 -89
  121. data/spec/fixtures/vcr_cassettes/query_array_2.yml +0 -89
  122. data/spec/fixtures/vcr_cassettes/ratelimit.yml +0 -64
  123. data/spec/fixtures/vcr_cassettes/ratelimit_retry.yml +0 -294
  124. data/spec/fixtures/vcr_cassettes/reloaded_entry.yml +0 -102
  125. data/spec/fixtures/vcr_cassettes/space.yml +0 -83
  126. data/spec/fixtures/vcr_cassettes/sync_deleted_asset.yml +0 -174
  127. data/spec/fixtures/vcr_cassettes/sync_deleted_entry.yml +0 -89
  128. data/spec/fixtures/vcr_cassettes/sync_deletion.yml +0 -191
  129. data/spec/fixtures/vcr_cassettes/sync_environment.yml +0 -81
  130. data/spec/fixtures/vcr_cassettes/sync_page.yml +0 -637
  131. data/spec/fixtures/vcr_cassettes/sync_page_2.yml +0 -71
  132. data/spec/fixtures/vcr_cassettes/sync_page_short.yml +0 -106
  133. data/spec/fixtures/vcr_cassettes/unauthorized.yml +0 -64
  134. data/spec/fixtures/vcr_cassettes/unavailable.yml +0 -76
  135. data/spec/link_spec.rb +0 -50
  136. data/spec/locale_spec.rb +0 -37
  137. data/spec/location_spec.rb +0 -25
  138. data/spec/request_spec.rb +0 -57
  139. data/spec/resource_building_spec.rb +0 -31
  140. data/spec/response_spec.rb +0 -62
  141. data/spec/space_spec.rb +0 -31
  142. data/spec/spec_helper.rb +0 -14
  143. data/spec/support/client.rb +0 -6
  144. data/spec/support/json_responses.rb +0 -18
  145. data/spec/support/vcr.rb +0 -16
  146. data/spec/sync_page_spec.rb +0 -103
  147. data/spec/sync_spec.rb +0 -180
@@ -1,983 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: get
5
- uri: https://cdn.contentful.com/spaces/jd7yc4wnatx3/environments/master/content_types?limit=1000
6
- body:
7
- encoding: UTF-8
8
- string: ''
9
- headers:
10
- X-Contentful-User-Agent:
11
- - sdk contentful.rb/2.10.1; platform ruby/2.4.1; os macOS/16;
12
- Authorization:
13
- - Bearer 6256b8ef7d66805ca41f2728271daf27e8fa6055873b802a813941a0fe696248
14
- Content-Type:
15
- - application/vnd.contentful.delivery.v1+json
16
- Connection:
17
- - close
18
- Host:
19
- - cdn.contentful.com
20
- User-Agent:
21
- - http.rb/3.3.0
22
- response:
23
- status:
24
- code: 200
25
- message: OK
26
- headers:
27
- Access-Control-Allow-Headers:
28
- - Accept,Accept-Language,Authorization,Cache-Control,Content-Length,Content-Range,Content-Type,DNT,Destination,Expires,If-Match,If-Modified-Since,If-None-Match,Keep-Alive,Last-Modified,Origin,Pragma,Range,User-Agent,X-Http-Method-Override,X-Mx-ReqToken,X-Requested-With,X-Contentful-Version,X-Contentful-Content-Type,X-Contentful-Organization,X-Contentful-Skip-Transformation,X-Contentful-User-Agent,X-Contentful-Enable-Alpha-Feature
29
- Access-Control-Allow-Methods:
30
- - GET,HEAD,OPTIONS
31
- Access-Control-Allow-Origin:
32
- - "*"
33
- Access-Control-Expose-Headers:
34
- - Etag
35
- Access-Control-Max-Age:
36
- - '86400'
37
- Cache-Control:
38
- - max-age=0
39
- Content-Type:
40
- - application/vnd.contentful.delivery.v1+json
41
- Contentful-Api:
42
- - cda_cached
43
- Etag:
44
- - W/"c214174cf04bf1116db90ecd71642f13"
45
- Server:
46
- - Contentful
47
- X-Content-Type-Options:
48
- - nosniff
49
- X-Contentful-Region:
50
- - us-east-1
51
- X-Contentful-Request-Id:
52
- - '085e7d1350b08f255c8838fbc2eb45a2'
53
- Content-Length:
54
- - '4220'
55
- Accept-Ranges:
56
- - bytes
57
- Date:
58
- - Thu, 08 Nov 2018 03:12:25 GMT
59
- Via:
60
- - 1.1 varnish
61
- Age:
62
- - '0'
63
- Connection:
64
- - close
65
- X-Served-By:
66
- - cache-sin18026-SIN
67
- X-Cache:
68
- - MISS
69
- X-Cache-Hits:
70
- - '0'
71
- X-Timer:
72
- - S1541646745.108479,VS0,VE489
73
- Vary:
74
- - Accept-Encoding
75
- body:
76
- encoding: ASCII-8BIT
77
- string: |
78
- {
79
- "sys": {
80
- "type": "Array"
81
- },
82
- "total": 4,
83
- "skip": 0,
84
- "limit": 1000,
85
- "items": [
86
- {
87
- "sys": {
88
- "space": {
89
- "sys": {
90
- "type": "Link",
91
- "linkType": "Space",
92
- "id": "jd7yc4wnatx3"
93
- }
94
- },
95
- "id": "stTest",
96
- "type": "ContentType",
97
- "createdAt": "2018-08-22T10:43:50.802Z",
98
- "updatedAt": "2018-10-17T09:39:10.176Z",
99
- "environment": {
100
- "sys": {
101
- "id": "master",
102
- "type": "Link",
103
- "linkType": "Environment"
104
- }
105
- },
106
- "revision": 4
107
- },
108
- "displayField": "name",
109
- "name": "StTest",
110
- "description": "",
111
- "fields": [
112
- {
113
- "id": "name",
114
- "name": "Name",
115
- "type": "Symbol",
116
- "localized": false,
117
- "required": false,
118
- "disabled": false,
119
- "omitted": false
120
- },
121
- {
122
- "id": "body",
123
- "name": "Body",
124
- "type": "RichText",
125
- "localized": false,
126
- "required": false,
127
- "disabled": false,
128
- "omitted": false
129
- }
130
- ]
131
- },
132
- {
133
- "sys": {
134
- "space": {
135
- "sys": {
136
- "type": "Link",
137
- "linkType": "Space",
138
- "id": "jd7yc4wnatx3"
139
- }
140
- },
141
- "id": "parent",
142
- "type": "ContentType",
143
- "createdAt": "2018-11-08T03:09:07.946Z",
144
- "updatedAt": "2018-11-08T03:09:07.946Z",
145
- "environment": {
146
- "sys": {
147
- "id": "master",
148
- "type": "Link",
149
- "linkType": "Environment"
150
- }
151
- },
152
- "revision": 1
153
- },
154
- "displayField": "name",
155
- "name": "Parent",
156
- "description": "",
157
- "fields": [
158
- {
159
- "id": "name",
160
- "name": "Name",
161
- "type": "Symbol",
162
- "localized": false,
163
- "required": false,
164
- "disabled": false,
165
- "omitted": false
166
- },
167
- {
168
- "id": "richTextChild",
169
- "name": "RichTextChild",
170
- "type": "Link",
171
- "localized": false,
172
- "required": false,
173
- "disabled": false,
174
- "omitted": false,
175
- "linkType": "Entry"
176
- }
177
- ]
178
- },
179
- {
180
- "sys": {
181
- "space": {
182
- "sys": {
183
- "type": "Link",
184
- "linkType": "Space",
185
- "id": "jd7yc4wnatx3"
186
- }
187
- },
188
- "id": "embedded",
189
- "type": "ContentType",
190
- "createdAt": "2018-08-22T10:44:07.886Z",
191
- "updatedAt": "2018-08-22T10:44:07.886Z",
192
- "environment": {
193
- "sys": {
194
- "id": "master",
195
- "type": "Link",
196
- "linkType": "Environment"
197
- }
198
- },
199
- "revision": 1
200
- },
201
- "displayField": "body",
202
- "name": "Embedded",
203
- "description": "",
204
- "fields": [
205
- {
206
- "id": "body",
207
- "name": "Body",
208
- "type": "Symbol",
209
- "localized": false,
210
- "required": false,
211
- "disabled": false,
212
- "omitted": false
213
- }
214
- ]
215
- },
216
- {
217
- "sys": {
218
- "space": {
219
- "sys": {
220
- "type": "Link",
221
- "linkType": "Space",
222
- "id": "jd7yc4wnatx3"
223
- }
224
- },
225
- "id": "markdownContentType",
226
- "type": "ContentType",
227
- "createdAt": "2018-10-25T14:00:13.975Z",
228
- "updatedAt": "2018-10-25T14:00:13.975Z",
229
- "environment": {
230
- "sys": {
231
- "id": "master",
232
- "type": "Link",
233
- "linkType": "Environment"
234
- }
235
- },
236
- "revision": 1
237
- },
238
- "displayField": "name",
239
- "name": "MarkdownContentType",
240
- "description": "",
241
- "fields": [
242
- {
243
- "id": "name",
244
- "name": "name",
245
- "type": "Symbol",
246
- "localized": false,
247
- "required": false,
248
- "disabled": false,
249
- "omitted": false
250
- },
251
- {
252
- "id": "markdownBody",
253
- "name": "markdown body",
254
- "type": "Text",
255
- "localized": false,
256
- "required": false,
257
- "disabled": false,
258
- "omitted": false
259
- }
260
- ]
261
- }
262
- ]
263
- }
264
- http_version:
265
- recorded_at: Thu, 08 Nov 2018 03:12:27 GMT
266
- - request:
267
- method: get
268
- uri: https://cdn.contentful.com/spaces/jd7yc4wnatx3/environments/master/entries?sys.id=4fvSwl5Ob6UEWKg6MQicuC
269
- body:
270
- encoding: UTF-8
271
- string: ''
272
- headers:
273
- X-Contentful-User-Agent:
274
- - sdk contentful.rb/2.10.1; platform ruby/2.4.1; os macOS/16;
275
- Authorization:
276
- - Bearer 6256b8ef7d66805ca41f2728271daf27e8fa6055873b802a813941a0fe696248
277
- Content-Type:
278
- - application/vnd.contentful.delivery.v1+json
279
- Connection:
280
- - close
281
- Host:
282
- - cdn.contentful.com
283
- User-Agent:
284
- - http.rb/3.3.0
285
- response:
286
- status:
287
- code: 200
288
- message: OK
289
- headers:
290
- Access-Control-Allow-Headers:
291
- - Accept,Accept-Language,Authorization,Cache-Control,Content-Length,Content-Range,Content-Type,DNT,Destination,Expires,If-Match,If-Modified-Since,If-None-Match,Keep-Alive,Last-Modified,Origin,Pragma,Range,User-Agent,X-Http-Method-Override,X-Mx-ReqToken,X-Requested-With,X-Contentful-Version,X-Contentful-Content-Type,X-Contentful-Organization,X-Contentful-Skip-Transformation,X-Contentful-User-Agent,X-Contentful-Enable-Alpha-Feature
292
- Access-Control-Allow-Methods:
293
- - GET,HEAD,OPTIONS
294
- Access-Control-Allow-Origin:
295
- - "*"
296
- Access-Control-Expose-Headers:
297
- - Etag
298
- Access-Control-Max-Age:
299
- - '86400'
300
- Cache-Control:
301
- - max-age=0
302
- Content-Type:
303
- - application/vnd.contentful.delivery.v1+json
304
- Contentful-Api:
305
- - cda_cached
306
- Etag:
307
- - W/"8e50c2400821b697d2f8b1d30b181239"
308
- Server:
309
- - Contentful
310
- X-Content-Type-Options:
311
- - nosniff
312
- X-Contentful-Region:
313
- - us-east-1
314
- X-Contentful-Request-Id:
315
- - 6ae052bff036ce6852d642b57bfc69f3
316
- Content-Length:
317
- - '18769'
318
- Accept-Ranges:
319
- - bytes
320
- Date:
321
- - Thu, 08 Nov 2018 03:12:27 GMT
322
- Via:
323
- - 1.1 varnish
324
- Age:
325
- - '0'
326
- Connection:
327
- - close
328
- X-Served-By:
329
- - cache-sin18030-SIN
330
- X-Cache:
331
- - MISS
332
- X-Cache-Hits:
333
- - '0'
334
- X-Timer:
335
- - S1541646746.449270,VS0,VE792
336
- Vary:
337
- - Accept-Encoding
338
- body:
339
- encoding: ASCII-8BIT
340
- string: |
341
- {
342
- "sys": {
343
- "type": "Array"
344
- },
345
- "total": 1,
346
- "skip": 0,
347
- "limit": 100,
348
- "items": [
349
- {
350
- "sys": {
351
- "space": {
352
- "sys": {
353
- "type": "Link",
354
- "linkType": "Space",
355
- "id": "jd7yc4wnatx3"
356
- }
357
- },
358
- "id": "4fvSwl5Ob6UEWKg6MQicuC",
359
- "type": "Entry",
360
- "createdAt": "2018-11-08T03:09:27.268Z",
361
- "updatedAt": "2018-11-08T03:09:27.268Z",
362
- "environment": {
363
- "sys": {
364
- "id": "master",
365
- "type": "Link",
366
- "linkType": "Environment"
367
- }
368
- },
369
- "revision": 1,
370
- "contentType": {
371
- "sys": {
372
- "type": "Link",
373
- "linkType": "ContentType",
374
- "id": "parent"
375
- }
376
- },
377
- "locale": "en-US"
378
- },
379
- "fields": {
380
- "name": "Parent",
381
- "richTextChild": {
382
- "sys": {
383
- "type": "Link",
384
- "linkType": "Entry",
385
- "id": "3pIlhtl7kkA0CyqIS2mq0M"
386
- }
387
- }
388
- }
389
- }
390
- ],
391
- "includes": {
392
- "Entry": [
393
- {
394
- "sys": {
395
- "space": {
396
- "sys": {
397
- "type": "Link",
398
- "linkType": "Space",
399
- "id": "jd7yc4wnatx3"
400
- }
401
- },
402
- "id": "3pIlhtl7kkA0CyqIS2mq0M",
403
- "type": "Entry",
404
- "createdAt": "2018-10-23T13:03:26.119Z",
405
- "updatedAt": "2018-10-23T14:39:43.470Z",
406
- "environment": {
407
- "sys": {
408
- "id": "master",
409
- "type": "Link",
410
- "linkType": "Environment"
411
- }
412
- },
413
- "revision": 2,
414
- "contentType": {
415
- "sys": {
416
- "type": "Link",
417
- "linkType": "ContentType",
418
- "id": "stTest"
419
- }
420
- },
421
- "locale": "en-US"
422
- },
423
- "fields": {
424
- "name": "All Features - v2",
425
- "body": {
426
- "data": {},
427
- "content": [
428
- {
429
- "data": {},
430
- "content": [
431
- {
432
- "data": {},
433
- "marks": [],
434
- "value": "Heading 1",
435
- "nodeType": "text"
436
- }
437
- ],
438
- "nodeType": "heading-1"
439
- },
440
- {
441
- "data": {},
442
- "content": [
443
- {
444
- "data": {},
445
- "marks": [],
446
- "value": "Heading 2",
447
- "nodeType": "text"
448
- }
449
- ],
450
- "nodeType": "heading-2"
451
- },
452
- {
453
- "data": {},
454
- "content": [
455
- {
456
- "data": {},
457
- "marks": [],
458
- "value": "Heading 3",
459
- "nodeType": "text"
460
- }
461
- ],
462
- "nodeType": "heading-3"
463
- },
464
- {
465
- "data": {},
466
- "content": [
467
- {
468
- "data": {},
469
- "marks": [],
470
- "value": "Heading 4",
471
- "nodeType": "text"
472
- }
473
- ],
474
- "nodeType": "heading-4"
475
- },
476
- {
477
- "data": {},
478
- "content": [
479
- {
480
- "data": {},
481
- "marks": [],
482
- "value": "Heading 5",
483
- "nodeType": "text"
484
- }
485
- ],
486
- "nodeType": "heading-5"
487
- },
488
- {
489
- "data": {},
490
- "content": [
491
- {
492
- "data": {},
493
- "marks": [],
494
- "value": "Heading 6",
495
- "nodeType": "text"
496
- }
497
- ],
498
- "nodeType": "heading-6"
499
- },
500
- {
501
- "data": {},
502
- "content": [
503
- {
504
- "data": {},
505
- "marks": [],
506
- "value": "Normal Text",
507
- "nodeType": "text"
508
- }
509
- ],
510
- "nodeType": "paragraph"
511
- },
512
- {
513
- "data": {},
514
- "content": [
515
- {
516
- "data": {},
517
- "marks": [
518
- {
519
- "type": "bold"
520
- }
521
- ],
522
- "value": "Bold Text",
523
- "nodeType": "text"
524
- }
525
- ],
526
- "nodeType": "paragraph"
527
- },
528
- {
529
- "data": {},
530
- "content": [
531
- {
532
- "data": {},
533
- "marks": [
534
- {
535
- "type": "italic"
536
- }
537
- ],
538
- "value": "Italic Text",
539
- "nodeType": "text"
540
- }
541
- ],
542
- "nodeType": "paragraph"
543
- },
544
- {
545
- "data": {},
546
- "content": [
547
- {
548
- "data": {},
549
- "marks": [
550
- {
551
- "type": "underline"
552
- }
553
- ],
554
- "value": "Underline Text",
555
- "nodeType": "text"
556
- }
557
- ],
558
- "nodeType": "paragraph"
559
- },
560
- {
561
- "data": {},
562
- "content": [
563
- {
564
- "data": {},
565
- "marks": [
566
- {
567
- "type": "code"
568
- }
569
- ],
570
- "value": "Code Text",
571
- "nodeType": "text"
572
- }
573
- ],
574
- "nodeType": "paragraph"
575
- },
576
- {
577
- "data": {},
578
- "content": [
579
- {
580
- "data": {},
581
- "marks": [
582
- {
583
- "type": "bold"
584
- },
585
- {
586
- "type": "italic"
587
- }
588
- ],
589
- "value": "Combined Marks",
590
- "nodeType": "text"
591
- }
592
- ],
593
- "nodeType": "paragraph"
594
- },
595
- {
596
- "data": {},
597
- "content": [
598
- {
599
- "data": {},
600
- "content": [
601
- {
602
- "data": {},
603
- "marks": [],
604
- "value": "A quote",
605
- "nodeType": "text"
606
- }
607
- ],
608
- "nodeType": "paragraph"
609
- }
610
- ],
611
- "nodeType": "blockquote"
612
- },
613
- {
614
- "data": {},
615
- "content": [
616
- {
617
- "data": {},
618
- "marks": [],
619
- "value": "",
620
- "nodeType": "text"
621
- },
622
- {
623
- "data": {
624
- "uri": "https://example.com"
625
- },
626
- "content": [
627
- {
628
- "data": {},
629
- "marks": [],
630
- "value": "A Hyperlink",
631
- "nodeType": "text"
632
- }
633
- ],
634
- "nodeType": "hyperlink"
635
- },
636
- {
637
- "data": {},
638
- "marks": [],
639
- "value": "",
640
- "nodeType": "text"
641
- }
642
- ],
643
- "nodeType": "paragraph"
644
- },
645
- {
646
- "data": {},
647
- "content": [
648
- {
649
- "data": {},
650
- "marks": [],
651
- "value": "",
652
- "nodeType": "text"
653
- },
654
- {
655
- "data": {
656
- "target": {
657
- "sys": {
658
- "id": "49rofLvvxCOiIMIi6mk8ai",
659
- "type": "Link",
660
- "linkType": "Entry"
661
- }
662
- }
663
- },
664
- "content": [
665
- {
666
- "data": {},
667
- "marks": [],
668
- "value": "Entry Hyperlink",
669
- "nodeType": "text"
670
- }
671
- ],
672
- "nodeType": "entry-hyperlink"
673
- },
674
- {
675
- "data": {},
676
- "marks": [],
677
- "value": "",
678
- "nodeType": "text"
679
- }
680
- ],
681
- "nodeType": "paragraph"
682
- },
683
- {
684
- "data": {},
685
- "content": [
686
- {
687
- "data": {},
688
- "marks": [],
689
- "value": "",
690
- "nodeType": "text"
691
- },
692
- {
693
- "data": {
694
- "target": {
695
- "sys": {
696
- "id": "4j1JCmvF6MqQymaMqi6OSu",
697
- "type": "Link",
698
- "linkType": "Asset"
699
- }
700
- }
701
- },
702
- "content": [
703
- {
704
- "data": {},
705
- "marks": [],
706
- "value": "Asset Hyp",
707
- "nodeType": "text"
708
- },
709
- {
710
- "data": {},
711
- "marks": [
712
- {
713
- "type": "italic"
714
- }
715
- ],
716
- "value": "erlink",
717
- "nodeType": "text"
718
- }
719
- ],
720
- "nodeType": "asset-hyperlink"
721
- },
722
- {
723
- "data": {},
724
- "marks": [],
725
- "value": "",
726
- "nodeType": "text"
727
- }
728
- ],
729
- "nodeType": "paragraph"
730
- },
731
- {
732
- "data": {},
733
- "content": [
734
- {
735
- "data": {},
736
- "content": [
737
- {
738
- "data": {},
739
- "content": [
740
- {
741
- "data": {},
742
- "marks": [],
743
- "value": "Unordered List",
744
- "nodeType": "text"
745
- }
746
- ],
747
- "nodeType": "paragraph"
748
- }
749
- ],
750
- "nodeType": "list-item"
751
- },
752
- {
753
- "data": {},
754
- "content": [
755
- {
756
- "data": {},
757
- "content": [
758
- {
759
- "data": {},
760
- "marks": [],
761
- "value": "With Multiple Items",
762
- "nodeType": "text"
763
- }
764
- ],
765
- "nodeType": "paragraph"
766
- },
767
- {
768
- "data": {},
769
- "content": [
770
- {
771
- "data": {},
772
- "content": [
773
- {
774
- "data": {},
775
- "content": [
776
- {
777
- "data": {},
778
- "marks": [],
779
- "value": "With Nested Values",
780
- "nodeType": "text"
781
- }
782
- ],
783
- "nodeType": "paragraph"
784
- },
785
- {
786
- "data": {},
787
- "content": [
788
- {
789
- "data": {},
790
- "content": [
791
- {
792
- "data": {},
793
- "content": [
794
- {
795
- "data": {},
796
- "marks": [],
797
- "value": "With Nested Ordered",
798
- "nodeType": "text"
799
- }
800
- ],
801
- "nodeType": "paragraph"
802
- }
803
- ],
804
- "nodeType": "list-item"
805
- }
806
- ],
807
- "nodeType": "ordered-list"
808
- }
809
- ],
810
- "nodeType": "list-item"
811
- }
812
- ],
813
- "nodeType": "unordered-list"
814
- }
815
- ],
816
- "nodeType": "list-item"
817
- }
818
- ],
819
- "nodeType": "unordered-list"
820
- },
821
- {
822
- "data": {},
823
- "content": [],
824
- "nodeType": "hr"
825
- },
826
- {
827
- "data": {
828
- "target": {
829
- "sys": {
830
- "id": "4j1JCmvF6MqQymaMqi6OSu",
831
- "type": "Link",
832
- "linkType": "Asset"
833
- }
834
- }
835
- },
836
- "content": [],
837
- "nodeType": "embedded-asset-block"
838
- },
839
- {
840
- "data": {
841
- "target": {
842
- "sys": {
843
- "id": "5ZF9Q4K6iWSYIU2OUs0UaQ",
844
- "type": "Link",
845
- "linkType": "Entry"
846
- }
847
- }
848
- },
849
- "content": [],
850
- "nodeType": "embedded-entry-block"
851
- },
852
- {
853
- "data": {},
854
- "content": [
855
- {
856
- "data": {},
857
- "marks": [],
858
- "value": "An Inline Embed ",
859
- "nodeType": "text"
860
- },
861
- {
862
- "data": {
863
- "target": {
864
- "sys": {
865
- "id": "5ZF9Q4K6iWSYIU2OUs0UaQ",
866
- "type": "Link",
867
- "linkType": "Entry"
868
- }
869
- }
870
- },
871
- "content": [],
872
- "nodeType": "embedded-entry-inline"
873
- },
874
- {
875
- "data": {},
876
- "marks": [],
877
- "value": "",
878
- "nodeType": "text"
879
- }
880
- ],
881
- "nodeType": "paragraph"
882
- },
883
- {
884
- "data": {},
885
- "content": [
886
- {
887
- "data": {},
888
- "marks": [],
889
- "value": "",
890
- "nodeType": "text"
891
- }
892
- ],
893
- "nodeType": "paragraph"
894
- },
895
- {
896
- "data": {},
897
- "content": [
898
- {
899
- "data": {},
900
- "marks": [],
901
- "value": "Unpublished embed",
902
- "nodeType": "text"
903
- }
904
- ],
905
- "nodeType": "paragraph"
906
- },
907
- {
908
- "data": {
909
- "target": {
910
- "sys": {
911
- "id": "q2hGXkd5tICym64AcgeKK",
912
- "type": "Link",
913
- "linkType": "Entry"
914
- }
915
- }
916
- },
917
- "content": [],
918
- "nodeType": "embedded-entry-block"
919
- },
920
- {
921
- "data": {},
922
- "content": [
923
- {
924
- "data": {},
925
- "marks": [],
926
- "value": "",
927
- "nodeType": "text"
928
- }
929
- ],
930
- "nodeType": "paragraph"
931
- }
932
- ],
933
- "nodeType": "document"
934
- }
935
- }
936
- }
937
- ],
938
- "Asset": [
939
- {
940
- "sys": {
941
- "space": {
942
- "sys": {
943
- "type": "Link",
944
- "linkType": "Space",
945
- "id": "jd7yc4wnatx3"
946
- }
947
- },
948
- "id": "4j1JCmvF6MqQymaMqi6OSu",
949
- "type": "Asset",
950
- "createdAt": "2018-10-23T12:54:57.548Z",
951
- "updatedAt": "2018-10-23T12:54:57.548Z",
952
- "environment": {
953
- "sys": {
954
- "id": "master",
955
- "type": "Link",
956
- "linkType": "Environment"
957
- }
958
- },
959
- "revision": 1,
960
- "locale": "en-US"
961
- },
962
- "fields": {
963
- "title": "cat",
964
- "file": {
965
- "url": "//images.ctfassets.net/jd7yc4wnatx3/4j1JCmvF6MqQymaMqi6OSu/d0013ff28dd2db0371315ea7e63a6e0b/cat.jpg",
966
- "details": {
967
- "size": 75713,
968
- "image": {
969
- "width": 640,
970
- "height": 423
971
- }
972
- },
973
- "fileName": "cat",
974
- "contentType": "image/jpeg"
975
- }
976
- }
977
- }
978
- ]
979
- }
980
- }
981
- http_version:
982
- recorded_at: Thu, 08 Nov 2018 03:12:29 GMT
983
- recorded_with: VCR 4.0.0