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,2212 @@
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.1
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 11:39:50 GMT
43
+ Etag:
44
+ - '"efae20eceefa3dc5397bdcb3d75461f7"'
45
+ Server:
46
+ - nginx
47
+ Status:
48
+ - 200 OK
49
+ X-Contentful-Request-Id:
50
+ - 71a-918376920
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 11:40:59 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.1
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 11:39:51 GMT
121
+ Etag:
122
+ - '"1dd66235a92c9facbe92cca5f5e06e24"'
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": "4l71wvmwdts"
151
+ },
152
+ {
153
+ "id": "number",
154
+ "name": "Number",
155
+ "type": "Integer",
156
+ "uiid": "2w5yrdm2bcw"
157
+ },
158
+ {
159
+ "id": "float1",
160
+ "name": "Float",
161
+ "type": "Number",
162
+ "uiid": "4luul26a0ow"
163
+ },
164
+ {
165
+ "id": "boolean",
166
+ "name": "Boolean",
167
+ "type": "Boolean",
168
+ "uiid": "3i1kibel3pc"
169
+ },
170
+ {
171
+ "id": "date",
172
+ "name": "Date",
173
+ "type": "Date",
174
+ "uiid": "3zg29o2iosg"
175
+ },
176
+ {
177
+ "id": "time",
178
+ "name": "Time",
179
+ "type": "Date",
180
+ "uiid": "4ngi0p8hhq8"
181
+ },
182
+ {
183
+ "id": "location",
184
+ "name": "Location",
185
+ "type": "Location",
186
+ "uiid": "3fkiu07bjsw"
187
+ },
188
+ {
189
+ "id": "file",
190
+ "name": "File",
191
+ "type": "Link",
192
+ "linkType": "Asset",
193
+ "uiid": "4rdvc05bqio"
194
+ },
195
+ {
196
+ "id": "image",
197
+ "name": "Image",
198
+ "type": "Link",
199
+ "linkType": "Asset",
200
+ "uiid": "3n1sq1z10jk"
201
+ },
202
+ {
203
+ "id": "array",
204
+ "name": "Array",
205
+ "type": "Array",
206
+ "items": {
207
+ "type": "Symbol"
208
+ },
209
+ "uiid": "2h28wh2jgg0"
210
+ },
211
+ {
212
+ "id": "entry",
213
+ "name": "Entry",
214
+ "type": "Link",
215
+ "linkType": "Entry",
216
+ "uiid": "2ojkdp2ky68"
217
+ },
218
+ {
219
+ "id": "entries",
220
+ "name": "Entries",
221
+ "type": "Array",
222
+ "items": {
223
+ "type": "Link",
224
+ "linkType": "Entry"
225
+ },
226
+ "uiid": "36u2qzye58g"
227
+ },
228
+ {
229
+ "id": "object_json",
230
+ "name": "Object",
231
+ "type": "Object",
232
+ "uiid": "2wolg4qw2rk"
233
+ }
234
+ ],
235
+ "sys": {
236
+ "id": "24jJwCT1bWskqEOOASgUCG",
237
+ "type": "ContentType",
238
+ "createdAt": "2014-09-17T10:35:32.293Z",
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:35:43.644Z",
254
+ "publishedCounter": 1,
255
+ "publishedAt": "2014-09-17T10:35:43.644Z",
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-17T11:36:21.429Z",
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 11:40:59 GMT
279
+ - request:
280
+ method: post
281
+ uri: https://api.contentful.com/spaces/ksbb7zto17p9/assets/
282
+ body:
283
+ encoding: UTF-8
284
+ string: '{"fields":{"title":{"en-US":"StorageRoom file"},"description":{"en-US":"test"},"file":{"en-US":{"contentType":"image/png","fileName":"fix_this_name","upload":"http://files.storageroomapp.com/accounts/account_id/collection/540d6d001e29fa3541000d2d/entries/540d6d961e29fa3559000d0d/fields/k540d6d001e29fa3541000d34/file.png"}}}}'
285
+ headers:
286
+ User-Agent:
287
+ - RubyContenfulManagementGem/0.2.1
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 11:39:51 GMT
315
+ Etag:
316
+ - '"4908d4c706c27d6c516af291ad81e79d"'
317
+ Server:
318
+ - nginx
319
+ X-Powered-By:
320
+ - Express
321
+ Content-Length:
322
+ - '1029'
323
+ Connection:
324
+ - keep-alive
325
+ body:
326
+ encoding: UTF-8
327
+ string: |
328
+ {
329
+ "fields": {
330
+ "title": {
331
+ "en-US": "StorageRoom file"
332
+ },
333
+ "description": {
334
+ "en-US": "test"
335
+ },
336
+ "file": {
337
+ "en-US": {
338
+ "contentType": "image/png",
339
+ "fileName": "fix_this_name",
340
+ "upload": "http://files.storageroomapp.com/accounts/account_id/collection/540d6d001e29fa3541000d2d/entries/540d6d961e29fa3559000d0d/fields/k540d6d001e29fa3541000d34/file.png"
341
+ }
342
+ }
343
+ },
344
+ "sys": {
345
+ "id": "LjiUYqF3k2SKkmEyQ2Yc0",
346
+ "type": "Asset",
347
+ "version": 1,
348
+ "createdAt": "2014-09-17T11:39:51.952Z",
349
+ "createdBy": {
350
+ "sys": {
351
+ "type": "Link",
352
+ "linkType": "User",
353
+ "id": "1E7acJL8I5XUXAMHQt9Grs"
354
+ }
355
+ },
356
+ "space": {
357
+ "sys": {
358
+ "type": "Link",
359
+ "linkType": "Space",
360
+ "id": "ksbb7zto17p9"
361
+ }
362
+ },
363
+ "updatedAt": "2014-09-17T11:39:51.953Z",
364
+ "updatedBy": {
365
+ "sys": {
366
+ "type": "Link",
367
+ "linkType": "User",
368
+ "id": "1E7acJL8I5XUXAMHQt9Grs"
369
+ }
370
+ }
371
+ }
372
+ }
373
+ http_version:
374
+ recorded_at: Wed, 17 Sep 2014 11:41:00 GMT
375
+ - request:
376
+ method: put
377
+ uri: https://api.contentful.com/spaces/ksbb7zto17p9/assets/LjiUYqF3k2SKkmEyQ2Yc0/files/en-US/process
378
+ body:
379
+ encoding: US-ASCII
380
+ string: ''
381
+ headers:
382
+ User-Agent:
383
+ - RubyContenfulManagementGem/0.2.1
384
+ Authorization:
385
+ - Bearer <ACCESS_TOKEN>
386
+ Content-Type:
387
+ - application/vnd.contentful.management.v1+json
388
+ X-Contentful-Version:
389
+ - '1'
390
+ Content-Length:
391
+ - '0'
392
+ Host:
393
+ - api.contentful.com
394
+ response:
395
+ status:
396
+ code: 204
397
+ message: No Content
398
+ headers:
399
+ "^access-Control-Expose-Headers":
400
+ - Etag
401
+ Access-Control-Allow-Headers:
402
+ - 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
403
+ Access-Control-Allow-Methods:
404
+ - DELETE,GET,HEAD,POST,PUT,OPTIONS
405
+ Access-Control-Allow-Origin:
406
+ - "*"
407
+ Access-Control-Max-Age:
408
+ - '1728000'
409
+ Cf-Space-Id:
410
+ - ksbb7zto17p9
411
+ Content-Type:
412
+ - application/vnd.contentful.management.v1+json
413
+ Date:
414
+ - Wed, 17 Sep 2014 11:39:52 GMT
415
+ Server:
416
+ - nginx
417
+ X-Powered-By:
418
+ - Express
419
+ Connection:
420
+ - keep-alive
421
+ body:
422
+ encoding: UTF-8
423
+ string: ''
424
+ http_version:
425
+ recorded_at: Wed, 17 Sep 2014 11:41:01 GMT
426
+ - request:
427
+ method: get
428
+ uri: https://api.contentful.com/spaces/ksbb7zto17p9
429
+ body:
430
+ encoding: US-ASCII
431
+ string: ''
432
+ headers:
433
+ User-Agent:
434
+ - RubyContenfulManagementGem/0.2.1
435
+ Authorization:
436
+ - Bearer <ACCESS_TOKEN>
437
+ Content-Type:
438
+ - application/vnd.contentful.management.v1+json
439
+ Content-Length:
440
+ - '0'
441
+ Host:
442
+ - api.contentful.com
443
+ response:
444
+ status:
445
+ code: 200
446
+ message: OK
447
+ headers:
448
+ "^access-Control-Expose-Headers":
449
+ - Etag
450
+ Accept-Ranges:
451
+ - bytes
452
+ Access-Control-Allow-Headers:
453
+ - 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
454
+ Access-Control-Allow-Methods:
455
+ - DELETE,GET,HEAD,POST,PUT,OPTIONS
456
+ Access-Control-Allow-Origin:
457
+ - "*"
458
+ Access-Control-Max-Age:
459
+ - '1728000'
460
+ Cache-Control:
461
+ - max-age=0
462
+ Content-Type:
463
+ - application/vnd.contentful.management.v1+json
464
+ Date:
465
+ - Wed, 17 Sep 2014 11:39:53 GMT
466
+ Etag:
467
+ - '"efae20eceefa3dc5397bdcb3d75461f7"'
468
+ Server:
469
+ - nginx
470
+ Status:
471
+ - 200 OK
472
+ X-Contentful-Request-Id:
473
+ - 85f-940029591
474
+ Content-Length:
475
+ - '445'
476
+ Connection:
477
+ - keep-alive
478
+ body:
479
+ encoding: UTF-8
480
+ string: |
481
+ {
482
+ "sys":{
483
+ "type":"Space",
484
+ "id":"ksbb7zto17p9",
485
+ "version":1,
486
+ "createdBy":{
487
+ "sys":{
488
+ "type":"Link",
489
+ "linkType":"User",
490
+ "id":"1E7acJL8I5XUXAMHQt9Grs"
491
+ }
492
+ },
493
+ "createdAt":"2014-09-17T09:54:48Z",
494
+ "updatedBy":{
495
+ "sys":{
496
+ "type":"Link",
497
+ "linkType":"User",
498
+ "id":"1E7acJL8I5XUXAMHQt9Grs"
499
+ }
500
+ },
501
+ "updatedAt":"2014-09-17T09:54:48Z"
502
+ },
503
+ "name":"test"}
504
+ http_version:
505
+ recorded_at: Wed, 17 Sep 2014 11:41:02 GMT
506
+ - request:
507
+ method: get
508
+ uri: https://api.contentful.com/spaces/ksbb7zto17p9/content_types
509
+ body:
510
+ encoding: US-ASCII
511
+ string: ''
512
+ headers:
513
+ User-Agent:
514
+ - RubyContenfulManagementGem/0.2.1
515
+ Authorization:
516
+ - Bearer <ACCESS_TOKEN>
517
+ Content-Type:
518
+ - application/vnd.contentful.management.v1+json
519
+ Content-Length:
520
+ - '0'
521
+ Host:
522
+ - api.contentful.com
523
+ response:
524
+ status:
525
+ code: 200
526
+ message: OK
527
+ headers:
528
+ "^access-Control-Expose-Headers":
529
+ - Etag
530
+ Access-Control-Allow-Headers:
531
+ - 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
532
+ Access-Control-Allow-Methods:
533
+ - DELETE,GET,HEAD,POST,PUT,OPTIONS
534
+ Access-Control-Allow-Origin:
535
+ - "*"
536
+ Access-Control-Max-Age:
537
+ - '1728000'
538
+ Cf-Space-Id:
539
+ - ksbb7zto17p9
540
+ Content-Type:
541
+ - application/vnd.contentful.management.v1+json
542
+ Date:
543
+ - Wed, 17 Sep 2014 11:39:54 GMT
544
+ Etag:
545
+ - '"1dd66235a92c9facbe92cca5f5e06e24"'
546
+ Server:
547
+ - nginx
548
+ X-Powered-By:
549
+ - Express
550
+ Content-Length:
551
+ - '3227'
552
+ Connection:
553
+ - keep-alive
554
+ body:
555
+ encoding: UTF-8
556
+ string: |
557
+ {
558
+ "sys": {
559
+ "type": "Array"
560
+ },
561
+ "total": 1,
562
+ "skip": 0,
563
+ "limit": 100,
564
+ "items": [
565
+ {
566
+ "name": "Codequest",
567
+ "description": "Testing",
568
+ "fields": [
569
+ {
570
+ "id": "name",
571
+ "name": "Name",
572
+ "type": "Text",
573
+ "uiid": "4l71wvmwdts"
574
+ },
575
+ {
576
+ "id": "number",
577
+ "name": "Number",
578
+ "type": "Integer",
579
+ "uiid": "2w5yrdm2bcw"
580
+ },
581
+ {
582
+ "id": "float1",
583
+ "name": "Float",
584
+ "type": "Number",
585
+ "uiid": "4luul26a0ow"
586
+ },
587
+ {
588
+ "id": "boolean",
589
+ "name": "Boolean",
590
+ "type": "Boolean",
591
+ "uiid": "3i1kibel3pc"
592
+ },
593
+ {
594
+ "id": "date",
595
+ "name": "Date",
596
+ "type": "Date",
597
+ "uiid": "3zg29o2iosg"
598
+ },
599
+ {
600
+ "id": "time",
601
+ "name": "Time",
602
+ "type": "Date",
603
+ "uiid": "4ngi0p8hhq8"
604
+ },
605
+ {
606
+ "id": "location",
607
+ "name": "Location",
608
+ "type": "Location",
609
+ "uiid": "3fkiu07bjsw"
610
+ },
611
+ {
612
+ "id": "file",
613
+ "name": "File",
614
+ "type": "Link",
615
+ "linkType": "Asset",
616
+ "uiid": "4rdvc05bqio"
617
+ },
618
+ {
619
+ "id": "image",
620
+ "name": "Image",
621
+ "type": "Link",
622
+ "linkType": "Asset",
623
+ "uiid": "3n1sq1z10jk"
624
+ },
625
+ {
626
+ "id": "array",
627
+ "name": "Array",
628
+ "type": "Array",
629
+ "items": {
630
+ "type": "Symbol"
631
+ },
632
+ "uiid": "2h28wh2jgg0"
633
+ },
634
+ {
635
+ "id": "entry",
636
+ "name": "Entry",
637
+ "type": "Link",
638
+ "linkType": "Entry",
639
+ "uiid": "2ojkdp2ky68"
640
+ },
641
+ {
642
+ "id": "entries",
643
+ "name": "Entries",
644
+ "type": "Array",
645
+ "items": {
646
+ "type": "Link",
647
+ "linkType": "Entry"
648
+ },
649
+ "uiid": "36u2qzye58g"
650
+ },
651
+ {
652
+ "id": "object_json",
653
+ "name": "Object",
654
+ "type": "Object",
655
+ "uiid": "2wolg4qw2rk"
656
+ }
657
+ ],
658
+ "sys": {
659
+ "id": "24jJwCT1bWskqEOOASgUCG",
660
+ "type": "ContentType",
661
+ "createdAt": "2014-09-17T10:35:32.293Z",
662
+ "createdBy": {
663
+ "sys": {
664
+ "type": "Link",
665
+ "linkType": "User",
666
+ "id": "1E7acJL8I5XUXAMHQt9Grs"
667
+ }
668
+ },
669
+ "space": {
670
+ "sys": {
671
+ "type": "Link",
672
+ "linkType": "Space",
673
+ "id": "ksbb7zto17p9"
674
+ }
675
+ },
676
+ "firstPublishedAt": "2014-09-17T10:35:43.644Z",
677
+ "publishedCounter": 1,
678
+ "publishedAt": "2014-09-17T10:35:43.644Z",
679
+ "publishedBy": {
680
+ "sys": {
681
+ "type": "Link",
682
+ "linkType": "User",
683
+ "id": "1E7acJL8I5XUXAMHQt9Grs"
684
+ }
685
+ },
686
+ "publishedVersion": 14,
687
+ "version": 16,
688
+ "updatedAt": "2014-09-17T11:36:21.429Z",
689
+ "updatedBy": {
690
+ "sys": {
691
+ "type": "Link",
692
+ "linkType": "User",
693
+ "id": "1E7acJL8I5XUXAMHQt9Grs"
694
+ }
695
+ }
696
+ }
697
+ }
698
+ ]
699
+ }
700
+ http_version:
701
+ recorded_at: Wed, 17 Sep 2014 11:41:02 GMT
702
+ - request:
703
+ method: post
704
+ uri: https://api.contentful.com/spaces/ksbb7zto17p9/assets/
705
+ body:
706
+ encoding: UTF-8
707
+ string: '{"fields":{"title":{"en-US":"StorageRoom file"},"description":{"en-US":"test"},"file":{"en-US":{"contentType":"image/png","fileName":"fix_this_name","upload":"http://files.storageroomapp.com/accounts/account_id/collection/540d6d001e29fa3541000d2d/entries/540d6d961e29fa3559000d0d/fields/k540d6d001e29fa3541000d35/file.png"}}}}'
708
+ headers:
709
+ User-Agent:
710
+ - RubyContenfulManagementGem/0.2.1
711
+ Authorization:
712
+ - Bearer <ACCESS_TOKEN>
713
+ Content-Type:
714
+ - application/vnd.contentful.management.v1+json
715
+ Host:
716
+ - api.contentful.com
717
+ response:
718
+ status:
719
+ code: 201
720
+ message: Created
721
+ headers:
722
+ "^access-Control-Expose-Headers":
723
+ - Etag
724
+ Access-Control-Allow-Headers:
725
+ - 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
726
+ Access-Control-Allow-Methods:
727
+ - DELETE,GET,HEAD,POST,PUT,OPTIONS
728
+ Access-Control-Allow-Origin:
729
+ - "*"
730
+ Access-Control-Max-Age:
731
+ - '1728000'
732
+ Cf-Space-Id:
733
+ - ksbb7zto17p9
734
+ Content-Type:
735
+ - application/vnd.contentful.management.v1+json
736
+ Date:
737
+ - Wed, 17 Sep 2014 11:39:54 GMT
738
+ Etag:
739
+ - '"c38df65502bd04cc251acff2f52a4ab8"'
740
+ Server:
741
+ - nginx
742
+ X-Powered-By:
743
+ - Express
744
+ Content-Length:
745
+ - '1030'
746
+ Connection:
747
+ - keep-alive
748
+ body:
749
+ encoding: UTF-8
750
+ string: |
751
+ {
752
+ "fields": {
753
+ "title": {
754
+ "en-US": "StorageRoom file"
755
+ },
756
+ "description": {
757
+ "en-US": "test"
758
+ },
759
+ "file": {
760
+ "en-US": {
761
+ "contentType": "image/png",
762
+ "fileName": "fix_this_name",
763
+ "upload": "http://files.storageroomapp.com/accounts/account_id/collection/540d6d001e29fa3541000d2d/entries/540d6d961e29fa3559000d0d/fields/k540d6d001e29fa3541000d35/file.png"
764
+ }
765
+ }
766
+ },
767
+ "sys": {
768
+ "id": "6GGpDNJTRCYeOGyWKmUqky",
769
+ "type": "Asset",
770
+ "version": 1,
771
+ "createdAt": "2014-09-17T11:39:54.771Z",
772
+ "createdBy": {
773
+ "sys": {
774
+ "type": "Link",
775
+ "linkType": "User",
776
+ "id": "1E7acJL8I5XUXAMHQt9Grs"
777
+ }
778
+ },
779
+ "space": {
780
+ "sys": {
781
+ "type": "Link",
782
+ "linkType": "Space",
783
+ "id": "ksbb7zto17p9"
784
+ }
785
+ },
786
+ "updatedAt": "2014-09-17T11:39:54.771Z",
787
+ "updatedBy": {
788
+ "sys": {
789
+ "type": "Link",
790
+ "linkType": "User",
791
+ "id": "1E7acJL8I5XUXAMHQt9Grs"
792
+ }
793
+ }
794
+ }
795
+ }
796
+ http_version:
797
+ recorded_at: Wed, 17 Sep 2014 11:41:03 GMT
798
+ - request:
799
+ method: put
800
+ uri: https://api.contentful.com/spaces/ksbb7zto17p9/assets/6GGpDNJTRCYeOGyWKmUqky/files/en-US/process
801
+ body:
802
+ encoding: US-ASCII
803
+ string: ''
804
+ headers:
805
+ User-Agent:
806
+ - RubyContenfulManagementGem/0.2.1
807
+ Authorization:
808
+ - Bearer <ACCESS_TOKEN>
809
+ Content-Type:
810
+ - application/vnd.contentful.management.v1+json
811
+ X-Contentful-Version:
812
+ - '1'
813
+ Content-Length:
814
+ - '0'
815
+ Host:
816
+ - api.contentful.com
817
+ response:
818
+ status:
819
+ code: 204
820
+ message: No Content
821
+ headers:
822
+ "^access-Control-Expose-Headers":
823
+ - Etag
824
+ Access-Control-Allow-Headers:
825
+ - 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
826
+ Access-Control-Allow-Methods:
827
+ - DELETE,GET,HEAD,POST,PUT,OPTIONS
828
+ Access-Control-Allow-Origin:
829
+ - "*"
830
+ Access-Control-Max-Age:
831
+ - '1728000'
832
+ Cf-Space-Id:
833
+ - ksbb7zto17p9
834
+ Content-Type:
835
+ - application/vnd.contentful.management.v1+json
836
+ Date:
837
+ - Wed, 17 Sep 2014 11:39:55 GMT
838
+ Server:
839
+ - nginx
840
+ X-Powered-By:
841
+ - Express
842
+ Connection:
843
+ - keep-alive
844
+ body:
845
+ encoding: UTF-8
846
+ string: ''
847
+ http_version:
848
+ recorded_at: Wed, 17 Sep 2014 11:41:03 GMT
849
+ - request:
850
+ method: get
851
+ uri: https://api.contentful.com/spaces/ksbb7zto17p9/content_types/24jJwCT1bWskqEOOASgUCG
852
+ body:
853
+ encoding: US-ASCII
854
+ string: ''
855
+ headers:
856
+ User-Agent:
857
+ - RubyContenfulManagementGem/0.2.1
858
+ Authorization:
859
+ - Bearer <ACCESS_TOKEN>
860
+ Content-Type:
861
+ - application/vnd.contentful.management.v1+json
862
+ Content-Length:
863
+ - '0'
864
+ Host:
865
+ - api.contentful.com
866
+ response:
867
+ status:
868
+ code: 200
869
+ message: OK
870
+ headers:
871
+ "^access-Control-Expose-Headers":
872
+ - Etag
873
+ Access-Control-Allow-Headers:
874
+ - 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
875
+ Access-Control-Allow-Methods:
876
+ - DELETE,GET,HEAD,POST,PUT,OPTIONS
877
+ Access-Control-Allow-Origin:
878
+ - "*"
879
+ Access-Control-Max-Age:
880
+ - '1728000'
881
+ Cf-Space-Id:
882
+ - ksbb7zto17p9
883
+ Content-Type:
884
+ - application/vnd.contentful.management.v1+json
885
+ Date:
886
+ - Wed, 17 Sep 2014 11:39:55 GMT
887
+ Etag:
888
+ - '"a451cf8f421e097aa2be66d4c4f403b1"'
889
+ Server:
890
+ - nginx
891
+ X-Powered-By:
892
+ - Express
893
+ Content-Length:
894
+ - '2595'
895
+ Connection:
896
+ - keep-alive
897
+ body:
898
+ encoding: UTF-8
899
+ string: |
900
+ {
901
+ "name": "Codequest",
902
+ "description": "Testing",
903
+ "fields": [
904
+ {
905
+ "id": "name",
906
+ "name": "Name",
907
+ "type": "Text",
908
+ "uiid": "4l71wvmwdts"
909
+ },
910
+ {
911
+ "id": "number",
912
+ "name": "Number",
913
+ "type": "Integer",
914
+ "uiid": "2w5yrdm2bcw"
915
+ },
916
+ {
917
+ "id": "float1",
918
+ "name": "Float",
919
+ "type": "Number",
920
+ "uiid": "4luul26a0ow"
921
+ },
922
+ {
923
+ "id": "boolean",
924
+ "name": "Boolean",
925
+ "type": "Boolean",
926
+ "uiid": "3i1kibel3pc"
927
+ },
928
+ {
929
+ "id": "date",
930
+ "name": "Date",
931
+ "type": "Date",
932
+ "uiid": "3zg29o2iosg"
933
+ },
934
+ {
935
+ "id": "time",
936
+ "name": "Time",
937
+ "type": "Date",
938
+ "uiid": "4ngi0p8hhq8"
939
+ },
940
+ {
941
+ "id": "location",
942
+ "name": "Location",
943
+ "type": "Location",
944
+ "uiid": "3fkiu07bjsw"
945
+ },
946
+ {
947
+ "id": "file",
948
+ "name": "File",
949
+ "type": "Link",
950
+ "linkType": "Asset",
951
+ "uiid": "4rdvc05bqio"
952
+ },
953
+ {
954
+ "id": "image",
955
+ "name": "Image",
956
+ "type": "Link",
957
+ "linkType": "Asset",
958
+ "uiid": "3n1sq1z10jk"
959
+ },
960
+ {
961
+ "id": "array",
962
+ "name": "Array",
963
+ "type": "Array",
964
+ "items": {
965
+ "type": "Symbol"
966
+ },
967
+ "uiid": "2h28wh2jgg0"
968
+ },
969
+ {
970
+ "id": "entry",
971
+ "name": "Entry",
972
+ "type": "Link",
973
+ "linkType": "Entry",
974
+ "uiid": "2ojkdp2ky68"
975
+ },
976
+ {
977
+ "id": "entries",
978
+ "name": "Entries",
979
+ "type": "Array",
980
+ "items": {
981
+ "type": "Link",
982
+ "linkType": "Entry"
983
+ },
984
+ "uiid": "36u2qzye58g"
985
+ },
986
+ {
987
+ "id": "object_json",
988
+ "name": "Object",
989
+ "type": "Object",
990
+ "uiid": "2wolg4qw2rk"
991
+ }
992
+ ],
993
+ "sys": {
994
+ "id": "24jJwCT1bWskqEOOASgUCG",
995
+ "type": "ContentType",
996
+ "createdAt": "2014-09-17T10:35:32.293Z",
997
+ "createdBy": {
998
+ "sys": {
999
+ "type": "Link",
1000
+ "linkType": "User",
1001
+ "id": "1E7acJL8I5XUXAMHQt9Grs"
1002
+ }
1003
+ },
1004
+ "space": {
1005
+ "sys": {
1006
+ "type": "Link",
1007
+ "linkType": "Space",
1008
+ "id": "ksbb7zto17p9"
1009
+ }
1010
+ },
1011
+ "firstPublishedAt": "2014-09-17T10:35:43.644Z",
1012
+ "publishedCounter": 1,
1013
+ "publishedAt": "2014-09-17T10:35:43.644Z",
1014
+ "publishedBy": {
1015
+ "sys": {
1016
+ "type": "Link",
1017
+ "linkType": "User",
1018
+ "id": "1E7acJL8I5XUXAMHQt9Grs"
1019
+ }
1020
+ },
1021
+ "publishedVersion": 14,
1022
+ "version": 16,
1023
+ "updatedAt": "2014-09-17T11:36:21.429Z",
1024
+ "updatedBy": {
1025
+ "sys": {
1026
+ "type": "Link",
1027
+ "linkType": "User",
1028
+ "id": "1E7acJL8I5XUXAMHQt9Grs"
1029
+ }
1030
+ }
1031
+ }
1032
+ }
1033
+ http_version:
1034
+ recorded_at: Wed, 17 Sep 2014 11:41:04 GMT
1035
+ - request:
1036
+ method: get
1037
+ uri: https://api.contentful.com/spaces/ksbb7zto17p9/content_types/24jJwCT1bWskqEOOASgUCG
1038
+ body:
1039
+ encoding: US-ASCII
1040
+ string: ''
1041
+ headers:
1042
+ User-Agent:
1043
+ - RubyContenfulManagementGem/0.2.1
1044
+ Authorization:
1045
+ - Bearer <ACCESS_TOKEN>
1046
+ Content-Type:
1047
+ - application/vnd.contentful.management.v1+json
1048
+ Content-Length:
1049
+ - '0'
1050
+ Host:
1051
+ - api.contentful.com
1052
+ response:
1053
+ status:
1054
+ code: 200
1055
+ message: OK
1056
+ headers:
1057
+ "^access-Control-Expose-Headers":
1058
+ - Etag
1059
+ Access-Control-Allow-Headers:
1060
+ - 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
1061
+ Access-Control-Allow-Methods:
1062
+ - DELETE,GET,HEAD,POST,PUT,OPTIONS
1063
+ Access-Control-Allow-Origin:
1064
+ - "*"
1065
+ Access-Control-Max-Age:
1066
+ - '1728000'
1067
+ Cf-Space-Id:
1068
+ - ksbb7zto17p9
1069
+ Content-Type:
1070
+ - application/vnd.contentful.management.v1+json
1071
+ Date:
1072
+ - Wed, 17 Sep 2014 11:39:56 GMT
1073
+ Etag:
1074
+ - '"a451cf8f421e097aa2be66d4c4f403b1"'
1075
+ Server:
1076
+ - nginx
1077
+ X-Powered-By:
1078
+ - Express
1079
+ Content-Length:
1080
+ - '2595'
1081
+ Connection:
1082
+ - keep-alive
1083
+ body:
1084
+ encoding: UTF-8
1085
+ string: |
1086
+ {
1087
+ "name": "Codequest",
1088
+ "description": "Testing",
1089
+ "fields": [
1090
+ {
1091
+ "id": "name",
1092
+ "name": "Name",
1093
+ "type": "Text",
1094
+ "uiid": "4l71wvmwdts"
1095
+ },
1096
+ {
1097
+ "id": "number",
1098
+ "name": "Number",
1099
+ "type": "Integer",
1100
+ "uiid": "2w5yrdm2bcw"
1101
+ },
1102
+ {
1103
+ "id": "float1",
1104
+ "name": "Float",
1105
+ "type": "Number",
1106
+ "uiid": "4luul26a0ow"
1107
+ },
1108
+ {
1109
+ "id": "boolean",
1110
+ "name": "Boolean",
1111
+ "type": "Boolean",
1112
+ "uiid": "3i1kibel3pc"
1113
+ },
1114
+ {
1115
+ "id": "date",
1116
+ "name": "Date",
1117
+ "type": "Date",
1118
+ "uiid": "3zg29o2iosg"
1119
+ },
1120
+ {
1121
+ "id": "time",
1122
+ "name": "Time",
1123
+ "type": "Date",
1124
+ "uiid": "4ngi0p8hhq8"
1125
+ },
1126
+ {
1127
+ "id": "location",
1128
+ "name": "Location",
1129
+ "type": "Location",
1130
+ "uiid": "3fkiu07bjsw"
1131
+ },
1132
+ {
1133
+ "id": "file",
1134
+ "name": "File",
1135
+ "type": "Link",
1136
+ "linkType": "Asset",
1137
+ "uiid": "4rdvc05bqio"
1138
+ },
1139
+ {
1140
+ "id": "image",
1141
+ "name": "Image",
1142
+ "type": "Link",
1143
+ "linkType": "Asset",
1144
+ "uiid": "3n1sq1z10jk"
1145
+ },
1146
+ {
1147
+ "id": "array",
1148
+ "name": "Array",
1149
+ "type": "Array",
1150
+ "items": {
1151
+ "type": "Symbol"
1152
+ },
1153
+ "uiid": "2h28wh2jgg0"
1154
+ },
1155
+ {
1156
+ "id": "entry",
1157
+ "name": "Entry",
1158
+ "type": "Link",
1159
+ "linkType": "Entry",
1160
+ "uiid": "2ojkdp2ky68"
1161
+ },
1162
+ {
1163
+ "id": "entries",
1164
+ "name": "Entries",
1165
+ "type": "Array",
1166
+ "items": {
1167
+ "type": "Link",
1168
+ "linkType": "Entry"
1169
+ },
1170
+ "uiid": "36u2qzye58g"
1171
+ },
1172
+ {
1173
+ "id": "object_json",
1174
+ "name": "Object",
1175
+ "type": "Object",
1176
+ "uiid": "2wolg4qw2rk"
1177
+ }
1178
+ ],
1179
+ "sys": {
1180
+ "id": "24jJwCT1bWskqEOOASgUCG",
1181
+ "type": "ContentType",
1182
+ "createdAt": "2014-09-17T10:35:32.293Z",
1183
+ "createdBy": {
1184
+ "sys": {
1185
+ "type": "Link",
1186
+ "linkType": "User",
1187
+ "id": "1E7acJL8I5XUXAMHQt9Grs"
1188
+ }
1189
+ },
1190
+ "space": {
1191
+ "sys": {
1192
+ "type": "Link",
1193
+ "linkType": "Space",
1194
+ "id": "ksbb7zto17p9"
1195
+ }
1196
+ },
1197
+ "firstPublishedAt": "2014-09-17T10:35:43.644Z",
1198
+ "publishedCounter": 1,
1199
+ "publishedAt": "2014-09-17T10:35:43.644Z",
1200
+ "publishedBy": {
1201
+ "sys": {
1202
+ "type": "Link",
1203
+ "linkType": "User",
1204
+ "id": "1E7acJL8I5XUXAMHQt9Grs"
1205
+ }
1206
+ },
1207
+ "publishedVersion": 14,
1208
+ "version": 16,
1209
+ "updatedAt": "2014-09-17T11:36:21.429Z",
1210
+ "updatedBy": {
1211
+ "sys": {
1212
+ "type": "Link",
1213
+ "linkType": "User",
1214
+ "id": "1E7acJL8I5XUXAMHQt9Grs"
1215
+ }
1216
+ }
1217
+ }
1218
+ }
1219
+ http_version:
1220
+ recorded_at: Wed, 17 Sep 2014 11:41:05 GMT
1221
+ - request:
1222
+ method: get
1223
+ uri: https://api.contentful.com/spaces/ksbb7zto17p9/content_types/24jJwCT1bWskqEOOASgUCG
1224
+ body:
1225
+ encoding: US-ASCII
1226
+ string: ''
1227
+ headers:
1228
+ User-Agent:
1229
+ - RubyContenfulManagementGem/0.2.1
1230
+ Authorization:
1231
+ - Bearer <ACCESS_TOKEN>
1232
+ Content-Type:
1233
+ - application/vnd.contentful.management.v1+json
1234
+ Content-Length:
1235
+ - '0'
1236
+ Host:
1237
+ - api.contentful.com
1238
+ response:
1239
+ status:
1240
+ code: 200
1241
+ message: OK
1242
+ headers:
1243
+ "^access-Control-Expose-Headers":
1244
+ - Etag
1245
+ Access-Control-Allow-Headers:
1246
+ - 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
1247
+ Access-Control-Allow-Methods:
1248
+ - DELETE,GET,HEAD,POST,PUT,OPTIONS
1249
+ Access-Control-Allow-Origin:
1250
+ - "*"
1251
+ Access-Control-Max-Age:
1252
+ - '1728000'
1253
+ Cf-Space-Id:
1254
+ - ksbb7zto17p9
1255
+ Content-Type:
1256
+ - application/vnd.contentful.management.v1+json
1257
+ Date:
1258
+ - Wed, 17 Sep 2014 11:39:57 GMT
1259
+ Etag:
1260
+ - '"a451cf8f421e097aa2be66d4c4f403b1"'
1261
+ Server:
1262
+ - nginx
1263
+ X-Powered-By:
1264
+ - Express
1265
+ Content-Length:
1266
+ - '2595'
1267
+ Connection:
1268
+ - keep-alive
1269
+ body:
1270
+ encoding: UTF-8
1271
+ string: |
1272
+ {
1273
+ "name": "Codequest",
1274
+ "description": "Testing",
1275
+ "fields": [
1276
+ {
1277
+ "id": "name",
1278
+ "name": "Name",
1279
+ "type": "Text",
1280
+ "uiid": "4l71wvmwdts"
1281
+ },
1282
+ {
1283
+ "id": "number",
1284
+ "name": "Number",
1285
+ "type": "Integer",
1286
+ "uiid": "2w5yrdm2bcw"
1287
+ },
1288
+ {
1289
+ "id": "float1",
1290
+ "name": "Float",
1291
+ "type": "Number",
1292
+ "uiid": "4luul26a0ow"
1293
+ },
1294
+ {
1295
+ "id": "boolean",
1296
+ "name": "Boolean",
1297
+ "type": "Boolean",
1298
+ "uiid": "3i1kibel3pc"
1299
+ },
1300
+ {
1301
+ "id": "date",
1302
+ "name": "Date",
1303
+ "type": "Date",
1304
+ "uiid": "3zg29o2iosg"
1305
+ },
1306
+ {
1307
+ "id": "time",
1308
+ "name": "Time",
1309
+ "type": "Date",
1310
+ "uiid": "4ngi0p8hhq8"
1311
+ },
1312
+ {
1313
+ "id": "location",
1314
+ "name": "Location",
1315
+ "type": "Location",
1316
+ "uiid": "3fkiu07bjsw"
1317
+ },
1318
+ {
1319
+ "id": "file",
1320
+ "name": "File",
1321
+ "type": "Link",
1322
+ "linkType": "Asset",
1323
+ "uiid": "4rdvc05bqio"
1324
+ },
1325
+ {
1326
+ "id": "image",
1327
+ "name": "Image",
1328
+ "type": "Link",
1329
+ "linkType": "Asset",
1330
+ "uiid": "3n1sq1z10jk"
1331
+ },
1332
+ {
1333
+ "id": "array",
1334
+ "name": "Array",
1335
+ "type": "Array",
1336
+ "items": {
1337
+ "type": "Symbol"
1338
+ },
1339
+ "uiid": "2h28wh2jgg0"
1340
+ },
1341
+ {
1342
+ "id": "entry",
1343
+ "name": "Entry",
1344
+ "type": "Link",
1345
+ "linkType": "Entry",
1346
+ "uiid": "2ojkdp2ky68"
1347
+ },
1348
+ {
1349
+ "id": "entries",
1350
+ "name": "Entries",
1351
+ "type": "Array",
1352
+ "items": {
1353
+ "type": "Link",
1354
+ "linkType": "Entry"
1355
+ },
1356
+ "uiid": "36u2qzye58g"
1357
+ },
1358
+ {
1359
+ "id": "object_json",
1360
+ "name": "Object",
1361
+ "type": "Object",
1362
+ "uiid": "2wolg4qw2rk"
1363
+ }
1364
+ ],
1365
+ "sys": {
1366
+ "id": "24jJwCT1bWskqEOOASgUCG",
1367
+ "type": "ContentType",
1368
+ "createdAt": "2014-09-17T10:35:32.293Z",
1369
+ "createdBy": {
1370
+ "sys": {
1371
+ "type": "Link",
1372
+ "linkType": "User",
1373
+ "id": "1E7acJL8I5XUXAMHQt9Grs"
1374
+ }
1375
+ },
1376
+ "space": {
1377
+ "sys": {
1378
+ "type": "Link",
1379
+ "linkType": "Space",
1380
+ "id": "ksbb7zto17p9"
1381
+ }
1382
+ },
1383
+ "firstPublishedAt": "2014-09-17T10:35:43.644Z",
1384
+ "publishedCounter": 1,
1385
+ "publishedAt": "2014-09-17T10:35:43.644Z",
1386
+ "publishedBy": {
1387
+ "sys": {
1388
+ "type": "Link",
1389
+ "linkType": "User",
1390
+ "id": "1E7acJL8I5XUXAMHQt9Grs"
1391
+ }
1392
+ },
1393
+ "publishedVersion": 14,
1394
+ "version": 16,
1395
+ "updatedAt": "2014-09-17T11:36:21.429Z",
1396
+ "updatedBy": {
1397
+ "sys": {
1398
+ "type": "Link",
1399
+ "linkType": "User",
1400
+ "id": "1E7acJL8I5XUXAMHQt9Grs"
1401
+ }
1402
+ }
1403
+ }
1404
+ }
1405
+ http_version:
1406
+ recorded_at: Wed, 17 Sep 2014 11:41:05 GMT
1407
+ - request:
1408
+ method: get
1409
+ uri: https://api.contentful.com/spaces/ksbb7zto17p9/content_types/24jJwCT1bWskqEOOASgUCG
1410
+ body:
1411
+ encoding: US-ASCII
1412
+ string: ''
1413
+ headers:
1414
+ User-Agent:
1415
+ - RubyContenfulManagementGem/0.2.1
1416
+ Authorization:
1417
+ - Bearer <ACCESS_TOKEN>
1418
+ Content-Type:
1419
+ - application/vnd.contentful.management.v1+json
1420
+ Content-Length:
1421
+ - '0'
1422
+ Host:
1423
+ - api.contentful.com
1424
+ response:
1425
+ status:
1426
+ code: 200
1427
+ message: OK
1428
+ headers:
1429
+ "^access-Control-Expose-Headers":
1430
+ - Etag
1431
+ Access-Control-Allow-Headers:
1432
+ - 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
1433
+ Access-Control-Allow-Methods:
1434
+ - DELETE,GET,HEAD,POST,PUT,OPTIONS
1435
+ Access-Control-Allow-Origin:
1436
+ - "*"
1437
+ Access-Control-Max-Age:
1438
+ - '1728000'
1439
+ Cf-Space-Id:
1440
+ - ksbb7zto17p9
1441
+ Content-Type:
1442
+ - application/vnd.contentful.management.v1+json
1443
+ Date:
1444
+ - Wed, 17 Sep 2014 11:39:57 GMT
1445
+ Etag:
1446
+ - '"a451cf8f421e097aa2be66d4c4f403b1"'
1447
+ Server:
1448
+ - nginx
1449
+ X-Powered-By:
1450
+ - Express
1451
+ Content-Length:
1452
+ - '2595'
1453
+ Connection:
1454
+ - keep-alive
1455
+ body:
1456
+ encoding: UTF-8
1457
+ string: |
1458
+ {
1459
+ "name": "Codequest",
1460
+ "description": "Testing",
1461
+ "fields": [
1462
+ {
1463
+ "id": "name",
1464
+ "name": "Name",
1465
+ "type": "Text",
1466
+ "uiid": "4l71wvmwdts"
1467
+ },
1468
+ {
1469
+ "id": "number",
1470
+ "name": "Number",
1471
+ "type": "Integer",
1472
+ "uiid": "2w5yrdm2bcw"
1473
+ },
1474
+ {
1475
+ "id": "float1",
1476
+ "name": "Float",
1477
+ "type": "Number",
1478
+ "uiid": "4luul26a0ow"
1479
+ },
1480
+ {
1481
+ "id": "boolean",
1482
+ "name": "Boolean",
1483
+ "type": "Boolean",
1484
+ "uiid": "3i1kibel3pc"
1485
+ },
1486
+ {
1487
+ "id": "date",
1488
+ "name": "Date",
1489
+ "type": "Date",
1490
+ "uiid": "3zg29o2iosg"
1491
+ },
1492
+ {
1493
+ "id": "time",
1494
+ "name": "Time",
1495
+ "type": "Date",
1496
+ "uiid": "4ngi0p8hhq8"
1497
+ },
1498
+ {
1499
+ "id": "location",
1500
+ "name": "Location",
1501
+ "type": "Location",
1502
+ "uiid": "3fkiu07bjsw"
1503
+ },
1504
+ {
1505
+ "id": "file",
1506
+ "name": "File",
1507
+ "type": "Link",
1508
+ "linkType": "Asset",
1509
+ "uiid": "4rdvc05bqio"
1510
+ },
1511
+ {
1512
+ "id": "image",
1513
+ "name": "Image",
1514
+ "type": "Link",
1515
+ "linkType": "Asset",
1516
+ "uiid": "3n1sq1z10jk"
1517
+ },
1518
+ {
1519
+ "id": "array",
1520
+ "name": "Array",
1521
+ "type": "Array",
1522
+ "items": {
1523
+ "type": "Symbol"
1524
+ },
1525
+ "uiid": "2h28wh2jgg0"
1526
+ },
1527
+ {
1528
+ "id": "entry",
1529
+ "name": "Entry",
1530
+ "type": "Link",
1531
+ "linkType": "Entry",
1532
+ "uiid": "2ojkdp2ky68"
1533
+ },
1534
+ {
1535
+ "id": "entries",
1536
+ "name": "Entries",
1537
+ "type": "Array",
1538
+ "items": {
1539
+ "type": "Link",
1540
+ "linkType": "Entry"
1541
+ },
1542
+ "uiid": "36u2qzye58g"
1543
+ },
1544
+ {
1545
+ "id": "object_json",
1546
+ "name": "Object",
1547
+ "type": "Object",
1548
+ "uiid": "2wolg4qw2rk"
1549
+ }
1550
+ ],
1551
+ "sys": {
1552
+ "id": "24jJwCT1bWskqEOOASgUCG",
1553
+ "type": "ContentType",
1554
+ "createdAt": "2014-09-17T10:35:32.293Z",
1555
+ "createdBy": {
1556
+ "sys": {
1557
+ "type": "Link",
1558
+ "linkType": "User",
1559
+ "id": "1E7acJL8I5XUXAMHQt9Grs"
1560
+ }
1561
+ },
1562
+ "space": {
1563
+ "sys": {
1564
+ "type": "Link",
1565
+ "linkType": "Space",
1566
+ "id": "ksbb7zto17p9"
1567
+ }
1568
+ },
1569
+ "firstPublishedAt": "2014-09-17T10:35:43.644Z",
1570
+ "publishedCounter": 1,
1571
+ "publishedAt": "2014-09-17T10:35:43.644Z",
1572
+ "publishedBy": {
1573
+ "sys": {
1574
+ "type": "Link",
1575
+ "linkType": "User",
1576
+ "id": "1E7acJL8I5XUXAMHQt9Grs"
1577
+ }
1578
+ },
1579
+ "publishedVersion": 14,
1580
+ "version": 16,
1581
+ "updatedAt": "2014-09-17T11:36:21.429Z",
1582
+ "updatedBy": {
1583
+ "sys": {
1584
+ "type": "Link",
1585
+ "linkType": "User",
1586
+ "id": "1E7acJL8I5XUXAMHQt9Grs"
1587
+ }
1588
+ }
1589
+ }
1590
+ }
1591
+ http_version:
1592
+ recorded_at: Wed, 17 Sep 2014 11:41:06 GMT
1593
+ - request:
1594
+ method: put
1595
+ uri: https://api.contentful.com/spaces/ksbb7zto17p9/entries/540d6d961e29fa3559000d0d
1596
+ body:
1597
+ encoding: UTF-8
1598
+ string: '{"fields":{"name":{"en-US":"Test"},"number":{"en-US":11},"float1":{"en-US":1.1},"boolean":{"en-US":true},"date":{"en-US":"2014-09-03"},"time":{"en-US":"2014-09-09T06:13:00Z"},"location":{"en-US":{"lat":53.13248859999999,"lon":23.168840300000056}},"file":{"en-US":{"sys":{"type":"Link","linkType":"Asset","id":"LjiUYqF3k2SKkmEyQ2Yc0"}}},"image":{"en-US":{"sys":{"type":"Link","linkType":"Asset","id":"6GGpDNJTRCYeOGyWKmUqky"}}},"array":{"en-US":["some
1599
+ value","second value","third value"]},"entry":{"en-US":{"sys":{"type":"Link","linkType":"Entry","id":"4d960919ba05617333000012"}}},"entries":{"en-US":[{"sys":{"type":"Link","linkType":"Entry","id":"4e2ea1674d085d46a7000021"}},{"sys":{"type":"Link","linkType":"Entry","id":"4e2ea1644d085d46e0000019"}}]},"object_json":{"en-US":null}}}'
1600
+ headers:
1601
+ User-Agent:
1602
+ - RubyContenfulManagementGem/0.2.1
1603
+ Authorization:
1604
+ - Bearer <ACCESS_TOKEN>
1605
+ Content-Type:
1606
+ - application/vnd.contentful.management.v1+json
1607
+ X-Contentful-Content-Type:
1608
+ - 24jJwCT1bWskqEOOASgUCG
1609
+ Host:
1610
+ - api.contentful.com
1611
+ response:
1612
+ status:
1613
+ code: 201
1614
+ message: Created
1615
+ headers:
1616
+ "^access-Control-Expose-Headers":
1617
+ - Etag
1618
+ Access-Control-Allow-Headers:
1619
+ - 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
1620
+ Access-Control-Allow-Methods:
1621
+ - DELETE,GET,HEAD,POST,PUT,OPTIONS
1622
+ Access-Control-Allow-Origin:
1623
+ - "*"
1624
+ Access-Control-Max-Age:
1625
+ - '1728000'
1626
+ Cf-Space-Id:
1627
+ - ksbb7zto17p9
1628
+ Content-Type:
1629
+ - application/vnd.contentful.management.v1+json
1630
+ Date:
1631
+ - Wed, 17 Sep 2014 11:39:58 GMT
1632
+ Etag:
1633
+ - '"4c5957f0125b187f2d3bc3ef66c96977"'
1634
+ Server:
1635
+ - nginx
1636
+ X-Powered-By:
1637
+ - Express
1638
+ Content-Length:
1639
+ - '2198'
1640
+ Connection:
1641
+ - keep-alive
1642
+ body:
1643
+ encoding: UTF-8
1644
+ string: |
1645
+ {
1646
+ "fields": {
1647
+ "name": {
1648
+ "en-US": "Test"
1649
+ },
1650
+ "number": {
1651
+ "en-US": 11
1652
+ },
1653
+ "float1": {
1654
+ "en-US": 1.1
1655
+ },
1656
+ "boolean": {
1657
+ "en-US": true
1658
+ },
1659
+ "date": {
1660
+ "en-US": "2014-09-03"
1661
+ },
1662
+ "time": {
1663
+ "en-US": "2014-09-09T06:13:00Z"
1664
+ },
1665
+ "location": {
1666
+ "en-US": {
1667
+ "lat": 53.13248859999999,
1668
+ "lon": 23.168840300000056
1669
+ }
1670
+ },
1671
+ "file": {
1672
+ "en-US": {
1673
+ "sys": {
1674
+ "type": "Link",
1675
+ "linkType": "Asset",
1676
+ "id": "LjiUYqF3k2SKkmEyQ2Yc0"
1677
+ }
1678
+ }
1679
+ },
1680
+ "image": {
1681
+ "en-US": {
1682
+ "sys": {
1683
+ "type": "Link",
1684
+ "linkType": "Asset",
1685
+ "id": "6GGpDNJTRCYeOGyWKmUqky"
1686
+ }
1687
+ }
1688
+ },
1689
+ "array": {
1690
+ "en-US": [
1691
+ "some value",
1692
+ "second value",
1693
+ "third value"
1694
+ ]
1695
+ },
1696
+ "entry": {
1697
+ "en-US": {
1698
+ "sys": {
1699
+ "type": "Link",
1700
+ "linkType": "Entry",
1701
+ "id": "4d960919ba05617333000012"
1702
+ }
1703
+ }
1704
+ },
1705
+ "entries": {
1706
+ "en-US": [
1707
+ {
1708
+ "sys": {
1709
+ "type": "Link",
1710
+ "linkType": "Entry",
1711
+ "id": "4e2ea1674d085d46a7000021"
1712
+ }
1713
+ },
1714
+ {
1715
+ "sys": {
1716
+ "type": "Link",
1717
+ "linkType": "Entry",
1718
+ "id": "4e2ea1644d085d46e0000019"
1719
+ }
1720
+ }
1721
+ ]
1722
+ },
1723
+ "object_json": {
1724
+ "en-US": null
1725
+ }
1726
+ },
1727
+ "sys": {
1728
+ "id": "540d6d961e29fa3559000d0d",
1729
+ "type": "Entry",
1730
+ "version": 1,
1731
+ "createdAt": "2014-09-17T11:39:58.371Z",
1732
+ "createdBy": {
1733
+ "sys": {
1734
+ "type": "Link",
1735
+ "linkType": "User",
1736
+ "id": "1E7acJL8I5XUXAMHQt9Grs"
1737
+ }
1738
+ },
1739
+ "space": {
1740
+ "sys": {
1741
+ "type": "Link",
1742
+ "linkType": "Space",
1743
+ "id": "ksbb7zto17p9"
1744
+ }
1745
+ },
1746
+ "contentType": {
1747
+ "sys": {
1748
+ "type": "Link",
1749
+ "linkType": "ContentType",
1750
+ "id": "24jJwCT1bWskqEOOASgUCG"
1751
+ }
1752
+ },
1753
+ "updatedAt": "2014-09-17T11:39:58.371Z",
1754
+ "updatedBy": {
1755
+ "sys": {
1756
+ "type": "Link",
1757
+ "linkType": "User",
1758
+ "id": "1E7acJL8I5XUXAMHQt9Grs"
1759
+ }
1760
+ }
1761
+ }
1762
+ }
1763
+ http_version:
1764
+ recorded_at: Wed, 17 Sep 2014 11:41:07 GMT
1765
+ - request:
1766
+ method: get
1767
+ uri: https://api.contentful.com/spaces/ksbb7zto17p9
1768
+ body:
1769
+ encoding: US-ASCII
1770
+ string: ''
1771
+ headers:
1772
+ User-Agent:
1773
+ - RubyContenfulManagementGem/0.2.1
1774
+ Authorization:
1775
+ - Bearer <ACCESS_TOKEN>
1776
+ Content-Type:
1777
+ - application/vnd.contentful.management.v1+json
1778
+ Content-Length:
1779
+ - '0'
1780
+ Host:
1781
+ - api.contentful.com
1782
+ response:
1783
+ status:
1784
+ code: 200
1785
+ message: OK
1786
+ headers:
1787
+ "^access-Control-Expose-Headers":
1788
+ - Etag
1789
+ Accept-Ranges:
1790
+ - bytes
1791
+ Access-Control-Allow-Headers:
1792
+ - 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
1793
+ Access-Control-Allow-Methods:
1794
+ - DELETE,GET,HEAD,POST,PUT,OPTIONS
1795
+ Access-Control-Allow-Origin:
1796
+ - "*"
1797
+ Access-Control-Max-Age:
1798
+ - '1728000'
1799
+ Cache-Control:
1800
+ - max-age=0
1801
+ Content-Type:
1802
+ - application/vnd.contentful.management.v1+json
1803
+ Date:
1804
+ - Wed, 17 Sep 2014 11:39:58 GMT
1805
+ Etag:
1806
+ - '"efae20eceefa3dc5397bdcb3d75461f7"'
1807
+ Server:
1808
+ - nginx
1809
+ Status:
1810
+ - 200 OK
1811
+ X-Contentful-Request-Id:
1812
+ - f1c-1380641970
1813
+ Content-Length:
1814
+ - '445'
1815
+ Connection:
1816
+ - keep-alive
1817
+ body:
1818
+ encoding: UTF-8
1819
+ string: |
1820
+ {
1821
+ "sys":{
1822
+ "type":"Space",
1823
+ "id":"ksbb7zto17p9",
1824
+ "version":1,
1825
+ "createdBy":{
1826
+ "sys":{
1827
+ "type":"Link",
1828
+ "linkType":"User",
1829
+ "id":"1E7acJL8I5XUXAMHQt9Grs"
1830
+ }
1831
+ },
1832
+ "createdAt":"2014-09-17T09:54:48Z",
1833
+ "updatedBy":{
1834
+ "sys":{
1835
+ "type":"Link",
1836
+ "linkType":"User",
1837
+ "id":"1E7acJL8I5XUXAMHQt9Grs"
1838
+ }
1839
+ },
1840
+ "updatedAt":"2014-09-17T09:54:48Z"
1841
+ },
1842
+ "name":"test"}
1843
+ http_version:
1844
+ recorded_at: Wed, 17 Sep 2014 11:41:07 GMT
1845
+ - request:
1846
+ method: get
1847
+ uri: https://api.contentful.com/spaces/ksbb7zto17p9/content_types
1848
+ body:
1849
+ encoding: US-ASCII
1850
+ string: ''
1851
+ headers:
1852
+ User-Agent:
1853
+ - RubyContenfulManagementGem/0.2.1
1854
+ Authorization:
1855
+ - Bearer <ACCESS_TOKEN>
1856
+ Content-Type:
1857
+ - application/vnd.contentful.management.v1+json
1858
+ Content-Length:
1859
+ - '0'
1860
+ Host:
1861
+ - api.contentful.com
1862
+ response:
1863
+ status:
1864
+ code: 200
1865
+ message: OK
1866
+ headers:
1867
+ "^access-Control-Expose-Headers":
1868
+ - Etag
1869
+ Access-Control-Allow-Headers:
1870
+ - 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
1871
+ Access-Control-Allow-Methods:
1872
+ - DELETE,GET,HEAD,POST,PUT,OPTIONS
1873
+ Access-Control-Allow-Origin:
1874
+ - "*"
1875
+ Access-Control-Max-Age:
1876
+ - '1728000'
1877
+ Cf-Space-Id:
1878
+ - ksbb7zto17p9
1879
+ Content-Type:
1880
+ - application/vnd.contentful.management.v1+json
1881
+ Date:
1882
+ - Wed, 17 Sep 2014 11:39:59 GMT
1883
+ Etag:
1884
+ - '"1dd66235a92c9facbe92cca5f5e06e24"'
1885
+ Server:
1886
+ - nginx
1887
+ X-Powered-By:
1888
+ - Express
1889
+ Content-Length:
1890
+ - '3227'
1891
+ Connection:
1892
+ - keep-alive
1893
+ body:
1894
+ encoding: UTF-8
1895
+ string: |
1896
+ {
1897
+ "sys": {
1898
+ "type": "Array"
1899
+ },
1900
+ "total": 1,
1901
+ "skip": 0,
1902
+ "limit": 100,
1903
+ "items": [
1904
+ {
1905
+ "name": "Codequest",
1906
+ "description": "Testing",
1907
+ "fields": [
1908
+ {
1909
+ "id": "name",
1910
+ "name": "Name",
1911
+ "type": "Text",
1912
+ "uiid": "4l71wvmwdts"
1913
+ },
1914
+ {
1915
+ "id": "number",
1916
+ "name": "Number",
1917
+ "type": "Integer",
1918
+ "uiid": "2w5yrdm2bcw"
1919
+ },
1920
+ {
1921
+ "id": "float1",
1922
+ "name": "Float",
1923
+ "type": "Number",
1924
+ "uiid": "4luul26a0ow"
1925
+ },
1926
+ {
1927
+ "id": "boolean",
1928
+ "name": "Boolean",
1929
+ "type": "Boolean",
1930
+ "uiid": "3i1kibel3pc"
1931
+ },
1932
+ {
1933
+ "id": "date",
1934
+ "name": "Date",
1935
+ "type": "Date",
1936
+ "uiid": "3zg29o2iosg"
1937
+ },
1938
+ {
1939
+ "id": "time",
1940
+ "name": "Time",
1941
+ "type": "Date",
1942
+ "uiid": "4ngi0p8hhq8"
1943
+ },
1944
+ {
1945
+ "id": "location",
1946
+ "name": "Location",
1947
+ "type": "Location",
1948
+ "uiid": "3fkiu07bjsw"
1949
+ },
1950
+ {
1951
+ "id": "file",
1952
+ "name": "File",
1953
+ "type": "Link",
1954
+ "linkType": "Asset",
1955
+ "uiid": "4rdvc05bqio"
1956
+ },
1957
+ {
1958
+ "id": "image",
1959
+ "name": "Image",
1960
+ "type": "Link",
1961
+ "linkType": "Asset",
1962
+ "uiid": "3n1sq1z10jk"
1963
+ },
1964
+ {
1965
+ "id": "array",
1966
+ "name": "Array",
1967
+ "type": "Array",
1968
+ "items": {
1969
+ "type": "Symbol"
1970
+ },
1971
+ "uiid": "2h28wh2jgg0"
1972
+ },
1973
+ {
1974
+ "id": "entry",
1975
+ "name": "Entry",
1976
+ "type": "Link",
1977
+ "linkType": "Entry",
1978
+ "uiid": "2ojkdp2ky68"
1979
+ },
1980
+ {
1981
+ "id": "entries",
1982
+ "name": "Entries",
1983
+ "type": "Array",
1984
+ "items": {
1985
+ "type": "Link",
1986
+ "linkType": "Entry"
1987
+ },
1988
+ "uiid": "36u2qzye58g"
1989
+ },
1990
+ {
1991
+ "id": "object_json",
1992
+ "name": "Object",
1993
+ "type": "Object",
1994
+ "uiid": "2wolg4qw2rk"
1995
+ }
1996
+ ],
1997
+ "sys": {
1998
+ "id": "24jJwCT1bWskqEOOASgUCG",
1999
+ "type": "ContentType",
2000
+ "createdAt": "2014-09-17T10:35:32.293Z",
2001
+ "createdBy": {
2002
+ "sys": {
2003
+ "type": "Link",
2004
+ "linkType": "User",
2005
+ "id": "1E7acJL8I5XUXAMHQt9Grs"
2006
+ }
2007
+ },
2008
+ "space": {
2009
+ "sys": {
2010
+ "type": "Link",
2011
+ "linkType": "Space",
2012
+ "id": "ksbb7zto17p9"
2013
+ }
2014
+ },
2015
+ "firstPublishedAt": "2014-09-17T10:35:43.644Z",
2016
+ "publishedCounter": 1,
2017
+ "publishedAt": "2014-09-17T10:35:43.644Z",
2018
+ "publishedBy": {
2019
+ "sys": {
2020
+ "type": "Link",
2021
+ "linkType": "User",
2022
+ "id": "1E7acJL8I5XUXAMHQt9Grs"
2023
+ }
2024
+ },
2025
+ "publishedVersion": 14,
2026
+ "version": 16,
2027
+ "updatedAt": "2014-09-17T11:36:21.429Z",
2028
+ "updatedBy": {
2029
+ "sys": {
2030
+ "type": "Link",
2031
+ "linkType": "User",
2032
+ "id": "1E7acJL8I5XUXAMHQt9Grs"
2033
+ }
2034
+ }
2035
+ }
2036
+ }
2037
+ ]
2038
+ }
2039
+ http_version:
2040
+ recorded_at: Wed, 17 Sep 2014 11:41:08 GMT
2041
+ - request:
2042
+ method: get
2043
+ uri: https://api.contentful.com/spaces/ksbb7zto17p9/entries/540d6d961e29fa3559000d0d
2044
+ body:
2045
+ encoding: US-ASCII
2046
+ string: ''
2047
+ headers:
2048
+ User-Agent:
2049
+ - RubyContenfulManagementGem/0.2.1
2050
+ Authorization:
2051
+ - Bearer <ACCESS_TOKEN>
2052
+ Content-Type:
2053
+ - application/vnd.contentful.management.v1+json
2054
+ Content-Length:
2055
+ - '0'
2056
+ Host:
2057
+ - api.contentful.com
2058
+ response:
2059
+ status:
2060
+ code: 200
2061
+ message: OK
2062
+ headers:
2063
+ "^access-Control-Expose-Headers":
2064
+ - Etag
2065
+ Access-Control-Allow-Headers:
2066
+ - 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
2067
+ Access-Control-Allow-Methods:
2068
+ - DELETE,GET,HEAD,POST,PUT,OPTIONS
2069
+ Access-Control-Allow-Origin:
2070
+ - "*"
2071
+ Access-Control-Max-Age:
2072
+ - '1728000'
2073
+ Cf-Space-Id:
2074
+ - ksbb7zto17p9
2075
+ Content-Type:
2076
+ - application/vnd.contentful.management.v1+json
2077
+ Date:
2078
+ - Wed, 17 Sep 2014 11:40:00 GMT
2079
+ Etag:
2080
+ - '"4ed9e877442a44c8fbe5ba52df506025"'
2081
+ Server:
2082
+ - nginx
2083
+ X-Powered-By:
2084
+ - Express
2085
+ Content-Length:
2086
+ - '2198'
2087
+ Connection:
2088
+ - keep-alive
2089
+ body:
2090
+ encoding: UTF-8
2091
+ string: |
2092
+ {
2093
+ "fields": {
2094
+ "name": {
2095
+ "en-US": "Test"
2096
+ },
2097
+ "number": {
2098
+ "en-US": 11
2099
+ },
2100
+ "float1": {
2101
+ "en-US": 1.1
2102
+ },
2103
+ "boolean": {
2104
+ "en-US": true
2105
+ },
2106
+ "date": {
2107
+ "en-US": "2014-09-03"
2108
+ },
2109
+ "time": {
2110
+ "en-US": "2014-09-09T06:13:00Z"
2111
+ },
2112
+ "location": {
2113
+ "en-US": {
2114
+ "lat": 53.13248859999999,
2115
+ "lon": 23.168840300000056
2116
+ }
2117
+ },
2118
+ "file": {
2119
+ "en-US": {
2120
+ "sys": {
2121
+ "type": "Link",
2122
+ "linkType": "Asset",
2123
+ "id": "LjiUYqF3k2SKkmEyQ2Yc0"
2124
+ }
2125
+ }
2126
+ },
2127
+ "image": {
2128
+ "en-US": {
2129
+ "sys": {
2130
+ "type": "Link",
2131
+ "linkType": "Asset",
2132
+ "id": "6GGpDNJTRCYeOGyWKmUqky"
2133
+ }
2134
+ }
2135
+ },
2136
+ "array": {
2137
+ "en-US": [
2138
+ "some value",
2139
+ "second value",
2140
+ "third value"
2141
+ ]
2142
+ },
2143
+ "entry": {
2144
+ "en-US": {
2145
+ "sys": {
2146
+ "type": "Link",
2147
+ "linkType": "Entry",
2148
+ "id": "4d960919ba05617333000012"
2149
+ }
2150
+ }
2151
+ },
2152
+ "entries": {
2153
+ "en-US": [
2154
+ {
2155
+ "sys": {
2156
+ "type": "Link",
2157
+ "linkType": "Entry",
2158
+ "id": "4e2ea1674d085d46a7000021"
2159
+ }
2160
+ },
2161
+ {
2162
+ "sys": {
2163
+ "type": "Link",
2164
+ "linkType": "Entry",
2165
+ "id": "4e2ea1644d085d46e0000019"
2166
+ }
2167
+ }
2168
+ ]
2169
+ },
2170
+ "object_json": {
2171
+ "en-US": null
2172
+ }
2173
+ },
2174
+ "sys": {
2175
+ "id": "540d6d961e29fa3559000d0d",
2176
+ "type": "Entry",
2177
+ "createdAt": "2014-09-17T11:39:58.371Z",
2178
+ "createdBy": {
2179
+ "sys": {
2180
+ "type": "Link",
2181
+ "linkType": "User",
2182
+ "id": "1E7acJL8I5XUXAMHQt9Grs"
2183
+ }
2184
+ },
2185
+ "space": {
2186
+ "sys": {
2187
+ "type": "Link",
2188
+ "linkType": "Space",
2189
+ "id": "ksbb7zto17p9"
2190
+ }
2191
+ },
2192
+ "contentType": {
2193
+ "sys": {
2194
+ "type": "Link",
2195
+ "linkType": "ContentType",
2196
+ "id": "24jJwCT1bWskqEOOASgUCG"
2197
+ }
2198
+ },
2199
+ "version": 1,
2200
+ "updatedAt": "2014-09-17T11:39:58.383Z",
2201
+ "updatedBy": {
2202
+ "sys": {
2203
+ "type": "Link",
2204
+ "linkType": "User",
2205
+ "id": "1E7acJL8I5XUXAMHQt9Grs"
2206
+ }
2207
+ }
2208
+ }
2209
+ }
2210
+ http_version:
2211
+ recorded_at: Wed, 17 Sep 2014 11:41:08 GMT
2212
+ recorded_with: VCR 2.9.3