contentful-management 0.7.3 → 0.8.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,589 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://api.contentful.com/spaces/u2viwgfeal0o/entries/2GmtCwDBcIu4giMgQGIIcq
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ User-Agent:
11
+ - RubyContentfulManagementGem/0.7.3
12
+ Authorization:
13
+ - Bearer <ACCESS_TOKEN>
14
+ Content-Type:
15
+ - application/vnd.contentful.management.v1+json
16
+ Content-Length:
17
+ - '0'
18
+ Connection:
19
+ - close
20
+ Host:
21
+ - api.contentful.com
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
29
+ Access-Control-Allow-Methods:
30
+ - DELETE,GET,HEAD,POST,PUT,OPTIONS
31
+ Access-Control-Allow-Origin:
32
+ - "*"
33
+ Access-Control-Expose-Headers:
34
+ - Etag
35
+ Access-Control-Max-Age:
36
+ - '1728000'
37
+ Cf-Space-Id:
38
+ - u2viwgfeal0o
39
+ Content-Type:
40
+ - application/vnd.contentful.management.v1+json
41
+ Date:
42
+ - Tue, 19 Jan 2016 14:21:27 GMT
43
+ Etag:
44
+ - '"7f4ae3306535909e190f9a86feaaa71f"'
45
+ Server:
46
+ - nginx
47
+ Strict-Transport-Security:
48
+ - max-age=15768000
49
+ X-Content-Type-Options:
50
+ - nosniff
51
+ X-Contentful-Request-Id:
52
+ - content-api:1aftX6miPaSmaYqWGyOsey
53
+ X-Powered-By:
54
+ - Express
55
+ Content-Length:
56
+ - '1111'
57
+ Connection:
58
+ - Close
59
+ body:
60
+ encoding: UTF-8
61
+ string: |
62
+ {
63
+ "sys": {
64
+ "id": "2GmtCwDBcIu4giMgQGIIcq",
65
+ "type": "Entry",
66
+ "createdAt": "2016-01-19T12:56:43.494Z",
67
+ "createdBy": {
68
+ "sys": {
69
+ "type": "Link",
70
+ "linkType": "User",
71
+ "id": "4SejVrWT96dvL9IV4Nb7sQ"
72
+ }
73
+ },
74
+ "space": {
75
+ "sys": {
76
+ "type": "Link",
77
+ "linkType": "Space",
78
+ "id": "u2viwgfeal0o"
79
+ }
80
+ },
81
+ "contentType": {
82
+ "sys": {
83
+ "type": "Link",
84
+ "linkType": "ContentType",
85
+ "id": "someType"
86
+ }
87
+ },
88
+ "firstPublishedAt": "2016-01-19T12:57:11.738Z",
89
+ "publishedCounter": 2,
90
+ "publishedAt": "2016-01-19T12:57:32.178Z",
91
+ "publishedBy": {
92
+ "sys": {
93
+ "type": "Link",
94
+ "linkType": "User",
95
+ "id": "4SejVrWT96dvL9IV4Nb7sQ"
96
+ }
97
+ },
98
+ "publishedVersion": 51,
99
+ "version": 52,
100
+ "updatedAt": "2016-01-19T12:57:32.193Z",
101
+ "updatedBy": {
102
+ "sys": {
103
+ "type": "Link",
104
+ "linkType": "User",
105
+ "id": "4SejVrWT96dvL9IV4Nb7sQ"
106
+ }
107
+ }
108
+ },
109
+ "fields": {
110
+ "name": {
111
+ "en-GB": "Test With Previously Empty Field"
112
+ }
113
+ }
114
+ }
115
+ http_version:
116
+ recorded_at: Tue, 19 Jan 2016 14:21:23 GMT
117
+ - request:
118
+ method: put
119
+ uri: https://api.contentful.com/spaces/u2viwgfeal0o/entries/2GmtCwDBcIu4giMgQGIIcq
120
+ body:
121
+ encoding: UTF-8
122
+ string: '{"fields":{"name":{"en-GB":"Test With Previously Empty Field"},"value":{"en-GB":"goodbye"}}}'
123
+ headers:
124
+ User-Agent:
125
+ - RubyContentfulManagementGem/0.7.3
126
+ Authorization:
127
+ - Bearer <ACCESS_TOKEN>
128
+ Content-Type:
129
+ - application/vnd.contentful.management.v1+json
130
+ X-Contentful-Version:
131
+ - '52'
132
+ Connection:
133
+ - close
134
+ Host:
135
+ - api.contentful.com
136
+ response:
137
+ status:
138
+ code: 200
139
+ message: OK
140
+ headers:
141
+ Access-Control-Allow-Headers:
142
+ - 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
143
+ Access-Control-Allow-Methods:
144
+ - DELETE,GET,HEAD,POST,PUT,OPTIONS
145
+ Access-Control-Allow-Origin:
146
+ - "*"
147
+ Access-Control-Expose-Headers:
148
+ - Etag
149
+ Access-Control-Max-Age:
150
+ - '1728000'
151
+ Cf-Space-Id:
152
+ - u2viwgfeal0o
153
+ Content-Type:
154
+ - application/vnd.contentful.management.v1+json
155
+ Date:
156
+ - Tue, 19 Jan 2016 14:21:28 GMT
157
+ Etag:
158
+ - '"eee7eff1f82b2ed8aeb16807b67955fd"'
159
+ Server:
160
+ - nginx
161
+ Strict-Transport-Security:
162
+ - max-age=15768000
163
+ X-Content-Type-Options:
164
+ - nosniff
165
+ X-Contentful-Request-Id:
166
+ - content-api:Z2MkjSKtwYy0ysoKCAs4G
167
+ X-Powered-By:
168
+ - Express
169
+ Content-Length:
170
+ - '1158'
171
+ Connection:
172
+ - Close
173
+ body:
174
+ encoding: UTF-8
175
+ string: |
176
+ {
177
+ "fields": {
178
+ "name": {
179
+ "en-GB": "Test With Previously Empty Field"
180
+ },
181
+ "value": {
182
+ "en-GB": "goodbye"
183
+ }
184
+ },
185
+ "sys": {
186
+ "id": "2GmtCwDBcIu4giMgQGIIcq",
187
+ "type": "Entry",
188
+ "createdAt": "2016-01-19T12:56:43.494Z",
189
+ "createdBy": {
190
+ "sys": {
191
+ "type": "Link",
192
+ "linkType": "User",
193
+ "id": "4SejVrWT96dvL9IV4Nb7sQ"
194
+ }
195
+ },
196
+ "space": {
197
+ "sys": {
198
+ "type": "Link",
199
+ "linkType": "Space",
200
+ "id": "u2viwgfeal0o"
201
+ }
202
+ },
203
+ "contentType": {
204
+ "sys": {
205
+ "type": "Link",
206
+ "linkType": "ContentType",
207
+ "id": "someType"
208
+ }
209
+ },
210
+ "firstPublishedAt": "2016-01-19T12:57:11.738Z",
211
+ "publishedCounter": 2,
212
+ "publishedAt": "2016-01-19T12:57:32.178Z",
213
+ "publishedBy": {
214
+ "sys": {
215
+ "type": "Link",
216
+ "linkType": "User",
217
+ "id": "4SejVrWT96dvL9IV4Nb7sQ"
218
+ }
219
+ },
220
+ "publishedVersion": 51,
221
+ "version": 53,
222
+ "updatedAt": "2016-01-19T14:21:28.601Z",
223
+ "updatedBy": {
224
+ "sys": {
225
+ "type": "Link",
226
+ "linkType": "User",
227
+ "id": "4SejVrWT96dvL9IV4Nb7sQ"
228
+ }
229
+ }
230
+ }
231
+ }
232
+ http_version:
233
+ recorded_at: Tue, 19 Jan 2016 14:21:24 GMT
234
+ - request:
235
+ method: put
236
+ uri: https://api.contentful.com/spaces/u2viwgfeal0o/entries/2GmtCwDBcIu4giMgQGIIcq/published
237
+ body:
238
+ encoding: US-ASCII
239
+ string: ''
240
+ headers:
241
+ User-Agent:
242
+ - RubyContentfulManagementGem/0.7.3
243
+ Authorization:
244
+ - Bearer <ACCESS_TOKEN>
245
+ Content-Type:
246
+ - application/vnd.contentful.management.v1+json
247
+ X-Contentful-Version:
248
+ - '53'
249
+ Content-Length:
250
+ - '0'
251
+ Connection:
252
+ - close
253
+ Host:
254
+ - api.contentful.com
255
+ response:
256
+ status:
257
+ code: 200
258
+ message: OK
259
+ headers:
260
+ Access-Control-Allow-Headers:
261
+ - 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
262
+ Access-Control-Allow-Methods:
263
+ - DELETE,GET,HEAD,POST,PUT,OPTIONS
264
+ Access-Control-Allow-Origin:
265
+ - "*"
266
+ Access-Control-Expose-Headers:
267
+ - Etag
268
+ Access-Control-Max-Age:
269
+ - '1728000'
270
+ Cf-Space-Id:
271
+ - u2viwgfeal0o
272
+ Content-Type:
273
+ - application/vnd.contentful.management.v1+json
274
+ Date:
275
+ - Tue, 19 Jan 2016 14:21:29 GMT
276
+ Etag:
277
+ - '"0a80372aa42b02e4f6cf3dc73fc50009"'
278
+ Server:
279
+ - nginx
280
+ Strict-Transport-Security:
281
+ - max-age=15768000
282
+ X-Content-Type-Options:
283
+ - nosniff
284
+ X-Contentful-Request-Id:
285
+ - content-api:1DfmiUyCCA2ua04mySmaee
286
+ X-Powered-By:
287
+ - Express
288
+ Content-Length:
289
+ - '1158'
290
+ Connection:
291
+ - Close
292
+ body:
293
+ encoding: UTF-8
294
+ string: |
295
+ {
296
+ "fields": {
297
+ "name": {
298
+ "en-GB": "Test With Previously Empty Field"
299
+ },
300
+ "value": {
301
+ "en-GB": "goodbye"
302
+ }
303
+ },
304
+ "sys": {
305
+ "id": "2GmtCwDBcIu4giMgQGIIcq",
306
+ "type": "Entry",
307
+ "createdAt": "2016-01-19T12:56:43.494Z",
308
+ "createdBy": {
309
+ "sys": {
310
+ "type": "Link",
311
+ "linkType": "User",
312
+ "id": "4SejVrWT96dvL9IV4Nb7sQ"
313
+ }
314
+ },
315
+ "space": {
316
+ "sys": {
317
+ "type": "Link",
318
+ "linkType": "Space",
319
+ "id": "u2viwgfeal0o"
320
+ }
321
+ },
322
+ "contentType": {
323
+ "sys": {
324
+ "type": "Link",
325
+ "linkType": "ContentType",
326
+ "id": "someType"
327
+ }
328
+ },
329
+ "firstPublishedAt": "2016-01-19T12:57:11.738Z",
330
+ "publishedCounter": 3,
331
+ "publishedAt": "2016-01-19T14:21:29.293Z",
332
+ "publishedBy": {
333
+ "sys": {
334
+ "type": "Link",
335
+ "linkType": "User",
336
+ "id": "4SejVrWT96dvL9IV4Nb7sQ"
337
+ }
338
+ },
339
+ "publishedVersion": 53,
340
+ "version": 54,
341
+ "updatedAt": "2016-01-19T14:21:29.293Z",
342
+ "updatedBy": {
343
+ "sys": {
344
+ "type": "Link",
345
+ "linkType": "User",
346
+ "id": "4SejVrWT96dvL9IV4Nb7sQ"
347
+ }
348
+ }
349
+ }
350
+ }
351
+ http_version:
352
+ recorded_at: Tue, 19 Jan 2016 14:21:25 GMT
353
+ - request:
354
+ method: put
355
+ uri: https://api.contentful.com/spaces/u2viwgfeal0o/entries/2GmtCwDBcIu4giMgQGIIcq
356
+ body:
357
+ encoding: UTF-8
358
+ string: '{"fields":{"name":{"en-GB":"Test With Previously Empty Field"},"value":{"en-GB":null}}}'
359
+ headers:
360
+ User-Agent:
361
+ - RubyContentfulManagementGem/0.7.3
362
+ Authorization:
363
+ - Bearer <ACCESS_TOKEN>
364
+ Content-Type:
365
+ - application/vnd.contentful.management.v1+json
366
+ X-Contentful-Version:
367
+ - '54'
368
+ Connection:
369
+ - close
370
+ Host:
371
+ - api.contentful.com
372
+ response:
373
+ status:
374
+ code: 200
375
+ message: OK
376
+ headers:
377
+ Access-Control-Allow-Headers:
378
+ - 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
379
+ Access-Control-Allow-Methods:
380
+ - DELETE,GET,HEAD,POST,PUT,OPTIONS
381
+ Access-Control-Allow-Origin:
382
+ - "*"
383
+ Access-Control-Expose-Headers:
384
+ - Etag
385
+ Access-Control-Max-Age:
386
+ - '1728000'
387
+ Cf-Space-Id:
388
+ - u2viwgfeal0o
389
+ Content-Type:
390
+ - application/vnd.contentful.management.v1+json
391
+ Date:
392
+ - Tue, 19 Jan 2016 14:21:30 GMT
393
+ Etag:
394
+ - '"fd4c00c9b104bab1cdd213510b0beb5b"'
395
+ Server:
396
+ - nginx
397
+ Strict-Transport-Security:
398
+ - max-age=15768000
399
+ X-Content-Type-Options:
400
+ - nosniff
401
+ X-Contentful-Request-Id:
402
+ - content-api:wAmSeA4aD6E6WYSOeySma
403
+ X-Powered-By:
404
+ - Express
405
+ Content-Length:
406
+ - '1153'
407
+ Connection:
408
+ - Close
409
+ body:
410
+ encoding: UTF-8
411
+ string: |
412
+ {
413
+ "fields": {
414
+ "name": {
415
+ "en-GB": "Test With Previously Empty Field"
416
+ },
417
+ "value": {
418
+ "en-GB": null
419
+ }
420
+ },
421
+ "sys": {
422
+ "id": "2GmtCwDBcIu4giMgQGIIcq",
423
+ "type": "Entry",
424
+ "createdAt": "2016-01-19T12:56:43.494Z",
425
+ "createdBy": {
426
+ "sys": {
427
+ "type": "Link",
428
+ "linkType": "User",
429
+ "id": "4SejVrWT96dvL9IV4Nb7sQ"
430
+ }
431
+ },
432
+ "space": {
433
+ "sys": {
434
+ "type": "Link",
435
+ "linkType": "Space",
436
+ "id": "u2viwgfeal0o"
437
+ }
438
+ },
439
+ "contentType": {
440
+ "sys": {
441
+ "type": "Link",
442
+ "linkType": "ContentType",
443
+ "id": "someType"
444
+ }
445
+ },
446
+ "firstPublishedAt": "2016-01-19T12:57:11.738Z",
447
+ "publishedCounter": 3,
448
+ "publishedAt": "2016-01-19T14:21:29.293Z",
449
+ "publishedBy": {
450
+ "sys": {
451
+ "type": "Link",
452
+ "linkType": "User",
453
+ "id": "4SejVrWT96dvL9IV4Nb7sQ"
454
+ }
455
+ },
456
+ "publishedVersion": 53,
457
+ "version": 55,
458
+ "updatedAt": "2016-01-19T14:21:30.458Z",
459
+ "updatedBy": {
460
+ "sys": {
461
+ "type": "Link",
462
+ "linkType": "User",
463
+ "id": "4SejVrWT96dvL9IV4Nb7sQ"
464
+ }
465
+ }
466
+ }
467
+ }
468
+ http_version:
469
+ recorded_at: Tue, 19 Jan 2016 14:21:26 GMT
470
+ - request:
471
+ method: put
472
+ uri: https://api.contentful.com/spaces/u2viwgfeal0o/entries/2GmtCwDBcIu4giMgQGIIcq/published
473
+ body:
474
+ encoding: US-ASCII
475
+ string: ''
476
+ headers:
477
+ User-Agent:
478
+ - RubyContentfulManagementGem/0.7.3
479
+ Authorization:
480
+ - Bearer <ACCESS_TOKEN>
481
+ Content-Type:
482
+ - application/vnd.contentful.management.v1+json
483
+ X-Contentful-Version:
484
+ - '55'
485
+ Content-Length:
486
+ - '0'
487
+ Connection:
488
+ - close
489
+ Host:
490
+ - api.contentful.com
491
+ response:
492
+ status:
493
+ code: 200
494
+ message: OK
495
+ headers:
496
+ Access-Control-Allow-Headers:
497
+ - 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
498
+ Access-Control-Allow-Methods:
499
+ - DELETE,GET,HEAD,POST,PUT,OPTIONS
500
+ Access-Control-Allow-Origin:
501
+ - "*"
502
+ Access-Control-Expose-Headers:
503
+ - Etag
504
+ Access-Control-Max-Age:
505
+ - '1728000'
506
+ Cf-Space-Id:
507
+ - u2viwgfeal0o
508
+ Content-Type:
509
+ - application/vnd.contentful.management.v1+json
510
+ Date:
511
+ - Tue, 19 Jan 2016 14:21:31 GMT
512
+ Etag:
513
+ - '"88024bdb602e8a905c9212fc9032ff45"'
514
+ Server:
515
+ - nginx
516
+ Strict-Transport-Security:
517
+ - max-age=15768000
518
+ X-Content-Type-Options:
519
+ - nosniff
520
+ X-Contentful-Request-Id:
521
+ - content-api:pXVX1Trof6G2IuIOCIy24
522
+ X-Powered-By:
523
+ - Express
524
+ Content-Length:
525
+ - '1153'
526
+ Connection:
527
+ - Close
528
+ body:
529
+ encoding: UTF-8
530
+ string: |
531
+ {
532
+ "fields": {
533
+ "name": {
534
+ "en-GB": "Test With Previously Empty Field"
535
+ },
536
+ "value": {
537
+ "en-GB": null
538
+ }
539
+ },
540
+ "sys": {
541
+ "id": "2GmtCwDBcIu4giMgQGIIcq",
542
+ "type": "Entry",
543
+ "createdAt": "2016-01-19T12:56:43.494Z",
544
+ "createdBy": {
545
+ "sys": {
546
+ "type": "Link",
547
+ "linkType": "User",
548
+ "id": "4SejVrWT96dvL9IV4Nb7sQ"
549
+ }
550
+ },
551
+ "space": {
552
+ "sys": {
553
+ "type": "Link",
554
+ "linkType": "Space",
555
+ "id": "u2viwgfeal0o"
556
+ }
557
+ },
558
+ "contentType": {
559
+ "sys": {
560
+ "type": "Link",
561
+ "linkType": "ContentType",
562
+ "id": "someType"
563
+ }
564
+ },
565
+ "firstPublishedAt": "2016-01-19T12:57:11.738Z",
566
+ "publishedCounter": 4,
567
+ "publishedAt": "2016-01-19T14:21:31.576Z",
568
+ "publishedBy": {
569
+ "sys": {
570
+ "type": "Link",
571
+ "linkType": "User",
572
+ "id": "4SejVrWT96dvL9IV4Nb7sQ"
573
+ }
574
+ },
575
+ "publishedVersion": 55,
576
+ "version": 56,
577
+ "updatedAt": "2016-01-19T14:21:31.576Z",
578
+ "updatedBy": {
579
+ "sys": {
580
+ "type": "Link",
581
+ "linkType": "User",
582
+ "id": "4SejVrWT96dvL9IV4Nb7sQ"
583
+ }
584
+ }
585
+ }
586
+ }
587
+ http_version:
588
+ recorded_at: Tue, 19 Jan 2016 14:21:27 GMT
589
+ recorded_with: VCR 2.9.3