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