contentful_bootstrap 3.10.0 → 3.11.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (55) hide show
  1. checksums.yaml +5 -5
  2. data/.rubocop.yml +9 -5
  3. data/.rubocop_todo.yml +34 -76
  4. data/CHANGELOG.md +7 -0
  5. data/Guardfile +20 -4
  6. data/README.md +6 -6
  7. data/bin/contentful_bootstrap +46 -42
  8. data/contentful_bootstrap.gemspec +6 -3
  9. data/lib/contentful/bootstrap/command_runner.rb +3 -1
  10. data/lib/contentful/bootstrap/commands/base.rb +15 -15
  11. data/lib/contentful/bootstrap/commands/create_space.rb +5 -6
  12. data/lib/contentful/bootstrap/commands/generate_json.rb +13 -2
  13. data/lib/contentful/bootstrap/commands/generate_token.rb +6 -6
  14. data/lib/contentful/bootstrap/commands/update_space.rb +2 -2
  15. data/lib/contentful/bootstrap/generator.rb +5 -4
  16. data/lib/contentful/bootstrap/support.rb +1 -1
  17. data/lib/contentful/bootstrap/templates/base.rb +22 -25
  18. data/lib/contentful/bootstrap/templates/json_template.rb +49 -56
  19. data/lib/contentful/bootstrap/templates/links/base.rb +1 -1
  20. data/lib/contentful/bootstrap/token.rb +1 -1
  21. data/lib/contentful/bootstrap/version.rb +1 -1
  22. data/spec/contentful/bootstrap/command_runner_spec.rb +2 -2
  23. data/spec/contentful/bootstrap/commands/base_spec.rb +3 -15
  24. data/spec/contentful/bootstrap/commands/create_space_spec.rb +2 -2
  25. data/spec/contentful/bootstrap/commands/generate_json_spec.rb +1 -1
  26. data/spec/contentful/bootstrap/commands/generate_token_spec.rb +1 -1
  27. data/spec/contentful/bootstrap/commands/update_space_spec.rb +36 -8
  28. data/spec/contentful/bootstrap/generator_spec.rb +17 -2
  29. data/spec/contentful/bootstrap/templates/base_spec.rb +10 -8
  30. data/spec/contentful/bootstrap/templates/blog_spec.rb +9 -1
  31. data/spec/contentful/bootstrap/templates/catalogue_spec.rb +9 -1
  32. data/spec/contentful/bootstrap/templates/gallery_spec.rb +9 -1
  33. data/spec/contentful/bootstrap/templates/json_template_spec.rb +17 -9
  34. data/spec/fixtures/json_fixtures/environment_template.json +47 -0
  35. data/spec/fixtures/vcr_fixtures/asset_no_transform.yml +119 -4
  36. data/spec/fixtures/vcr_fixtures/check_created_space.yml +1 -1
  37. data/spec/fixtures/vcr_fixtures/check_original_staging_environment_status.yml +201 -0
  38. data/spec/fixtures/vcr_fixtures/check_staging_environment_status.yml +81 -0
  39. data/spec/fixtures/vcr_fixtures/check_update_space_localized.yml +2 -2
  40. data/spec/fixtures/vcr_fixtures/check_update_space_with_draft_content.yml +4 -4
  41. data/spec/fixtures/vcr_fixtures/create_space_with_blog_template.yml +153 -38
  42. data/spec/fixtures/vcr_fixtures/create_space_with_catalogue_template.yml +196 -81
  43. data/spec/fixtures/vcr_fixtures/create_space_with_gallery_template.yml +165 -50
  44. data/spec/fixtures/vcr_fixtures/generate_json.yml +5 -5
  45. data/spec/fixtures/vcr_fixtures/generate_json_content_types_only.yml +1 -1
  46. data/spec/fixtures/vcr_fixtures/generate_json_environments.yml +447 -0
  47. data/spec/fixtures/vcr_fixtures/generate_json_multi_ct.yml +5 -5
  48. data/spec/fixtures/vcr_fixtures/generate_json_preview.yml +5 -5
  49. data/spec/fixtures/vcr_fixtures/generate_json_single_ct.yml +5 -5
  50. data/spec/fixtures/vcr_fixtures/issue_22.yml +142 -27
  51. data/spec/fixtures/vcr_fixtures/no_ids.yml +126 -11
  52. data/spec/fixtures/vcr_fixtures/update_existing_asset.yml +130 -15
  53. data/spec/fixtures/vcr_fixtures/update_space_localized.yml +134 -19
  54. data/spec/fixtures/vcr_fixtures/update_with_environment.yml +2531 -0
  55. metadata +55 -17
@@ -110,7 +110,122 @@ http_interactions:
110
110
  recorded_at: Wed, 23 Aug 2017 14:39:29 GMT
111
111
  - request:
112
112
  method: get
113
- uri: https://api.contentful.com/spaces/vsy1ouf6jdcq/content_types
113
+ uri: https://api.contentful.com/spaces/vsy1ouf6jdcq/environments/master
114
+ body:
115
+ encoding: US-ASCII
116
+ string: ''
117
+ headers:
118
+ X-Contentful-User-Agent:
119
+ - sdk contentful-management.rb/1.8.1; integration bootstrap/3.6.1; platform
120
+ ruby/2.4.1; os macOS/16;
121
+ Authorization:
122
+ - Bearer foobar
123
+ Content-Type:
124
+ - application/vnd.contentful.management.v1+json
125
+ Content-Length:
126
+ - '0'
127
+ Connection:
128
+ - close
129
+ Host:
130
+ - api.contentful.com
131
+ User-Agent:
132
+ - http.rb/2.2.2
133
+ response:
134
+ status:
135
+ code: 200
136
+ message: OK
137
+ headers:
138
+ Accept-Ranges:
139
+ - bytes
140
+ Access-Control-Allow-Headers:
141
+ - Accept,Accept-Language,Authorization,Cache-Control,Content-Length,Content-Range,Content-Type,DNT,Destination,Expires,If-Match,If-Modified-Since,If-None-Match,Keep-Alive,Last-Modified,Origin,Pragma,Range,User-Agent,X-Http-Method-Override,X-Mx-ReqToken,X-Requested-With,X-Contentful-Version,X-Contentful-Content-Type,X-Contentful-Organization,X-Contentful-Skip-Transformation,X-Contentful-User-Agent,X-Contentful-Enable-Experimental-Feature
142
+ Access-Control-Allow-Methods:
143
+ - DELETE,GET,HEAD,POST,PUT,OPTIONS
144
+ Access-Control-Allow-Origin:
145
+ - "*"
146
+ Access-Control-Expose-Headers:
147
+ - Etag
148
+ Access-Control-Max-Age:
149
+ - '1728000'
150
+ Cache-Control:
151
+ - max-age=0
152
+ Cf-Organization-Id:
153
+ - 4SsuxQCaMaemfIms52Jr8s
154
+ Cf-Space-Id:
155
+ - vsy1ouf6jdcq
156
+ Content-Type:
157
+ - application/vnd.contentful.management.v1+json
158
+ Date:
159
+ - Wed, 23 Aug 2017 14:39:29 GMT
160
+ Etag:
161
+ - W/"2c014fd49b265333df19faf15077ad23"
162
+ Server:
163
+ - Contentful
164
+ Strict-Transport-Security:
165
+ - max-age=15768000
166
+ X-Content-Type-Options:
167
+ - nosniff
168
+ X-Contentful-Request-Id:
169
+ - 917a37ae1cf5343e6b089923cc306864
170
+ X-Frame-Options:
171
+ - ALLOWALL
172
+ X-Xss-Protection:
173
+ - 1; mode=block
174
+ Content-Length:
175
+ - '465'
176
+ Connection:
177
+ - Close
178
+ Set-Cookie:
179
+ - incap_ses_685_673446=cxF9Q0guCUtZ5BLquZ2BCaGTnVkAAAAAo6M+6ImkjL12BRgksm5Ycw==;
180
+ path=/; Domain=.contentful.com
181
+ - nlbi_673446=qgazO//8lgCNPBh/6lKYhQAAAADdCJKiN6QN6XKnlFqZhDYU; path=/; Domain=.contentful.com
182
+ - visid_incap_673446=2CwPdSAIQPWlQo9wqlIfraGTnVkAAAAAQUIPAAAAAABpkgonlswdvW4VySG7Mwvb;
183
+ expires=Thu, 23 Aug 2018 07:39:55 GMT; path=/; Domain=.contentful.com
184
+ X-Iinfo:
185
+ - 6-53963549-53963569 NNNN CT(141 141 0) RT(1503499169092 147) q(0 0 3 -1) r(5
186
+ 5) U5
187
+ X-Cdn:
188
+ - Incapsula
189
+ body:
190
+ encoding: ASCII-8BIT
191
+ string: |+
192
+ {
193
+ "name":"Master",
194
+ "sys":{
195
+ "type":"Environment",
196
+ "id":"master",
197
+ "version":4,
198
+ "createdBy":{
199
+ "sys":{
200
+ "type":"Link",
201
+ "linkType":"User",
202
+ "id":"4SejVrWT96dvL9IV4Nb7sQ"
203
+ }
204
+ },
205
+ "createdAt":"2017-08-18T20:55:42Z",
206
+ "updatedBy":{
207
+ "sys":{
208
+ "type":"Link",
209
+ "linkType":"User",
210
+ "id":"4SejVrWT96dvL9IV4Nb7sQ"
211
+ }
212
+ },
213
+ "updatedAt":"2017-08-18T20:55:42Z",
214
+ "space": {
215
+ "sys": {
216
+ "type": "Link",
217
+ "linkType": "Space",
218
+ "id": "vsy1ouf6jdcq"
219
+ }
220
+ }
221
+ }
222
+ }
223
+
224
+ http_version:
225
+ recorded_at: Wed, 23 Aug 2017 14:39:29 GMT
226
+ - request:
227
+ method: get
228
+ uri: https://api.contentful.com/spaces/vsy1ouf6jdcq/environments/master/content_types
114
229
  body:
115
230
  encoding: US-ASCII
116
231
  string: ''
@@ -249,7 +364,7 @@ http_interactions:
249
364
  recorded_at: Wed, 23 Aug 2017 14:39:30 GMT
250
365
  - request:
251
366
  method: put
252
- uri: https://api.contentful.com/spaces/vsy1ouf6jdcq/content_types/test
367
+ uri: https://api.contentful.com/spaces/vsy1ouf6jdcq/environments/master/content_types/test
253
368
  body:
254
369
  encoding: UTF-8
255
370
  string: '{"displayField":"text","name":"Test","fields":[{"id":"text","name":"Text","type":"Symbol"}]}'
@@ -323,7 +438,7 @@ http_interactions:
323
438
  recorded_at: Wed, 23 Aug 2017 14:39:31 GMT
324
439
  - request:
325
440
  method: get
326
- uri: https://api.contentful.com/spaces/vsy1ouf6jdcq/content_types/test
441
+ uri: https://api.contentful.com/spaces/vsy1ouf6jdcq/environments/master/content_types/test
327
442
  body:
328
443
  encoding: US-ASCII
329
444
  string: ''
@@ -452,7 +567,7 @@ http_interactions:
452
567
  recorded_at: Wed, 23 Aug 2017 14:39:32 GMT
453
568
  - request:
454
569
  method: put
455
- uri: https://api.contentful.com/spaces/vsy1ouf6jdcq/entries/test_1
570
+ uri: https://api.contentful.com/spaces/vsy1ouf6jdcq/environments/master/entries/test_1
456
571
  body:
457
572
  encoding: UTF-8
458
573
  string: '{"fields":{}}'
@@ -565,7 +680,7 @@ http_interactions:
565
680
  recorded_at: Wed, 23 Aug 2017 14:39:33 GMT
566
681
  - request:
567
682
  method: put
568
- uri: https://api.contentful.com/spaces/vsy1ouf6jdcq/entries/test_1
683
+ uri: https://api.contentful.com/spaces/vsy1ouf6jdcq/environments/master/entries/test_1
569
684
  body:
570
685
  encoding: UTF-8
571
686
  string: '{"fields":{}}'
@@ -678,7 +793,7 @@ http_interactions:
678
793
  recorded_at: Wed, 23 Aug 2017 14:39:34 GMT
679
794
  - request:
680
795
  method: put
681
- uri: https://api.contentful.com/spaces/vsy1ouf6jdcq/entries/test_2
796
+ uri: https://api.contentful.com/spaces/vsy1ouf6jdcq/environments/master/entries/test_2
682
797
  body:
683
798
  encoding: UTF-8
684
799
  string: '{"fields":{}}'
@@ -791,7 +906,7 @@ http_interactions:
791
906
  recorded_at: Wed, 23 Aug 2017 14:39:35 GMT
792
907
  - request:
793
908
  method: put
794
- uri: https://api.contentful.com/spaces/vsy1ouf6jdcq/entries/test_2
909
+ uri: https://api.contentful.com/spaces/vsy1ouf6jdcq/environments/master/entries/test_2
795
910
  body:
796
911
  encoding: UTF-8
797
912
  string: '{"fields":{}}'
@@ -904,7 +1019,7 @@ http_interactions:
904
1019
  recorded_at: Wed, 23 Aug 2017 14:39:35 GMT
905
1020
  - request:
906
1021
  method: get
907
- uri: https://api.contentful.com/spaces/vsy1ouf6jdcq/entries/test_1
1022
+ uri: https://api.contentful.com/spaces/vsy1ouf6jdcq/environments/master/entries/test_1
908
1023
  body:
909
1024
  encoding: US-ASCII
910
1025
  string: ''
@@ -1015,7 +1130,7 @@ http_interactions:
1015
1130
  recorded_at: Wed, 23 Aug 2017 14:39:37 GMT
1016
1131
  - request:
1017
1132
  method: put
1018
- uri: https://api.contentful.com/spaces/vsy1ouf6jdcq/entries/test_1
1133
+ uri: https://api.contentful.com/spaces/vsy1ouf6jdcq/environments/master/entries/test_1
1019
1134
  body:
1020
1135
  encoding: UTF-8
1021
1136
  string: '{"fields":{"text":{"es-AR":"Foo"}}}'
@@ -1132,7 +1247,7 @@ http_interactions:
1132
1247
  recorded_at: Wed, 23 Aug 2017 14:39:37 GMT
1133
1248
  - request:
1134
1249
  method: put
1135
- uri: https://api.contentful.com/spaces/vsy1ouf6jdcq/entries/test_1
1250
+ uri: https://api.contentful.com/spaces/vsy1ouf6jdcq/environments/master/entries/test_1
1136
1251
  body:
1137
1252
  encoding: UTF-8
1138
1253
  string: '{"fields":{"text":{"es-AR":"Foo"}}}'
@@ -1249,7 +1364,7 @@ http_interactions:
1249
1364
  recorded_at: Wed, 23 Aug 2017 14:39:38 GMT
1250
1365
  - request:
1251
1366
  method: get
1252
- uri: https://api.contentful.com/spaces/vsy1ouf6jdcq/entries/test_1
1367
+ uri: https://api.contentful.com/spaces/vsy1ouf6jdcq/environments/master/entries/test_1
1253
1368
  body:
1254
1369
  encoding: US-ASCII
1255
1370
  string: ''
@@ -1364,7 +1479,7 @@ http_interactions:
1364
1479
  recorded_at: Wed, 23 Aug 2017 14:39:39 GMT
1365
1480
  - request:
1366
1481
  method: get
1367
- uri: https://api.contentful.com/spaces/vsy1ouf6jdcq/entries/test_2
1482
+ uri: https://api.contentful.com/spaces/vsy1ouf6jdcq/environments/master/entries/test_2
1368
1483
  body:
1369
1484
  encoding: US-ASCII
1370
1485
  string: ''
@@ -1475,7 +1590,7 @@ http_interactions:
1475
1590
  recorded_at: Wed, 23 Aug 2017 14:39:40 GMT
1476
1591
  - request:
1477
1592
  method: put
1478
- uri: https://api.contentful.com/spaces/vsy1ouf6jdcq/entries/test_2
1593
+ uri: https://api.contentful.com/spaces/vsy1ouf6jdcq/environments/master/entries/test_2
1479
1594
  body:
1480
1595
  encoding: UTF-8
1481
1596
  string: '{"fields":{"text":{"es-AR":"Bar"}}}'
@@ -1592,7 +1707,7 @@ http_interactions:
1592
1707
  recorded_at: Wed, 23 Aug 2017 14:39:41 GMT
1593
1708
  - request:
1594
1709
  method: put
1595
- uri: https://api.contentful.com/spaces/vsy1ouf6jdcq/entries/test_2
1710
+ uri: https://api.contentful.com/spaces/vsy1ouf6jdcq/environments/master/entries/test_2
1596
1711
  body:
1597
1712
  encoding: UTF-8
1598
1713
  string: '{"fields":{"text":{"es-AR":"Bar"}}}'
@@ -1709,7 +1824,7 @@ http_interactions:
1709
1824
  recorded_at: Wed, 23 Aug 2017 14:39:42 GMT
1710
1825
  - request:
1711
1826
  method: get
1712
- uri: https://api.contentful.com/spaces/vsy1ouf6jdcq/entries/test_2
1827
+ uri: https://api.contentful.com/spaces/vsy1ouf6jdcq/environments/master/entries/test_2
1713
1828
  body:
1714
1829
  encoding: US-ASCII
1715
1830
  string: ''
@@ -1824,7 +1939,7 @@ http_interactions:
1824
1939
  recorded_at: Wed, 23 Aug 2017 14:39:43 GMT
1825
1940
  - request:
1826
1941
  method: get
1827
- uri: https://api.contentful.com/spaces/vsy1ouf6jdcq/entries/test_1
1942
+ uri: https://api.contentful.com/spaces/vsy1ouf6jdcq/environments/master/entries/test_1
1828
1943
  body:
1829
1944
  encoding: US-ASCII
1830
1945
  string: ''
@@ -1939,7 +2054,7 @@ http_interactions:
1939
2054
  recorded_at: Wed, 23 Aug 2017 14:39:44 GMT
1940
2055
  - request:
1941
2056
  method: put
1942
- uri: https://api.contentful.com/spaces/vsy1ouf6jdcq/entries/test_1/published
2057
+ uri: https://api.contentful.com/spaces/vsy1ouf6jdcq/environments/master/entries/test_1/published
1943
2058
  body:
1944
2059
  encoding: US-ASCII
1945
2060
  string: ''
@@ -2069,7 +2184,7 @@ http_interactions:
2069
2184
  recorded_at: Wed, 23 Aug 2017 14:39:44 GMT
2070
2185
  - request:
2071
2186
  method: get
2072
- uri: https://api.contentful.com/spaces/vsy1ouf6jdcq/entries/test_2
2187
+ uri: https://api.contentful.com/spaces/vsy1ouf6jdcq/environments/master/entries/test_2
2073
2188
  body:
2074
2189
  encoding: US-ASCII
2075
2190
  string: ''
@@ -2184,7 +2299,7 @@ http_interactions:
2184
2299
  recorded_at: Wed, 23 Aug 2017 14:39:45 GMT
2185
2300
  - request:
2186
2301
  method: put
2187
- uri: https://api.contentful.com/spaces/vsy1ouf6jdcq/entries/test_2/published
2302
+ uri: https://api.contentful.com/spaces/vsy1ouf6jdcq/environments/master/entries/test_2/published
2188
2303
  body:
2189
2304
  encoding: US-ASCII
2190
2305
  string: ''
@@ -0,0 +1,2531 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://api.contentful.com/spaces/9utsm1g0t7f5
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ X-Contentful-User-Agent:
11
+ - sdk contentful-management.rb/2.0.1; app bootstrap/3.10.0; platform ruby/2.5.1;
12
+ os macOS/16;
13
+ Authorization:
14
+ - Bearer <ACCESS_TOKEN>
15
+ Content-Type:
16
+ - application/vnd.contentful.management.v1+json
17
+ Connection:
18
+ - close
19
+ Host:
20
+ - api.contentful.com
21
+ User-Agent:
22
+ - http.rb/2.2.2
23
+ response:
24
+ status:
25
+ code: 200
26
+ message: OK
27
+ headers:
28
+ Accept-Ranges:
29
+ - bytes
30
+ Access-Control-Allow-Headers:
31
+ - Accept,Accept-Language,Authorization,Cache-Control,Content-Length,Content-Range,Content-Type,DNT,Destination,Expires,If-Match,If-Modified-Since,If-None-Match,Keep-Alive,Last-Modified,Origin,Pragma,Range,User-Agent,X-Http-Method-Override,X-Mx-ReqToken,X-Requested-With,X-Contentful-Version,X-Contentful-Content-Type,X-Contentful-Organization,X-Contentful-Skip-Transformation,X-Contentful-User-Agent,X-Contentful-Enable-Alpha-Feature
32
+ Access-Control-Allow-Methods:
33
+ - DELETE,GET,HEAD,POST,PUT,OPTIONS
34
+ Access-Control-Allow-Origin:
35
+ - "*"
36
+ Access-Control-Expose-Headers:
37
+ - Etag
38
+ Access-Control-Max-Age:
39
+ - '1728000'
40
+ Cache-Control:
41
+ - max-age=0
42
+ Cf-Organization-Id:
43
+ - 4SsuxQCaMaemfIms52Jr8s
44
+ Cf-Space-Id:
45
+ - 9utsm1g0t7f5
46
+ Content-Type:
47
+ - application/vnd.contentful.management.v1+json
48
+ Date:
49
+ - Wed, 18 Apr 2018 11:46:40 GMT
50
+ Etag:
51
+ - W/"d0c00e9b18f3244eb6155cc4d08e5caa"
52
+ Server:
53
+ - Contentful
54
+ Strict-Transport-Security:
55
+ - max-age=15768000
56
+ X-Content-Type-Options:
57
+ - nosniff
58
+ X-Contentful-Ratelimit-Hour-Limit:
59
+ - '36000'
60
+ X-Contentful-Ratelimit-Hour-Remaining:
61
+ - '35991'
62
+ X-Contentful-Ratelimit-Reset:
63
+ - '0'
64
+ X-Contentful-Ratelimit-Second-Limit:
65
+ - '10'
66
+ X-Contentful-Ratelimit-Second-Remaining:
67
+ - '9'
68
+ X-Contentful-Request-Id:
69
+ - e45bfcdcfbec0168d25e1517051d1a8a
70
+ X-Frame-Options:
71
+ - ALLOWALL
72
+ X-Xss-Protection:
73
+ - 1; mode=block
74
+ Content-Length:
75
+ - '461'
76
+ Connection:
77
+ - Close
78
+ Set-Cookie:
79
+ - incap_ses_408_673446=M+a2auwPokXYpx6s+YKpBSAw11oAAAAAY2M50Ym54VgFMpnFxJbwkA==;
80
+ path=/; Domain=.contentful.com
81
+ - nlbi_673446=8dY7OIgluHbGlcMQ6lKYhQAAAADD50AJUHKf60RmsJnPo8Jo; path=/; Domain=.contentful.com
82
+ - visid_incap_673446=hcoZHBQ3TvuF7pYFsGc/ZyAw11oAAAAAQUIPAAAAAAC88kKKb0QCRfD5Xaufyl+x;
83
+ expires=Thu, 18 Apr 2019 06:07:10 GMT; path=/; Domain=.contentful.com
84
+ X-Iinfo:
85
+ - 3-44480187-44480193 NNNN CT(90 90 0) RT(1524051999795 40) q(0 0 2 -1) r(3
86
+ 3) U5
87
+ X-Cdn:
88
+ - Incapsula
89
+ body:
90
+ encoding: ASCII-8BIT
91
+ string: |+
92
+ {
93
+ "name":"bootstrap.rb - #68",
94
+ "sys":{
95
+ "type":"Space",
96
+ "id":"9utsm1g0t7f5",
97
+ "version":1,
98
+ "createdBy":{
99
+ "sys":{
100
+ "type":"Link",
101
+ "linkType":"User",
102
+ "id":"4SejVrWT96dvL9IV4Nb7sQ"
103
+ }
104
+ },
105
+ "createdAt":"2018-04-18T11:29:03Z",
106
+ "updatedBy":{
107
+ "sys":{
108
+ "type":"Link",
109
+ "linkType":"User",
110
+ "id":"4SejVrWT96dvL9IV4Nb7sQ"
111
+ }
112
+ },
113
+ "updatedAt":"2018-04-18T11:29:03Z"
114
+ }
115
+ }
116
+
117
+ http_version:
118
+ recorded_at: Wed, 18 Apr 2018 11:46:40 GMT
119
+ - request:
120
+ method: get
121
+ uri: https://api.contentful.com/spaces/9utsm1g0t7f5/environments/staging
122
+ body:
123
+ encoding: US-ASCII
124
+ string: ''
125
+ headers:
126
+ X-Contentful-User-Agent:
127
+ - sdk contentful-management.rb/2.0.1; app bootstrap/3.10.0; platform ruby/2.5.1;
128
+ os macOS/16;
129
+ Authorization:
130
+ - Bearer <ACCESS_TOKEN>
131
+ Content-Type:
132
+ - application/vnd.contentful.management.v1+json
133
+ Connection:
134
+ - close
135
+ Host:
136
+ - api.contentful.com
137
+ User-Agent:
138
+ - http.rb/2.2.2
139
+ response:
140
+ status:
141
+ code: 200
142
+ message: OK
143
+ headers:
144
+ Accept-Ranges:
145
+ - bytes
146
+ Access-Control-Allow-Headers:
147
+ - Accept,Accept-Language,Authorization,Cache-Control,Content-Length,Content-Range,Content-Type,DNT,Destination,Expires,If-Match,If-Modified-Since,If-None-Match,Keep-Alive,Last-Modified,Origin,Pragma,Range,User-Agent,X-Http-Method-Override,X-Mx-ReqToken,X-Requested-With,X-Contentful-Version,X-Contentful-Content-Type,X-Contentful-Organization,X-Contentful-Skip-Transformation,X-Contentful-User-Agent,X-Contentful-Enable-Alpha-Feature
148
+ Access-Control-Allow-Methods:
149
+ - DELETE,GET,HEAD,POST,PUT,OPTIONS
150
+ Access-Control-Allow-Origin:
151
+ - "*"
152
+ Access-Control-Expose-Headers:
153
+ - Etag
154
+ Access-Control-Max-Age:
155
+ - '1728000'
156
+ Cache-Control:
157
+ - max-age=0
158
+ Cf-Organization-Id:
159
+ - 4SsuxQCaMaemfIms52Jr8s
160
+ Cf-Space-Id:
161
+ - 9utsm1g0t7f5
162
+ Content-Type:
163
+ - application/vnd.contentful.management.v1+json
164
+ Date:
165
+ - Wed, 18 Apr 2018 11:46:40 GMT
166
+ Etag:
167
+ - W/"66d11b8d14d152a4e577ac5883be56f9"
168
+ Server:
169
+ - Contentful
170
+ Strict-Transport-Security:
171
+ - max-age=15768000
172
+ X-Content-Type-Options:
173
+ - nosniff
174
+ X-Contentful-Ratelimit-Hour-Limit:
175
+ - '36000'
176
+ X-Contentful-Ratelimit-Hour-Remaining:
177
+ - '35990'
178
+ X-Contentful-Ratelimit-Reset:
179
+ - '0'
180
+ X-Contentful-Ratelimit-Second-Limit:
181
+ - '10'
182
+ X-Contentful-Ratelimit-Second-Remaining:
183
+ - '8'
184
+ X-Contentful-Request-Id:
185
+ - 475f637308165deb8dbb8481d03dcf20
186
+ X-Frame-Options:
187
+ - ALLOWALL
188
+ X-Xss-Protection:
189
+ - 1; mode=block
190
+ Content-Length:
191
+ - '690'
192
+ Connection:
193
+ - Close
194
+ Set-Cookie:
195
+ - incap_ses_408_673446=2GG3O3HsWkQxqB6s+YKpBSAw11oAAAAAqMJOdnRMIIqaPeN3yLjoXg==;
196
+ path=/; Domain=.contentful.com
197
+ - nlbi_673446=JK8KHcn+DGanKkFI6lKYhQAAAADCZYaWc31k9vkZfFk9vhoy; path=/; Domain=.contentful.com
198
+ - visid_incap_673446=lI3UOZF+T2mowVxIEicAlCAw11oAAAAAQUIPAAAAAAAHGdBHif16CbPJJbo5PRCI;
199
+ expires=Thu, 18 Apr 2019 06:07:11 GMT; path=/; Domain=.contentful.com
200
+ X-Iinfo:
201
+ - 7-17130450-17130452 NNNN CT(86 87 0) RT(1524052000287 51) q(0 0 2 -1) r(3
202
+ 3) U5
203
+ X-Cdn:
204
+ - Incapsula
205
+ body:
206
+ encoding: ASCII-8BIT
207
+ string: |+
208
+ {
209
+ "name":"staging",
210
+ "sys":{
211
+ "type":"Environment",
212
+ "id":"staging",
213
+ "version":6,
214
+ "space":{
215
+ "sys":{
216
+ "type":"Link",
217
+ "linkType":"Space",
218
+ "id":"9utsm1g0t7f5"
219
+ }
220
+ },
221
+ "status":{
222
+ "sys":{
223
+ "type":"Link",
224
+ "linkType":"Status",
225
+ "id":"ready"
226
+ }
227
+ },
228
+ "createdBy":{
229
+ "sys":{
230
+ "type":"Link",
231
+ "linkType":"User",
232
+ "id":"4SejVrWT96dvL9IV4Nb7sQ"
233
+ }
234
+ },
235
+ "createdAt":"2018-04-18T11:30:04Z",
236
+ "updatedBy":{
237
+ "sys":{
238
+ "type":"Link",
239
+ "linkType":"User",
240
+ "id":"4SejVrWT96dvL9IV4Nb7sQ"
241
+ }
242
+ },
243
+ "updatedAt":"2018-04-18T11:30:05Z"
244
+ }
245
+ }
246
+
247
+ http_version:
248
+ recorded_at: Wed, 18 Apr 2018 11:46:40 GMT
249
+ - request:
250
+ method: put
251
+ uri: https://api.contentful.com/spaces/9utsm1g0t7f5/environments/staging/content_types/foo
252
+ body:
253
+ encoding: UTF-8
254
+ string: '{"name":"Foo","displayField":"name","fields":[{"id":"name","name":"Name","type":"Symbol"},{"id":"content","name":"Content","type":"Text"}]}'
255
+ headers:
256
+ X-Contentful-User-Agent:
257
+ - sdk contentful-management.rb/2.0.1; app bootstrap/3.10.0; platform ruby/2.5.1;
258
+ os macOS/16;
259
+ Authorization:
260
+ - Bearer <ACCESS_TOKEN>
261
+ Content-Type:
262
+ - application/vnd.contentful.management.v1+json
263
+ Connection:
264
+ - close
265
+ Host:
266
+ - api.contentful.com
267
+ User-Agent:
268
+ - http.rb/2.2.2
269
+ response:
270
+ status:
271
+ code: 409
272
+ message: Conflict
273
+ headers:
274
+ Access-Control-Allow-Headers:
275
+ - Accept,Accept-Language,Authorization,Cache-Control,Content-Length,Content-Range,Content-Type,DNT,Destination,Expires,If-Match,If-Modified-Since,If-None-Match,Keep-Alive,Last-Modified,Origin,Pragma,Range,User-Agent,X-Http-Method-Override,X-Mx-ReqToken,X-Requested-With,X-Contentful-Version,X-Contentful-Content-Type,X-Contentful-Organization,X-Contentful-Skip-Transformation,X-Contentful-User-Agent,X-Contentful-Enable-Alpha-Feature
276
+ Access-Control-Allow-Methods:
277
+ - DELETE,GET,HEAD,POST,PUT,OPTIONS
278
+ Access-Control-Allow-Origin:
279
+ - "*"
280
+ Access-Control-Expose-Headers:
281
+ - Etag
282
+ Access-Control-Max-Age:
283
+ - '1728000'
284
+ Cf-Space-Id:
285
+ - 9utsm1g0t7f5
286
+ Content-Type:
287
+ - application/vnd.contentful.management.v1+json
288
+ Date:
289
+ - Wed, 18 Apr 2018 11:46:41 GMT
290
+ Server:
291
+ - Contentful
292
+ Strict-Transport-Security:
293
+ - max-age=15768000
294
+ X-Content-Type-Options:
295
+ - nosniff
296
+ X-Contentful-Ratelimit-Hour-Limit:
297
+ - '36000'
298
+ X-Contentful-Ratelimit-Hour-Remaining:
299
+ - '35989'
300
+ X-Contentful-Ratelimit-Reset:
301
+ - '0'
302
+ X-Contentful-Ratelimit-Second-Limit:
303
+ - '10'
304
+ X-Contentful-Ratelimit-Second-Remaining:
305
+ - '9'
306
+ X-Contentful-Request-Id:
307
+ - 23cc66995cd080a55f1b3b6fe24f25e5
308
+ Content-Length:
309
+ - '119'
310
+ Connection:
311
+ - Close
312
+ Set-Cookie:
313
+ - incap_ses_408_673446=6wiDFkHh3CsEqR6s+YKpBSEw11oAAAAAEmQ2qavXFL6tpgDdgv7pZA==;
314
+ path=/; Domain=.contentful.com
315
+ - nlbi_673446=O5AjYFRF3H0l4IpI6lKYhQAAAAD3N4iaq3SIsUIvuN67KB2p; path=/; Domain=.contentful.com
316
+ - visid_incap_673446=PBhQ+vUoRuyui6eCKennZyEw11oAAAAAQUIPAAAAAADh5AJ6N5YievucRDobXbkx;
317
+ expires=Thu, 18 Apr 2019 06:07:11 GMT; path=/; Domain=.contentful.com
318
+ X-Iinfo:
319
+ - 7-17130481-17130488 NNNN CT(86 88 0) RT(1524052000841 51) q(0 0 2 -1) r(9
320
+ 9) U5
321
+ X-Cdn:
322
+ - Incapsula
323
+ body:
324
+ encoding: ASCII-8BIT
325
+ string: |
326
+ {
327
+ "sys": {
328
+ "type": "Error",
329
+ "id": "VersionMismatch"
330
+ },
331
+ "requestId": "23cc66995cd080a55f1b3b6fe24f25e5"
332
+ }
333
+ http_version:
334
+ recorded_at: Wed, 18 Apr 2018 11:46:41 GMT
335
+ - request:
336
+ method: get
337
+ uri: https://api.contentful.com/spaces/9utsm1g0t7f5/environments/staging/content_types/foo
338
+ body:
339
+ encoding: US-ASCII
340
+ string: ''
341
+ headers:
342
+ X-Contentful-User-Agent:
343
+ - sdk contentful-management.rb/2.0.1; app bootstrap/3.10.0; platform ruby/2.5.1;
344
+ os macOS/16;
345
+ Authorization:
346
+ - Bearer <ACCESS_TOKEN>
347
+ Content-Type:
348
+ - application/vnd.contentful.management.v1+json
349
+ Connection:
350
+ - close
351
+ Host:
352
+ - api.contentful.com
353
+ User-Agent:
354
+ - http.rb/2.2.2
355
+ response:
356
+ status:
357
+ code: 200
358
+ message: OK
359
+ headers:
360
+ Access-Control-Allow-Headers:
361
+ - Accept,Accept-Language,Authorization,Cache-Control,Content-Length,Content-Range,Content-Type,DNT,Destination,Expires,If-Match,If-Modified-Since,If-None-Match,Keep-Alive,Last-Modified,Origin,Pragma,Range,User-Agent,X-Http-Method-Override,X-Mx-ReqToken,X-Requested-With,X-Contentful-Version,X-Contentful-Content-Type,X-Contentful-Organization,X-Contentful-Skip-Transformation,X-Contentful-User-Agent,X-Contentful-Enable-Alpha-Feature
362
+ Access-Control-Allow-Methods:
363
+ - DELETE,GET,HEAD,POST,PUT,OPTIONS
364
+ Access-Control-Allow-Origin:
365
+ - "*"
366
+ Access-Control-Expose-Headers:
367
+ - Etag
368
+ Access-Control-Max-Age:
369
+ - '1728000'
370
+ Cf-Space-Id:
371
+ - 9utsm1g0t7f5
372
+ Content-Type:
373
+ - application/vnd.contentful.management.v1+json
374
+ Date:
375
+ - Wed, 18 Apr 2018 11:46:42 GMT
376
+ Etag:
377
+ - '"b46a37e467f9263b4275d8e4f6e99cc1"'
378
+ Server:
379
+ - Contentful
380
+ Strict-Transport-Security:
381
+ - max-age=15768000
382
+ X-Content-Type-Options:
383
+ - nosniff
384
+ X-Contentful-Ratelimit-Hour-Limit:
385
+ - '36000'
386
+ X-Contentful-Ratelimit-Hour-Remaining:
387
+ - '35988'
388
+ X-Contentful-Ratelimit-Reset:
389
+ - '0'
390
+ X-Contentful-Ratelimit-Second-Limit:
391
+ - '10'
392
+ X-Contentful-Ratelimit-Second-Remaining:
393
+ - '9'
394
+ X-Contentful-Request-Id:
395
+ - afdb6cc990fca4f16c16704e89d920a4
396
+ Content-Length:
397
+ - '1498'
398
+ Connection:
399
+ - Close
400
+ Set-Cookie:
401
+ - incap_ses_408_673446=pKo9NCzhVEJrqR6s+YKpBSIw11oAAAAAKJiD3ey5BetbLIJDDusg6g==;
402
+ path=/; Domain=.contentful.com
403
+ - nlbi_673446=K/4cQLQrqyYJtFw16lKYhQAAAACv4WKKkhvHkm2wlwkkb10w; path=/; Domain=.contentful.com
404
+ - visid_incap_673446=e4puC5xfRV+4mIrf6a8AgyIw11oAAAAAQUIPAAAAAACVtUCqDBkMxQkHnVkfPj9K;
405
+ expires=Thu, 18 Apr 2019 06:07:10 GMT; path=/; Domain=.contentful.com
406
+ X-Iinfo:
407
+ - 3-44480370-44480379 NNNN CT(89 90 0) RT(1524052001806 49) q(0 0 2 -1) r(4
408
+ 4) U5
409
+ X-Cdn:
410
+ - Incapsula
411
+ body:
412
+ encoding: ASCII-8BIT
413
+ string: |
414
+ {
415
+ "sys": {
416
+ "space": {
417
+ "sys": {
418
+ "type": "Link",
419
+ "linkType": "Space",
420
+ "id": "9utsm1g0t7f5"
421
+ }
422
+ },
423
+ "id": "foo",
424
+ "type": "ContentType",
425
+ "createdAt": "2018-04-18T11:29:35.667Z",
426
+ "updatedAt": "2018-04-18T11:29:36.034Z",
427
+ "environment": {
428
+ "sys": {
429
+ "id": "staging",
430
+ "type": "Link",
431
+ "linkType": "Environment"
432
+ }
433
+ },
434
+ "createdBy": {
435
+ "sys": {
436
+ "type": "Link",
437
+ "linkType": "User",
438
+ "id": "4SejVrWT96dvL9IV4Nb7sQ"
439
+ }
440
+ },
441
+ "updatedBy": {
442
+ "sys": {
443
+ "type": "Link",
444
+ "linkType": "User",
445
+ "id": "4SejVrWT96dvL9IV4Nb7sQ"
446
+ }
447
+ },
448
+ "publishedCounter": 1,
449
+ "version": 2,
450
+ "publishedBy": {
451
+ "sys": {
452
+ "type": "Link",
453
+ "linkType": "User",
454
+ "id": "4SejVrWT96dvL9IV4Nb7sQ"
455
+ }
456
+ },
457
+ "publishedVersion": 1,
458
+ "firstPublishedAt": "2018-04-18T11:29:36.034Z",
459
+ "publishedAt": "2018-04-18T11:29:36.034Z"
460
+ },
461
+ "displayField": "name",
462
+ "name": "Foo",
463
+ "description": "",
464
+ "fields": [
465
+ {
466
+ "id": "name",
467
+ "name": "Name",
468
+ "type": "Symbol",
469
+ "localized": false,
470
+ "required": false,
471
+ "validations": [],
472
+ "disabled": false,
473
+ "omitted": false
474
+ },
475
+ {
476
+ "id": "content",
477
+ "name": "Content",
478
+ "type": "Text",
479
+ "localized": false,
480
+ "required": false,
481
+ "validations": [],
482
+ "disabled": false,
483
+ "omitted": false
484
+ }
485
+ ]
486
+ }
487
+ http_version:
488
+ recorded_at: Wed, 18 Apr 2018 11:46:42 GMT
489
+ - request:
490
+ method: put
491
+ uri: https://api.contentful.com/spaces/9utsm1g0t7f5/environments/staging/entries/6yVdruR4GsKO2iKOqQS2CS
492
+ body:
493
+ encoding: UTF-8
494
+ string: '{"fields":{}}'
495
+ headers:
496
+ X-Contentful-User-Agent:
497
+ - sdk contentful-management.rb/2.0.1; app bootstrap/3.10.0; platform ruby/2.5.1;
498
+ os macOS/16;
499
+ Authorization:
500
+ - Bearer <ACCESS_TOKEN>
501
+ Content-Type:
502
+ - application/vnd.contentful.management.v1+json
503
+ X-Contentful-Content-Type:
504
+ - foo
505
+ Content-Type-Id:
506
+ - foo
507
+ Connection:
508
+ - close
509
+ Host:
510
+ - api.contentful.com
511
+ User-Agent:
512
+ - http.rb/2.2.2
513
+ response:
514
+ status:
515
+ code: 409
516
+ message: Conflict
517
+ headers:
518
+ Access-Control-Allow-Headers:
519
+ - Accept,Accept-Language,Authorization,Cache-Control,Content-Length,Content-Range,Content-Type,DNT,Destination,Expires,If-Match,If-Modified-Since,If-None-Match,Keep-Alive,Last-Modified,Origin,Pragma,Range,User-Agent,X-Http-Method-Override,X-Mx-ReqToken,X-Requested-With,X-Contentful-Version,X-Contentful-Content-Type,X-Contentful-Organization,X-Contentful-Skip-Transformation,X-Contentful-User-Agent,X-Contentful-Enable-Alpha-Feature
520
+ Access-Control-Allow-Methods:
521
+ - DELETE,GET,HEAD,POST,PUT,OPTIONS
522
+ Access-Control-Allow-Origin:
523
+ - "*"
524
+ Access-Control-Expose-Headers:
525
+ - Etag
526
+ Access-Control-Max-Age:
527
+ - '1728000'
528
+ Cf-Space-Id:
529
+ - 9utsm1g0t7f5
530
+ Content-Type:
531
+ - application/vnd.contentful.management.v1+json
532
+ Date:
533
+ - Wed, 18 Apr 2018 11:46:43 GMT
534
+ Server:
535
+ - Contentful
536
+ Strict-Transport-Security:
537
+ - max-age=15768000
538
+ X-Content-Type-Options:
539
+ - nosniff
540
+ X-Contentful-Ratelimit-Hour-Limit:
541
+ - '36000'
542
+ X-Contentful-Ratelimit-Hour-Remaining:
543
+ - '35987'
544
+ X-Contentful-Ratelimit-Reset:
545
+ - '0'
546
+ X-Contentful-Ratelimit-Second-Limit:
547
+ - '10'
548
+ X-Contentful-Ratelimit-Second-Remaining:
549
+ - '8'
550
+ X-Contentful-Request-Id:
551
+ - 1f744da4b3ccabdb9c25ff69b51893e3
552
+ Content-Length:
553
+ - '119'
554
+ Connection:
555
+ - Close
556
+ Set-Cookie:
557
+ - incap_ses_408_673446=fAVjNCiIdlgCqh6s+YKpBSMw11oAAAAAR/PTl1IAjk5iJNFH1m79UQ==;
558
+ path=/; Domain=.contentful.com
559
+ - nlbi_673446=MCOeVrmtAw+vIEBP6lKYhQAAAAD2Wk+3zxsp6pkrSZ2FT8uJ; path=/; Domain=.contentful.com
560
+ - visid_incap_673446=4vfgrstCQEqZO/cAy8NuuSMw11oAAAAAQUIPAAAAAABfpABLw2lkMI4jHbJr8aWN;
561
+ expires=Thu, 18 Apr 2019 06:06:57 GMT; path=/; Domain=.contentful.com
562
+ X-Iinfo:
563
+ - 10-163758478-163758498 NNNN CT(86 87 0) RT(1524052002242 39) q(0 0 2 -1) r(8
564
+ 8) U5
565
+ X-Cdn:
566
+ - Incapsula
567
+ body:
568
+ encoding: ASCII-8BIT
569
+ string: |
570
+ {
571
+ "sys": {
572
+ "type": "Error",
573
+ "id": "VersionMismatch"
574
+ },
575
+ "requestId": "1f744da4b3ccabdb9c25ff69b51893e3"
576
+ }
577
+ http_version:
578
+ recorded_at: Wed, 18 Apr 2018 11:46:43 GMT
579
+ - request:
580
+ method: put
581
+ uri: https://api.contentful.com/spaces/9utsm1g0t7f5/environments/staging/entries/foo_update
582
+ body:
583
+ encoding: UTF-8
584
+ string: '{"fields":{}}'
585
+ headers:
586
+ X-Contentful-User-Agent:
587
+ - sdk contentful-management.rb/2.0.1; app bootstrap/3.10.0; platform ruby/2.5.1;
588
+ os macOS/16;
589
+ Authorization:
590
+ - Bearer <ACCESS_TOKEN>
591
+ Content-Type:
592
+ - application/vnd.contentful.management.v1+json
593
+ X-Contentful-Content-Type:
594
+ - foo
595
+ Content-Type-Id:
596
+ - foo
597
+ Connection:
598
+ - close
599
+ Host:
600
+ - api.contentful.com
601
+ User-Agent:
602
+ - http.rb/2.2.2
603
+ response:
604
+ status:
605
+ code: 201
606
+ message: Created
607
+ headers:
608
+ Access-Control-Allow-Headers:
609
+ - Accept,Accept-Language,Authorization,Cache-Control,Content-Length,Content-Range,Content-Type,DNT,Destination,Expires,If-Match,If-Modified-Since,If-None-Match,Keep-Alive,Last-Modified,Origin,Pragma,Range,User-Agent,X-Http-Method-Override,X-Mx-ReqToken,X-Requested-With,X-Contentful-Version,X-Contentful-Content-Type,X-Contentful-Organization,X-Contentful-Skip-Transformation,X-Contentful-User-Agent,X-Contentful-Enable-Alpha-Feature
610
+ Access-Control-Allow-Methods:
611
+ - DELETE,GET,HEAD,POST,PUT,OPTIONS
612
+ Access-Control-Allow-Origin:
613
+ - "*"
614
+ Access-Control-Expose-Headers:
615
+ - Etag
616
+ Access-Control-Max-Age:
617
+ - '1728000'
618
+ Cf-Space-Id:
619
+ - 9utsm1g0t7f5
620
+ Content-Type:
621
+ - application/vnd.contentful.management.v1+json
622
+ Date:
623
+ - Wed, 18 Apr 2018 11:46:43 GMT
624
+ Etag:
625
+ - '"08818d7ba341f77c3c97c88ca2ea198e"'
626
+ Server:
627
+ - Contentful
628
+ Strict-Transport-Security:
629
+ - max-age=15768000
630
+ X-Content-Type-Options:
631
+ - nosniff
632
+ X-Contentful-Ratelimit-Hour-Limit:
633
+ - '36000'
634
+ X-Contentful-Ratelimit-Hour-Remaining:
635
+ - '35986'
636
+ X-Contentful-Ratelimit-Reset:
637
+ - '0'
638
+ X-Contentful-Ratelimit-Second-Limit:
639
+ - '10'
640
+ X-Contentful-Ratelimit-Second-Remaining:
641
+ - '9'
642
+ X-Contentful-Request-Id:
643
+ - 45180c553adc4588f34083e42395f754
644
+ Content-Length:
645
+ - '858'
646
+ Connection:
647
+ - Close
648
+ Set-Cookie:
649
+ - incap_ses_408_673446=tTJaf1wOiBhNqh6s+YKpBSMw11oAAAAAz1zqvsjBfMD5/RGVlhxhBQ==;
650
+ path=/; Domain=.contentful.com
651
+ - nlbi_673446=2eQPM6fmfkvDpwIp6lKYhQAAAADVCfo0YueUb9//qEz/VBFc; path=/; Domain=.contentful.com
652
+ - visid_incap_673446=ncnqbk3aReaLymccicbqTSMw11oAAAAAQUIPAAAAAAB9SkunswzezFWLy/I1N7vv;
653
+ expires=Thu, 18 Apr 2019 06:06:57 GMT; path=/; Domain=.contentful.com
654
+ X-Iinfo:
655
+ - 10-163758751-163758771 NNNN CT(90 90 0) RT(1524052003088 45) q(0 0 2 -1) r(4
656
+ 4) U5
657
+ X-Cdn:
658
+ - Incapsula
659
+ body:
660
+ encoding: ASCII-8BIT
661
+ string: |
662
+ {
663
+ "sys": {
664
+ "space": {
665
+ "sys": {
666
+ "type": "Link",
667
+ "linkType": "Space",
668
+ "id": "9utsm1g0t7f5"
669
+ }
670
+ },
671
+ "id": "foo_update",
672
+ "type": "Entry",
673
+ "createdAt": "2018-04-18T11:46:43.600Z",
674
+ "updatedAt": "2018-04-18T11:46:43.600Z",
675
+ "environment": {
676
+ "sys": {
677
+ "id": "staging",
678
+ "type": "Link",
679
+ "linkType": "Environment"
680
+ }
681
+ },
682
+ "createdBy": {
683
+ "sys": {
684
+ "type": "Link",
685
+ "linkType": "User",
686
+ "id": "4SejVrWT96dvL9IV4Nb7sQ"
687
+ }
688
+ },
689
+ "updatedBy": {
690
+ "sys": {
691
+ "type": "Link",
692
+ "linkType": "User",
693
+ "id": "4SejVrWT96dvL9IV4Nb7sQ"
694
+ }
695
+ },
696
+ "version": 1,
697
+ "contentType": {
698
+ "sys": {
699
+ "type": "Link",
700
+ "linkType": "ContentType",
701
+ "id": "foo"
702
+ }
703
+ }
704
+ },
705
+ "fields": {}
706
+ }
707
+ http_version:
708
+ recorded_at: Wed, 18 Apr 2018 11:46:43 GMT
709
+ - request:
710
+ method: put
711
+ uri: https://api.contentful.com/spaces/9utsm1g0t7f5/environments/staging/entries/foo_update
712
+ body:
713
+ encoding: UTF-8
714
+ string: '{"fields":{}}'
715
+ headers:
716
+ X-Contentful-User-Agent:
717
+ - sdk contentful-management.rb/2.0.1; app bootstrap/3.10.0; platform ruby/2.5.1;
718
+ os macOS/16;
719
+ Authorization:
720
+ - Bearer <ACCESS_TOKEN>
721
+ Content-Type:
722
+ - application/vnd.contentful.management.v1+json
723
+ X-Contentful-Version:
724
+ - '1'
725
+ Version:
726
+ - '1'
727
+ Connection:
728
+ - close
729
+ Host:
730
+ - api.contentful.com
731
+ User-Agent:
732
+ - http.rb/2.2.2
733
+ response:
734
+ status:
735
+ code: 200
736
+ message: OK
737
+ headers:
738
+ Access-Control-Allow-Headers:
739
+ - Accept,Accept-Language,Authorization,Cache-Control,Content-Length,Content-Range,Content-Type,DNT,Destination,Expires,If-Match,If-Modified-Since,If-None-Match,Keep-Alive,Last-Modified,Origin,Pragma,Range,User-Agent,X-Http-Method-Override,X-Mx-ReqToken,X-Requested-With,X-Contentful-Version,X-Contentful-Content-Type,X-Contentful-Organization,X-Contentful-Skip-Transformation,X-Contentful-User-Agent,X-Contentful-Enable-Alpha-Feature
740
+ Access-Control-Allow-Methods:
741
+ - DELETE,GET,HEAD,POST,PUT,OPTIONS
742
+ Access-Control-Allow-Origin:
743
+ - "*"
744
+ Access-Control-Expose-Headers:
745
+ - Etag
746
+ Access-Control-Max-Age:
747
+ - '1728000'
748
+ Cf-Space-Id:
749
+ - 9utsm1g0t7f5
750
+ Content-Type:
751
+ - application/vnd.contentful.management.v1+json
752
+ Date:
753
+ - Wed, 18 Apr 2018 11:46:44 GMT
754
+ Etag:
755
+ - '"2d061e10a3a3581ab3cc6404fe231b73"'
756
+ Server:
757
+ - Contentful
758
+ Strict-Transport-Security:
759
+ - max-age=15768000
760
+ X-Content-Type-Options:
761
+ - nosniff
762
+ X-Contentful-Ratelimit-Hour-Limit:
763
+ - '36000'
764
+ X-Contentful-Ratelimit-Hour-Remaining:
765
+ - '35985'
766
+ X-Contentful-Ratelimit-Reset:
767
+ - '0'
768
+ X-Contentful-Ratelimit-Second-Limit:
769
+ - '10'
770
+ X-Contentful-Ratelimit-Second-Remaining:
771
+ - '9'
772
+ X-Contentful-Request-Id:
773
+ - 7a99ef68a5731d1a4845bf59c23317af
774
+ Content-Length:
775
+ - '858'
776
+ Connection:
777
+ - Close
778
+ Set-Cookie:
779
+ - incap_ses_408_673446=N0dJdMvJ13QKqx6s+YKpBSQw11oAAAAArGDAW/Lt26VUV3FG7NgorQ==;
780
+ path=/; Domain=.contentful.com
781
+ - nlbi_673446=agH/KpuZ+VHif8LK6lKYhQAAAAAXf8E9Ja+DYdBmzz+/gA4l; path=/; Domain=.contentful.com
782
+ - visid_incap_673446=NYFTrxKaS0qBdntAhYXGhSQw11oAAAAAQUIPAAAAAAAQtJuAa9xCK+Jm9U0an+AR;
783
+ expires=Thu, 18 Apr 2019 06:07:09 GMT; path=/; Domain=.contentful.com
784
+ X-Iinfo:
785
+ - 9-88520824-88520831 NNNN CT(88 87 0) RT(1524052003593 44) q(0 0 2 -1) r(11
786
+ 11) U5
787
+ X-Cdn:
788
+ - Incapsula
789
+ body:
790
+ encoding: ASCII-8BIT
791
+ string: |
792
+ {
793
+ "sys": {
794
+ "space": {
795
+ "sys": {
796
+ "type": "Link",
797
+ "linkType": "Space",
798
+ "id": "9utsm1g0t7f5"
799
+ }
800
+ },
801
+ "id": "foo_update",
802
+ "type": "Entry",
803
+ "createdAt": "2018-04-18T11:46:43.600Z",
804
+ "updatedAt": "2018-04-18T11:46:44.635Z",
805
+ "environment": {
806
+ "sys": {
807
+ "id": "staging",
808
+ "type": "Link",
809
+ "linkType": "Environment"
810
+ }
811
+ },
812
+ "createdBy": {
813
+ "sys": {
814
+ "type": "Link",
815
+ "linkType": "User",
816
+ "id": "4SejVrWT96dvL9IV4Nb7sQ"
817
+ }
818
+ },
819
+ "updatedBy": {
820
+ "sys": {
821
+ "type": "Link",
822
+ "linkType": "User",
823
+ "id": "4SejVrWT96dvL9IV4Nb7sQ"
824
+ }
825
+ },
826
+ "version": 2,
827
+ "contentType": {
828
+ "sys": {
829
+ "type": "Link",
830
+ "linkType": "ContentType",
831
+ "id": "foo"
832
+ }
833
+ }
834
+ },
835
+ "fields": {}
836
+ }
837
+ http_version:
838
+ recorded_at: Wed, 18 Apr 2018 11:46:44 GMT
839
+ - request:
840
+ method: get
841
+ uri: https://api.contentful.com/spaces/9utsm1g0t7f5/environments/staging/entries/6yVdruR4GsKO2iKOqQS2CS
842
+ body:
843
+ encoding: US-ASCII
844
+ string: ''
845
+ headers:
846
+ X-Contentful-User-Agent:
847
+ - sdk contentful-management.rb/2.0.1; app bootstrap/3.10.0; platform ruby/2.5.1;
848
+ os macOS/16;
849
+ Authorization:
850
+ - Bearer <ACCESS_TOKEN>
851
+ Content-Type:
852
+ - application/vnd.contentful.management.v1+json
853
+ Connection:
854
+ - close
855
+ Host:
856
+ - api.contentful.com
857
+ User-Agent:
858
+ - http.rb/2.2.2
859
+ response:
860
+ status:
861
+ code: 200
862
+ message: OK
863
+ headers:
864
+ Access-Control-Allow-Headers:
865
+ - Accept,Accept-Language,Authorization,Cache-Control,Content-Length,Content-Range,Content-Type,DNT,Destination,Expires,If-Match,If-Modified-Since,If-None-Match,Keep-Alive,Last-Modified,Origin,Pragma,Range,User-Agent,X-Http-Method-Override,X-Mx-ReqToken,X-Requested-With,X-Contentful-Version,X-Contentful-Content-Type,X-Contentful-Organization,X-Contentful-Skip-Transformation,X-Contentful-User-Agent,X-Contentful-Enable-Alpha-Feature
866
+ Access-Control-Allow-Methods:
867
+ - DELETE,GET,HEAD,POST,PUT,OPTIONS
868
+ Access-Control-Allow-Origin:
869
+ - "*"
870
+ Access-Control-Expose-Headers:
871
+ - Etag
872
+ Access-Control-Max-Age:
873
+ - '1728000'
874
+ Cf-Space-Id:
875
+ - 9utsm1g0t7f5
876
+ Content-Type:
877
+ - application/vnd.contentful.management.v1+json
878
+ Date:
879
+ - Wed, 18 Apr 2018 11:46:45 GMT
880
+ Etag:
881
+ - '"4168ccd8f825c48a6ef525ec6966cf14"'
882
+ Server:
883
+ - Contentful
884
+ Strict-Transport-Security:
885
+ - max-age=15768000
886
+ X-Content-Type-Options:
887
+ - nosniff
888
+ X-Contentful-Ratelimit-Hour-Limit:
889
+ - '36000'
890
+ X-Contentful-Ratelimit-Hour-Remaining:
891
+ - '35984'
892
+ X-Contentful-Ratelimit-Reset:
893
+ - '0'
894
+ X-Contentful-Ratelimit-Second-Limit:
895
+ - '10'
896
+ X-Contentful-Ratelimit-Second-Remaining:
897
+ - '9'
898
+ X-Contentful-Request-Id:
899
+ - e0b7394aa76b1621072cc801ebb6a717
900
+ Content-Length:
901
+ - '1264'
902
+ Connection:
903
+ - Close
904
+ Set-Cookie:
905
+ - incap_ses_408_673446=/girPvwgc2qfqx6s+YKpBSUw11oAAAAA9gCW0hrZsxwW6n901kzxIQ==;
906
+ path=/; Domain=.contentful.com
907
+ - nlbi_673446=W40CaOnezmAqV75p6lKYhQAAAADgKUkztYH7LwNsTMe0or5B; path=/; Domain=.contentful.com
908
+ - visid_incap_673446=+a9eBLe4S6aFO6M43O9R9iUw11oAAAAAQUIPAAAAAABY54SAzHiCOwOqMlpqoroO;
909
+ expires=Thu, 18 Apr 2019 06:07:09 GMT; path=/; Domain=.contentful.com
910
+ X-Iinfo:
911
+ - 9-88521044-88521055 NNNN CT(86 87 0) RT(1524052004828 44) q(0 0 2 -1) r(8
912
+ 8) U5
913
+ X-Cdn:
914
+ - Incapsula
915
+ body:
916
+ encoding: ASCII-8BIT
917
+ string: |
918
+ {
919
+ "sys": {
920
+ "space": {
921
+ "sys": {
922
+ "type": "Link",
923
+ "linkType": "Space",
924
+ "id": "9utsm1g0t7f5"
925
+ }
926
+ },
927
+ "id": "6yVdruR4GsKO2iKOqQS2CS",
928
+ "type": "Entry",
929
+ "createdAt": "2018-04-18T11:29:43.526Z",
930
+ "updatedAt": "2018-04-18T11:29:53.072Z",
931
+ "environment": {
932
+ "sys": {
933
+ "id": "staging",
934
+ "type": "Link",
935
+ "linkType": "Environment"
936
+ }
937
+ },
938
+ "createdBy": {
939
+ "sys": {
940
+ "type": "Link",
941
+ "linkType": "User",
942
+ "id": "4SejVrWT96dvL9IV4Nb7sQ"
943
+ }
944
+ },
945
+ "updatedBy": {
946
+ "sys": {
947
+ "type": "Link",
948
+ "linkType": "User",
949
+ "id": "4SejVrWT96dvL9IV4Nb7sQ"
950
+ }
951
+ },
952
+ "publishedCounter": 1,
953
+ "version": 7,
954
+ "publishedBy": {
955
+ "sys": {
956
+ "type": "Link",
957
+ "linkType": "User",
958
+ "id": "4SejVrWT96dvL9IV4Nb7sQ"
959
+ }
960
+ },
961
+ "publishedVersion": 6,
962
+ "firstPublishedAt": "2018-04-18T11:29:53.072Z",
963
+ "publishedAt": "2018-04-18T11:29:53.072Z",
964
+ "contentType": {
965
+ "sys": {
966
+ "type": "Link",
967
+ "linkType": "ContentType",
968
+ "id": "foo"
969
+ }
970
+ }
971
+ },
972
+ "fields": {
973
+ "name": {
974
+ "en-US": "Test"
975
+ },
976
+ "content": {
977
+ "en-US": "Some content"
978
+ }
979
+ }
980
+ }
981
+ http_version:
982
+ recorded_at: Wed, 18 Apr 2018 11:46:45 GMT
983
+ - request:
984
+ method: put
985
+ uri: https://api.contentful.com/spaces/9utsm1g0t7f5/environments/staging/entries/6yVdruR4GsKO2iKOqQS2CS
986
+ body:
987
+ encoding: UTF-8
988
+ string: '{"fields":{"name":{"en-US":"Test"},"content":{"en-US":"Some content"}}}'
989
+ headers:
990
+ X-Contentful-User-Agent:
991
+ - sdk contentful-management.rb/2.0.1; app bootstrap/3.10.0; platform ruby/2.5.1;
992
+ os macOS/16;
993
+ Authorization:
994
+ - Bearer <ACCESS_TOKEN>
995
+ Content-Type:
996
+ - application/vnd.contentful.management.v1+json
997
+ X-Contentful-Version:
998
+ - '7'
999
+ Version:
1000
+ - '7'
1001
+ Connection:
1002
+ - close
1003
+ Host:
1004
+ - api.contentful.com
1005
+ User-Agent:
1006
+ - http.rb/2.2.2
1007
+ response:
1008
+ status:
1009
+ code: 200
1010
+ message: OK
1011
+ headers:
1012
+ Access-Control-Allow-Headers:
1013
+ - Accept,Accept-Language,Authorization,Cache-Control,Content-Length,Content-Range,Content-Type,DNT,Destination,Expires,If-Match,If-Modified-Since,If-None-Match,Keep-Alive,Last-Modified,Origin,Pragma,Range,User-Agent,X-Http-Method-Override,X-Mx-ReqToken,X-Requested-With,X-Contentful-Version,X-Contentful-Content-Type,X-Contentful-Organization,X-Contentful-Skip-Transformation,X-Contentful-User-Agent,X-Contentful-Enable-Alpha-Feature
1014
+ Access-Control-Allow-Methods:
1015
+ - DELETE,GET,HEAD,POST,PUT,OPTIONS
1016
+ Access-Control-Allow-Origin:
1017
+ - "*"
1018
+ Access-Control-Expose-Headers:
1019
+ - Etag
1020
+ Access-Control-Max-Age:
1021
+ - '1728000'
1022
+ Cf-Space-Id:
1023
+ - 9utsm1g0t7f5
1024
+ Content-Type:
1025
+ - application/vnd.contentful.management.v1+json
1026
+ Date:
1027
+ - Wed, 18 Apr 2018 11:46:46 GMT
1028
+ Etag:
1029
+ - '"94e924bdcd03629c04d915fa07445ffb"'
1030
+ Server:
1031
+ - Contentful
1032
+ Strict-Transport-Security:
1033
+ - max-age=15768000
1034
+ X-Content-Type-Options:
1035
+ - nosniff
1036
+ X-Contentful-Ratelimit-Hour-Limit:
1037
+ - '36000'
1038
+ X-Contentful-Ratelimit-Hour-Remaining:
1039
+ - '35983'
1040
+ X-Contentful-Ratelimit-Reset:
1041
+ - '0'
1042
+ X-Contentful-Ratelimit-Second-Limit:
1043
+ - '10'
1044
+ X-Contentful-Ratelimit-Second-Remaining:
1045
+ - '9'
1046
+ X-Contentful-Request-Id:
1047
+ - 5a2e6f63b5f01f4f3fa343a8cc42237f
1048
+ Content-Length:
1049
+ - '1264'
1050
+ Connection:
1051
+ - Close
1052
+ Set-Cookie:
1053
+ - incap_ses_408_673446=EDrfZ6bVfVoOrB6s+YKpBSYw11oAAAAAyyo30BP+liKqsDQ3Y+WdVA==;
1054
+ path=/; Domain=.contentful.com
1055
+ - nlbi_673446=yZEzNquxG0NhalZg6lKYhQAAAABxuDxJug3nEGynCX8XIryM; path=/; Domain=.contentful.com
1056
+ - visid_incap_673446=72HZhFn8SI6L0dt1v64eoiYw11oAAAAAQUIPAAAAAACn5UTOHv/VlFuqAQxmtzkz;
1057
+ expires=Thu, 18 Apr 2019 06:06:57 GMT; path=/; Domain=.contentful.com
1058
+ X-Iinfo:
1059
+ - 10-163759590-163759600 NNNN CT(86 87 0) RT(1524052005771 42) q(0 0 1 -1) r(5
1060
+ 5) U5
1061
+ X-Cdn:
1062
+ - Incapsula
1063
+ body:
1064
+ encoding: ASCII-8BIT
1065
+ string: |
1066
+ {
1067
+ "sys": {
1068
+ "space": {
1069
+ "sys": {
1070
+ "type": "Link",
1071
+ "linkType": "Space",
1072
+ "id": "9utsm1g0t7f5"
1073
+ }
1074
+ },
1075
+ "id": "6yVdruR4GsKO2iKOqQS2CS",
1076
+ "type": "Entry",
1077
+ "createdAt": "2018-04-18T11:29:43.526Z",
1078
+ "updatedAt": "2018-04-18T11:46:46.279Z",
1079
+ "environment": {
1080
+ "sys": {
1081
+ "id": "staging",
1082
+ "type": "Link",
1083
+ "linkType": "Environment"
1084
+ }
1085
+ },
1086
+ "createdBy": {
1087
+ "sys": {
1088
+ "type": "Link",
1089
+ "linkType": "User",
1090
+ "id": "4SejVrWT96dvL9IV4Nb7sQ"
1091
+ }
1092
+ },
1093
+ "updatedBy": {
1094
+ "sys": {
1095
+ "type": "Link",
1096
+ "linkType": "User",
1097
+ "id": "4SejVrWT96dvL9IV4Nb7sQ"
1098
+ }
1099
+ },
1100
+ "publishedCounter": 1,
1101
+ "version": 8,
1102
+ "publishedBy": {
1103
+ "sys": {
1104
+ "type": "Link",
1105
+ "linkType": "User",
1106
+ "id": "4SejVrWT96dvL9IV4Nb7sQ"
1107
+ }
1108
+ },
1109
+ "publishedVersion": 6,
1110
+ "firstPublishedAt": "2018-04-18T11:29:53.072Z",
1111
+ "publishedAt": "2018-04-18T11:29:53.072Z",
1112
+ "contentType": {
1113
+ "sys": {
1114
+ "type": "Link",
1115
+ "linkType": "ContentType",
1116
+ "id": "foo"
1117
+ }
1118
+ }
1119
+ },
1120
+ "fields": {
1121
+ "name": {
1122
+ "en-US": "Test"
1123
+ },
1124
+ "content": {
1125
+ "en-US": "Some content"
1126
+ }
1127
+ }
1128
+ }
1129
+ http_version:
1130
+ recorded_at: Wed, 18 Apr 2018 11:46:46 GMT
1131
+ - request:
1132
+ method: put
1133
+ uri: https://api.contentful.com/spaces/9utsm1g0t7f5/environments/staging/entries/6yVdruR4GsKO2iKOqQS2CS
1134
+ body:
1135
+ encoding: UTF-8
1136
+ string: '{"fields":{"name":{"en-US":"Test"},"content":{"en-US":"Some content"}}}'
1137
+ headers:
1138
+ X-Contentful-User-Agent:
1139
+ - sdk contentful-management.rb/2.0.1; app bootstrap/3.10.0; platform ruby/2.5.1;
1140
+ os macOS/16;
1141
+ Authorization:
1142
+ - Bearer <ACCESS_TOKEN>
1143
+ Content-Type:
1144
+ - application/vnd.contentful.management.v1+json
1145
+ X-Contentful-Version:
1146
+ - '8'
1147
+ Version:
1148
+ - '8'
1149
+ Connection:
1150
+ - close
1151
+ Host:
1152
+ - api.contentful.com
1153
+ User-Agent:
1154
+ - http.rb/2.2.2
1155
+ response:
1156
+ status:
1157
+ code: 200
1158
+ message: OK
1159
+ headers:
1160
+ Access-Control-Allow-Headers:
1161
+ - Accept,Accept-Language,Authorization,Cache-Control,Content-Length,Content-Range,Content-Type,DNT,Destination,Expires,If-Match,If-Modified-Since,If-None-Match,Keep-Alive,Last-Modified,Origin,Pragma,Range,User-Agent,X-Http-Method-Override,X-Mx-ReqToken,X-Requested-With,X-Contentful-Version,X-Contentful-Content-Type,X-Contentful-Organization,X-Contentful-Skip-Transformation,X-Contentful-User-Agent,X-Contentful-Enable-Alpha-Feature
1162
+ Access-Control-Allow-Methods:
1163
+ - DELETE,GET,HEAD,POST,PUT,OPTIONS
1164
+ Access-Control-Allow-Origin:
1165
+ - "*"
1166
+ Access-Control-Expose-Headers:
1167
+ - Etag
1168
+ Access-Control-Max-Age:
1169
+ - '1728000'
1170
+ Cf-Space-Id:
1171
+ - 9utsm1g0t7f5
1172
+ Content-Type:
1173
+ - application/vnd.contentful.management.v1+json
1174
+ Date:
1175
+ - Wed, 18 Apr 2018 11:46:47 GMT
1176
+ Etag:
1177
+ - '"80c84356211fe7bec22adeeaddb6bd6f"'
1178
+ Server:
1179
+ - Contentful
1180
+ Strict-Transport-Security:
1181
+ - max-age=15768000
1182
+ X-Content-Type-Options:
1183
+ - nosniff
1184
+ X-Contentful-Ratelimit-Hour-Limit:
1185
+ - '36000'
1186
+ X-Contentful-Ratelimit-Hour-Remaining:
1187
+ - '35982'
1188
+ X-Contentful-Ratelimit-Reset:
1189
+ - '0'
1190
+ X-Contentful-Ratelimit-Second-Limit:
1191
+ - '10'
1192
+ X-Contentful-Ratelimit-Second-Remaining:
1193
+ - '8'
1194
+ X-Contentful-Request-Id:
1195
+ - 98bcb1865454aa8b0e2c18bb34d54b76
1196
+ Content-Length:
1197
+ - '1264'
1198
+ Connection:
1199
+ - Close
1200
+ Set-Cookie:
1201
+ - incap_ses_408_673446=NIZGCZR7mU55rB6s+YKpBSYw11oAAAAAiSK6D4BJxAXVmHJSsK2j8g==;
1202
+ path=/; Domain=.contentful.com
1203
+ - nlbi_673446=GQ9dYUIARj7IFbTo6lKYhQAAAAB4y+1KX912QlaslcDpX+2p; path=/; Domain=.contentful.com
1204
+ - visid_incap_673446=fpURq4rRQKGqRFjh8LgzFyYw11oAAAAAQUIPAAAAAAA11wm7Bo8bAqoQFXDs4ePI;
1205
+ expires=Thu, 18 Apr 2019 06:07:10 GMT; path=/; Domain=.contentful.com
1206
+ X-Iinfo:
1207
+ - 3-44480749-44480751 NNNN CT(87 90 0) RT(1524052006467 40) q(0 0 1 -1) r(3
1208
+ 3) U5
1209
+ X-Cdn:
1210
+ - Incapsula
1211
+ body:
1212
+ encoding: ASCII-8BIT
1213
+ string: |
1214
+ {
1215
+ "sys": {
1216
+ "space": {
1217
+ "sys": {
1218
+ "type": "Link",
1219
+ "linkType": "Space",
1220
+ "id": "9utsm1g0t7f5"
1221
+ }
1222
+ },
1223
+ "id": "6yVdruR4GsKO2iKOqQS2CS",
1224
+ "type": "Entry",
1225
+ "createdAt": "2018-04-18T11:29:43.526Z",
1226
+ "updatedAt": "2018-04-18T11:46:46.986Z",
1227
+ "environment": {
1228
+ "sys": {
1229
+ "id": "staging",
1230
+ "type": "Link",
1231
+ "linkType": "Environment"
1232
+ }
1233
+ },
1234
+ "createdBy": {
1235
+ "sys": {
1236
+ "type": "Link",
1237
+ "linkType": "User",
1238
+ "id": "4SejVrWT96dvL9IV4Nb7sQ"
1239
+ }
1240
+ },
1241
+ "updatedBy": {
1242
+ "sys": {
1243
+ "type": "Link",
1244
+ "linkType": "User",
1245
+ "id": "4SejVrWT96dvL9IV4Nb7sQ"
1246
+ }
1247
+ },
1248
+ "publishedCounter": 1,
1249
+ "version": 9,
1250
+ "publishedBy": {
1251
+ "sys": {
1252
+ "type": "Link",
1253
+ "linkType": "User",
1254
+ "id": "4SejVrWT96dvL9IV4Nb7sQ"
1255
+ }
1256
+ },
1257
+ "publishedVersion": 6,
1258
+ "firstPublishedAt": "2018-04-18T11:29:53.072Z",
1259
+ "publishedAt": "2018-04-18T11:29:53.072Z",
1260
+ "contentType": {
1261
+ "sys": {
1262
+ "type": "Link",
1263
+ "linkType": "ContentType",
1264
+ "id": "foo"
1265
+ }
1266
+ }
1267
+ },
1268
+ "fields": {
1269
+ "name": {
1270
+ "en-US": "Test"
1271
+ },
1272
+ "content": {
1273
+ "en-US": "Some content"
1274
+ }
1275
+ }
1276
+ }
1277
+ http_version:
1278
+ recorded_at: Wed, 18 Apr 2018 11:46:47 GMT
1279
+ - request:
1280
+ method: get
1281
+ uri: https://api.contentful.com/spaces/9utsm1g0t7f5/environments/staging/entries/6yVdruR4GsKO2iKOqQS2CS
1282
+ body:
1283
+ encoding: US-ASCII
1284
+ string: ''
1285
+ headers:
1286
+ X-Contentful-User-Agent:
1287
+ - sdk contentful-management.rb/2.0.1; app bootstrap/3.10.0; platform ruby/2.5.1;
1288
+ os macOS/16;
1289
+ Authorization:
1290
+ - Bearer <ACCESS_TOKEN>
1291
+ Content-Type:
1292
+ - application/vnd.contentful.management.v1+json
1293
+ Connection:
1294
+ - close
1295
+ Host:
1296
+ - api.contentful.com
1297
+ User-Agent:
1298
+ - http.rb/2.2.2
1299
+ response:
1300
+ status:
1301
+ code: 200
1302
+ message: OK
1303
+ headers:
1304
+ Access-Control-Allow-Headers:
1305
+ - Accept,Accept-Language,Authorization,Cache-Control,Content-Length,Content-Range,Content-Type,DNT,Destination,Expires,If-Match,If-Modified-Since,If-None-Match,Keep-Alive,Last-Modified,Origin,Pragma,Range,User-Agent,X-Http-Method-Override,X-Mx-ReqToken,X-Requested-With,X-Contentful-Version,X-Contentful-Content-Type,X-Contentful-Organization,X-Contentful-Skip-Transformation,X-Contentful-User-Agent,X-Contentful-Enable-Alpha-Feature
1306
+ Access-Control-Allow-Methods:
1307
+ - DELETE,GET,HEAD,POST,PUT,OPTIONS
1308
+ Access-Control-Allow-Origin:
1309
+ - "*"
1310
+ Access-Control-Expose-Headers:
1311
+ - Etag
1312
+ Access-Control-Max-Age:
1313
+ - '1728000'
1314
+ Cf-Space-Id:
1315
+ - 9utsm1g0t7f5
1316
+ Content-Type:
1317
+ - application/vnd.contentful.management.v1+json
1318
+ Date:
1319
+ - Wed, 18 Apr 2018 11:46:47 GMT
1320
+ Etag:
1321
+ - '"80c84356211fe7bec22adeeaddb6bd6f"'
1322
+ Server:
1323
+ - Contentful
1324
+ Strict-Transport-Security:
1325
+ - max-age=15768000
1326
+ X-Content-Type-Options:
1327
+ - nosniff
1328
+ X-Contentful-Ratelimit-Hour-Limit:
1329
+ - '36000'
1330
+ X-Contentful-Ratelimit-Hour-Remaining:
1331
+ - '35981'
1332
+ X-Contentful-Ratelimit-Reset:
1333
+ - '0'
1334
+ X-Contentful-Ratelimit-Second-Limit:
1335
+ - '10'
1336
+ X-Contentful-Ratelimit-Second-Remaining:
1337
+ - '9'
1338
+ X-Contentful-Request-Id:
1339
+ - a9c627ee36aed35cbcfe22fb82c153ff
1340
+ Content-Length:
1341
+ - '1264'
1342
+ Connection:
1343
+ - Close
1344
+ Set-Cookie:
1345
+ - incap_ses_408_673446=LZFZLilVTkXTrB6s+YKpBScw11oAAAAA/TWIsQoWNElui5crdncCIQ==;
1346
+ path=/; Domain=.contentful.com
1347
+ - nlbi_673446=FkGOS5bErVGqLF4B6lKYhQAAAADcQcHxbLGoSan6Ugub2855; path=/; Domain=.contentful.com
1348
+ - visid_incap_673446=8giDoed6TiyvhNQuRCWlmScw11oAAAAAQUIPAAAAAADBHDMt1YgqaiQQsH/7L55s;
1349
+ expires=Thu, 18 Apr 2019 06:07:01 GMT; path=/; Domain=.contentful.com
1350
+ X-Iinfo:
1351
+ - 6-8613332-8613333 NNNN CT(86 87 0) RT(1524052006980 32) q(0 0 1 -1) r(3 3)
1352
+ U5
1353
+ X-Cdn:
1354
+ - Incapsula
1355
+ body:
1356
+ encoding: ASCII-8BIT
1357
+ string: |
1358
+ {
1359
+ "sys": {
1360
+ "space": {
1361
+ "sys": {
1362
+ "type": "Link",
1363
+ "linkType": "Space",
1364
+ "id": "9utsm1g0t7f5"
1365
+ }
1366
+ },
1367
+ "id": "6yVdruR4GsKO2iKOqQS2CS",
1368
+ "type": "Entry",
1369
+ "createdAt": "2018-04-18T11:29:43.526Z",
1370
+ "updatedAt": "2018-04-18T11:46:46.986Z",
1371
+ "environment": {
1372
+ "sys": {
1373
+ "id": "staging",
1374
+ "type": "Link",
1375
+ "linkType": "Environment"
1376
+ }
1377
+ },
1378
+ "createdBy": {
1379
+ "sys": {
1380
+ "type": "Link",
1381
+ "linkType": "User",
1382
+ "id": "4SejVrWT96dvL9IV4Nb7sQ"
1383
+ }
1384
+ },
1385
+ "updatedBy": {
1386
+ "sys": {
1387
+ "type": "Link",
1388
+ "linkType": "User",
1389
+ "id": "4SejVrWT96dvL9IV4Nb7sQ"
1390
+ }
1391
+ },
1392
+ "publishedCounter": 1,
1393
+ "version": 9,
1394
+ "publishedBy": {
1395
+ "sys": {
1396
+ "type": "Link",
1397
+ "linkType": "User",
1398
+ "id": "4SejVrWT96dvL9IV4Nb7sQ"
1399
+ }
1400
+ },
1401
+ "publishedVersion": 6,
1402
+ "firstPublishedAt": "2018-04-18T11:29:53.072Z",
1403
+ "publishedAt": "2018-04-18T11:29:53.072Z",
1404
+ "contentType": {
1405
+ "sys": {
1406
+ "type": "Link",
1407
+ "linkType": "ContentType",
1408
+ "id": "foo"
1409
+ }
1410
+ }
1411
+ },
1412
+ "fields": {
1413
+ "name": {
1414
+ "en-US": "Test"
1415
+ },
1416
+ "content": {
1417
+ "en-US": "Some content"
1418
+ }
1419
+ }
1420
+ }
1421
+ http_version:
1422
+ recorded_at: Wed, 18 Apr 2018 11:46:47 GMT
1423
+ - request:
1424
+ method: get
1425
+ uri: https://api.contentful.com/spaces/9utsm1g0t7f5/environments/staging/entries/foo_update
1426
+ body:
1427
+ encoding: US-ASCII
1428
+ string: ''
1429
+ headers:
1430
+ X-Contentful-User-Agent:
1431
+ - sdk contentful-management.rb/2.0.1; app bootstrap/3.10.0; platform ruby/2.5.1;
1432
+ os macOS/16;
1433
+ Authorization:
1434
+ - Bearer <ACCESS_TOKEN>
1435
+ Content-Type:
1436
+ - application/vnd.contentful.management.v1+json
1437
+ Connection:
1438
+ - close
1439
+ Host:
1440
+ - api.contentful.com
1441
+ User-Agent:
1442
+ - http.rb/2.2.2
1443
+ response:
1444
+ status:
1445
+ code: 200
1446
+ message: OK
1447
+ headers:
1448
+ Access-Control-Allow-Headers:
1449
+ - Accept,Accept-Language,Authorization,Cache-Control,Content-Length,Content-Range,Content-Type,DNT,Destination,Expires,If-Match,If-Modified-Since,If-None-Match,Keep-Alive,Last-Modified,Origin,Pragma,Range,User-Agent,X-Http-Method-Override,X-Mx-ReqToken,X-Requested-With,X-Contentful-Version,X-Contentful-Content-Type,X-Contentful-Organization,X-Contentful-Skip-Transformation,X-Contentful-User-Agent,X-Contentful-Enable-Alpha-Feature
1450
+ Access-Control-Allow-Methods:
1451
+ - DELETE,GET,HEAD,POST,PUT,OPTIONS
1452
+ Access-Control-Allow-Origin:
1453
+ - "*"
1454
+ Access-Control-Expose-Headers:
1455
+ - Etag
1456
+ Access-Control-Max-Age:
1457
+ - '1728000'
1458
+ Cf-Space-Id:
1459
+ - 9utsm1g0t7f5
1460
+ Content-Type:
1461
+ - application/vnd.contentful.management.v1+json
1462
+ Date:
1463
+ - Wed, 18 Apr 2018 11:46:47 GMT
1464
+ Etag:
1465
+ - '"2d061e10a3a3581ab3cc6404fe231b73"'
1466
+ Server:
1467
+ - Contentful
1468
+ Strict-Transport-Security:
1469
+ - max-age=15768000
1470
+ X-Content-Type-Options:
1471
+ - nosniff
1472
+ X-Contentful-Ratelimit-Hour-Limit:
1473
+ - '36000'
1474
+ X-Contentful-Ratelimit-Hour-Remaining:
1475
+ - '35980'
1476
+ X-Contentful-Ratelimit-Reset:
1477
+ - '0'
1478
+ X-Contentful-Ratelimit-Second-Limit:
1479
+ - '10'
1480
+ X-Contentful-Ratelimit-Second-Remaining:
1481
+ - '8'
1482
+ X-Contentful-Request-Id:
1483
+ - 3aa4757c0c03aad095e1add9a2e3463d
1484
+ Content-Length:
1485
+ - '858'
1486
+ Connection:
1487
+ - Close
1488
+ Set-Cookie:
1489
+ - incap_ses_408_673446=SLicXmPrnD8erR6s+YKpBScw11oAAAAA9xWsjGT+yzZAcyj6+4dDFQ==;
1490
+ path=/; Domain=.contentful.com
1491
+ - nlbi_673446=Tl2YF6cWGlaVsAyK6lKYhQAAAADYfB61n/yYtoUhaVjaAujA; path=/; Domain=.contentful.com
1492
+ - visid_incap_673446=2dz9rEUMRwKnMuY80g5fdScw11oAAAAAQUIPAAAAAABCszgKofmiu5MRncUOHIGu;
1493
+ expires=Thu, 18 Apr 2019 06:07:07 GMT; path=/; Domain=.contentful.com
1494
+ X-Iinfo:
1495
+ - 5-88637380-88637382 NNNN CT(89 90 0) RT(1524052007353 44) q(0 0 2 -1) r(4
1496
+ 4) U5
1497
+ X-Cdn:
1498
+ - Incapsula
1499
+ body:
1500
+ encoding: ASCII-8BIT
1501
+ string: |
1502
+ {
1503
+ "sys": {
1504
+ "space": {
1505
+ "sys": {
1506
+ "type": "Link",
1507
+ "linkType": "Space",
1508
+ "id": "9utsm1g0t7f5"
1509
+ }
1510
+ },
1511
+ "id": "foo_update",
1512
+ "type": "Entry",
1513
+ "createdAt": "2018-04-18T11:46:43.600Z",
1514
+ "updatedAt": "2018-04-18T11:46:44.635Z",
1515
+ "environment": {
1516
+ "sys": {
1517
+ "id": "staging",
1518
+ "type": "Link",
1519
+ "linkType": "Environment"
1520
+ }
1521
+ },
1522
+ "createdBy": {
1523
+ "sys": {
1524
+ "type": "Link",
1525
+ "linkType": "User",
1526
+ "id": "4SejVrWT96dvL9IV4Nb7sQ"
1527
+ }
1528
+ },
1529
+ "updatedBy": {
1530
+ "sys": {
1531
+ "type": "Link",
1532
+ "linkType": "User",
1533
+ "id": "4SejVrWT96dvL9IV4Nb7sQ"
1534
+ }
1535
+ },
1536
+ "version": 2,
1537
+ "contentType": {
1538
+ "sys": {
1539
+ "type": "Link",
1540
+ "linkType": "ContentType",
1541
+ "id": "foo"
1542
+ }
1543
+ }
1544
+ },
1545
+ "fields": {}
1546
+ }
1547
+ http_version:
1548
+ recorded_at: Wed, 18 Apr 2018 11:46:47 GMT
1549
+ - request:
1550
+ method: put
1551
+ uri: https://api.contentful.com/spaces/9utsm1g0t7f5/environments/staging/entries/foo_update
1552
+ body:
1553
+ encoding: UTF-8
1554
+ string: '{"fields":{"name":{"en-US":"Test updated"},"content":{"en-US":"Some
1555
+ content"}}}'
1556
+ headers:
1557
+ X-Contentful-User-Agent:
1558
+ - sdk contentful-management.rb/2.0.1; app bootstrap/3.10.0; platform ruby/2.5.1;
1559
+ os macOS/16;
1560
+ Authorization:
1561
+ - Bearer <ACCESS_TOKEN>
1562
+ Content-Type:
1563
+ - application/vnd.contentful.management.v1+json
1564
+ X-Contentful-Version:
1565
+ - '2'
1566
+ Version:
1567
+ - '2'
1568
+ Connection:
1569
+ - close
1570
+ Host:
1571
+ - api.contentful.com
1572
+ User-Agent:
1573
+ - http.rb/2.2.2
1574
+ response:
1575
+ status:
1576
+ code: 200
1577
+ message: OK
1578
+ headers:
1579
+ Access-Control-Allow-Headers:
1580
+ - Accept,Accept-Language,Authorization,Cache-Control,Content-Length,Content-Range,Content-Type,DNT,Destination,Expires,If-Match,If-Modified-Since,If-None-Match,Keep-Alive,Last-Modified,Origin,Pragma,Range,User-Agent,X-Http-Method-Override,X-Mx-ReqToken,X-Requested-With,X-Contentful-Version,X-Contentful-Content-Type,X-Contentful-Organization,X-Contentful-Skip-Transformation,X-Contentful-User-Agent,X-Contentful-Enable-Alpha-Feature
1581
+ Access-Control-Allow-Methods:
1582
+ - DELETE,GET,HEAD,POST,PUT,OPTIONS
1583
+ Access-Control-Allow-Origin:
1584
+ - "*"
1585
+ Access-Control-Expose-Headers:
1586
+ - Etag
1587
+ Access-Control-Max-Age:
1588
+ - '1728000'
1589
+ Cf-Space-Id:
1590
+ - 9utsm1g0t7f5
1591
+ Content-Type:
1592
+ - application/vnd.contentful.management.v1+json
1593
+ Date:
1594
+ - Wed, 18 Apr 2018 11:46:48 GMT
1595
+ Etag:
1596
+ - '"7069a68ab3b4d61da3299e8576a821f4"'
1597
+ Server:
1598
+ - Contentful
1599
+ Strict-Transport-Security:
1600
+ - max-age=15768000
1601
+ X-Content-Type-Options:
1602
+ - nosniff
1603
+ X-Contentful-Ratelimit-Hour-Limit:
1604
+ - '36000'
1605
+ X-Contentful-Ratelimit-Hour-Remaining:
1606
+ - '35979'
1607
+ X-Contentful-Ratelimit-Reset:
1608
+ - '0'
1609
+ X-Contentful-Ratelimit-Second-Limit:
1610
+ - '10'
1611
+ X-Contentful-Ratelimit-Second-Remaining:
1612
+ - '9'
1613
+ X-Contentful-Request-Id:
1614
+ - bd28055ca88a1e64801dae43e14032ca
1615
+ Content-Length:
1616
+ - '965'
1617
+ Connection:
1618
+ - Close
1619
+ Set-Cookie:
1620
+ - incap_ses_408_673446=/2GnfZmP4mturR6s+YKpBSgw11oAAAAACDYX0X5u3nxbYOxfgcIeCA==;
1621
+ path=/; Domain=.contentful.com
1622
+ - nlbi_673446=Wc/5Nh95+ykfKjAL6lKYhQAAAABcjbT3KfFBv0w6BuObKwRP; path=/; Domain=.contentful.com
1623
+ - visid_incap_673446=cixIApd6RKijT8aJ6D+j6Sgw11oAAAAAQUIPAAAAAABkP3+3GUVKGhmqT+t+35y+;
1624
+ expires=Thu, 18 Apr 2019 06:07:10 GMT; path=/; Domain=.contentful.com
1625
+ X-Iinfo:
1626
+ - 3-44480857-44480860 NNNN CT(90 90 0) RT(1524052007801 40) q(0 0 2 -1) r(4
1627
+ 4) U5
1628
+ X-Cdn:
1629
+ - Incapsula
1630
+ body:
1631
+ encoding: ASCII-8BIT
1632
+ string: |
1633
+ {
1634
+ "sys": {
1635
+ "space": {
1636
+ "sys": {
1637
+ "type": "Link",
1638
+ "linkType": "Space",
1639
+ "id": "9utsm1g0t7f5"
1640
+ }
1641
+ },
1642
+ "id": "foo_update",
1643
+ "type": "Entry",
1644
+ "createdAt": "2018-04-18T11:46:43.600Z",
1645
+ "updatedAt": "2018-04-18T11:46:48.313Z",
1646
+ "environment": {
1647
+ "sys": {
1648
+ "id": "staging",
1649
+ "type": "Link",
1650
+ "linkType": "Environment"
1651
+ }
1652
+ },
1653
+ "createdBy": {
1654
+ "sys": {
1655
+ "type": "Link",
1656
+ "linkType": "User",
1657
+ "id": "4SejVrWT96dvL9IV4Nb7sQ"
1658
+ }
1659
+ },
1660
+ "updatedBy": {
1661
+ "sys": {
1662
+ "type": "Link",
1663
+ "linkType": "User",
1664
+ "id": "4SejVrWT96dvL9IV4Nb7sQ"
1665
+ }
1666
+ },
1667
+ "version": 3,
1668
+ "contentType": {
1669
+ "sys": {
1670
+ "type": "Link",
1671
+ "linkType": "ContentType",
1672
+ "id": "foo"
1673
+ }
1674
+ }
1675
+ },
1676
+ "fields": {
1677
+ "name": {
1678
+ "en-US": "Test updated"
1679
+ },
1680
+ "content": {
1681
+ "en-US": "Some content"
1682
+ }
1683
+ }
1684
+ }
1685
+ http_version:
1686
+ recorded_at: Wed, 18 Apr 2018 11:46:48 GMT
1687
+ - request:
1688
+ method: put
1689
+ uri: https://api.contentful.com/spaces/9utsm1g0t7f5/environments/staging/entries/foo_update
1690
+ body:
1691
+ encoding: UTF-8
1692
+ string: '{"fields":{"name":{"en-US":"Test updated"},"content":{"en-US":"Some
1693
+ content"}}}'
1694
+ headers:
1695
+ X-Contentful-User-Agent:
1696
+ - sdk contentful-management.rb/2.0.1; app bootstrap/3.10.0; platform ruby/2.5.1;
1697
+ os macOS/16;
1698
+ Authorization:
1699
+ - Bearer <ACCESS_TOKEN>
1700
+ Content-Type:
1701
+ - application/vnd.contentful.management.v1+json
1702
+ X-Contentful-Version:
1703
+ - '3'
1704
+ Version:
1705
+ - '3'
1706
+ Connection:
1707
+ - close
1708
+ Host:
1709
+ - api.contentful.com
1710
+ User-Agent:
1711
+ - http.rb/2.2.2
1712
+ response:
1713
+ status:
1714
+ code: 200
1715
+ message: OK
1716
+ headers:
1717
+ Access-Control-Allow-Headers:
1718
+ - Accept,Accept-Language,Authorization,Cache-Control,Content-Length,Content-Range,Content-Type,DNT,Destination,Expires,If-Match,If-Modified-Since,If-None-Match,Keep-Alive,Last-Modified,Origin,Pragma,Range,User-Agent,X-Http-Method-Override,X-Mx-ReqToken,X-Requested-With,X-Contentful-Version,X-Contentful-Content-Type,X-Contentful-Organization,X-Contentful-Skip-Transformation,X-Contentful-User-Agent,X-Contentful-Enable-Alpha-Feature
1719
+ Access-Control-Allow-Methods:
1720
+ - DELETE,GET,HEAD,POST,PUT,OPTIONS
1721
+ Access-Control-Allow-Origin:
1722
+ - "*"
1723
+ Access-Control-Expose-Headers:
1724
+ - Etag
1725
+ Access-Control-Max-Age:
1726
+ - '1728000'
1727
+ Cf-Space-Id:
1728
+ - 9utsm1g0t7f5
1729
+ Content-Type:
1730
+ - application/vnd.contentful.management.v1+json
1731
+ Date:
1732
+ - Wed, 18 Apr 2018 11:46:48 GMT
1733
+ Etag:
1734
+ - '"dd763873f9c9bc4520712a7e2adc6ac3"'
1735
+ Server:
1736
+ - Contentful
1737
+ Strict-Transport-Security:
1738
+ - max-age=15768000
1739
+ X-Content-Type-Options:
1740
+ - nosniff
1741
+ X-Contentful-Ratelimit-Hour-Limit:
1742
+ - '36000'
1743
+ X-Contentful-Ratelimit-Hour-Remaining:
1744
+ - '35978'
1745
+ X-Contentful-Ratelimit-Reset:
1746
+ - '0'
1747
+ X-Contentful-Ratelimit-Second-Limit:
1748
+ - '10'
1749
+ X-Contentful-Ratelimit-Second-Remaining:
1750
+ - '8'
1751
+ X-Contentful-Request-Id:
1752
+ - a44095033051a70aa4d72b9d062ffb18
1753
+ Content-Length:
1754
+ - '965'
1755
+ Connection:
1756
+ - Close
1757
+ Set-Cookie:
1758
+ - incap_ses_408_673446=sqNrItALr0ayrR6s+YKpBSgw11oAAAAAJafk1SmC+cmHBzisZGaH8g==;
1759
+ path=/; Domain=.contentful.com
1760
+ - nlbi_673446=P4b9Beam9irPaQ8w6lKYhQAAAABpgR0r3ila7ROjHjcIteuZ; path=/; Domain=.contentful.com
1761
+ - visid_incap_673446=1q3WtpMWRqicBJUERI0j+Sgw11oAAAAAQUIPAAAAAADpPGTOLcQhnmQNv8Edrpka;
1762
+ expires=Thu, 18 Apr 2019 06:06:57 GMT; path=/; Domain=.contentful.com
1763
+ X-Iinfo:
1764
+ - 10-163760343-163760367 NNNN CT(90 89 0) RT(1524052008258 52) q(0 0 1 -1) r(3
1765
+ 3) U5
1766
+ X-Cdn:
1767
+ - Incapsula
1768
+ body:
1769
+ encoding: ASCII-8BIT
1770
+ string: |
1771
+ {
1772
+ "sys": {
1773
+ "space": {
1774
+ "sys": {
1775
+ "type": "Link",
1776
+ "linkType": "Space",
1777
+ "id": "9utsm1g0t7f5"
1778
+ }
1779
+ },
1780
+ "id": "foo_update",
1781
+ "type": "Entry",
1782
+ "createdAt": "2018-04-18T11:46:43.600Z",
1783
+ "updatedAt": "2018-04-18T11:46:48.768Z",
1784
+ "environment": {
1785
+ "sys": {
1786
+ "id": "staging",
1787
+ "type": "Link",
1788
+ "linkType": "Environment"
1789
+ }
1790
+ },
1791
+ "createdBy": {
1792
+ "sys": {
1793
+ "type": "Link",
1794
+ "linkType": "User",
1795
+ "id": "4SejVrWT96dvL9IV4Nb7sQ"
1796
+ }
1797
+ },
1798
+ "updatedBy": {
1799
+ "sys": {
1800
+ "type": "Link",
1801
+ "linkType": "User",
1802
+ "id": "4SejVrWT96dvL9IV4Nb7sQ"
1803
+ }
1804
+ },
1805
+ "version": 4,
1806
+ "contentType": {
1807
+ "sys": {
1808
+ "type": "Link",
1809
+ "linkType": "ContentType",
1810
+ "id": "foo"
1811
+ }
1812
+ }
1813
+ },
1814
+ "fields": {
1815
+ "name": {
1816
+ "en-US": "Test updated"
1817
+ },
1818
+ "content": {
1819
+ "en-US": "Some content"
1820
+ }
1821
+ }
1822
+ }
1823
+ http_version:
1824
+ recorded_at: Wed, 18 Apr 2018 11:46:48 GMT
1825
+ - request:
1826
+ method: get
1827
+ uri: https://api.contentful.com/spaces/9utsm1g0t7f5/environments/staging/entries/foo_update
1828
+ body:
1829
+ encoding: US-ASCII
1830
+ string: ''
1831
+ headers:
1832
+ X-Contentful-User-Agent:
1833
+ - sdk contentful-management.rb/2.0.1; app bootstrap/3.10.0; platform ruby/2.5.1;
1834
+ os macOS/16;
1835
+ Authorization:
1836
+ - Bearer <ACCESS_TOKEN>
1837
+ Content-Type:
1838
+ - application/vnd.contentful.management.v1+json
1839
+ Connection:
1840
+ - close
1841
+ Host:
1842
+ - api.contentful.com
1843
+ User-Agent:
1844
+ - http.rb/2.2.2
1845
+ response:
1846
+ status:
1847
+ code: 200
1848
+ message: OK
1849
+ headers:
1850
+ Access-Control-Allow-Headers:
1851
+ - Accept,Accept-Language,Authorization,Cache-Control,Content-Length,Content-Range,Content-Type,DNT,Destination,Expires,If-Match,If-Modified-Since,If-None-Match,Keep-Alive,Last-Modified,Origin,Pragma,Range,User-Agent,X-Http-Method-Override,X-Mx-ReqToken,X-Requested-With,X-Contentful-Version,X-Contentful-Content-Type,X-Contentful-Organization,X-Contentful-Skip-Transformation,X-Contentful-User-Agent,X-Contentful-Enable-Alpha-Feature
1852
+ Access-Control-Allow-Methods:
1853
+ - DELETE,GET,HEAD,POST,PUT,OPTIONS
1854
+ Access-Control-Allow-Origin:
1855
+ - "*"
1856
+ Access-Control-Expose-Headers:
1857
+ - Etag
1858
+ Access-Control-Max-Age:
1859
+ - '1728000'
1860
+ Cf-Space-Id:
1861
+ - 9utsm1g0t7f5
1862
+ Content-Type:
1863
+ - application/vnd.contentful.management.v1+json
1864
+ Date:
1865
+ - Wed, 18 Apr 2018 11:46:49 GMT
1866
+ Etag:
1867
+ - '"dd763873f9c9bc4520712a7e2adc6ac3"'
1868
+ Server:
1869
+ - Contentful
1870
+ Strict-Transport-Security:
1871
+ - max-age=15768000
1872
+ X-Content-Type-Options:
1873
+ - nosniff
1874
+ X-Contentful-Ratelimit-Hour-Limit:
1875
+ - '36000'
1876
+ X-Contentful-Ratelimit-Hour-Remaining:
1877
+ - '35977'
1878
+ X-Contentful-Ratelimit-Reset:
1879
+ - '0'
1880
+ X-Contentful-Ratelimit-Second-Limit:
1881
+ - '10'
1882
+ X-Contentful-Ratelimit-Second-Remaining:
1883
+ - '9'
1884
+ X-Contentful-Request-Id:
1885
+ - 31c817fb7a7ef694aba15d73b066fb60
1886
+ Content-Length:
1887
+ - '965'
1888
+ Connection:
1889
+ - Close
1890
+ Set-Cookie:
1891
+ - incap_ses_408_673446=x1LVGlloI3nlrR6s+YKpBSkw11oAAAAAUOzfy2BvEtxR2GuHRyYnJA==;
1892
+ path=/; Domain=.contentful.com
1893
+ - nlbi_673446=yQWBIvqBFyWnpIqA6lKYhQAAAABM5vgTncKtePJY20dzkWdH; path=/; Domain=.contentful.com
1894
+ - visid_incap_673446=7lIzlEP1SImTriQKorT6ISkw11oAAAAAQUIPAAAAAAD6f7riduVLFBb39BooqdsZ;
1895
+ expires=Thu, 18 Apr 2019 06:06:57 GMT; path=/; Domain=.contentful.com
1896
+ X-Iinfo:
1897
+ - 10-163760466-163760480 NNNN CT(86 87 0) RT(1524052008681 41) q(0 0 1 -1) r(3
1898
+ 3) U5
1899
+ X-Cdn:
1900
+ - Incapsula
1901
+ body:
1902
+ encoding: ASCII-8BIT
1903
+ string: |
1904
+ {
1905
+ "sys": {
1906
+ "space": {
1907
+ "sys": {
1908
+ "type": "Link",
1909
+ "linkType": "Space",
1910
+ "id": "9utsm1g0t7f5"
1911
+ }
1912
+ },
1913
+ "id": "foo_update",
1914
+ "type": "Entry",
1915
+ "createdAt": "2018-04-18T11:46:43.600Z",
1916
+ "updatedAt": "2018-04-18T11:46:48.768Z",
1917
+ "environment": {
1918
+ "sys": {
1919
+ "id": "staging",
1920
+ "type": "Link",
1921
+ "linkType": "Environment"
1922
+ }
1923
+ },
1924
+ "createdBy": {
1925
+ "sys": {
1926
+ "type": "Link",
1927
+ "linkType": "User",
1928
+ "id": "4SejVrWT96dvL9IV4Nb7sQ"
1929
+ }
1930
+ },
1931
+ "updatedBy": {
1932
+ "sys": {
1933
+ "type": "Link",
1934
+ "linkType": "User",
1935
+ "id": "4SejVrWT96dvL9IV4Nb7sQ"
1936
+ }
1937
+ },
1938
+ "version": 4,
1939
+ "contentType": {
1940
+ "sys": {
1941
+ "type": "Link",
1942
+ "linkType": "ContentType",
1943
+ "id": "foo"
1944
+ }
1945
+ }
1946
+ },
1947
+ "fields": {
1948
+ "name": {
1949
+ "en-US": "Test updated"
1950
+ },
1951
+ "content": {
1952
+ "en-US": "Some content"
1953
+ }
1954
+ }
1955
+ }
1956
+ http_version:
1957
+ recorded_at: Wed, 18 Apr 2018 11:46:49 GMT
1958
+ - request:
1959
+ method: get
1960
+ uri: https://api.contentful.com/spaces/9utsm1g0t7f5/environments/staging/entries/6yVdruR4GsKO2iKOqQS2CS
1961
+ body:
1962
+ encoding: US-ASCII
1963
+ string: ''
1964
+ headers:
1965
+ X-Contentful-User-Agent:
1966
+ - sdk contentful-management.rb/2.0.1; app bootstrap/3.10.0; platform ruby/2.5.1;
1967
+ os macOS/16;
1968
+ Authorization:
1969
+ - Bearer <ACCESS_TOKEN>
1970
+ Content-Type:
1971
+ - application/vnd.contentful.management.v1+json
1972
+ Connection:
1973
+ - close
1974
+ Host:
1975
+ - api.contentful.com
1976
+ User-Agent:
1977
+ - http.rb/2.2.2
1978
+ response:
1979
+ status:
1980
+ code: 200
1981
+ message: OK
1982
+ headers:
1983
+ Access-Control-Allow-Headers:
1984
+ - Accept,Accept-Language,Authorization,Cache-Control,Content-Length,Content-Range,Content-Type,DNT,Destination,Expires,If-Match,If-Modified-Since,If-None-Match,Keep-Alive,Last-Modified,Origin,Pragma,Range,User-Agent,X-Http-Method-Override,X-Mx-ReqToken,X-Requested-With,X-Contentful-Version,X-Contentful-Content-Type,X-Contentful-Organization,X-Contentful-Skip-Transformation,X-Contentful-User-Agent,X-Contentful-Enable-Alpha-Feature
1985
+ Access-Control-Allow-Methods:
1986
+ - DELETE,GET,HEAD,POST,PUT,OPTIONS
1987
+ Access-Control-Allow-Origin:
1988
+ - "*"
1989
+ Access-Control-Expose-Headers:
1990
+ - Etag
1991
+ Access-Control-Max-Age:
1992
+ - '1728000'
1993
+ Cf-Space-Id:
1994
+ - 9utsm1g0t7f5
1995
+ Content-Type:
1996
+ - application/vnd.contentful.management.v1+json
1997
+ Date:
1998
+ - Wed, 18 Apr 2018 11:46:49 GMT
1999
+ Etag:
2000
+ - '"80c84356211fe7bec22adeeaddb6bd6f"'
2001
+ Server:
2002
+ - Contentful
2003
+ Strict-Transport-Security:
2004
+ - max-age=15768000
2005
+ X-Content-Type-Options:
2006
+ - nosniff
2007
+ X-Contentful-Ratelimit-Hour-Limit:
2008
+ - '36000'
2009
+ X-Contentful-Ratelimit-Hour-Remaining:
2010
+ - '35976'
2011
+ X-Contentful-Ratelimit-Reset:
2012
+ - '0'
2013
+ X-Contentful-Ratelimit-Second-Limit:
2014
+ - '10'
2015
+ X-Contentful-Ratelimit-Second-Remaining:
2016
+ - '8'
2017
+ X-Contentful-Request-Id:
2018
+ - fd2ca4075c3c0ae81105c74e74fb1605
2019
+ Content-Length:
2020
+ - '1264'
2021
+ Connection:
2022
+ - Close
2023
+ Set-Cookie:
2024
+ - incap_ses_408_673446=wcN9JY3t13Izrh6s+YKpBSkw11oAAAAAuK+ju1/KPt/jj6faQXKKIA==;
2025
+ path=/; Domain=.contentful.com
2026
+ - nlbi_673446=JHCHa/GwnTCtCoKo6lKYhQAAAADcX5NJfgQcQG/sSjEK/szX; path=/; Domain=.contentful.com
2027
+ - visid_incap_673446=JxyBcxB8Qd+jHSy4expLdSkw11oAAAAAQUIPAAAAAABKWxal4a+bQ+7KSQR7YTQu;
2028
+ expires=Thu, 18 Apr 2019 06:07:09 GMT; path=/; Domain=.contentful.com
2029
+ X-Iinfo:
2030
+ - 4-76967874-76967878 NNNN CT(87 87 0) RT(1524052009119 29) q(0 0 2 -1) r(3
2031
+ 3) U5
2032
+ X-Cdn:
2033
+ - Incapsula
2034
+ body:
2035
+ encoding: ASCII-8BIT
2036
+ string: |
2037
+ {
2038
+ "sys": {
2039
+ "space": {
2040
+ "sys": {
2041
+ "type": "Link",
2042
+ "linkType": "Space",
2043
+ "id": "9utsm1g0t7f5"
2044
+ }
2045
+ },
2046
+ "id": "6yVdruR4GsKO2iKOqQS2CS",
2047
+ "type": "Entry",
2048
+ "createdAt": "2018-04-18T11:29:43.526Z",
2049
+ "updatedAt": "2018-04-18T11:46:46.986Z",
2050
+ "environment": {
2051
+ "sys": {
2052
+ "id": "staging",
2053
+ "type": "Link",
2054
+ "linkType": "Environment"
2055
+ }
2056
+ },
2057
+ "createdBy": {
2058
+ "sys": {
2059
+ "type": "Link",
2060
+ "linkType": "User",
2061
+ "id": "4SejVrWT96dvL9IV4Nb7sQ"
2062
+ }
2063
+ },
2064
+ "updatedBy": {
2065
+ "sys": {
2066
+ "type": "Link",
2067
+ "linkType": "User",
2068
+ "id": "4SejVrWT96dvL9IV4Nb7sQ"
2069
+ }
2070
+ },
2071
+ "publishedCounter": 1,
2072
+ "version": 9,
2073
+ "publishedBy": {
2074
+ "sys": {
2075
+ "type": "Link",
2076
+ "linkType": "User",
2077
+ "id": "4SejVrWT96dvL9IV4Nb7sQ"
2078
+ }
2079
+ },
2080
+ "publishedVersion": 6,
2081
+ "firstPublishedAt": "2018-04-18T11:29:53.072Z",
2082
+ "publishedAt": "2018-04-18T11:29:53.072Z",
2083
+ "contentType": {
2084
+ "sys": {
2085
+ "type": "Link",
2086
+ "linkType": "ContentType",
2087
+ "id": "foo"
2088
+ }
2089
+ }
2090
+ },
2091
+ "fields": {
2092
+ "name": {
2093
+ "en-US": "Test"
2094
+ },
2095
+ "content": {
2096
+ "en-US": "Some content"
2097
+ }
2098
+ }
2099
+ }
2100
+ http_version:
2101
+ recorded_at: Wed, 18 Apr 2018 11:46:49 GMT
2102
+ - request:
2103
+ method: put
2104
+ uri: https://api.contentful.com/spaces/9utsm1g0t7f5/environments/staging/entries/6yVdruR4GsKO2iKOqQS2CS/published
2105
+ body:
2106
+ encoding: US-ASCII
2107
+ string: ''
2108
+ headers:
2109
+ X-Contentful-User-Agent:
2110
+ - sdk contentful-management.rb/2.0.1; app bootstrap/3.10.0; platform ruby/2.5.1;
2111
+ os macOS/16;
2112
+ Authorization:
2113
+ - Bearer <ACCESS_TOKEN>
2114
+ Content-Type:
2115
+ - application/vnd.contentful.management.v1+json
2116
+ X-Contentful-Version:
2117
+ - '9'
2118
+ Version:
2119
+ - '9'
2120
+ Connection:
2121
+ - close
2122
+ Host:
2123
+ - api.contentful.com
2124
+ User-Agent:
2125
+ - http.rb/2.2.2
2126
+ response:
2127
+ status:
2128
+ code: 200
2129
+ message: OK
2130
+ headers:
2131
+ Access-Control-Allow-Headers:
2132
+ - Accept,Accept-Language,Authorization,Cache-Control,Content-Length,Content-Range,Content-Type,DNT,Destination,Expires,If-Match,If-Modified-Since,If-None-Match,Keep-Alive,Last-Modified,Origin,Pragma,Range,User-Agent,X-Http-Method-Override,X-Mx-ReqToken,X-Requested-With,X-Contentful-Version,X-Contentful-Content-Type,X-Contentful-Organization,X-Contentful-Skip-Transformation,X-Contentful-User-Agent,X-Contentful-Enable-Alpha-Feature
2133
+ Access-Control-Allow-Methods:
2134
+ - DELETE,GET,HEAD,POST,PUT,OPTIONS
2135
+ Access-Control-Allow-Origin:
2136
+ - "*"
2137
+ Access-Control-Expose-Headers:
2138
+ - Etag
2139
+ Access-Control-Max-Age:
2140
+ - '1728000'
2141
+ Cf-Space-Id:
2142
+ - 9utsm1g0t7f5
2143
+ Content-Type:
2144
+ - application/vnd.contentful.management.v1+json
2145
+ Date:
2146
+ - Wed, 18 Apr 2018 11:46:50 GMT
2147
+ Etag:
2148
+ - '"eff4ba4b8ca26b96bc78c38c53632f9a"'
2149
+ Server:
2150
+ - Contentful
2151
+ Strict-Transport-Security:
2152
+ - max-age=15768000
2153
+ X-Content-Type-Options:
2154
+ - nosniff
2155
+ X-Contentful-Ratelimit-Hour-Limit:
2156
+ - '36000'
2157
+ X-Contentful-Ratelimit-Hour-Remaining:
2158
+ - '35975'
2159
+ X-Contentful-Ratelimit-Reset:
2160
+ - '0'
2161
+ X-Contentful-Ratelimit-Second-Limit:
2162
+ - '10'
2163
+ X-Contentful-Ratelimit-Second-Remaining:
2164
+ - '7'
2165
+ X-Contentful-Request-Id:
2166
+ - e1e04e86b611036b5947defb3d34d89d
2167
+ Content-Length:
2168
+ - '1265'
2169
+ Connection:
2170
+ - Close
2171
+ Set-Cookie:
2172
+ - incap_ses_408_673446=gwyqCLWTeD6Urh6s+YKpBSkw11oAAAAALMPMQEA2xzUGOP4wKhZsMg==;
2173
+ path=/; Domain=.contentful.com
2174
+ - nlbi_673446=jui2XObQc1MpH6j76lKYhQAAAADR+BOLI9hPwsCdLo0qkRXm; path=/; Domain=.contentful.com
2175
+ - visid_incap_673446=5FlsUzrmT4qsEV9Gwpi56Ckw11oAAAAAQUIPAAAAAADGFYLJliLTLcZ6gehH7MUF;
2176
+ expires=Thu, 18 Apr 2019 06:07:07 GMT; path=/; Domain=.contentful.com
2177
+ X-Iinfo:
2178
+ - 8-36133790-36133795 NNNN CT(86 87 0) RT(1524052009534 41) q(0 0 2 -1) r(4
2179
+ 4) U5
2180
+ X-Cdn:
2181
+ - Incapsula
2182
+ body:
2183
+ encoding: ASCII-8BIT
2184
+ string: |
2185
+ {
2186
+ "sys": {
2187
+ "space": {
2188
+ "sys": {
2189
+ "type": "Link",
2190
+ "linkType": "Space",
2191
+ "id": "9utsm1g0t7f5"
2192
+ }
2193
+ },
2194
+ "id": "6yVdruR4GsKO2iKOqQS2CS",
2195
+ "type": "Entry",
2196
+ "createdAt": "2018-04-18T11:29:43.526Z",
2197
+ "updatedAt": "2018-04-18T11:46:50.040Z",
2198
+ "environment": {
2199
+ "sys": {
2200
+ "id": "staging",
2201
+ "type": "Link",
2202
+ "linkType": "Environment"
2203
+ }
2204
+ },
2205
+ "createdBy": {
2206
+ "sys": {
2207
+ "type": "Link",
2208
+ "linkType": "User",
2209
+ "id": "4SejVrWT96dvL9IV4Nb7sQ"
2210
+ }
2211
+ },
2212
+ "updatedBy": {
2213
+ "sys": {
2214
+ "type": "Link",
2215
+ "linkType": "User",
2216
+ "id": "4SejVrWT96dvL9IV4Nb7sQ"
2217
+ }
2218
+ },
2219
+ "publishedCounter": 2,
2220
+ "version": 10,
2221
+ "publishedBy": {
2222
+ "sys": {
2223
+ "type": "Link",
2224
+ "linkType": "User",
2225
+ "id": "4SejVrWT96dvL9IV4Nb7sQ"
2226
+ }
2227
+ },
2228
+ "publishedVersion": 9,
2229
+ "firstPublishedAt": "2018-04-18T11:29:53.072Z",
2230
+ "publishedAt": "2018-04-18T11:46:50.040Z",
2231
+ "contentType": {
2232
+ "sys": {
2233
+ "type": "Link",
2234
+ "linkType": "ContentType",
2235
+ "id": "foo"
2236
+ }
2237
+ }
2238
+ },
2239
+ "fields": {
2240
+ "name": {
2241
+ "en-US": "Test"
2242
+ },
2243
+ "content": {
2244
+ "en-US": "Some content"
2245
+ }
2246
+ }
2247
+ }
2248
+ http_version:
2249
+ recorded_at: Wed, 18 Apr 2018 11:46:50 GMT
2250
+ - request:
2251
+ method: get
2252
+ uri: https://api.contentful.com/spaces/9utsm1g0t7f5/environments/staging/entries/foo_update
2253
+ body:
2254
+ encoding: US-ASCII
2255
+ string: ''
2256
+ headers:
2257
+ X-Contentful-User-Agent:
2258
+ - sdk contentful-management.rb/2.0.1; app bootstrap/3.10.0; platform ruby/2.5.1;
2259
+ os macOS/16;
2260
+ Authorization:
2261
+ - Bearer <ACCESS_TOKEN>
2262
+ Content-Type:
2263
+ - application/vnd.contentful.management.v1+json
2264
+ Connection:
2265
+ - close
2266
+ Host:
2267
+ - api.contentful.com
2268
+ User-Agent:
2269
+ - http.rb/2.2.2
2270
+ response:
2271
+ status:
2272
+ code: 200
2273
+ message: OK
2274
+ headers:
2275
+ Access-Control-Allow-Headers:
2276
+ - Accept,Accept-Language,Authorization,Cache-Control,Content-Length,Content-Range,Content-Type,DNT,Destination,Expires,If-Match,If-Modified-Since,If-None-Match,Keep-Alive,Last-Modified,Origin,Pragma,Range,User-Agent,X-Http-Method-Override,X-Mx-ReqToken,X-Requested-With,X-Contentful-Version,X-Contentful-Content-Type,X-Contentful-Organization,X-Contentful-Skip-Transformation,X-Contentful-User-Agent,X-Contentful-Enable-Alpha-Feature
2277
+ Access-Control-Allow-Methods:
2278
+ - DELETE,GET,HEAD,POST,PUT,OPTIONS
2279
+ Access-Control-Allow-Origin:
2280
+ - "*"
2281
+ Access-Control-Expose-Headers:
2282
+ - Etag
2283
+ Access-Control-Max-Age:
2284
+ - '1728000'
2285
+ Cf-Space-Id:
2286
+ - 9utsm1g0t7f5
2287
+ Content-Type:
2288
+ - application/vnd.contentful.management.v1+json
2289
+ Date:
2290
+ - Wed, 18 Apr 2018 11:46:50 GMT
2291
+ Etag:
2292
+ - '"dd763873f9c9bc4520712a7e2adc6ac3"'
2293
+ Server:
2294
+ - Contentful
2295
+ Strict-Transport-Security:
2296
+ - max-age=15768000
2297
+ X-Content-Type-Options:
2298
+ - nosniff
2299
+ X-Contentful-Ratelimit-Hour-Limit:
2300
+ - '36000'
2301
+ X-Contentful-Ratelimit-Hour-Remaining:
2302
+ - '35974'
2303
+ X-Contentful-Ratelimit-Reset:
2304
+ - '0'
2305
+ X-Contentful-Ratelimit-Second-Limit:
2306
+ - '10'
2307
+ X-Contentful-Ratelimit-Second-Remaining:
2308
+ - '9'
2309
+ X-Contentful-Request-Id:
2310
+ - b6aadec9d83b3d11d07fb1e99dc12b14
2311
+ Content-Length:
2312
+ - '965'
2313
+ Connection:
2314
+ - Close
2315
+ Set-Cookie:
2316
+ - incap_ses_408_673446=NV2VC5VfHCncrh6s+YKpBSow11oAAAAA0UQWhUtYAMMsz3AEzo1LJQ==;
2317
+ path=/; Domain=.contentful.com
2318
+ - nlbi_673446=8oy0a7v0Ch2pJriT6lKYhQAAAADeTF5V/CsWriLmPOOBrvB6; path=/; Domain=.contentful.com
2319
+ - visid_incap_673446=/02PFHHDSCeSiqwUktmLpyow11oAAAAAQUIPAAAAAAAhffl1LIOBnxldkHFirS5A;
2320
+ expires=Thu, 18 Apr 2019 06:07:09 GMT; path=/; Domain=.contentful.com
2321
+ X-Iinfo:
2322
+ - 9-88522171-88522182 NNNN CT(89 90 0) RT(1524052010009 43) q(0 0 2 -1) r(3
2323
+ 3) U5
2324
+ X-Cdn:
2325
+ - Incapsula
2326
+ body:
2327
+ encoding: ASCII-8BIT
2328
+ string: |
2329
+ {
2330
+ "sys": {
2331
+ "space": {
2332
+ "sys": {
2333
+ "type": "Link",
2334
+ "linkType": "Space",
2335
+ "id": "9utsm1g0t7f5"
2336
+ }
2337
+ },
2338
+ "id": "foo_update",
2339
+ "type": "Entry",
2340
+ "createdAt": "2018-04-18T11:46:43.600Z",
2341
+ "updatedAt": "2018-04-18T11:46:48.768Z",
2342
+ "environment": {
2343
+ "sys": {
2344
+ "id": "staging",
2345
+ "type": "Link",
2346
+ "linkType": "Environment"
2347
+ }
2348
+ },
2349
+ "createdBy": {
2350
+ "sys": {
2351
+ "type": "Link",
2352
+ "linkType": "User",
2353
+ "id": "4SejVrWT96dvL9IV4Nb7sQ"
2354
+ }
2355
+ },
2356
+ "updatedBy": {
2357
+ "sys": {
2358
+ "type": "Link",
2359
+ "linkType": "User",
2360
+ "id": "4SejVrWT96dvL9IV4Nb7sQ"
2361
+ }
2362
+ },
2363
+ "version": 4,
2364
+ "contentType": {
2365
+ "sys": {
2366
+ "type": "Link",
2367
+ "linkType": "ContentType",
2368
+ "id": "foo"
2369
+ }
2370
+ }
2371
+ },
2372
+ "fields": {
2373
+ "name": {
2374
+ "en-US": "Test updated"
2375
+ },
2376
+ "content": {
2377
+ "en-US": "Some content"
2378
+ }
2379
+ }
2380
+ }
2381
+ http_version:
2382
+ recorded_at: Wed, 18 Apr 2018 11:46:50 GMT
2383
+ - request:
2384
+ method: put
2385
+ uri: https://api.contentful.com/spaces/9utsm1g0t7f5/environments/staging/entries/foo_update/published
2386
+ body:
2387
+ encoding: US-ASCII
2388
+ string: ''
2389
+ headers:
2390
+ X-Contentful-User-Agent:
2391
+ - sdk contentful-management.rb/2.0.1; app bootstrap/3.10.0; platform ruby/2.5.1;
2392
+ os macOS/16;
2393
+ Authorization:
2394
+ - Bearer <ACCESS_TOKEN>
2395
+ Content-Type:
2396
+ - application/vnd.contentful.management.v1+json
2397
+ X-Contentful-Version:
2398
+ - '4'
2399
+ Version:
2400
+ - '4'
2401
+ Connection:
2402
+ - close
2403
+ Host:
2404
+ - api.contentful.com
2405
+ User-Agent:
2406
+ - http.rb/2.2.2
2407
+ response:
2408
+ status:
2409
+ code: 200
2410
+ message: OK
2411
+ headers:
2412
+ Access-Control-Allow-Headers:
2413
+ - Accept,Accept-Language,Authorization,Cache-Control,Content-Length,Content-Range,Content-Type,DNT,Destination,Expires,If-Match,If-Modified-Since,If-None-Match,Keep-Alive,Last-Modified,Origin,Pragma,Range,User-Agent,X-Http-Method-Override,X-Mx-ReqToken,X-Requested-With,X-Contentful-Version,X-Contentful-Content-Type,X-Contentful-Organization,X-Contentful-Skip-Transformation,X-Contentful-User-Agent,X-Contentful-Enable-Alpha-Feature
2414
+ Access-Control-Allow-Methods:
2415
+ - DELETE,GET,HEAD,POST,PUT,OPTIONS
2416
+ Access-Control-Allow-Origin:
2417
+ - "*"
2418
+ Access-Control-Expose-Headers:
2419
+ - Etag
2420
+ Access-Control-Max-Age:
2421
+ - '1728000'
2422
+ Cf-Space-Id:
2423
+ - 9utsm1g0t7f5
2424
+ Content-Type:
2425
+ - application/vnd.contentful.management.v1+json
2426
+ Date:
2427
+ - Wed, 18 Apr 2018 11:46:51 GMT
2428
+ Etag:
2429
+ - '"4e7adbf4a4c48b1994457343993a5071"'
2430
+ Server:
2431
+ - Contentful
2432
+ Strict-Transport-Security:
2433
+ - max-age=15768000
2434
+ X-Content-Type-Options:
2435
+ - nosniff
2436
+ X-Contentful-Ratelimit-Hour-Limit:
2437
+ - '36000'
2438
+ X-Contentful-Ratelimit-Hour-Remaining:
2439
+ - '35973'
2440
+ X-Contentful-Ratelimit-Reset:
2441
+ - '0'
2442
+ X-Contentful-Ratelimit-Second-Limit:
2443
+ - '10'
2444
+ X-Contentful-Ratelimit-Second-Remaining:
2445
+ - '9'
2446
+ X-Contentful-Request-Id:
2447
+ - b55430f21dec8a2f67c8ddf5d15a2198
2448
+ Content-Length:
2449
+ - '1260'
2450
+ Connection:
2451
+ - Close
2452
+ Set-Cookie:
2453
+ - incap_ses_408_673446=VVxUV0s0zxeCrx6s+YKpBSsw11oAAAAA9N15yXf90ajWHGlOuddYfw==;
2454
+ path=/; Domain=.contentful.com
2455
+ - nlbi_673446=MzXVHLDbXwk0AQ3k6lKYhQAAAACUDRnT+UZQ1agRwilYspmZ; path=/; Domain=.contentful.com
2456
+ - visid_incap_673446=umNFbtEyTfytIp6/c5Ai4ysw11oAAAAAQUIPAAAAAAA4tx2mHJOS4tSGD/3GfYU4;
2457
+ expires=Thu, 18 Apr 2019 06:07:10 GMT; path=/; Domain=.contentful.com
2458
+ X-Iinfo:
2459
+ - 3-44481104-44481116 NNNN CT(90 90 0) RT(1524052010771 41) q(0 0 1 -1) r(4
2460
+ 4) U5
2461
+ X-Cdn:
2462
+ - Incapsula
2463
+ body:
2464
+ encoding: ASCII-8BIT
2465
+ string: |
2466
+ {
2467
+ "sys": {
2468
+ "space": {
2469
+ "sys": {
2470
+ "type": "Link",
2471
+ "linkType": "Space",
2472
+ "id": "9utsm1g0t7f5"
2473
+ }
2474
+ },
2475
+ "id": "foo_update",
2476
+ "type": "Entry",
2477
+ "createdAt": "2018-04-18T11:46:43.600Z",
2478
+ "updatedAt": "2018-04-18T11:46:51.265Z",
2479
+ "environment": {
2480
+ "sys": {
2481
+ "id": "staging",
2482
+ "type": "Link",
2483
+ "linkType": "Environment"
2484
+ }
2485
+ },
2486
+ "createdBy": {
2487
+ "sys": {
2488
+ "type": "Link",
2489
+ "linkType": "User",
2490
+ "id": "4SejVrWT96dvL9IV4Nb7sQ"
2491
+ }
2492
+ },
2493
+ "updatedBy": {
2494
+ "sys": {
2495
+ "type": "Link",
2496
+ "linkType": "User",
2497
+ "id": "4SejVrWT96dvL9IV4Nb7sQ"
2498
+ }
2499
+ },
2500
+ "publishedCounter": 1,
2501
+ "version": 5,
2502
+ "publishedBy": {
2503
+ "sys": {
2504
+ "type": "Link",
2505
+ "linkType": "User",
2506
+ "id": "4SejVrWT96dvL9IV4Nb7sQ"
2507
+ }
2508
+ },
2509
+ "publishedVersion": 4,
2510
+ "firstPublishedAt": "2018-04-18T11:46:51.265Z",
2511
+ "publishedAt": "2018-04-18T11:46:51.265Z",
2512
+ "contentType": {
2513
+ "sys": {
2514
+ "type": "Link",
2515
+ "linkType": "ContentType",
2516
+ "id": "foo"
2517
+ }
2518
+ }
2519
+ },
2520
+ "fields": {
2521
+ "name": {
2522
+ "en-US": "Test updated"
2523
+ },
2524
+ "content": {
2525
+ "en-US": "Some content"
2526
+ }
2527
+ }
2528
+ }
2529
+ http_version:
2530
+ recorded_at: Wed, 18 Apr 2018 11:46:51 GMT
2531
+ recorded_with: VCR 2.9.3