contentful 2.9.4 → 2.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,653 @@
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: US-ASCII
8
+ string: ''
9
+ headers:
10
+ X-Contentful-User-Agent:
11
+ - sdk contentful.rb/2.9.4; platform ruby/2.5.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/2.2.2
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/"0ecb92174772cc7a40d4a981e109aaab"
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
+ - ecb2c84c8bdbaa892430f580b6d322ff
53
+ Content-Length:
54
+ - '2018'
55
+ Accept-Ranges:
56
+ - bytes
57
+ Date:
58
+ - Mon, 15 Oct 2018 11:15:04 GMT
59
+ Via:
60
+ - 1.1 varnish
61
+ Age:
62
+ - '1'
63
+ Connection:
64
+ - close
65
+ X-Served-By:
66
+ - cache-ams4430-AMS
67
+ X-Cache:
68
+ - HIT
69
+ X-Cache-Hits:
70
+ - '1'
71
+ X-Timer:
72
+ - S1539602105.504195,VS0,VE0
73
+ Vary:
74
+ - Accept-Encoding
75
+ body:
76
+ encoding: ASCII-8BIT
77
+ string: |
78
+ {
79
+ "sys": {
80
+ "type": "Array"
81
+ },
82
+ "total": 2,
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": "embedded",
96
+ "type": "ContentType",
97
+ "createdAt": "2018-08-22T10:44:07.886Z",
98
+ "updatedAt": "2018-08-22T10:44:07.886Z",
99
+ "environment": {
100
+ "sys": {
101
+ "id": "master",
102
+ "type": "Link",
103
+ "linkType": "Environment"
104
+ }
105
+ },
106
+ "revision": 1
107
+ },
108
+ "displayField": "body",
109
+ "name": "Embedded",
110
+ "description": "",
111
+ "fields": [
112
+ {
113
+ "id": "body",
114
+ "name": "Body",
115
+ "type": "Symbol",
116
+ "localized": false,
117
+ "required": false,
118
+ "disabled": false,
119
+ "omitted": false
120
+ }
121
+ ]
122
+ },
123
+ {
124
+ "sys": {
125
+ "space": {
126
+ "sys": {
127
+ "type": "Link",
128
+ "linkType": "Space",
129
+ "id": "jd7yc4wnatx3"
130
+ }
131
+ },
132
+ "id": "stTest",
133
+ "type": "ContentType",
134
+ "createdAt": "2018-08-22T10:43:50.802Z",
135
+ "updatedAt": "2018-08-22T10:43:50.802Z",
136
+ "environment": {
137
+ "sys": {
138
+ "id": "master",
139
+ "type": "Link",
140
+ "linkType": "Environment"
141
+ }
142
+ },
143
+ "revision": 1
144
+ },
145
+ "displayField": "name",
146
+ "name": "StTest",
147
+ "description": "",
148
+ "fields": [
149
+ {
150
+ "id": "name",
151
+ "name": "Name",
152
+ "type": "Symbol",
153
+ "localized": false,
154
+ "required": false,
155
+ "disabled": false,
156
+ "omitted": false
157
+ },
158
+ {
159
+ "id": "body",
160
+ "name": "Body",
161
+ "type": "RichText",
162
+ "localized": false,
163
+ "required": false,
164
+ "disabled": false,
165
+ "omitted": false
166
+ }
167
+ ]
168
+ }
169
+ ]
170
+ }
171
+ http_version:
172
+ recorded_at: Mon, 15 Oct 2018 11:15:04 GMT
173
+ - request:
174
+ method: get
175
+ uri: https://cdn.contentful.com/spaces/jd7yc4wnatx3/environments/master/entries?sys.id=6NGLswCREsGA28kGouScyY
176
+ body:
177
+ encoding: US-ASCII
178
+ string: ''
179
+ headers:
180
+ X-Contentful-User-Agent:
181
+ - sdk contentful.rb/2.9.4; platform ruby/2.5.1; os macOS/16;
182
+ Authorization:
183
+ - Bearer 6256b8ef7d66805ca41f2728271daf27e8fa6055873b802a813941a0fe696248
184
+ Content-Type:
185
+ - application/vnd.contentful.delivery.v1+json
186
+ Connection:
187
+ - close
188
+ Host:
189
+ - cdn.contentful.com
190
+ User-Agent:
191
+ - http.rb/2.2.2
192
+ response:
193
+ status:
194
+ code: 200
195
+ message: OK
196
+ headers:
197
+ Access-Control-Allow-Headers:
198
+ - 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
199
+ Access-Control-Allow-Methods:
200
+ - GET,HEAD,OPTIONS
201
+ Access-Control-Allow-Origin:
202
+ - "*"
203
+ Access-Control-Expose-Headers:
204
+ - Etag
205
+ Access-Control-Max-Age:
206
+ - '86400'
207
+ Cache-Control:
208
+ - max-age=0
209
+ Content-Type:
210
+ - application/vnd.contentful.delivery.v1+json
211
+ Contentful-Api:
212
+ - cda_cached
213
+ Etag:
214
+ - W/"ad6896d8b4604d1307178a506ce1b102"
215
+ Server:
216
+ - Contentful
217
+ X-Content-Type-Options:
218
+ - nosniff
219
+ X-Contentful-Region:
220
+ - us-east-1
221
+ X-Contentful-Request-Id:
222
+ - 11cf690b6ba279d7e5f5c640982b3f4d
223
+ Content-Length:
224
+ - '11591'
225
+ Accept-Ranges:
226
+ - bytes
227
+ Date:
228
+ - Mon, 15 Oct 2018 11:15:04 GMT
229
+ Via:
230
+ - 1.1 varnish
231
+ Age:
232
+ - '0'
233
+ Connection:
234
+ - close
235
+ X-Served-By:
236
+ - cache-ams4436-AMS
237
+ X-Cache:
238
+ - MISS
239
+ X-Cache-Hits:
240
+ - '0'
241
+ X-Timer:
242
+ - S1539602105.596816,VS0,VE198
243
+ Vary:
244
+ - Accept-Encoding
245
+ body:
246
+ encoding: ASCII-8BIT
247
+ string: |
248
+ {
249
+ "sys": {
250
+ "type": "Array"
251
+ },
252
+ "total": 1,
253
+ "skip": 0,
254
+ "limit": 100,
255
+ "items": [
256
+ {
257
+ "sys": {
258
+ "space": {
259
+ "sys": {
260
+ "type": "Link",
261
+ "linkType": "Space",
262
+ "id": "jd7yc4wnatx3"
263
+ }
264
+ },
265
+ "id": "6NGLswCREsGA28kGouScyY",
266
+ "type": "Entry",
267
+ "createdAt": "2018-09-11T09:40:41.531Z",
268
+ "updatedAt": "2018-09-12T10:04:16.991Z",
269
+ "environment": {
270
+ "sys": {
271
+ "id": "master",
272
+ "type": "Link",
273
+ "linkType": "Environment"
274
+ }
275
+ },
276
+ "revision": 2,
277
+ "contentType": {
278
+ "sys": {
279
+ "type": "Link",
280
+ "linkType": "ContentType",
281
+ "id": "stTest"
282
+ }
283
+ },
284
+ "locale": "en-US"
285
+ },
286
+ "fields": {
287
+ "name": "Test Inline Stuff and Links",
288
+ "body": {
289
+ "content": [
290
+ {
291
+ "data": {},
292
+ "content": [
293
+ {
294
+ "marks": [],
295
+ "value": "A link to ",
296
+ "nodeType": "text",
297
+ "nodeClass": "text"
298
+ },
299
+ {
300
+ "data": {
301
+ "uri": "https://google.com"
302
+ },
303
+ "content": [
304
+ {
305
+ "marks": [],
306
+ "value": "google",
307
+ "nodeType": "text",
308
+ "nodeClass": "text"
309
+ }
310
+ ],
311
+ "nodeType": "hyperlink",
312
+ "nodeClass": "inline"
313
+ },
314
+ {
315
+ "marks": [],
316
+ "value": "",
317
+ "nodeType": "text",
318
+ "nodeClass": "text"
319
+ }
320
+ ],
321
+ "nodeType": "paragraph",
322
+ "nodeClass": "block"
323
+ },
324
+ {
325
+ "data": {},
326
+ "content": [
327
+ {
328
+ "data": {},
329
+ "content": [
330
+ {
331
+ "marks": [],
332
+ "value": "Some quoted text",
333
+ "nodeType": "text",
334
+ "nodeClass": "text"
335
+ }
336
+ ],
337
+ "nodeType": "paragraph",
338
+ "nodeClass": "block"
339
+ }
340
+ ],
341
+ "nodeType": "blockquote",
342
+ "nodeClass": "block"
343
+ },
344
+ {
345
+ "data": {},
346
+ "content": [
347
+ {
348
+ "marks": [],
349
+ "value": "",
350
+ "nodeType": "text",
351
+ "nodeClass": "text"
352
+ }
353
+ ],
354
+ "nodeType": "hr",
355
+ "nodeClass": "block"
356
+ },
357
+ {
358
+ "data": {},
359
+ "content": [
360
+ {
361
+ "data": {},
362
+ "content": [
363
+ {
364
+ "data": {},
365
+ "content": [
366
+ {
367
+ "marks": [],
368
+ "value": "unordered item",
369
+ "nodeType": "text",
370
+ "nodeClass": "text"
371
+ }
372
+ ],
373
+ "nodeType": "paragraph",
374
+ "nodeClass": "block"
375
+ }
376
+ ],
377
+ "nodeType": "list-item",
378
+ "nodeClass": "block"
379
+ },
380
+ {
381
+ "data": {},
382
+ "content": [
383
+ {
384
+ "data": {},
385
+ "content": [
386
+ {
387
+ "marks": [],
388
+ "value": "another unordered item",
389
+ "nodeType": "text",
390
+ "nodeClass": "text"
391
+ }
392
+ ],
393
+ "nodeType": "paragraph",
394
+ "nodeClass": "block"
395
+ }
396
+ ],
397
+ "nodeType": "list-item",
398
+ "nodeClass": "block"
399
+ },
400
+ {
401
+ "data": {},
402
+ "content": [
403
+ {
404
+ "data": {
405
+ "target": {
406
+ "sys": {
407
+ "id": "49rofLvvxCOiIMIi6mk8ai",
408
+ "type": "Link",
409
+ "linkType": "Entry"
410
+ }
411
+ }
412
+ },
413
+ "content": [
414
+ {
415
+ "marks": [],
416
+ "value": "",
417
+ "nodeType": "text",
418
+ "nodeClass": "text"
419
+ }
420
+ ],
421
+ "nodeType": "embedded-entry-block",
422
+ "nodeClass": "block"
423
+ },
424
+ {
425
+ "data": {},
426
+ "content": [
427
+ {
428
+ "marks": [],
429
+ "value": "",
430
+ "nodeType": "text",
431
+ "nodeClass": "text"
432
+ }
433
+ ],
434
+ "nodeType": "paragraph",
435
+ "nodeClass": "block"
436
+ }
437
+ ],
438
+ "nodeType": "list-item",
439
+ "nodeClass": "block"
440
+ }
441
+ ],
442
+ "nodeType": "unordered-list",
443
+ "nodeClass": "block"
444
+ },
445
+ {
446
+ "data": {},
447
+ "content": [
448
+ {
449
+ "data": {},
450
+ "content": [
451
+ {
452
+ "data": {},
453
+ "content": [
454
+ {
455
+ "marks": [],
456
+ "value": "first item",
457
+ "nodeType": "text",
458
+ "nodeClass": "text"
459
+ }
460
+ ],
461
+ "nodeType": "paragraph",
462
+ "nodeClass": "block"
463
+ }
464
+ ],
465
+ "nodeType": "list-item",
466
+ "nodeClass": "block"
467
+ },
468
+ {
469
+ "data": {},
470
+ "content": [
471
+ {
472
+ "data": {},
473
+ "content": [
474
+ {
475
+ "marks": [],
476
+ "value": "second item",
477
+ "nodeType": "text",
478
+ "nodeClass": "text"
479
+ }
480
+ ],
481
+ "nodeType": "paragraph",
482
+ "nodeClass": "block"
483
+ }
484
+ ],
485
+ "nodeType": "list-item",
486
+ "nodeClass": "block"
487
+ },
488
+ {
489
+ "data": {},
490
+ "content": [
491
+ {
492
+ "data": {
493
+ "target": {
494
+ "sys": {
495
+ "id": "5ZF9Q4K6iWSYIU2OUs0UaQ",
496
+ "type": "Link",
497
+ "linkType": "Entry"
498
+ }
499
+ }
500
+ },
501
+ "content": [
502
+ {
503
+ "marks": [],
504
+ "value": "",
505
+ "nodeType": "text",
506
+ "nodeClass": "text"
507
+ }
508
+ ],
509
+ "nodeType": "embedded-entry-block",
510
+ "nodeClass": "block"
511
+ },
512
+ {
513
+ "data": {},
514
+ "content": [
515
+ {
516
+ "marks": [],
517
+ "value": "",
518
+ "nodeType": "text",
519
+ "nodeClass": "text"
520
+ }
521
+ ],
522
+ "nodeType": "paragraph",
523
+ "nodeClass": "block"
524
+ }
525
+ ],
526
+ "nodeType": "list-item",
527
+ "nodeClass": "block"
528
+ }
529
+ ],
530
+ "nodeType": "ordered-list",
531
+ "nodeClass": "block"
532
+ },
533
+ {
534
+ "data": {},
535
+ "content": [
536
+ {
537
+ "marks": [],
538
+ "value": "",
539
+ "nodeType": "text",
540
+ "nodeClass": "text"
541
+ }
542
+ ],
543
+ "nodeType": "hr",
544
+ "nodeClass": "block"
545
+ },
546
+ {
547
+ "data": {},
548
+ "content": [
549
+ {
550
+ "marks": [],
551
+ "value": "Some ",
552
+ "nodeType": "text",
553
+ "nodeClass": "text"
554
+ },
555
+ {
556
+ "marks": [
557
+ {
558
+ "data": {},
559
+ "type": "code",
560
+ "object": "mark"
561
+ }
562
+ ],
563
+ "value": "inline code",
564
+ "nodeType": "text",
565
+ "nodeClass": "text"
566
+ }
567
+ ],
568
+ "nodeType": "paragraph",
569
+ "nodeClass": "block"
570
+ }
571
+ ],
572
+ "nodeType": "document",
573
+ "nodeClass": "document"
574
+ }
575
+ }
576
+ }
577
+ ],
578
+ "includes": {
579
+ "Entry": [
580
+ {
581
+ "sys": {
582
+ "space": {
583
+ "sys": {
584
+ "type": "Link",
585
+ "linkType": "Space",
586
+ "id": "jd7yc4wnatx3"
587
+ }
588
+ },
589
+ "id": "49rofLvvxCOiIMIi6mk8ai",
590
+ "type": "Entry",
591
+ "createdAt": "2018-08-22T10:45:20.685Z",
592
+ "updatedAt": "2018-08-22T10:45:20.686Z",
593
+ "environment": {
594
+ "sys": {
595
+ "id": "master",
596
+ "type": "Link",
597
+ "linkType": "Environment"
598
+ }
599
+ },
600
+ "revision": 1,
601
+ "contentType": {
602
+ "sys": {
603
+ "type": "Link",
604
+ "linkType": "ContentType",
605
+ "id": "embedded"
606
+ }
607
+ },
608
+ "locale": "en-US"
609
+ },
610
+ "fields": {
611
+ "body": "Embedded 1"
612
+ }
613
+ },
614
+ {
615
+ "sys": {
616
+ "space": {
617
+ "sys": {
618
+ "type": "Link",
619
+ "linkType": "Space",
620
+ "id": "jd7yc4wnatx3"
621
+ }
622
+ },
623
+ "id": "5ZF9Q4K6iWSYIU2OUs0UaQ",
624
+ "type": "Entry",
625
+ "createdAt": "2018-08-22T10:45:29.715Z",
626
+ "updatedAt": "2018-08-22T10:45:29.715Z",
627
+ "environment": {
628
+ "sys": {
629
+ "id": "master",
630
+ "type": "Link",
631
+ "linkType": "Environment"
632
+ }
633
+ },
634
+ "revision": 1,
635
+ "contentType": {
636
+ "sys": {
637
+ "type": "Link",
638
+ "linkType": "ContentType",
639
+ "id": "embedded"
640
+ }
641
+ },
642
+ "locale": "en-US"
643
+ },
644
+ "fields": {
645
+ "body": "Embedded 2"
646
+ }
647
+ }
648
+ ]
649
+ }
650
+ }
651
+ http_version:
652
+ recorded_at: Mon, 15 Oct 2018 11:15:04 GMT
653
+ recorded_with: VCR 4.0.0