storageroom-to-contentful 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,2612 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://api.contentful.com/spaces/ksbb7zto17p9
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ User-Agent:
11
+ - RubyContenfulManagementGem/0.2.0
12
+ Authorization:
13
+ - Bearer <ACCESS_TOKEN>
14
+ Content-Type:
15
+ - application/vnd.contentful.management.v1+json
16
+ Content-Length:
17
+ - '0'
18
+ Host:
19
+ - api.contentful.com
20
+ response:
21
+ status:
22
+ code: 200
23
+ message: OK
24
+ headers:
25
+ "^access-Control-Expose-Headers":
26
+ - Etag
27
+ Accept-Ranges:
28
+ - bytes
29
+ Access-Control-Allow-Headers:
30
+ - 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
31
+ Access-Control-Allow-Methods:
32
+ - DELETE,GET,HEAD,POST,PUT,OPTIONS
33
+ Access-Control-Allow-Origin:
34
+ - "*"
35
+ Access-Control-Max-Age:
36
+ - '1728000'
37
+ Cache-Control:
38
+ - max-age=0
39
+ Content-Type:
40
+ - application/vnd.contentful.management.v1+json
41
+ Date:
42
+ - Wed, 17 Sep 2014 10:35:31 GMT
43
+ Etag:
44
+ - '"efae20eceefa3dc5397bdcb3d75461f7"'
45
+ Server:
46
+ - nginx
47
+ Status:
48
+ - 200 OK
49
+ X-Contentful-Request-Id:
50
+ - f1c-1380627411
51
+ Content-Length:
52
+ - '445'
53
+ Connection:
54
+ - keep-alive
55
+ body:
56
+ encoding: UTF-8
57
+ string: |
58
+ {
59
+ "sys":{
60
+ "type":"Space",
61
+ "id":"ksbb7zto17p9",
62
+ "version":1,
63
+ "createdBy":{
64
+ "sys":{
65
+ "type":"Link",
66
+ "linkType":"User",
67
+ "id":"1E7acJL8I5XUXAMHQt9Grs"
68
+ }
69
+ },
70
+ "createdAt":"2014-09-17T09:54:48Z",
71
+ "updatedBy":{
72
+ "sys":{
73
+ "type":"Link",
74
+ "linkType":"User",
75
+ "id":"1E7acJL8I5XUXAMHQt9Grs"
76
+ }
77
+ },
78
+ "updatedAt":"2014-09-17T09:54:48Z"
79
+ },
80
+ "name":"test"}
81
+ http_version:
82
+ recorded_at: Wed, 17 Sep 2014 10:36:40 GMT
83
+ - request:
84
+ method: get
85
+ uri: https://api.contentful.com/spaces/ksbb7zto17p9/content_types
86
+ body:
87
+ encoding: US-ASCII
88
+ string: ''
89
+ headers:
90
+ User-Agent:
91
+ - RubyContenfulManagementGem/0.2.0
92
+ Authorization:
93
+ - Bearer <ACCESS_TOKEN>
94
+ Content-Type:
95
+ - application/vnd.contentful.management.v1+json
96
+ Content-Length:
97
+ - '0'
98
+ Host:
99
+ - api.contentful.com
100
+ response:
101
+ status:
102
+ code: 200
103
+ message: OK
104
+ headers:
105
+ "^access-Control-Expose-Headers":
106
+ - Etag
107
+ Access-Control-Allow-Headers:
108
+ - 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
109
+ Access-Control-Allow-Methods:
110
+ - DELETE,GET,HEAD,POST,PUT,OPTIONS
111
+ Access-Control-Allow-Origin:
112
+ - "*"
113
+ Access-Control-Max-Age:
114
+ - '1728000'
115
+ Cf-Space-Id:
116
+ - ksbb7zto17p9
117
+ Content-Type:
118
+ - application/vnd.contentful.management.v1+json
119
+ Date:
120
+ - Wed, 17 Sep 2014 10:35:31 GMT
121
+ Etag:
122
+ - '"424f610243ac4ba6840919f7bb09d49b"'
123
+ Server:
124
+ - nginx
125
+ X-Powered-By:
126
+ - Express
127
+ Content-Length:
128
+ - '3227'
129
+ Connection:
130
+ - keep-alive
131
+ body:
132
+ encoding: UTF-8
133
+ string: |
134
+ {
135
+ "sys": {
136
+ "type": "Array"
137
+ },
138
+ "total": 1,
139
+ "skip": 0,
140
+ "limit": 100,
141
+ "items": [
142
+ {
143
+ "name": "Codequest",
144
+ "description": "Testing",
145
+ "fields": [
146
+ {
147
+ "id": "name",
148
+ "name": "Name",
149
+ "type": "Text",
150
+ "uiid": "4pvoh3rqqkg"
151
+ },
152
+ {
153
+ "id": "number",
154
+ "name": "Number",
155
+ "type": "Integer",
156
+ "uiid": "3sfw74p60ao"
157
+ },
158
+ {
159
+ "id": "float1",
160
+ "name": "Float",
161
+ "type": "Number",
162
+ "uiid": "4imo3thvny8"
163
+ },
164
+ {
165
+ "id": "boolean",
166
+ "name": "Boolean",
167
+ "type": "Boolean",
168
+ "uiid": "3rhusw49gjk"
169
+ },
170
+ {
171
+ "id": "date",
172
+ "name": "Date",
173
+ "type": "Date",
174
+ "uiid": "2xpe3hxge0w"
175
+ },
176
+ {
177
+ "id": "time",
178
+ "name": "Time",
179
+ "type": "Date",
180
+ "uiid": "2nmqm7tk8ao"
181
+ },
182
+ {
183
+ "id": "location",
184
+ "name": "Location",
185
+ "type": "Location",
186
+ "uiid": "3hxbs6ifx8g"
187
+ },
188
+ {
189
+ "id": "file",
190
+ "name": "File",
191
+ "type": "Link",
192
+ "linkType": "Asset",
193
+ "uiid": "2t0f7kif01s"
194
+ },
195
+ {
196
+ "id": "image",
197
+ "name": "Image",
198
+ "type": "Link",
199
+ "linkType": "Asset",
200
+ "uiid": "2oes2azzrb4"
201
+ },
202
+ {
203
+ "id": "array",
204
+ "name": "Array",
205
+ "type": "Array",
206
+ "items": {
207
+ "type": "Symbol"
208
+ },
209
+ "uiid": "2hd7ce9f9q8"
210
+ },
211
+ {
212
+ "id": "entry",
213
+ "name": "Entry",
214
+ "type": "Link",
215
+ "linkType": "Entry",
216
+ "uiid": "483pua4s0zk"
217
+ },
218
+ {
219
+ "id": "entries",
220
+ "name": "Entries",
221
+ "type": "Array",
222
+ "items": {
223
+ "type": "Link",
224
+ "linkType": "Entry"
225
+ },
226
+ "uiid": "45oy563ah34"
227
+ },
228
+ {
229
+ "id": "object_json",
230
+ "name": "Object",
231
+ "type": "Object",
232
+ "uiid": "37a185i10qo"
233
+ }
234
+ ],
235
+ "sys": {
236
+ "id": "3BcqstlnjGkCQ4sKI6cYaC",
237
+ "type": "ContentType",
238
+ "createdAt": "2014-09-17T10:28:56.927Z",
239
+ "createdBy": {
240
+ "sys": {
241
+ "type": "Link",
242
+ "linkType": "User",
243
+ "id": "1E7acJL8I5XUXAMHQt9Grs"
244
+ }
245
+ },
246
+ "space": {
247
+ "sys": {
248
+ "type": "Link",
249
+ "linkType": "Space",
250
+ "id": "ksbb7zto17p9"
251
+ }
252
+ },
253
+ "firstPublishedAt": "2014-09-17T10:29:09.638Z",
254
+ "publishedCounter": 1,
255
+ "publishedAt": "2014-09-17T10:29:09.638Z",
256
+ "publishedBy": {
257
+ "sys": {
258
+ "type": "Link",
259
+ "linkType": "User",
260
+ "id": "1E7acJL8I5XUXAMHQt9Grs"
261
+ }
262
+ },
263
+ "publishedVersion": 14,
264
+ "version": 16,
265
+ "updatedAt": "2014-09-17T10:30:47.253Z",
266
+ "updatedBy": {
267
+ "sys": {
268
+ "type": "Link",
269
+ "linkType": "User",
270
+ "id": "1E7acJL8I5XUXAMHQt9Grs"
271
+ }
272
+ }
273
+ }
274
+ }
275
+ ]
276
+ }
277
+ http_version:
278
+ recorded_at: Wed, 17 Sep 2014 10:36:41 GMT
279
+ - request:
280
+ method: post
281
+ uri: https://api.contentful.com/spaces/ksbb7zto17p9/content_types/
282
+ body:
283
+ encoding: UTF-8
284
+ string: '{"name":"Codequest","description":"Testing","fields":[]}'
285
+ headers:
286
+ User-Agent:
287
+ - RubyContenfulManagementGem/0.2.0
288
+ Authorization:
289
+ - Bearer <ACCESS_TOKEN>
290
+ Content-Type:
291
+ - application/vnd.contentful.management.v1+json
292
+ Host:
293
+ - api.contentful.com
294
+ response:
295
+ status:
296
+ code: 201
297
+ message: Created
298
+ headers:
299
+ "^access-Control-Expose-Headers":
300
+ - Etag
301
+ Access-Control-Allow-Headers:
302
+ - 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
303
+ Access-Control-Allow-Methods:
304
+ - DELETE,GET,HEAD,POST,PUT,OPTIONS
305
+ Access-Control-Allow-Origin:
306
+ - "*"
307
+ Access-Control-Max-Age:
308
+ - '1728000'
309
+ Cf-Space-Id:
310
+ - ksbb7zto17p9
311
+ Content-Type:
312
+ - application/vnd.contentful.management.v1+json
313
+ Date:
314
+ - Wed, 17 Sep 2014 10:35:32 GMT
315
+ Etag:
316
+ - '"50481a0be20a1f331eb36087df2575fd"'
317
+ Server:
318
+ - nginx
319
+ X-Powered-By:
320
+ - Express
321
+ Content-Length:
322
+ - '663'
323
+ Connection:
324
+ - keep-alive
325
+ body:
326
+ encoding: UTF-8
327
+ string: |
328
+ {
329
+ "name": "Codequest",
330
+ "description": "Testing",
331
+ "fields": [],
332
+ "sys": {
333
+ "id": "24jJwCT1bWskqEOOASgUCG",
334
+ "type": "ContentType",
335
+ "version": 1,
336
+ "createdAt": "2014-09-17T10:35:32.293Z",
337
+ "createdBy": {
338
+ "sys": {
339
+ "type": "Link",
340
+ "linkType": "User",
341
+ "id": "1E7acJL8I5XUXAMHQt9Grs"
342
+ }
343
+ },
344
+ "space": {
345
+ "sys": {
346
+ "type": "Link",
347
+ "linkType": "Space",
348
+ "id": "ksbb7zto17p9"
349
+ }
350
+ },
351
+ "updatedAt": "2014-09-17T10:35:32.293Z",
352
+ "updatedBy": {
353
+ "sys": {
354
+ "type": "Link",
355
+ "linkType": "User",
356
+ "id": "1E7acJL8I5XUXAMHQt9Grs"
357
+ }
358
+ }
359
+ }
360
+ }
361
+ http_version:
362
+ recorded_at: Wed, 17 Sep 2014 10:36:41 GMT
363
+ - request:
364
+ method: put
365
+ uri: https://api.contentful.com/spaces/ksbb7zto17p9/content_types/24jJwCT1bWskqEOOASgUCG
366
+ body:
367
+ encoding: UTF-8
368
+ string: '{"name":"Codequest","description":"Testing","fields":[{"id":"name","name":"Name","type":"Text"}]}'
369
+ headers:
370
+ User-Agent:
371
+ - RubyContenfulManagementGem/0.2.0
372
+ Authorization:
373
+ - Bearer <ACCESS_TOKEN>
374
+ Content-Type:
375
+ - application/vnd.contentful.management.v1+json
376
+ X-Contentful-Version:
377
+ - '1'
378
+ Host:
379
+ - api.contentful.com
380
+ response:
381
+ status:
382
+ code: 200
383
+ message: OK
384
+ headers:
385
+ "^access-Control-Expose-Headers":
386
+ - Etag
387
+ Access-Control-Allow-Headers:
388
+ - 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
389
+ Access-Control-Allow-Methods:
390
+ - DELETE,GET,HEAD,POST,PUT,OPTIONS
391
+ Access-Control-Allow-Origin:
392
+ - "*"
393
+ Access-Control-Max-Age:
394
+ - '1728000'
395
+ Cf-Space-Id:
396
+ - ksbb7zto17p9
397
+ Content-Type:
398
+ - application/vnd.contentful.management.v1+json
399
+ Date:
400
+ - Wed, 17 Sep 2014 10:35:33 GMT
401
+ Etag:
402
+ - '"400b015a684224e2028de707a3a5f90f"'
403
+ Server:
404
+ - nginx
405
+ X-Powered-By:
406
+ - Express
407
+ Content-Length:
408
+ - '741'
409
+ Connection:
410
+ - keep-alive
411
+ body:
412
+ encoding: UTF-8
413
+ string: |
414
+ {
415
+ "name": "Codequest",
416
+ "description": "Testing",
417
+ "fields": [
418
+ {
419
+ "id": "name",
420
+ "name": "Name",
421
+ "type": "Text"
422
+ }
423
+ ],
424
+ "sys": {
425
+ "id": "24jJwCT1bWskqEOOASgUCG",
426
+ "type": "ContentType",
427
+ "createdAt": "2014-09-17T10:35:32.293Z",
428
+ "createdBy": {
429
+ "sys": {
430
+ "type": "Link",
431
+ "linkType": "User",
432
+ "id": "1E7acJL8I5XUXAMHQt9Grs"
433
+ }
434
+ },
435
+ "space": {
436
+ "sys": {
437
+ "type": "Link",
438
+ "linkType": "Space",
439
+ "id": "ksbb7zto17p9"
440
+ }
441
+ },
442
+ "version": 2,
443
+ "updatedAt": "2014-09-17T10:35:33.164Z",
444
+ "updatedBy": {
445
+ "sys": {
446
+ "type": "Link",
447
+ "linkType": "User",
448
+ "id": "1E7acJL8I5XUXAMHQt9Grs"
449
+ }
450
+ }
451
+ }
452
+ }
453
+ http_version:
454
+ recorded_at: Wed, 17 Sep 2014 10:36:42 GMT
455
+ - request:
456
+ method: put
457
+ uri: https://api.contentful.com/spaces/ksbb7zto17p9/content_types/24jJwCT1bWskqEOOASgUCG
458
+ body:
459
+ encoding: UTF-8
460
+ string: '{"name":"Codequest","description":"Testing","fields":[{"id":"name","name":"Name","type":"Text"},{"id":"number","name":"Number","type":"Integer"}]}'
461
+ headers:
462
+ User-Agent:
463
+ - RubyContenfulManagementGem/0.2.0
464
+ Authorization:
465
+ - Bearer <ACCESS_TOKEN>
466
+ Content-Type:
467
+ - application/vnd.contentful.management.v1+json
468
+ X-Contentful-Version:
469
+ - '2'
470
+ Host:
471
+ - api.contentful.com
472
+ response:
473
+ status:
474
+ code: 200
475
+ message: OK
476
+ headers:
477
+ "^access-Control-Expose-Headers":
478
+ - Etag
479
+ Access-Control-Allow-Headers:
480
+ - 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
481
+ Access-Control-Allow-Methods:
482
+ - DELETE,GET,HEAD,POST,PUT,OPTIONS
483
+ Access-Control-Allow-Origin:
484
+ - "*"
485
+ Access-Control-Max-Age:
486
+ - '1728000'
487
+ Cf-Space-Id:
488
+ - ksbb7zto17p9
489
+ Content-Type:
490
+ - application/vnd.contentful.management.v1+json
491
+ Date:
492
+ - Wed, 17 Sep 2014 10:35:33 GMT
493
+ Etag:
494
+ - '"a351eb127b205ca6c8386feb900f2b5a"'
495
+ Server:
496
+ - nginx
497
+ X-Powered-By:
498
+ - Express
499
+ Content-Length:
500
+ - '824'
501
+ Connection:
502
+ - keep-alive
503
+ body:
504
+ encoding: UTF-8
505
+ string: |
506
+ {
507
+ "name": "Codequest",
508
+ "description": "Testing",
509
+ "fields": [
510
+ {
511
+ "id": "name",
512
+ "name": "Name",
513
+ "type": "Text"
514
+ },
515
+ {
516
+ "id": "number",
517
+ "name": "Number",
518
+ "type": "Integer"
519
+ }
520
+ ],
521
+ "sys": {
522
+ "id": "24jJwCT1bWskqEOOASgUCG",
523
+ "type": "ContentType",
524
+ "createdAt": "2014-09-17T10:35:32.293Z",
525
+ "createdBy": {
526
+ "sys": {
527
+ "type": "Link",
528
+ "linkType": "User",
529
+ "id": "1E7acJL8I5XUXAMHQt9Grs"
530
+ }
531
+ },
532
+ "space": {
533
+ "sys": {
534
+ "type": "Link",
535
+ "linkType": "Space",
536
+ "id": "ksbb7zto17p9"
537
+ }
538
+ },
539
+ "version": 3,
540
+ "updatedAt": "2014-09-17T10:35:33.907Z",
541
+ "updatedBy": {
542
+ "sys": {
543
+ "type": "Link",
544
+ "linkType": "User",
545
+ "id": "1E7acJL8I5XUXAMHQt9Grs"
546
+ }
547
+ }
548
+ }
549
+ }
550
+ http_version:
551
+ recorded_at: Wed, 17 Sep 2014 10:36:43 GMT
552
+ - request:
553
+ method: put
554
+ uri: https://api.contentful.com/spaces/ksbb7zto17p9/content_types/24jJwCT1bWskqEOOASgUCG
555
+ body:
556
+ encoding: UTF-8
557
+ string: '{"name":"Codequest","description":"Testing","fields":[{"id":"name","name":"Name","type":"Text"},{"id":"number","name":"Number","type":"Integer"},{"id":"float1","name":"Float","type":"Number"}]}'
558
+ headers:
559
+ User-Agent:
560
+ - RubyContenfulManagementGem/0.2.0
561
+ Authorization:
562
+ - Bearer <ACCESS_TOKEN>
563
+ Content-Type:
564
+ - application/vnd.contentful.management.v1+json
565
+ X-Contentful-Version:
566
+ - '3'
567
+ Host:
568
+ - api.contentful.com
569
+ response:
570
+ status:
571
+ code: 200
572
+ message: OK
573
+ headers:
574
+ "^access-Control-Expose-Headers":
575
+ - Etag
576
+ Access-Control-Allow-Headers:
577
+ - 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
578
+ Access-Control-Allow-Methods:
579
+ - DELETE,GET,HEAD,POST,PUT,OPTIONS
580
+ Access-Control-Allow-Origin:
581
+ - "*"
582
+ Access-Control-Max-Age:
583
+ - '1728000'
584
+ Cf-Space-Id:
585
+ - ksbb7zto17p9
586
+ Content-Type:
587
+ - application/vnd.contentful.management.v1+json
588
+ Date:
589
+ - Wed, 17 Sep 2014 10:35:34 GMT
590
+ Etag:
591
+ - '"0922bddbff242b3b331de48634bc187d"'
592
+ Server:
593
+ - nginx
594
+ X-Powered-By:
595
+ - Express
596
+ Content-Length:
597
+ - '905'
598
+ Connection:
599
+ - keep-alive
600
+ body:
601
+ encoding: UTF-8
602
+ string: |
603
+ {
604
+ "name": "Codequest",
605
+ "description": "Testing",
606
+ "fields": [
607
+ {
608
+ "id": "name",
609
+ "name": "Name",
610
+ "type": "Text"
611
+ },
612
+ {
613
+ "id": "number",
614
+ "name": "Number",
615
+ "type": "Integer"
616
+ },
617
+ {
618
+ "id": "float1",
619
+ "name": "Float",
620
+ "type": "Number"
621
+ }
622
+ ],
623
+ "sys": {
624
+ "id": "24jJwCT1bWskqEOOASgUCG",
625
+ "type": "ContentType",
626
+ "createdAt": "2014-09-17T10:35:32.293Z",
627
+ "createdBy": {
628
+ "sys": {
629
+ "type": "Link",
630
+ "linkType": "User",
631
+ "id": "1E7acJL8I5XUXAMHQt9Grs"
632
+ }
633
+ },
634
+ "space": {
635
+ "sys": {
636
+ "type": "Link",
637
+ "linkType": "Space",
638
+ "id": "ksbb7zto17p9"
639
+ }
640
+ },
641
+ "version": 4,
642
+ "updatedAt": "2014-09-17T10:35:34.640Z",
643
+ "updatedBy": {
644
+ "sys": {
645
+ "type": "Link",
646
+ "linkType": "User",
647
+ "id": "1E7acJL8I5XUXAMHQt9Grs"
648
+ }
649
+ }
650
+ }
651
+ }
652
+ http_version:
653
+ recorded_at: Wed, 17 Sep 2014 10:36:44 GMT
654
+ - request:
655
+ method: put
656
+ uri: https://api.contentful.com/spaces/ksbb7zto17p9/content_types/24jJwCT1bWskqEOOASgUCG
657
+ body:
658
+ encoding: UTF-8
659
+ string: '{"name":"Codequest","description":"Testing","fields":[{"id":"name","name":"Name","type":"Text"},{"id":"number","name":"Number","type":"Integer"},{"id":"float1","name":"Float","type":"Number"},{"id":"boolean","name":"Boolean","type":"Boolean"}]}'
660
+ headers:
661
+ User-Agent:
662
+ - RubyContenfulManagementGem/0.2.0
663
+ Authorization:
664
+ - Bearer <ACCESS_TOKEN>
665
+ Content-Type:
666
+ - application/vnd.contentful.management.v1+json
667
+ X-Contentful-Version:
668
+ - '4'
669
+ Host:
670
+ - api.contentful.com
671
+ response:
672
+ status:
673
+ code: 200
674
+ message: OK
675
+ headers:
676
+ "^access-Control-Expose-Headers":
677
+ - Etag
678
+ Access-Control-Allow-Headers:
679
+ - 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
680
+ Access-Control-Allow-Methods:
681
+ - DELETE,GET,HEAD,POST,PUT,OPTIONS
682
+ Access-Control-Allow-Origin:
683
+ - "*"
684
+ Access-Control-Max-Age:
685
+ - '1728000'
686
+ Cf-Space-Id:
687
+ - ksbb7zto17p9
688
+ Content-Type:
689
+ - application/vnd.contentful.management.v1+json
690
+ Date:
691
+ - Wed, 17 Sep 2014 10:35:35 GMT
692
+ Etag:
693
+ - '"353577b03a521d344fe26ab8e757ca31"'
694
+ Server:
695
+ - nginx
696
+ X-Powered-By:
697
+ - Express
698
+ Content-Length:
699
+ - '990'
700
+ Connection:
701
+ - keep-alive
702
+ body:
703
+ encoding: UTF-8
704
+ string: |
705
+ {
706
+ "name": "Codequest",
707
+ "description": "Testing",
708
+ "fields": [
709
+ {
710
+ "id": "name",
711
+ "name": "Name",
712
+ "type": "Text"
713
+ },
714
+ {
715
+ "id": "number",
716
+ "name": "Number",
717
+ "type": "Integer"
718
+ },
719
+ {
720
+ "id": "float1",
721
+ "name": "Float",
722
+ "type": "Number"
723
+ },
724
+ {
725
+ "id": "boolean",
726
+ "name": "Boolean",
727
+ "type": "Boolean"
728
+ }
729
+ ],
730
+ "sys": {
731
+ "id": "24jJwCT1bWskqEOOASgUCG",
732
+ "type": "ContentType",
733
+ "createdAt": "2014-09-17T10:35:32.293Z",
734
+ "createdBy": {
735
+ "sys": {
736
+ "type": "Link",
737
+ "linkType": "User",
738
+ "id": "1E7acJL8I5XUXAMHQt9Grs"
739
+ }
740
+ },
741
+ "space": {
742
+ "sys": {
743
+ "type": "Link",
744
+ "linkType": "Space",
745
+ "id": "ksbb7zto17p9"
746
+ }
747
+ },
748
+ "version": 5,
749
+ "updatedAt": "2014-09-17T10:35:35.323Z",
750
+ "updatedBy": {
751
+ "sys": {
752
+ "type": "Link",
753
+ "linkType": "User",
754
+ "id": "1E7acJL8I5XUXAMHQt9Grs"
755
+ }
756
+ }
757
+ }
758
+ }
759
+ http_version:
760
+ recorded_at: Wed, 17 Sep 2014 10:36:45 GMT
761
+ - request:
762
+ method: put
763
+ uri: https://api.contentful.com/spaces/ksbb7zto17p9/content_types/24jJwCT1bWskqEOOASgUCG
764
+ body:
765
+ encoding: UTF-8
766
+ string: '{"name":"Codequest","description":"Testing","fields":[{"id":"name","name":"Name","type":"Text"},{"id":"number","name":"Number","type":"Integer"},{"id":"float1","name":"Float","type":"Number"},{"id":"boolean","name":"Boolean","type":"Boolean"},{"id":"date","name":"Date","type":"Date"}]}'
767
+ headers:
768
+ User-Agent:
769
+ - RubyContenfulManagementGem/0.2.0
770
+ Authorization:
771
+ - Bearer <ACCESS_TOKEN>
772
+ Content-Type:
773
+ - application/vnd.contentful.management.v1+json
774
+ X-Contentful-Version:
775
+ - '5'
776
+ Host:
777
+ - api.contentful.com
778
+ response:
779
+ status:
780
+ code: 200
781
+ message: OK
782
+ headers:
783
+ "^access-Control-Expose-Headers":
784
+ - Etag
785
+ Access-Control-Allow-Headers:
786
+ - 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
787
+ Access-Control-Allow-Methods:
788
+ - DELETE,GET,HEAD,POST,PUT,OPTIONS
789
+ Access-Control-Allow-Origin:
790
+ - "*"
791
+ Access-Control-Max-Age:
792
+ - '1728000'
793
+ Cf-Space-Id:
794
+ - ksbb7zto17p9
795
+ Content-Type:
796
+ - application/vnd.contentful.management.v1+json
797
+ Date:
798
+ - Wed, 17 Sep 2014 10:35:36 GMT
799
+ Etag:
800
+ - '"ca5a4fec97ff2349ee3c027b12a09ad2"'
801
+ Server:
802
+ - nginx
803
+ X-Powered-By:
804
+ - Express
805
+ Content-Length:
806
+ - '1066'
807
+ Connection:
808
+ - keep-alive
809
+ body:
810
+ encoding: UTF-8
811
+ string: |
812
+ {
813
+ "name": "Codequest",
814
+ "description": "Testing",
815
+ "fields": [
816
+ {
817
+ "id": "name",
818
+ "name": "Name",
819
+ "type": "Text"
820
+ },
821
+ {
822
+ "id": "number",
823
+ "name": "Number",
824
+ "type": "Integer"
825
+ },
826
+ {
827
+ "id": "float1",
828
+ "name": "Float",
829
+ "type": "Number"
830
+ },
831
+ {
832
+ "id": "boolean",
833
+ "name": "Boolean",
834
+ "type": "Boolean"
835
+ },
836
+ {
837
+ "id": "date",
838
+ "name": "Date",
839
+ "type": "Date"
840
+ }
841
+ ],
842
+ "sys": {
843
+ "id": "24jJwCT1bWskqEOOASgUCG",
844
+ "type": "ContentType",
845
+ "createdAt": "2014-09-17T10:35:32.293Z",
846
+ "createdBy": {
847
+ "sys": {
848
+ "type": "Link",
849
+ "linkType": "User",
850
+ "id": "1E7acJL8I5XUXAMHQt9Grs"
851
+ }
852
+ },
853
+ "space": {
854
+ "sys": {
855
+ "type": "Link",
856
+ "linkType": "Space",
857
+ "id": "ksbb7zto17p9"
858
+ }
859
+ },
860
+ "version": 6,
861
+ "updatedAt": "2014-09-17T10:35:36.019Z",
862
+ "updatedBy": {
863
+ "sys": {
864
+ "type": "Link",
865
+ "linkType": "User",
866
+ "id": "1E7acJL8I5XUXAMHQt9Grs"
867
+ }
868
+ }
869
+ }
870
+ }
871
+ http_version:
872
+ recorded_at: Wed, 17 Sep 2014 10:36:45 GMT
873
+ - request:
874
+ method: put
875
+ uri: https://api.contentful.com/spaces/ksbb7zto17p9/content_types/24jJwCT1bWskqEOOASgUCG
876
+ body:
877
+ encoding: UTF-8
878
+ string: '{"name":"Codequest","description":"Testing","fields":[{"id":"name","name":"Name","type":"Text"},{"id":"number","name":"Number","type":"Integer"},{"id":"float1","name":"Float","type":"Number"},{"id":"boolean","name":"Boolean","type":"Boolean"},{"id":"date","name":"Date","type":"Date"},{"id":"time","name":"Time","type":"Date"}]}'
879
+ headers:
880
+ User-Agent:
881
+ - RubyContenfulManagementGem/0.2.0
882
+ Authorization:
883
+ - Bearer <ACCESS_TOKEN>
884
+ Content-Type:
885
+ - application/vnd.contentful.management.v1+json
886
+ X-Contentful-Version:
887
+ - '6'
888
+ Host:
889
+ - api.contentful.com
890
+ response:
891
+ status:
892
+ code: 200
893
+ message: OK
894
+ headers:
895
+ "^access-Control-Expose-Headers":
896
+ - Etag
897
+ Access-Control-Allow-Headers:
898
+ - 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
899
+ Access-Control-Allow-Methods:
900
+ - DELETE,GET,HEAD,POST,PUT,OPTIONS
901
+ Access-Control-Allow-Origin:
902
+ - "*"
903
+ Access-Control-Max-Age:
904
+ - '1728000'
905
+ Cf-Space-Id:
906
+ - ksbb7zto17p9
907
+ Content-Type:
908
+ - application/vnd.contentful.management.v1+json
909
+ Date:
910
+ - Wed, 17 Sep 2014 10:35:36 GMT
911
+ Etag:
912
+ - '"0670707c0c8182e28081553b6036b040"'
913
+ Server:
914
+ - nginx
915
+ X-Powered-By:
916
+ - Express
917
+ Content-Length:
918
+ - '1142'
919
+ Connection:
920
+ - keep-alive
921
+ body:
922
+ encoding: UTF-8
923
+ string: |
924
+ {
925
+ "name": "Codequest",
926
+ "description": "Testing",
927
+ "fields": [
928
+ {
929
+ "id": "name",
930
+ "name": "Name",
931
+ "type": "Text"
932
+ },
933
+ {
934
+ "id": "number",
935
+ "name": "Number",
936
+ "type": "Integer"
937
+ },
938
+ {
939
+ "id": "float1",
940
+ "name": "Float",
941
+ "type": "Number"
942
+ },
943
+ {
944
+ "id": "boolean",
945
+ "name": "Boolean",
946
+ "type": "Boolean"
947
+ },
948
+ {
949
+ "id": "date",
950
+ "name": "Date",
951
+ "type": "Date"
952
+ },
953
+ {
954
+ "id": "time",
955
+ "name": "Time",
956
+ "type": "Date"
957
+ }
958
+ ],
959
+ "sys": {
960
+ "id": "24jJwCT1bWskqEOOASgUCG",
961
+ "type": "ContentType",
962
+ "createdAt": "2014-09-17T10:35:32.293Z",
963
+ "createdBy": {
964
+ "sys": {
965
+ "type": "Link",
966
+ "linkType": "User",
967
+ "id": "1E7acJL8I5XUXAMHQt9Grs"
968
+ }
969
+ },
970
+ "space": {
971
+ "sys": {
972
+ "type": "Link",
973
+ "linkType": "Space",
974
+ "id": "ksbb7zto17p9"
975
+ }
976
+ },
977
+ "version": 7,
978
+ "updatedAt": "2014-09-17T10:35:36.748Z",
979
+ "updatedBy": {
980
+ "sys": {
981
+ "type": "Link",
982
+ "linkType": "User",
983
+ "id": "1E7acJL8I5XUXAMHQt9Grs"
984
+ }
985
+ }
986
+ }
987
+ }
988
+ http_version:
989
+ recorded_at: Wed, 17 Sep 2014 10:36:46 GMT
990
+ - request:
991
+ method: put
992
+ uri: https://api.contentful.com/spaces/ksbb7zto17p9/content_types/24jJwCT1bWskqEOOASgUCG
993
+ body:
994
+ encoding: UTF-8
995
+ string: '{"name":"Codequest","description":"Testing","fields":[{"id":"name","name":"Name","type":"Text"},{"id":"number","name":"Number","type":"Integer"},{"id":"float1","name":"Float","type":"Number"},{"id":"boolean","name":"Boolean","type":"Boolean"},{"id":"date","name":"Date","type":"Date"},{"id":"time","name":"Time","type":"Date"},{"id":"location","name":"Location","type":"Location"}]}'
996
+ headers:
997
+ User-Agent:
998
+ - RubyContenfulManagementGem/0.2.0
999
+ Authorization:
1000
+ - Bearer <ACCESS_TOKEN>
1001
+ Content-Type:
1002
+ - application/vnd.contentful.management.v1+json
1003
+ X-Contentful-Version:
1004
+ - '7'
1005
+ Host:
1006
+ - api.contentful.com
1007
+ response:
1008
+ status:
1009
+ code: 200
1010
+ message: OK
1011
+ headers:
1012
+ "^access-Control-Expose-Headers":
1013
+ - Etag
1014
+ Access-Control-Allow-Headers:
1015
+ - 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
1016
+ Access-Control-Allow-Methods:
1017
+ - DELETE,GET,HEAD,POST,PUT,OPTIONS
1018
+ Access-Control-Allow-Origin:
1019
+ - "*"
1020
+ Access-Control-Max-Age:
1021
+ - '1728000'
1022
+ Cf-Space-Id:
1023
+ - ksbb7zto17p9
1024
+ Content-Type:
1025
+ - application/vnd.contentful.management.v1+json
1026
+ Date:
1027
+ - Wed, 17 Sep 2014 10:35:37 GMT
1028
+ Etag:
1029
+ - '"195414dca7eb24343281ee6f44585ca6"'
1030
+ Server:
1031
+ - nginx
1032
+ X-Powered-By:
1033
+ - Express
1034
+ Content-Length:
1035
+ - '1230'
1036
+ Connection:
1037
+ - keep-alive
1038
+ body:
1039
+ encoding: UTF-8
1040
+ string: |
1041
+ {
1042
+ "name": "Codequest",
1043
+ "description": "Testing",
1044
+ "fields": [
1045
+ {
1046
+ "id": "name",
1047
+ "name": "Name",
1048
+ "type": "Text"
1049
+ },
1050
+ {
1051
+ "id": "number",
1052
+ "name": "Number",
1053
+ "type": "Integer"
1054
+ },
1055
+ {
1056
+ "id": "float1",
1057
+ "name": "Float",
1058
+ "type": "Number"
1059
+ },
1060
+ {
1061
+ "id": "boolean",
1062
+ "name": "Boolean",
1063
+ "type": "Boolean"
1064
+ },
1065
+ {
1066
+ "id": "date",
1067
+ "name": "Date",
1068
+ "type": "Date"
1069
+ },
1070
+ {
1071
+ "id": "time",
1072
+ "name": "Time",
1073
+ "type": "Date"
1074
+ },
1075
+ {
1076
+ "id": "location",
1077
+ "name": "Location",
1078
+ "type": "Location"
1079
+ }
1080
+ ],
1081
+ "sys": {
1082
+ "id": "24jJwCT1bWskqEOOASgUCG",
1083
+ "type": "ContentType",
1084
+ "createdAt": "2014-09-17T10:35:32.293Z",
1085
+ "createdBy": {
1086
+ "sys": {
1087
+ "type": "Link",
1088
+ "linkType": "User",
1089
+ "id": "1E7acJL8I5XUXAMHQt9Grs"
1090
+ }
1091
+ },
1092
+ "space": {
1093
+ "sys": {
1094
+ "type": "Link",
1095
+ "linkType": "Space",
1096
+ "id": "ksbb7zto17p9"
1097
+ }
1098
+ },
1099
+ "version": 8,
1100
+ "updatedAt": "2014-09-17T10:35:37.435Z",
1101
+ "updatedBy": {
1102
+ "sys": {
1103
+ "type": "Link",
1104
+ "linkType": "User",
1105
+ "id": "1E7acJL8I5XUXAMHQt9Grs"
1106
+ }
1107
+ }
1108
+ }
1109
+ }
1110
+ http_version:
1111
+ recorded_at: Wed, 17 Sep 2014 10:36:47 GMT
1112
+ - request:
1113
+ method: put
1114
+ uri: https://api.contentful.com/spaces/ksbb7zto17p9/content_types/24jJwCT1bWskqEOOASgUCG
1115
+ body:
1116
+ encoding: UTF-8
1117
+ string: '{"name":"Codequest","description":"Testing","fields":[{"id":"name","name":"Name","type":"Text"},{"id":"number","name":"Number","type":"Integer"},{"id":"float1","name":"Float","type":"Number"},{"id":"boolean","name":"Boolean","type":"Boolean"},{"id":"date","name":"Date","type":"Date"},{"id":"time","name":"Time","type":"Date"},{"id":"location","name":"Location","type":"Location"},{"id":"file","name":"File","type":"Link","linkType":"Asset"}]}'
1118
+ headers:
1119
+ User-Agent:
1120
+ - RubyContenfulManagementGem/0.2.0
1121
+ Authorization:
1122
+ - Bearer <ACCESS_TOKEN>
1123
+ Content-Type:
1124
+ - application/vnd.contentful.management.v1+json
1125
+ X-Contentful-Version:
1126
+ - '8'
1127
+ Host:
1128
+ - api.contentful.com
1129
+ response:
1130
+ status:
1131
+ code: 200
1132
+ message: OK
1133
+ headers:
1134
+ "^access-Control-Expose-Headers":
1135
+ - Etag
1136
+ Access-Control-Allow-Headers:
1137
+ - 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
1138
+ Access-Control-Allow-Methods:
1139
+ - DELETE,GET,HEAD,POST,PUT,OPTIONS
1140
+ Access-Control-Allow-Origin:
1141
+ - "*"
1142
+ Access-Control-Max-Age:
1143
+ - '1728000'
1144
+ Cf-Space-Id:
1145
+ - ksbb7zto17p9
1146
+ Content-Type:
1147
+ - application/vnd.contentful.management.v1+json
1148
+ Date:
1149
+ - Wed, 17 Sep 2014 10:35:38 GMT
1150
+ Etag:
1151
+ - '"947cab02ae5537caad20c851720554b6"'
1152
+ Server:
1153
+ - nginx
1154
+ X-Powered-By:
1155
+ - Express
1156
+ Content-Length:
1157
+ - '1333'
1158
+ Connection:
1159
+ - keep-alive
1160
+ body:
1161
+ encoding: UTF-8
1162
+ string: |
1163
+ {
1164
+ "name": "Codequest",
1165
+ "description": "Testing",
1166
+ "fields": [
1167
+ {
1168
+ "id": "name",
1169
+ "name": "Name",
1170
+ "type": "Text"
1171
+ },
1172
+ {
1173
+ "id": "number",
1174
+ "name": "Number",
1175
+ "type": "Integer"
1176
+ },
1177
+ {
1178
+ "id": "float1",
1179
+ "name": "Float",
1180
+ "type": "Number"
1181
+ },
1182
+ {
1183
+ "id": "boolean",
1184
+ "name": "Boolean",
1185
+ "type": "Boolean"
1186
+ },
1187
+ {
1188
+ "id": "date",
1189
+ "name": "Date",
1190
+ "type": "Date"
1191
+ },
1192
+ {
1193
+ "id": "time",
1194
+ "name": "Time",
1195
+ "type": "Date"
1196
+ },
1197
+ {
1198
+ "id": "location",
1199
+ "name": "Location",
1200
+ "type": "Location"
1201
+ },
1202
+ {
1203
+ "id": "file",
1204
+ "name": "File",
1205
+ "type": "Link",
1206
+ "linkType": "Asset"
1207
+ }
1208
+ ],
1209
+ "sys": {
1210
+ "id": "24jJwCT1bWskqEOOASgUCG",
1211
+ "type": "ContentType",
1212
+ "createdAt": "2014-09-17T10:35:32.293Z",
1213
+ "createdBy": {
1214
+ "sys": {
1215
+ "type": "Link",
1216
+ "linkType": "User",
1217
+ "id": "1E7acJL8I5XUXAMHQt9Grs"
1218
+ }
1219
+ },
1220
+ "space": {
1221
+ "sys": {
1222
+ "type": "Link",
1223
+ "linkType": "Space",
1224
+ "id": "ksbb7zto17p9"
1225
+ }
1226
+ },
1227
+ "version": 9,
1228
+ "updatedAt": "2014-09-17T10:35:38.136Z",
1229
+ "updatedBy": {
1230
+ "sys": {
1231
+ "type": "Link",
1232
+ "linkType": "User",
1233
+ "id": "1E7acJL8I5XUXAMHQt9Grs"
1234
+ }
1235
+ }
1236
+ }
1237
+ }
1238
+ http_version:
1239
+ recorded_at: Wed, 17 Sep 2014 10:36:47 GMT
1240
+ - request:
1241
+ method: put
1242
+ uri: https://api.contentful.com/spaces/ksbb7zto17p9/content_types/24jJwCT1bWskqEOOASgUCG
1243
+ body:
1244
+ encoding: UTF-8
1245
+ string: '{"name":"Codequest","description":"Testing","fields":[{"id":"name","name":"Name","type":"Text"},{"id":"number","name":"Number","type":"Integer"},{"id":"float1","name":"Float","type":"Number"},{"id":"boolean","name":"Boolean","type":"Boolean"},{"id":"date","name":"Date","type":"Date"},{"id":"time","name":"Time","type":"Date"},{"id":"location","name":"Location","type":"Location"},{"id":"file","name":"File","type":"Link","linkType":"Asset"},{"id":"image","name":"Image","type":"Link","linkType":"Asset"}]}'
1246
+ headers:
1247
+ User-Agent:
1248
+ - RubyContenfulManagementGem/0.2.0
1249
+ Authorization:
1250
+ - Bearer <ACCESS_TOKEN>
1251
+ Content-Type:
1252
+ - application/vnd.contentful.management.v1+json
1253
+ X-Contentful-Version:
1254
+ - '9'
1255
+ Host:
1256
+ - api.contentful.com
1257
+ response:
1258
+ status:
1259
+ code: 200
1260
+ message: OK
1261
+ headers:
1262
+ "^access-Control-Expose-Headers":
1263
+ - Etag
1264
+ Access-Control-Allow-Headers:
1265
+ - 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
1266
+ Access-Control-Allow-Methods:
1267
+ - DELETE,GET,HEAD,POST,PUT,OPTIONS
1268
+ Access-Control-Allow-Origin:
1269
+ - "*"
1270
+ Access-Control-Max-Age:
1271
+ - '1728000'
1272
+ Cf-Space-Id:
1273
+ - ksbb7zto17p9
1274
+ Content-Type:
1275
+ - application/vnd.contentful.management.v1+json
1276
+ Date:
1277
+ - Wed, 17 Sep 2014 10:35:38 GMT
1278
+ Etag:
1279
+ - '"5118cece5590191ac12c507e1d126202"'
1280
+ Server:
1281
+ - nginx
1282
+ X-Powered-By:
1283
+ - Express
1284
+ Content-Length:
1285
+ - '1439'
1286
+ Connection:
1287
+ - keep-alive
1288
+ body:
1289
+ encoding: UTF-8
1290
+ string: |
1291
+ {
1292
+ "name": "Codequest",
1293
+ "description": "Testing",
1294
+ "fields": [
1295
+ {
1296
+ "id": "name",
1297
+ "name": "Name",
1298
+ "type": "Text"
1299
+ },
1300
+ {
1301
+ "id": "number",
1302
+ "name": "Number",
1303
+ "type": "Integer"
1304
+ },
1305
+ {
1306
+ "id": "float1",
1307
+ "name": "Float",
1308
+ "type": "Number"
1309
+ },
1310
+ {
1311
+ "id": "boolean",
1312
+ "name": "Boolean",
1313
+ "type": "Boolean"
1314
+ },
1315
+ {
1316
+ "id": "date",
1317
+ "name": "Date",
1318
+ "type": "Date"
1319
+ },
1320
+ {
1321
+ "id": "time",
1322
+ "name": "Time",
1323
+ "type": "Date"
1324
+ },
1325
+ {
1326
+ "id": "location",
1327
+ "name": "Location",
1328
+ "type": "Location"
1329
+ },
1330
+ {
1331
+ "id": "file",
1332
+ "name": "File",
1333
+ "type": "Link",
1334
+ "linkType": "Asset"
1335
+ },
1336
+ {
1337
+ "id": "image",
1338
+ "name": "Image",
1339
+ "type": "Link",
1340
+ "linkType": "Asset"
1341
+ }
1342
+ ],
1343
+ "sys": {
1344
+ "id": "24jJwCT1bWskqEOOASgUCG",
1345
+ "type": "ContentType",
1346
+ "createdAt": "2014-09-17T10:35:32.293Z",
1347
+ "createdBy": {
1348
+ "sys": {
1349
+ "type": "Link",
1350
+ "linkType": "User",
1351
+ "id": "1E7acJL8I5XUXAMHQt9Grs"
1352
+ }
1353
+ },
1354
+ "space": {
1355
+ "sys": {
1356
+ "type": "Link",
1357
+ "linkType": "Space",
1358
+ "id": "ksbb7zto17p9"
1359
+ }
1360
+ },
1361
+ "version": 10,
1362
+ "updatedAt": "2014-09-17T10:35:38.831Z",
1363
+ "updatedBy": {
1364
+ "sys": {
1365
+ "type": "Link",
1366
+ "linkType": "User",
1367
+ "id": "1E7acJL8I5XUXAMHQt9Grs"
1368
+ }
1369
+ }
1370
+ }
1371
+ }
1372
+ http_version:
1373
+ recorded_at: Wed, 17 Sep 2014 10:36:48 GMT
1374
+ - request:
1375
+ method: put
1376
+ uri: https://api.contentful.com/spaces/ksbb7zto17p9/content_types/24jJwCT1bWskqEOOASgUCG
1377
+ body:
1378
+ encoding: UTF-8
1379
+ string: '{"name":"Codequest","description":"Testing","fields":[{"id":"name","name":"Name","type":"Text"},{"id":"number","name":"Number","type":"Integer"},{"id":"float1","name":"Float","type":"Number"},{"id":"boolean","name":"Boolean","type":"Boolean"},{"id":"date","name":"Date","type":"Date"},{"id":"time","name":"Time","type":"Date"},{"id":"location","name":"Location","type":"Location"},{"id":"file","name":"File","type":"Link","linkType":"Asset"},{"id":"image","name":"Image","type":"Link","linkType":"Asset"},{"id":"array","name":"Array","type":"Array","items":{"type":"Symbol"}}]}'
1380
+ headers:
1381
+ User-Agent:
1382
+ - RubyContenfulManagementGem/0.2.0
1383
+ Authorization:
1384
+ - Bearer <ACCESS_TOKEN>
1385
+ Content-Type:
1386
+ - application/vnd.contentful.management.v1+json
1387
+ X-Contentful-Version:
1388
+ - '10'
1389
+ Host:
1390
+ - api.contentful.com
1391
+ response:
1392
+ status:
1393
+ code: 200
1394
+ message: OK
1395
+ headers:
1396
+ "^access-Control-Expose-Headers":
1397
+ - Etag
1398
+ Access-Control-Allow-Headers:
1399
+ - 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
1400
+ Access-Control-Allow-Methods:
1401
+ - DELETE,GET,HEAD,POST,PUT,OPTIONS
1402
+ Access-Control-Allow-Origin:
1403
+ - "*"
1404
+ Access-Control-Max-Age:
1405
+ - '1728000'
1406
+ Cf-Space-Id:
1407
+ - ksbb7zto17p9
1408
+ Content-Type:
1409
+ - application/vnd.contentful.management.v1+json
1410
+ Date:
1411
+ - Wed, 17 Sep 2014 10:35:39 GMT
1412
+ Etag:
1413
+ - '"96a2d37bdd28cb47cfae6129c569dde0"'
1414
+ Server:
1415
+ - nginx
1416
+ X-Powered-By:
1417
+ - Express
1418
+ Content-Length:
1419
+ - '1569'
1420
+ Connection:
1421
+ - keep-alive
1422
+ body:
1423
+ encoding: UTF-8
1424
+ string: |
1425
+ {
1426
+ "name": "Codequest",
1427
+ "description": "Testing",
1428
+ "fields": [
1429
+ {
1430
+ "id": "name",
1431
+ "name": "Name",
1432
+ "type": "Text"
1433
+ },
1434
+ {
1435
+ "id": "number",
1436
+ "name": "Number",
1437
+ "type": "Integer"
1438
+ },
1439
+ {
1440
+ "id": "float1",
1441
+ "name": "Float",
1442
+ "type": "Number"
1443
+ },
1444
+ {
1445
+ "id": "boolean",
1446
+ "name": "Boolean",
1447
+ "type": "Boolean"
1448
+ },
1449
+ {
1450
+ "id": "date",
1451
+ "name": "Date",
1452
+ "type": "Date"
1453
+ },
1454
+ {
1455
+ "id": "time",
1456
+ "name": "Time",
1457
+ "type": "Date"
1458
+ },
1459
+ {
1460
+ "id": "location",
1461
+ "name": "Location",
1462
+ "type": "Location"
1463
+ },
1464
+ {
1465
+ "id": "file",
1466
+ "name": "File",
1467
+ "type": "Link",
1468
+ "linkType": "Asset"
1469
+ },
1470
+ {
1471
+ "id": "image",
1472
+ "name": "Image",
1473
+ "type": "Link",
1474
+ "linkType": "Asset"
1475
+ },
1476
+ {
1477
+ "id": "array",
1478
+ "name": "Array",
1479
+ "type": "Array",
1480
+ "items": {
1481
+ "type": "Symbol"
1482
+ }
1483
+ }
1484
+ ],
1485
+ "sys": {
1486
+ "id": "24jJwCT1bWskqEOOASgUCG",
1487
+ "type": "ContentType",
1488
+ "createdAt": "2014-09-17T10:35:32.293Z",
1489
+ "createdBy": {
1490
+ "sys": {
1491
+ "type": "Link",
1492
+ "linkType": "User",
1493
+ "id": "1E7acJL8I5XUXAMHQt9Grs"
1494
+ }
1495
+ },
1496
+ "space": {
1497
+ "sys": {
1498
+ "type": "Link",
1499
+ "linkType": "Space",
1500
+ "id": "ksbb7zto17p9"
1501
+ }
1502
+ },
1503
+ "version": 11,
1504
+ "updatedAt": "2014-09-17T10:35:39.514Z",
1505
+ "updatedBy": {
1506
+ "sys": {
1507
+ "type": "Link",
1508
+ "linkType": "User",
1509
+ "id": "1E7acJL8I5XUXAMHQt9Grs"
1510
+ }
1511
+ }
1512
+ }
1513
+ }
1514
+ http_version:
1515
+ recorded_at: Wed, 17 Sep 2014 10:36:49 GMT
1516
+ - request:
1517
+ method: put
1518
+ uri: https://api.contentful.com/spaces/ksbb7zto17p9/content_types/24jJwCT1bWskqEOOASgUCG
1519
+ body:
1520
+ encoding: UTF-8
1521
+ string: '{"name":"Codequest","description":"Testing","fields":[{"id":"name","name":"Name","type":"Text"},{"id":"number","name":"Number","type":"Integer"},{"id":"float1","name":"Float","type":"Number"},{"id":"boolean","name":"Boolean","type":"Boolean"},{"id":"date","name":"Date","type":"Date"},{"id":"time","name":"Time","type":"Date"},{"id":"location","name":"Location","type":"Location"},{"id":"file","name":"File","type":"Link","linkType":"Asset"},{"id":"image","name":"Image","type":"Link","linkType":"Asset"},{"id":"array","name":"Array","type":"Array","items":{"type":"Symbol"}},{"id":"entry","name":"Entry","type":"Link","linkType":"Entry"}]}'
1522
+ headers:
1523
+ User-Agent:
1524
+ - RubyContenfulManagementGem/0.2.0
1525
+ Authorization:
1526
+ - Bearer <ACCESS_TOKEN>
1527
+ Content-Type:
1528
+ - application/vnd.contentful.management.v1+json
1529
+ X-Contentful-Version:
1530
+ - '11'
1531
+ Host:
1532
+ - api.contentful.com
1533
+ response:
1534
+ status:
1535
+ code: 200
1536
+ message: OK
1537
+ headers:
1538
+ "^access-Control-Expose-Headers":
1539
+ - Etag
1540
+ Access-Control-Allow-Headers:
1541
+ - 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
1542
+ Access-Control-Allow-Methods:
1543
+ - DELETE,GET,HEAD,POST,PUT,OPTIONS
1544
+ Access-Control-Allow-Origin:
1545
+ - "*"
1546
+ Access-Control-Max-Age:
1547
+ - '1728000'
1548
+ Cf-Space-Id:
1549
+ - ksbb7zto17p9
1550
+ Content-Type:
1551
+ - application/vnd.contentful.management.v1+json
1552
+ Date:
1553
+ - Wed, 17 Sep 2014 10:35:40 GMT
1554
+ Etag:
1555
+ - '"47d4d2444520911e9a616316fc28b6d5"'
1556
+ Server:
1557
+ - nginx
1558
+ X-Powered-By:
1559
+ - Express
1560
+ Content-Length:
1561
+ - '1674'
1562
+ Connection:
1563
+ - keep-alive
1564
+ body:
1565
+ encoding: UTF-8
1566
+ string: |
1567
+ {
1568
+ "name": "Codequest",
1569
+ "description": "Testing",
1570
+ "fields": [
1571
+ {
1572
+ "id": "name",
1573
+ "name": "Name",
1574
+ "type": "Text"
1575
+ },
1576
+ {
1577
+ "id": "number",
1578
+ "name": "Number",
1579
+ "type": "Integer"
1580
+ },
1581
+ {
1582
+ "id": "float1",
1583
+ "name": "Float",
1584
+ "type": "Number"
1585
+ },
1586
+ {
1587
+ "id": "boolean",
1588
+ "name": "Boolean",
1589
+ "type": "Boolean"
1590
+ },
1591
+ {
1592
+ "id": "date",
1593
+ "name": "Date",
1594
+ "type": "Date"
1595
+ },
1596
+ {
1597
+ "id": "time",
1598
+ "name": "Time",
1599
+ "type": "Date"
1600
+ },
1601
+ {
1602
+ "id": "location",
1603
+ "name": "Location",
1604
+ "type": "Location"
1605
+ },
1606
+ {
1607
+ "id": "file",
1608
+ "name": "File",
1609
+ "type": "Link",
1610
+ "linkType": "Asset"
1611
+ },
1612
+ {
1613
+ "id": "image",
1614
+ "name": "Image",
1615
+ "type": "Link",
1616
+ "linkType": "Asset"
1617
+ },
1618
+ {
1619
+ "id": "array",
1620
+ "name": "Array",
1621
+ "type": "Array",
1622
+ "items": {
1623
+ "type": "Symbol"
1624
+ }
1625
+ },
1626
+ {
1627
+ "id": "entry",
1628
+ "name": "Entry",
1629
+ "type": "Link",
1630
+ "linkType": "Entry"
1631
+ }
1632
+ ],
1633
+ "sys": {
1634
+ "id": "24jJwCT1bWskqEOOASgUCG",
1635
+ "type": "ContentType",
1636
+ "createdAt": "2014-09-17T10:35:32.293Z",
1637
+ "createdBy": {
1638
+ "sys": {
1639
+ "type": "Link",
1640
+ "linkType": "User",
1641
+ "id": "1E7acJL8I5XUXAMHQt9Grs"
1642
+ }
1643
+ },
1644
+ "space": {
1645
+ "sys": {
1646
+ "type": "Link",
1647
+ "linkType": "Space",
1648
+ "id": "ksbb7zto17p9"
1649
+ }
1650
+ },
1651
+ "version": 12,
1652
+ "updatedAt": "2014-09-17T10:35:40.220Z",
1653
+ "updatedBy": {
1654
+ "sys": {
1655
+ "type": "Link",
1656
+ "linkType": "User",
1657
+ "id": "1E7acJL8I5XUXAMHQt9Grs"
1658
+ }
1659
+ }
1660
+ }
1661
+ }
1662
+ http_version:
1663
+ recorded_at: Wed, 17 Sep 2014 10:36:49 GMT
1664
+ - request:
1665
+ method: put
1666
+ uri: https://api.contentful.com/spaces/ksbb7zto17p9/content_types/24jJwCT1bWskqEOOASgUCG
1667
+ body:
1668
+ encoding: UTF-8
1669
+ string: '{"name":"Codequest","description":"Testing","fields":[{"id":"name","name":"Name","type":"Text"},{"id":"number","name":"Number","type":"Integer"},{"id":"float1","name":"Float","type":"Number"},{"id":"boolean","name":"Boolean","type":"Boolean"},{"id":"date","name":"Date","type":"Date"},{"id":"time","name":"Time","type":"Date"},{"id":"location","name":"Location","type":"Location"},{"id":"file","name":"File","type":"Link","linkType":"Asset"},{"id":"image","name":"Image","type":"Link","linkType":"Asset"},{"id":"array","name":"Array","type":"Array","items":{"type":"Symbol"}},{"id":"entry","name":"Entry","type":"Link","linkType":"Entry"},{"id":"entries","name":"Entries","type":"Array","items":{"type":"Link","linkType":"Entry"}}]}'
1670
+ headers:
1671
+ User-Agent:
1672
+ - RubyContenfulManagementGem/0.2.0
1673
+ Authorization:
1674
+ - Bearer <ACCESS_TOKEN>
1675
+ Content-Type:
1676
+ - application/vnd.contentful.management.v1+json
1677
+ X-Contentful-Version:
1678
+ - '12'
1679
+ Host:
1680
+ - api.contentful.com
1681
+ response:
1682
+ status:
1683
+ code: 200
1684
+ message: OK
1685
+ headers:
1686
+ "^access-Control-Expose-Headers":
1687
+ - Etag
1688
+ Access-Control-Allow-Headers:
1689
+ - 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
1690
+ Access-Control-Allow-Methods:
1691
+ - DELETE,GET,HEAD,POST,PUT,OPTIONS
1692
+ Access-Control-Allow-Origin:
1693
+ - "*"
1694
+ Access-Control-Max-Age:
1695
+ - '1728000'
1696
+ Cf-Space-Id:
1697
+ - ksbb7zto17p9
1698
+ Content-Type:
1699
+ - application/vnd.contentful.management.v1+json
1700
+ Date:
1701
+ - Wed, 17 Sep 2014 10:35:40 GMT
1702
+ Etag:
1703
+ - '"974ff24771a59200e05f6bd9e86dfa8c"'
1704
+ Server:
1705
+ - nginx
1706
+ X-Powered-By:
1707
+ - Express
1708
+ Content-Length:
1709
+ - '1835'
1710
+ Connection:
1711
+ - keep-alive
1712
+ body:
1713
+ encoding: UTF-8
1714
+ string: |
1715
+ {
1716
+ "name": "Codequest",
1717
+ "description": "Testing",
1718
+ "fields": [
1719
+ {
1720
+ "id": "name",
1721
+ "name": "Name",
1722
+ "type": "Text"
1723
+ },
1724
+ {
1725
+ "id": "number",
1726
+ "name": "Number",
1727
+ "type": "Integer"
1728
+ },
1729
+ {
1730
+ "id": "float1",
1731
+ "name": "Float",
1732
+ "type": "Number"
1733
+ },
1734
+ {
1735
+ "id": "boolean",
1736
+ "name": "Boolean",
1737
+ "type": "Boolean"
1738
+ },
1739
+ {
1740
+ "id": "date",
1741
+ "name": "Date",
1742
+ "type": "Date"
1743
+ },
1744
+ {
1745
+ "id": "time",
1746
+ "name": "Time",
1747
+ "type": "Date"
1748
+ },
1749
+ {
1750
+ "id": "location",
1751
+ "name": "Location",
1752
+ "type": "Location"
1753
+ },
1754
+ {
1755
+ "id": "file",
1756
+ "name": "File",
1757
+ "type": "Link",
1758
+ "linkType": "Asset"
1759
+ },
1760
+ {
1761
+ "id": "image",
1762
+ "name": "Image",
1763
+ "type": "Link",
1764
+ "linkType": "Asset"
1765
+ },
1766
+ {
1767
+ "id": "array",
1768
+ "name": "Array",
1769
+ "type": "Array",
1770
+ "items": {
1771
+ "type": "Symbol"
1772
+ }
1773
+ },
1774
+ {
1775
+ "id": "entry",
1776
+ "name": "Entry",
1777
+ "type": "Link",
1778
+ "linkType": "Entry"
1779
+ },
1780
+ {
1781
+ "id": "entries",
1782
+ "name": "Entries",
1783
+ "type": "Array",
1784
+ "items": {
1785
+ "type": "Link",
1786
+ "linkType": "Entry"
1787
+ }
1788
+ }
1789
+ ],
1790
+ "sys": {
1791
+ "id": "24jJwCT1bWskqEOOASgUCG",
1792
+ "type": "ContentType",
1793
+ "createdAt": "2014-09-17T10:35:32.293Z",
1794
+ "createdBy": {
1795
+ "sys": {
1796
+ "type": "Link",
1797
+ "linkType": "User",
1798
+ "id": "1E7acJL8I5XUXAMHQt9Grs"
1799
+ }
1800
+ },
1801
+ "space": {
1802
+ "sys": {
1803
+ "type": "Link",
1804
+ "linkType": "Space",
1805
+ "id": "ksbb7zto17p9"
1806
+ }
1807
+ },
1808
+ "version": 13,
1809
+ "updatedAt": "2014-09-17T10:35:40.909Z",
1810
+ "updatedBy": {
1811
+ "sys": {
1812
+ "type": "Link",
1813
+ "linkType": "User",
1814
+ "id": "1E7acJL8I5XUXAMHQt9Grs"
1815
+ }
1816
+ }
1817
+ }
1818
+ }
1819
+ http_version:
1820
+ recorded_at: Wed, 17 Sep 2014 10:36:50 GMT
1821
+ - request:
1822
+ method: put
1823
+ uri: https://api.contentful.com/spaces/ksbb7zto17p9/content_types/24jJwCT1bWskqEOOASgUCG
1824
+ body:
1825
+ encoding: UTF-8
1826
+ string: '{"name":"Codequest","description":"Testing","fields":[{"id":"name","name":"Name","type":"Text"},{"id":"number","name":"Number","type":"Integer"},{"id":"float1","name":"Float","type":"Number"},{"id":"boolean","name":"Boolean","type":"Boolean"},{"id":"date","name":"Date","type":"Date"},{"id":"time","name":"Time","type":"Date"},{"id":"location","name":"Location","type":"Location"},{"id":"file","name":"File","type":"Link","linkType":"Asset"},{"id":"image","name":"Image","type":"Link","linkType":"Asset"},{"id":"array","name":"Array","type":"Array","items":{"type":"Symbol"}},{"id":"entry","name":"Entry","type":"Link","linkType":"Entry"},{"id":"entries","name":"Entries","type":"Array","items":{"type":"Link","linkType":"Entry"}},{"id":"object_json","name":"Object","type":"Object"}]}'
1827
+ headers:
1828
+ User-Agent:
1829
+ - RubyContenfulManagementGem/0.2.0
1830
+ Authorization:
1831
+ - Bearer <ACCESS_TOKEN>
1832
+ Content-Type:
1833
+ - application/vnd.contentful.management.v1+json
1834
+ X-Contentful-Version:
1835
+ - '13'
1836
+ Host:
1837
+ - api.contentful.com
1838
+ response:
1839
+ status:
1840
+ code: 200
1841
+ message: OK
1842
+ headers:
1843
+ "^access-Control-Expose-Headers":
1844
+ - Etag
1845
+ Access-Control-Allow-Headers:
1846
+ - 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
1847
+ Access-Control-Allow-Methods:
1848
+ - DELETE,GET,HEAD,POST,PUT,OPTIONS
1849
+ Access-Control-Allow-Origin:
1850
+ - "*"
1851
+ Access-Control-Max-Age:
1852
+ - '1728000'
1853
+ Cf-Space-Id:
1854
+ - ksbb7zto17p9
1855
+ Content-Type:
1856
+ - application/vnd.contentful.management.v1+json
1857
+ Date:
1858
+ - Wed, 17 Sep 2014 10:35:41 GMT
1859
+ Etag:
1860
+ - '"ea41fd338fa1dfaf11bc17edfaa49795"'
1861
+ Server:
1862
+ - nginx
1863
+ X-Powered-By:
1864
+ - Express
1865
+ Content-Length:
1866
+ - '1922'
1867
+ Connection:
1868
+ - keep-alive
1869
+ body:
1870
+ encoding: UTF-8
1871
+ string: |
1872
+ {
1873
+ "name": "Codequest",
1874
+ "description": "Testing",
1875
+ "fields": [
1876
+ {
1877
+ "id": "name",
1878
+ "name": "Name",
1879
+ "type": "Text"
1880
+ },
1881
+ {
1882
+ "id": "number",
1883
+ "name": "Number",
1884
+ "type": "Integer"
1885
+ },
1886
+ {
1887
+ "id": "float1",
1888
+ "name": "Float",
1889
+ "type": "Number"
1890
+ },
1891
+ {
1892
+ "id": "boolean",
1893
+ "name": "Boolean",
1894
+ "type": "Boolean"
1895
+ },
1896
+ {
1897
+ "id": "date",
1898
+ "name": "Date",
1899
+ "type": "Date"
1900
+ },
1901
+ {
1902
+ "id": "time",
1903
+ "name": "Time",
1904
+ "type": "Date"
1905
+ },
1906
+ {
1907
+ "id": "location",
1908
+ "name": "Location",
1909
+ "type": "Location"
1910
+ },
1911
+ {
1912
+ "id": "file",
1913
+ "name": "File",
1914
+ "type": "Link",
1915
+ "linkType": "Asset"
1916
+ },
1917
+ {
1918
+ "id": "image",
1919
+ "name": "Image",
1920
+ "type": "Link",
1921
+ "linkType": "Asset"
1922
+ },
1923
+ {
1924
+ "id": "array",
1925
+ "name": "Array",
1926
+ "type": "Array",
1927
+ "items": {
1928
+ "type": "Symbol"
1929
+ }
1930
+ },
1931
+ {
1932
+ "id": "entry",
1933
+ "name": "Entry",
1934
+ "type": "Link",
1935
+ "linkType": "Entry"
1936
+ },
1937
+ {
1938
+ "id": "entries",
1939
+ "name": "Entries",
1940
+ "type": "Array",
1941
+ "items": {
1942
+ "type": "Link",
1943
+ "linkType": "Entry"
1944
+ }
1945
+ },
1946
+ {
1947
+ "id": "object_json",
1948
+ "name": "Object",
1949
+ "type": "Object"
1950
+ }
1951
+ ],
1952
+ "sys": {
1953
+ "id": "24jJwCT1bWskqEOOASgUCG",
1954
+ "type": "ContentType",
1955
+ "createdAt": "2014-09-17T10:35:32.293Z",
1956
+ "createdBy": {
1957
+ "sys": {
1958
+ "type": "Link",
1959
+ "linkType": "User",
1960
+ "id": "1E7acJL8I5XUXAMHQt9Grs"
1961
+ }
1962
+ },
1963
+ "space": {
1964
+ "sys": {
1965
+ "type": "Link",
1966
+ "linkType": "Space",
1967
+ "id": "ksbb7zto17p9"
1968
+ }
1969
+ },
1970
+ "version": 14,
1971
+ "updatedAt": "2014-09-17T10:35:41.588Z",
1972
+ "updatedBy": {
1973
+ "sys": {
1974
+ "type": "Link",
1975
+ "linkType": "User",
1976
+ "id": "1E7acJL8I5XUXAMHQt9Grs"
1977
+ }
1978
+ }
1979
+ }
1980
+ }
1981
+ http_version:
1982
+ recorded_at: Wed, 17 Sep 2014 10:36:51 GMT
1983
+ - request:
1984
+ method: post
1985
+ uri: https://api.contentful.com/spaces/ksbb7zto17p9/webhook_definitions/
1986
+ body:
1987
+ encoding: UTF-8
1988
+ string: '{"url":"https://www.example.com"}'
1989
+ headers:
1990
+ User-Agent:
1991
+ - RubyContenfulManagementGem/0.2.0
1992
+ Authorization:
1993
+ - Bearer <ACCESS_TOKEN>
1994
+ Content-Type:
1995
+ - application/vnd.contentful.management.v1+json
1996
+ Host:
1997
+ - api.contentful.com
1998
+ response:
1999
+ status:
2000
+ code: 422
2001
+ message: Unprocessable Entity
2002
+ headers:
2003
+ "^access-Control-Expose-Headers":
2004
+ - Etag
2005
+ Accept-Ranges:
2006
+ - bytes
2007
+ Access-Control-Allow-Headers:
2008
+ - 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
2009
+ Access-Control-Allow-Methods:
2010
+ - DELETE,GET,HEAD,POST,PUT,OPTIONS
2011
+ Access-Control-Allow-Origin:
2012
+ - "*"
2013
+ Access-Control-Max-Age:
2014
+ - '1728000'
2015
+ Cache-Control:
2016
+ - max-age=0
2017
+ Content-Type:
2018
+ - application/vnd.contentful.management.v1+json
2019
+ Date:
2020
+ - Wed, 17 Sep 2014 10:35:42 GMT
2021
+ Server:
2022
+ - nginx
2023
+ Status:
2024
+ - 422 Unprocessable Entity
2025
+ X-Contentful-Request-Id:
2026
+ - 71a-918363182
2027
+ Content-Length:
2028
+ - '301'
2029
+ Connection:
2030
+ - keep-alive
2031
+ body:
2032
+ encoding: UTF-8
2033
+ string: |
2034
+ {
2035
+ "sys":{
2036
+ "type":"Error",
2037
+ "id":"ValidationFailed"
2038
+ },
2039
+ "requestId":"71a-918363182",
2040
+ "message":"The resource you sent in the body is invalid.",
2041
+ "details":{
2042
+ "errors":[
2043
+ {
2044
+ "name":"taken",
2045
+ "path":"url",
2046
+ "value":"https://www.example.com"
2047
+ }
2048
+ ]
2049
+ }}
2050
+ http_version:
2051
+ recorded_at: Wed, 17 Sep 2014 10:36:52 GMT
2052
+ - request:
2053
+ method: post
2054
+ uri: https://api.contentful.com/spaces/ksbb7zto17p9/webhook_definitions/
2055
+ body:
2056
+ encoding: UTF-8
2057
+ string: '{"url":"https://www.example2.com"}'
2058
+ headers:
2059
+ User-Agent:
2060
+ - RubyContenfulManagementGem/0.2.0
2061
+ Authorization:
2062
+ - Bearer <ACCESS_TOKEN>
2063
+ Content-Type:
2064
+ - application/vnd.contentful.management.v1+json
2065
+ Host:
2066
+ - api.contentful.com
2067
+ response:
2068
+ status:
2069
+ code: 422
2070
+ message: Unprocessable Entity
2071
+ headers:
2072
+ "^access-Control-Expose-Headers":
2073
+ - Etag
2074
+ Accept-Ranges:
2075
+ - bytes
2076
+ Access-Control-Allow-Headers:
2077
+ - 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
2078
+ Access-Control-Allow-Methods:
2079
+ - DELETE,GET,HEAD,POST,PUT,OPTIONS
2080
+ Access-Control-Allow-Origin:
2081
+ - "*"
2082
+ Access-Control-Max-Age:
2083
+ - '1728000'
2084
+ Cache-Control:
2085
+ - max-age=0
2086
+ Content-Type:
2087
+ - application/vnd.contentful.management.v1+json
2088
+ Date:
2089
+ - Wed, 17 Sep 2014 10:35:43 GMT
2090
+ Server:
2091
+ - nginx
2092
+ Status:
2093
+ - 422 Unprocessable Entity
2094
+ X-Contentful-Request-Id:
2095
+ - f1c-1380627446
2096
+ Content-Length:
2097
+ - '303'
2098
+ Connection:
2099
+ - keep-alive
2100
+ body:
2101
+ encoding: UTF-8
2102
+ string: |
2103
+ {
2104
+ "sys":{
2105
+ "type":"Error",
2106
+ "id":"ValidationFailed"
2107
+ },
2108
+ "requestId":"f1c-1380627446",
2109
+ "message":"The resource you sent in the body is invalid.",
2110
+ "details":{
2111
+ "errors":[
2112
+ {
2113
+ "name":"taken",
2114
+ "path":"url",
2115
+ "value":"https://www.example2.com"
2116
+ }
2117
+ ]
2118
+ }}
2119
+ http_version:
2120
+ recorded_at: Wed, 17 Sep 2014 10:36:52 GMT
2121
+ - request:
2122
+ method: put
2123
+ uri: https://api.contentful.com/spaces/ksbb7zto17p9/content_types/24jJwCT1bWskqEOOASgUCG/published
2124
+ body:
2125
+ encoding: US-ASCII
2126
+ string: ''
2127
+ headers:
2128
+ User-Agent:
2129
+ - RubyContenfulManagementGem/0.2.0
2130
+ Authorization:
2131
+ - Bearer <ACCESS_TOKEN>
2132
+ Content-Type:
2133
+ - application/vnd.contentful.management.v1+json
2134
+ X-Contentful-Version:
2135
+ - '14'
2136
+ Content-Length:
2137
+ - '0'
2138
+ Host:
2139
+ - api.contentful.com
2140
+ response:
2141
+ status:
2142
+ code: 200
2143
+ message: OK
2144
+ headers:
2145
+ "^access-Control-Expose-Headers":
2146
+ - Etag
2147
+ Access-Control-Allow-Headers:
2148
+ - 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
2149
+ Access-Control-Allow-Methods:
2150
+ - DELETE,GET,HEAD,POST,PUT,OPTIONS
2151
+ Access-Control-Allow-Origin:
2152
+ - "*"
2153
+ Access-Control-Max-Age:
2154
+ - '1728000'
2155
+ Cf-Space-Id:
2156
+ - ksbb7zto17p9
2157
+ Content-Type:
2158
+ - application/vnd.contentful.management.v1+json
2159
+ Date:
2160
+ - Wed, 17 Sep 2014 10:35:44 GMT
2161
+ Etag:
2162
+ - '"e62e92026492fa32261df1111b2fac74"'
2163
+ Server:
2164
+ - nginx
2165
+ X-Powered-By:
2166
+ - Express
2167
+ Content-Length:
2168
+ - '2218'
2169
+ Connection:
2170
+ - keep-alive
2171
+ body:
2172
+ encoding: UTF-8
2173
+ string: |
2174
+ {
2175
+ "name": "Codequest",
2176
+ "description": "Testing",
2177
+ "fields": [
2178
+ {
2179
+ "id": "name",
2180
+ "name": "Name",
2181
+ "type": "Text"
2182
+ },
2183
+ {
2184
+ "id": "number",
2185
+ "name": "Number",
2186
+ "type": "Integer"
2187
+ },
2188
+ {
2189
+ "id": "float1",
2190
+ "name": "Float",
2191
+ "type": "Number"
2192
+ },
2193
+ {
2194
+ "id": "boolean",
2195
+ "name": "Boolean",
2196
+ "type": "Boolean"
2197
+ },
2198
+ {
2199
+ "id": "date",
2200
+ "name": "Date",
2201
+ "type": "Date"
2202
+ },
2203
+ {
2204
+ "id": "time",
2205
+ "name": "Time",
2206
+ "type": "Date"
2207
+ },
2208
+ {
2209
+ "id": "location",
2210
+ "name": "Location",
2211
+ "type": "Location"
2212
+ },
2213
+ {
2214
+ "id": "file",
2215
+ "name": "File",
2216
+ "type": "Link",
2217
+ "linkType": "Asset"
2218
+ },
2219
+ {
2220
+ "id": "image",
2221
+ "name": "Image",
2222
+ "type": "Link",
2223
+ "linkType": "Asset"
2224
+ },
2225
+ {
2226
+ "id": "array",
2227
+ "name": "Array",
2228
+ "type": "Array",
2229
+ "items": {
2230
+ "type": "Symbol"
2231
+ }
2232
+ },
2233
+ {
2234
+ "id": "entry",
2235
+ "name": "Entry",
2236
+ "type": "Link",
2237
+ "linkType": "Entry"
2238
+ },
2239
+ {
2240
+ "id": "entries",
2241
+ "name": "Entries",
2242
+ "type": "Array",
2243
+ "items": {
2244
+ "type": "Link",
2245
+ "linkType": "Entry"
2246
+ }
2247
+ },
2248
+ {
2249
+ "id": "object_json",
2250
+ "name": "Object",
2251
+ "type": "Object"
2252
+ }
2253
+ ],
2254
+ "sys": {
2255
+ "id": "24jJwCT1bWskqEOOASgUCG",
2256
+ "type": "ContentType",
2257
+ "createdAt": "2014-09-17T10:35:32.293Z",
2258
+ "createdBy": {
2259
+ "sys": {
2260
+ "type": "Link",
2261
+ "linkType": "User",
2262
+ "id": "1E7acJL8I5XUXAMHQt9Grs"
2263
+ }
2264
+ },
2265
+ "space": {
2266
+ "sys": {
2267
+ "type": "Link",
2268
+ "linkType": "Space",
2269
+ "id": "ksbb7zto17p9"
2270
+ }
2271
+ },
2272
+ "version": 15,
2273
+ "updatedAt": "2014-09-17T10:35:43.644Z",
2274
+ "updatedBy": {
2275
+ "sys": {
2276
+ "type": "Link",
2277
+ "linkType": "User",
2278
+ "id": "1E7acJL8I5XUXAMHQt9Grs"
2279
+ }
2280
+ },
2281
+ "firstPublishedAt": "2014-09-17T10:35:43.644Z",
2282
+ "publishedCounter": 1,
2283
+ "publishedAt": "2014-09-17T10:35:43.644Z",
2284
+ "publishedBy": {
2285
+ "sys": {
2286
+ "type": "Link",
2287
+ "linkType": "User",
2288
+ "id": "1E7acJL8I5XUXAMHQt9Grs"
2289
+ }
2290
+ },
2291
+ "publishedVersion": 14
2292
+ }
2293
+ }
2294
+ http_version:
2295
+ recorded_at: Wed, 17 Sep 2014 10:36:53 GMT
2296
+ - request:
2297
+ method: get
2298
+ uri: https://api.contentful.com/spaces/ksbb7zto17p9/content_types
2299
+ body:
2300
+ encoding: US-ASCII
2301
+ string: ''
2302
+ headers:
2303
+ User-Agent:
2304
+ - RubyContenfulManagementGem/0.2.0
2305
+ Authorization:
2306
+ - Bearer <ACCESS_TOKEN>
2307
+ Content-Type:
2308
+ - application/vnd.contentful.management.v1+json
2309
+ Content-Length:
2310
+ - '0'
2311
+ Host:
2312
+ - api.contentful.com
2313
+ response:
2314
+ status:
2315
+ code: 200
2316
+ message: OK
2317
+ headers:
2318
+ "^access-Control-Expose-Headers":
2319
+ - Etag
2320
+ Access-Control-Allow-Headers:
2321
+ - 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
2322
+ Access-Control-Allow-Methods:
2323
+ - DELETE,GET,HEAD,POST,PUT,OPTIONS
2324
+ Access-Control-Allow-Origin:
2325
+ - "*"
2326
+ Access-Control-Max-Age:
2327
+ - '1728000'
2328
+ Cf-Space-Id:
2329
+ - ksbb7zto17p9
2330
+ Content-Type:
2331
+ - application/vnd.contentful.management.v1+json
2332
+ Date:
2333
+ - Wed, 17 Sep 2014 10:35:44 GMT
2334
+ Etag:
2335
+ - '"bba5041a3fe003cf795b3c1176aa25a9"'
2336
+ Server:
2337
+ - nginx
2338
+ X-Powered-By:
2339
+ - Express
2340
+ Content-Length:
2341
+ - '5926'
2342
+ Connection:
2343
+ - keep-alive
2344
+ body:
2345
+ encoding: UTF-8
2346
+ string: |
2347
+ {
2348
+ "sys": {
2349
+ "type": "Array"
2350
+ },
2351
+ "total": 2,
2352
+ "skip": 0,
2353
+ "limit": 100,
2354
+ "items": [
2355
+ {
2356
+ "name": "Codequest",
2357
+ "description": "Testing",
2358
+ "fields": [
2359
+ {
2360
+ "id": "name",
2361
+ "name": "Name",
2362
+ "type": "Text",
2363
+ "uiid": "4pvoh3rqqkg"
2364
+ },
2365
+ {
2366
+ "id": "number",
2367
+ "name": "Number",
2368
+ "type": "Integer",
2369
+ "uiid": "3sfw74p60ao"
2370
+ },
2371
+ {
2372
+ "id": "float1",
2373
+ "name": "Float",
2374
+ "type": "Number",
2375
+ "uiid": "4imo3thvny8"
2376
+ },
2377
+ {
2378
+ "id": "boolean",
2379
+ "name": "Boolean",
2380
+ "type": "Boolean",
2381
+ "uiid": "3rhusw49gjk"
2382
+ },
2383
+ {
2384
+ "id": "date",
2385
+ "name": "Date",
2386
+ "type": "Date",
2387
+ "uiid": "2xpe3hxge0w"
2388
+ },
2389
+ {
2390
+ "id": "time",
2391
+ "name": "Time",
2392
+ "type": "Date",
2393
+ "uiid": "2nmqm7tk8ao"
2394
+ },
2395
+ {
2396
+ "id": "location",
2397
+ "name": "Location",
2398
+ "type": "Location",
2399
+ "uiid": "3hxbs6ifx8g"
2400
+ },
2401
+ {
2402
+ "id": "file",
2403
+ "name": "File",
2404
+ "type": "Link",
2405
+ "linkType": "Asset",
2406
+ "uiid": "2t0f7kif01s"
2407
+ },
2408
+ {
2409
+ "id": "image",
2410
+ "name": "Image",
2411
+ "type": "Link",
2412
+ "linkType": "Asset",
2413
+ "uiid": "2oes2azzrb4"
2414
+ },
2415
+ {
2416
+ "id": "array",
2417
+ "name": "Array",
2418
+ "type": "Array",
2419
+ "items": {
2420
+ "type": "Symbol"
2421
+ },
2422
+ "uiid": "2hd7ce9f9q8"
2423
+ },
2424
+ {
2425
+ "id": "entry",
2426
+ "name": "Entry",
2427
+ "type": "Link",
2428
+ "linkType": "Entry",
2429
+ "uiid": "483pua4s0zk"
2430
+ },
2431
+ {
2432
+ "id": "entries",
2433
+ "name": "Entries",
2434
+ "type": "Array",
2435
+ "items": {
2436
+ "type": "Link",
2437
+ "linkType": "Entry"
2438
+ },
2439
+ "uiid": "45oy563ah34"
2440
+ },
2441
+ {
2442
+ "id": "object_json",
2443
+ "name": "Object",
2444
+ "type": "Object",
2445
+ "uiid": "37a185i10qo"
2446
+ }
2447
+ ],
2448
+ "sys": {
2449
+ "id": "3BcqstlnjGkCQ4sKI6cYaC",
2450
+ "type": "ContentType",
2451
+ "createdAt": "2014-09-17T10:28:56.927Z",
2452
+ "createdBy": {
2453
+ "sys": {
2454
+ "type": "Link",
2455
+ "linkType": "User",
2456
+ "id": "1E7acJL8I5XUXAMHQt9Grs"
2457
+ }
2458
+ },
2459
+ "space": {
2460
+ "sys": {
2461
+ "type": "Link",
2462
+ "linkType": "Space",
2463
+ "id": "ksbb7zto17p9"
2464
+ }
2465
+ },
2466
+ "firstPublishedAt": "2014-09-17T10:29:09.638Z",
2467
+ "publishedCounter": 1,
2468
+ "publishedAt": "2014-09-17T10:29:09.638Z",
2469
+ "publishedBy": {
2470
+ "sys": {
2471
+ "type": "Link",
2472
+ "linkType": "User",
2473
+ "id": "1E7acJL8I5XUXAMHQt9Grs"
2474
+ }
2475
+ },
2476
+ "publishedVersion": 14,
2477
+ "version": 16,
2478
+ "updatedAt": "2014-09-17T10:30:47.253Z",
2479
+ "updatedBy": {
2480
+ "sys": {
2481
+ "type": "Link",
2482
+ "linkType": "User",
2483
+ "id": "1E7acJL8I5XUXAMHQt9Grs"
2484
+ }
2485
+ }
2486
+ }
2487
+ },
2488
+ {
2489
+ "name": "Codequest",
2490
+ "description": "Testing",
2491
+ "fields": [
2492
+ {
2493
+ "id": "name",
2494
+ "name": "Name",
2495
+ "type": "Text"
2496
+ },
2497
+ {
2498
+ "id": "number",
2499
+ "name": "Number",
2500
+ "type": "Integer"
2501
+ },
2502
+ {
2503
+ "id": "float1",
2504
+ "name": "Float",
2505
+ "type": "Number"
2506
+ },
2507
+ {
2508
+ "id": "boolean",
2509
+ "name": "Boolean",
2510
+ "type": "Boolean"
2511
+ },
2512
+ {
2513
+ "id": "date",
2514
+ "name": "Date",
2515
+ "type": "Date"
2516
+ },
2517
+ {
2518
+ "id": "time",
2519
+ "name": "Time",
2520
+ "type": "Date"
2521
+ },
2522
+ {
2523
+ "id": "location",
2524
+ "name": "Location",
2525
+ "type": "Location"
2526
+ },
2527
+ {
2528
+ "id": "file",
2529
+ "name": "File",
2530
+ "type": "Link",
2531
+ "linkType": "Asset"
2532
+ },
2533
+ {
2534
+ "id": "image",
2535
+ "name": "Image",
2536
+ "type": "Link",
2537
+ "linkType": "Asset"
2538
+ },
2539
+ {
2540
+ "id": "array",
2541
+ "name": "Array",
2542
+ "type": "Array",
2543
+ "items": {
2544
+ "type": "Symbol"
2545
+ }
2546
+ },
2547
+ {
2548
+ "id": "entry",
2549
+ "name": "Entry",
2550
+ "type": "Link",
2551
+ "linkType": "Entry"
2552
+ },
2553
+ {
2554
+ "id": "entries",
2555
+ "name": "Entries",
2556
+ "type": "Array",
2557
+ "items": {
2558
+ "type": "Link",
2559
+ "linkType": "Entry"
2560
+ }
2561
+ },
2562
+ {
2563
+ "id": "object_json",
2564
+ "name": "Object",
2565
+ "type": "Object"
2566
+ }
2567
+ ],
2568
+ "sys": {
2569
+ "id": "24jJwCT1bWskqEOOASgUCG",
2570
+ "type": "ContentType",
2571
+ "createdAt": "2014-09-17T10:35:32.293Z",
2572
+ "createdBy": {
2573
+ "sys": {
2574
+ "type": "Link",
2575
+ "linkType": "User",
2576
+ "id": "1E7acJL8I5XUXAMHQt9Grs"
2577
+ }
2578
+ },
2579
+ "space": {
2580
+ "sys": {
2581
+ "type": "Link",
2582
+ "linkType": "Space",
2583
+ "id": "ksbb7zto17p9"
2584
+ }
2585
+ },
2586
+ "firstPublishedAt": "2014-09-17T10:35:43.644Z",
2587
+ "publishedCounter": 1,
2588
+ "publishedAt": "2014-09-17T10:35:43.644Z",
2589
+ "publishedBy": {
2590
+ "sys": {
2591
+ "type": "Link",
2592
+ "linkType": "User",
2593
+ "id": "1E7acJL8I5XUXAMHQt9Grs"
2594
+ }
2595
+ },
2596
+ "publishedVersion": 14,
2597
+ "version": 15,
2598
+ "updatedAt": "2014-09-17T10:35:43.653Z",
2599
+ "updatedBy": {
2600
+ "sys": {
2601
+ "type": "Link",
2602
+ "linkType": "User",
2603
+ "id": "1E7acJL8I5XUXAMHQt9Grs"
2604
+ }
2605
+ }
2606
+ }
2607
+ }
2608
+ ]
2609
+ }
2610
+ http_version:
2611
+ recorded_at: Wed, 17 Sep 2014 10:36:54 GMT
2612
+ recorded_with: VCR 2.9.3