contentful_bootstrap 3.10.0 → 3.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: https://cdn.contentful.com/spaces/cfexampleapi/content_types?sys.id%5Bin%5D=cat,human
5
+ uri: https://cdn.contentful.com/spaces/cfexampleapi/environments/master/content_types?sys.id%5Bin%5D=cat,human
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -80,7 +80,7 @@ http_interactions:
80
80
  recorded_at: Thu, 23 Nov 2017 10:10:36 GMT
81
81
  - request:
82
82
  method: get
83
- uri: https://cdn.contentful.com/spaces/cfexampleapi/assets?limit=1
83
+ uri: https://cdn.contentful.com/spaces/cfexampleapi/environments/master/assets?limit=1
84
84
  body:
85
85
  encoding: US-ASCII
86
86
  string: ''
@@ -198,7 +198,7 @@ http_interactions:
198
198
  recorded_at: Thu, 23 Nov 2017 10:10:36 GMT
199
199
  - request:
200
200
  method: get
201
- uri: https://cdn.contentful.com/spaces/cfexampleapi/assets?limit=1000&order=sys.createdAt&skip=0
201
+ uri: https://cdn.contentful.com/spaces/cfexampleapi/environments/master/assets?limit=1000&order=sys.createdAt&skip=0
202
202
  body:
203
203
  encoding: US-ASCII
204
204
  string: ''
@@ -276,7 +276,7 @@ http_interactions:
276
276
  recorded_at: Thu, 23 Nov 2017 10:10:36 GMT
277
277
  - request:
278
278
  method: get
279
- uri: https://cdn.contentful.com/spaces/cfexampleapi/entries?limit=1&sys.contentType.sys.id%5Bin%5D=cat,human
279
+ uri: https://cdn.contentful.com/spaces/cfexampleapi/environments/master/entries?limit=1&sys.contentType.sys.id%5Bin%5D=cat,human
280
280
  body:
281
281
  encoding: US-ASCII
282
282
  string: ''
@@ -395,7 +395,7 @@ http_interactions:
395
395
  recorded_at: Thu, 23 Nov 2017 10:10:36 GMT
396
396
  - request:
397
397
  method: get
398
- uri: https://cdn.contentful.com/spaces/cfexampleapi/entries?limit=1000&order=sys.createdAt&skip=0&sys.contentType.sys.id%5Bin%5D=cat,human
398
+ uri: https://cdn.contentful.com/spaces/cfexampleapi/environments/master/entries?limit=1000&order=sys.createdAt&skip=0&sys.contentType.sys.id%5Bin%5D=cat,human
399
399
  body:
400
400
  encoding: US-ASCII
401
401
  string: ''
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: https://preview.contentful.com/spaces/f3abi4dqvrhg/content_types
5
+ uri: https://preview.contentful.com/spaces/f3abi4dqvrhg/environments/master/content_types
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -106,7 +106,7 @@ http_interactions:
106
106
  recorded_at: Thu, 09 Nov 2017 15:20:39 GMT
107
107
  - request:
108
108
  method: get
109
- uri: https://preview.contentful.com/spaces/f3abi4dqvrhg/assets?limit=1
109
+ uri: https://preview.contentful.com/spaces/f3abi4dqvrhg/environments/master/assets?limit=1
110
110
  body:
111
111
  encoding: US-ASCII
112
112
  string: ''
@@ -179,7 +179,7 @@ http_interactions:
179
179
  recorded_at: Thu, 09 Nov 2017 15:20:39 GMT
180
180
  - request:
181
181
  method: get
182
- uri: https://preview.contentful.com/spaces/f3abi4dqvrhg/assets?limit=1000&order=sys.createdAt&skip=0
182
+ uri: https://preview.contentful.com/spaces/f3abi4dqvrhg/environments/master/assets?limit=1000&order=sys.createdAt&skip=0
183
183
  body:
184
184
  encoding: US-ASCII
185
185
  string: ''
@@ -252,7 +252,7 @@ http_interactions:
252
252
  recorded_at: Thu, 09 Nov 2017 15:20:40 GMT
253
253
  - request:
254
254
  method: get
255
- uri: https://preview.contentful.com/spaces/f3abi4dqvrhg/entries?limit=1
255
+ uri: https://preview.contentful.com/spaces/f3abi4dqvrhg/environments/master/entries?limit=1
256
256
  body:
257
257
  encoding: US-ASCII
258
258
  string: ''
@@ -353,7 +353,7 @@ http_interactions:
353
353
  recorded_at: Thu, 09 Nov 2017 15:20:40 GMT
354
354
  - request:
355
355
  method: get
356
- uri: https://preview.contentful.com/spaces/f3abi4dqvrhg/entries?limit=1000&order=sys.createdAt&skip=0
356
+ uri: https://preview.contentful.com/spaces/f3abi4dqvrhg/environments/master/entries?limit=1000&order=sys.createdAt&skip=0
357
357
  body:
358
358
  encoding: US-ASCII
359
359
  string: ''
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: https://cdn.contentful.com/spaces/cfexampleapi/content_types?sys.id%5Bin%5D=cat
5
+ uri: https://cdn.contentful.com/spaces/cfexampleapi/environments/master/content_types?sys.id%5Bin%5D=cat
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -80,7 +80,7 @@ http_interactions:
80
80
  recorded_at: Thu, 23 Nov 2017 10:10:34 GMT
81
81
  - request:
82
82
  method: get
83
- uri: https://cdn.contentful.com/spaces/cfexampleapi/assets?limit=1
83
+ uri: https://cdn.contentful.com/spaces/cfexampleapi/environments/master/assets?limit=1
84
84
  body:
85
85
  encoding: US-ASCII
86
86
  string: ''
@@ -198,7 +198,7 @@ http_interactions:
198
198
  recorded_at: Thu, 23 Nov 2017 10:10:34 GMT
199
199
  - request:
200
200
  method: get
201
- uri: https://cdn.contentful.com/spaces/cfexampleapi/assets?limit=1000&order=sys.createdAt&skip=0
201
+ uri: https://cdn.contentful.com/spaces/cfexampleapi/environments/master/assets?limit=1000&order=sys.createdAt&skip=0
202
202
  body:
203
203
  encoding: US-ASCII
204
204
  string: ''
@@ -276,7 +276,7 @@ http_interactions:
276
276
  recorded_at: Thu, 23 Nov 2017 10:10:34 GMT
277
277
  - request:
278
278
  method: get
279
- uri: https://cdn.contentful.com/spaces/cfexampleapi/entries?limit=1&sys.contentType.sys.id%5Bin%5D=cat
279
+ uri: https://cdn.contentful.com/spaces/cfexampleapi/environments/master/entries?limit=1&sys.contentType.sys.id%5Bin%5D=cat
280
280
  body:
281
281
  encoding: US-ASCII
282
282
  string: ''
@@ -395,7 +395,7 @@ http_interactions:
395
395
  recorded_at: Thu, 23 Nov 2017 10:10:35 GMT
396
396
  - request:
397
397
  method: get
398
- uri: https://cdn.contentful.com/spaces/cfexampleapi/entries?limit=1000&order=sys.createdAt&skip=0&sys.contentType.sys.id%5Bin%5D=cat
398
+ uri: https://cdn.contentful.com/spaces/cfexampleapi/environments/master/entries?limit=1000&order=sys.createdAt&skip=0&sys.contentType.sys.id%5Bin%5D=cat
399
399
  body:
400
400
  encoding: US-ASCII
401
401
  string: ''
@@ -90,9 +90,124 @@ http_interactions:
90
90
 
91
91
  http_version:
92
92
  recorded_at: Mon, 23 Nov 2015 10:09:59 GMT
93
+ - request:
94
+ method: get
95
+ uri: https://api.contentful.com/spaces/8rbh6yfkme6s/environments/master
96
+ body:
97
+ encoding: US-ASCII
98
+ string: ''
99
+ headers:
100
+ X-Contentful-User-Agent:
101
+ - sdk contentful-management.rb/1.8.1; integration bootstrap/3.6.1; platform
102
+ ruby/2.4.1; os macOS/16;
103
+ Authorization:
104
+ - Bearer foobar
105
+ Content-Type:
106
+ - application/vnd.contentful.management.v1+json
107
+ Content-Length:
108
+ - '0'
109
+ Connection:
110
+ - close
111
+ Host:
112
+ - api.contentful.com
113
+ User-Agent:
114
+ - http.rb/2.2.2
115
+ response:
116
+ status:
117
+ code: 200
118
+ message: OK
119
+ headers:
120
+ Accept-Ranges:
121
+ - bytes
122
+ Access-Control-Allow-Headers:
123
+ - 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
124
+ Access-Control-Allow-Methods:
125
+ - DELETE,GET,HEAD,POST,PUT,OPTIONS
126
+ Access-Control-Allow-Origin:
127
+ - "*"
128
+ Access-Control-Expose-Headers:
129
+ - Etag
130
+ Access-Control-Max-Age:
131
+ - '1728000'
132
+ Cache-Control:
133
+ - max-age=0
134
+ Cf-Organization-Id:
135
+ - 4SsuxQCaMaemfIms52Jr8s
136
+ Cf-Space-Id:
137
+ - 8rbh6yfkme6s
138
+ Content-Type:
139
+ - application/vnd.contentful.management.v1+json
140
+ Date:
141
+ - Wed, 23 Aug 2017 14:39:29 GMT
142
+ Etag:
143
+ - W/"2c014fd49b265333df19faf15077ad23"
144
+ Server:
145
+ - Contentful
146
+ Strict-Transport-Security:
147
+ - max-age=15768000
148
+ X-Content-Type-Options:
149
+ - nosniff
150
+ X-Contentful-Request-Id:
151
+ - 917a37ae1cf5343e6b089923cc306864
152
+ X-Frame-Options:
153
+ - ALLOWALL
154
+ X-Xss-Protection:
155
+ - 1; mode=block
156
+ Content-Length:
157
+ - '465'
158
+ Connection:
159
+ - Close
160
+ Set-Cookie:
161
+ - incap_ses_685_673446=cxF9Q0guCUtZ5BLquZ2BCaGTnVkAAAAAo6M+6ImkjL12BRgksm5Ycw==;
162
+ path=/; Domain=.contentful.com
163
+ - nlbi_673446=qgazO//8lgCNPBh/6lKYhQAAAADdCJKiN6QN6XKnlFqZhDYU; path=/; Domain=.contentful.com
164
+ - visid_incap_673446=2CwPdSAIQPWlQo9wqlIfraGTnVkAAAAAQUIPAAAAAABpkgonlswdvW4VySG7Mwvb;
165
+ expires=Thu, 23 Aug 2018 07:39:55 GMT; path=/; Domain=.contentful.com
166
+ X-Iinfo:
167
+ - 6-53963549-53963569 NNNN CT(141 141 0) RT(1503499169092 147) q(0 0 3 -1) r(5
168
+ 5) U5
169
+ X-Cdn:
170
+ - Incapsula
171
+ body:
172
+ encoding: ASCII-8BIT
173
+ string: |+
174
+ {
175
+ "name":"Master",
176
+ "sys":{
177
+ "type":"Environment",
178
+ "id":"master",
179
+ "version":4,
180
+ "createdBy":{
181
+ "sys":{
182
+ "type":"Link",
183
+ "linkType":"User",
184
+ "id":"4SejVrWT96dvL9IV4Nb7sQ"
185
+ }
186
+ },
187
+ "createdAt":"2017-08-18T20:55:42Z",
188
+ "updatedBy":{
189
+ "sys":{
190
+ "type":"Link",
191
+ "linkType":"User",
192
+ "id":"4SejVrWT96dvL9IV4Nb7sQ"
193
+ }
194
+ },
195
+ "updatedAt":"2017-08-18T20:55:42Z",
196
+ "space": {
197
+ "sys": {
198
+ "type": "Link",
199
+ "linkType": "Space",
200
+ "id": "8rbh6yfkme6s"
201
+ }
202
+ }
203
+ }
204
+ }
205
+
206
+ http_version:
207
+ recorded_at: Wed, 23 Aug 2017 14:39:29 GMT
93
208
  - request:
94
209
  method: put
95
- uri: https://api.contentful.com/spaces/8rbh6yfkme6s/content_types/1VX60jHERm6yuem8I2agWG
210
+ uri: https://api.contentful.com/spaces/8rbh6yfkme6s/environments/master/content_types/1VX60jHERm6yuem8I2agWG
96
211
  body:
97
212
  encoding: UTF-8
98
213
  string: '{"displayField":"title","name":"yolo","description":null,"fields":[{"id":"title","name":"title","type":"Symbol"},{"id":"assets","name":"assets","type":"Array","items":{"type":"Link","linkType":"Asset"}}]}'
@@ -204,7 +319,7 @@ http_interactions:
204
319
  recorded_at: Mon, 23 Nov 2015 10:10:03 GMT
205
320
  - request:
206
321
  method: put
207
- uri: https://api.contentful.com/spaces/8rbh6yfkme6s/content_types/1VX60jHERm6yuem8I2agWG/published
322
+ uri: https://api.contentful.com/spaces/8rbh6yfkme6s/environments/master/content_types/1VX60jHERm6yuem8I2agWG/published
208
323
  body:
209
324
  encoding: US-ASCII
210
325
  string: ''
@@ -331,7 +446,7 @@ http_interactions:
331
446
  recorded_at: Mon, 23 Nov 2015 10:10:07 GMT
332
447
  - request:
333
448
  method: put
334
- uri: https://api.contentful.com/spaces/8rbh6yfkme6s/assets/2cMU9UUngYMqAEmw4Cm8Iw
449
+ uri: https://api.contentful.com/spaces/8rbh6yfkme6s/environments/master/assets/2cMU9UUngYMqAEmw4Cm8Iw
335
450
  body:
336
451
  encoding: UTF-8
337
452
  string: '{"fields":{"title":{"en-US":"Screen Shot 2015-11-18 at 11.42.12"},"description":{"en-US":null},"file":{"en-US":{"contentType":"image/jpeg","fileName":"Screen
@@ -436,7 +551,7 @@ http_interactions:
436
551
  recorded_at: Mon, 23 Nov 2015 10:10:08 GMT
437
552
  - request:
438
553
  method: put
439
- uri: https://api.contentful.com/spaces/8rbh6yfkme6s/assets/2cMU9UUngYMqAEmw4Cm8Iw/files/en-US/process
554
+ uri: https://api.contentful.com/spaces/8rbh6yfkme6s/environments/master/assets/2cMU9UUngYMqAEmw4Cm8Iw/files/en-US/process
440
555
  body:
441
556
  encoding: US-ASCII
442
557
  string: ''
@@ -495,7 +610,7 @@ http_interactions:
495
610
  recorded_at: Mon, 23 Nov 2015 10:10:11 GMT
496
611
  - request:
497
612
  method: get
498
- uri: https://api.contentful.com/spaces/8rbh6yfkme6s/assets/2cMU9UUngYMqAEmw4Cm8Iw
613
+ uri: https://api.contentful.com/spaces/8rbh6yfkme6s/environments/master/assets/2cMU9UUngYMqAEmw4Cm8Iw
499
614
  body:
500
615
  encoding: US-ASCII
501
616
  string: ''
@@ -608,7 +723,7 @@ http_interactions:
608
723
  recorded_at: Mon, 23 Nov 2015 10:10:12 GMT
609
724
  - request:
610
725
  method: put
611
- uri: https://api.contentful.com/spaces/8rbh6yfkme6s/assets/2cMU9UUngYMqAEmw4Cm8Iw/published
726
+ uri: https://api.contentful.com/spaces/8rbh6yfkme6s/environments/master/assets/2cMU9UUngYMqAEmw4Cm8Iw/published
612
727
  body:
613
728
  encoding: US-ASCII
614
729
  string: ''
@@ -734,7 +849,7 @@ http_interactions:
734
849
  recorded_at: Mon, 23 Nov 2015 10:10:13 GMT
735
850
  - request:
736
851
  method: put
737
- uri: https://api.contentful.com/spaces/8rbh6yfkme6s/assets/4D5sv49qaAoMIkWgAW8g0I
852
+ uri: https://api.contentful.com/spaces/8rbh6yfkme6s/environments/master/assets/4D5sv49qaAoMIkWgAW8g0I
738
853
  body:
739
854
  encoding: UTF-8
740
855
  string: '{"fields":{"title":{"en-US":"Screen Shot 2015-11-16 at 21.37.19"},"description":{"en-US":null},"file":{"en-US":{"contentType":"image/jpeg","fileName":"Screen
@@ -839,7 +954,7 @@ http_interactions:
839
954
  recorded_at: Mon, 23 Nov 2015 10:10:14 GMT
840
955
  - request:
841
956
  method: put
842
- uri: https://api.contentful.com/spaces/8rbh6yfkme6s/assets/4D5sv49qaAoMIkWgAW8g0I/files/en-US/process
957
+ uri: https://api.contentful.com/spaces/8rbh6yfkme6s/environments/master/assets/4D5sv49qaAoMIkWgAW8g0I/files/en-US/process
843
958
  body:
844
959
  encoding: US-ASCII
845
960
  string: ''
@@ -898,7 +1013,7 @@ http_interactions:
898
1013
  recorded_at: Mon, 23 Nov 2015 10:10:14 GMT
899
1014
  - request:
900
1015
  method: get
901
- uri: https://api.contentful.com/spaces/8rbh6yfkme6s/assets/4D5sv49qaAoMIkWgAW8g0I
1016
+ uri: https://api.contentful.com/spaces/8rbh6yfkme6s/environments/master/assets/4D5sv49qaAoMIkWgAW8g0I
902
1017
  body:
903
1018
  encoding: US-ASCII
904
1019
  string: ''
@@ -1011,7 +1126,7 @@ http_interactions:
1011
1126
  recorded_at: Mon, 23 Nov 2015 10:10:15 GMT
1012
1127
  - request:
1013
1128
  method: put
1014
- uri: https://api.contentful.com/spaces/8rbh6yfkme6s/assets/4D5sv49qaAoMIkWgAW8g0I/published
1129
+ uri: https://api.contentful.com/spaces/8rbh6yfkme6s/environments/master/assets/4D5sv49qaAoMIkWgAW8g0I/published
1015
1130
  body:
1016
1131
  encoding: US-ASCII
1017
1132
  string: ''
@@ -1137,7 +1252,7 @@ http_interactions:
1137
1252
  recorded_at: Mon, 23 Nov 2015 10:10:15 GMT
1138
1253
  - request:
1139
1254
  method: put
1140
- uri: https://api.contentful.com/spaces/8rbh6yfkme6s/assets/4eX9aQsDdeqweg6Si00KaW
1255
+ uri: https://api.contentful.com/spaces/8rbh6yfkme6s/environments/master/assets/4eX9aQsDdeqweg6Si00KaW
1141
1256
  body:
1142
1257
  encoding: UTF-8
1143
1258
  string: '{"fields":{"title":{"en-US":"Screen Shot 2015-11-17 at 17.57.00"},"description":{"en-US":null},"file":{"en-US":{"contentType":"image/jpeg","fileName":"Screen
@@ -1242,7 +1357,7 @@ http_interactions:
1242
1357
  recorded_at: Mon, 23 Nov 2015 10:10:16 GMT
1243
1358
  - request:
1244
1359
  method: put
1245
- uri: https://api.contentful.com/spaces/8rbh6yfkme6s/assets/4eX9aQsDdeqweg6Si00KaW/files/en-US/process
1360
+ uri: https://api.contentful.com/spaces/8rbh6yfkme6s/environments/master/assets/4eX9aQsDdeqweg6Si00KaW/files/en-US/process
1246
1361
  body:
1247
1362
  encoding: US-ASCII
1248
1363
  string: ''
@@ -1301,7 +1416,7 @@ http_interactions:
1301
1416
  recorded_at: Mon, 23 Nov 2015 10:10:17 GMT
1302
1417
  - request:
1303
1418
  method: get
1304
- uri: https://api.contentful.com/spaces/8rbh6yfkme6s/assets/4eX9aQsDdeqweg6Si00KaW
1419
+ uri: https://api.contentful.com/spaces/8rbh6yfkme6s/environments/master/assets/4eX9aQsDdeqweg6Si00KaW
1305
1420
  body:
1306
1421
  encoding: US-ASCII
1307
1422
  string: ''
@@ -1414,7 +1529,7 @@ http_interactions:
1414
1529
  recorded_at: Mon, 23 Nov 2015 10:10:18 GMT
1415
1530
  - request:
1416
1531
  method: put
1417
- uri: https://api.contentful.com/spaces/8rbh6yfkme6s/assets/4eX9aQsDdeqweg6Si00KaW/published
1532
+ uri: https://api.contentful.com/spaces/8rbh6yfkme6s/environments/master/assets/4eX9aQsDdeqweg6Si00KaW/published
1418
1533
  body:
1419
1534
  encoding: US-ASCII
1420
1535
  string: ''
@@ -1540,7 +1655,7 @@ http_interactions:
1540
1655
  recorded_at: Mon, 23 Nov 2015 10:10:18 GMT
1541
1656
  - request:
1542
1657
  method: put
1543
- uri: https://api.contentful.com/spaces/8rbh6yfkme6s/assets/7i1Ck3BG4o4KeIEUGosEeU
1658
+ uri: https://api.contentful.com/spaces/8rbh6yfkme6s/environments/master/assets/7i1Ck3BG4o4KeIEUGosEeU
1544
1659
  body:
1545
1660
  encoding: UTF-8
1546
1661
  string: '{"fields":{"title":{"en-US":"Screen Shot 2015-11-17 at 18.04.02"},"description":{"en-US":null},"file":{"en-US":{"contentType":"image/jpeg","fileName":"Screen
@@ -1645,7 +1760,7 @@ http_interactions:
1645
1760
  recorded_at: Mon, 23 Nov 2015 10:10:19 GMT
1646
1761
  - request:
1647
1762
  method: put
1648
- uri: https://api.contentful.com/spaces/8rbh6yfkme6s/assets/7i1Ck3BG4o4KeIEUGosEeU/files/en-US/process
1763
+ uri: https://api.contentful.com/spaces/8rbh6yfkme6s/environments/master/assets/7i1Ck3BG4o4KeIEUGosEeU/files/en-US/process
1649
1764
  body:
1650
1765
  encoding: US-ASCII
1651
1766
  string: ''
@@ -1704,7 +1819,7 @@ http_interactions:
1704
1819
  recorded_at: Mon, 23 Nov 2015 10:10:20 GMT
1705
1820
  - request:
1706
1821
  method: get
1707
- uri: https://api.contentful.com/spaces/8rbh6yfkme6s/assets/7i1Ck3BG4o4KeIEUGosEeU
1822
+ uri: https://api.contentful.com/spaces/8rbh6yfkme6s/environments/master/assets/7i1Ck3BG4o4KeIEUGosEeU
1708
1823
  body:
1709
1824
  encoding: US-ASCII
1710
1825
  string: ''
@@ -1817,7 +1932,7 @@ http_interactions:
1817
1932
  recorded_at: Mon, 23 Nov 2015 10:10:21 GMT
1818
1933
  - request:
1819
1934
  method: put
1820
- uri: https://api.contentful.com/spaces/8rbh6yfkme6s/assets/7i1Ck3BG4o4KeIEUGosEeU/published
1935
+ uri: https://api.contentful.com/spaces/8rbh6yfkme6s/environments/master/assets/7i1Ck3BG4o4KeIEUGosEeU/published
1821
1936
  body:
1822
1937
  encoding: US-ASCII
1823
1938
  string: ''
@@ -1943,7 +2058,7 @@ http_interactions:
1943
2058
  recorded_at: Mon, 23 Nov 2015 10:10:21 GMT
1944
2059
  - request:
1945
2060
  method: get
1946
- uri: https://api.contentful.com/spaces/8rbh6yfkme6s/content_types/1VX60jHERm6yuem8I2agWG
2061
+ uri: https://api.contentful.com/spaces/8rbh6yfkme6s/environments/master/content_types/1VX60jHERm6yuem8I2agWG
1947
2062
  body:
1948
2063
  encoding: US-ASCII
1949
2064
  string: ''
@@ -2068,7 +2183,7 @@ http_interactions:
2068
2183
  recorded_at: Mon, 23 Nov 2015 10:10:22 GMT
2069
2184
  - request:
2070
2185
  method: put
2071
- uri: https://api.contentful.com/spaces/8rbh6yfkme6s/entries/5nQB3z8RgW8CUG6uGyCsEw
2186
+ uri: https://api.contentful.com/spaces/8rbh6yfkme6s/environments/master/entries/5nQB3z8RgW8CUG6uGyCsEw
2072
2187
  body:
2073
2188
  encoding: UTF-8
2074
2189
  string: '{"fields":{}}'
@@ -2167,7 +2282,7 @@ http_interactions:
2167
2282
  recorded_at: Mon, 23 Nov 2015 10:10:23 GMT
2168
2283
  - request:
2169
2284
  method: put
2170
- uri: https://api.contentful.com/spaces/8rbh6yfkme6s/entries/5nQB3z8RgW8CUG6uGyCsEw
2285
+ uri: https://api.contentful.com/spaces/8rbh6yfkme6s/environments/master/entries/5nQB3z8RgW8CUG6uGyCsEw
2171
2286
  body:
2172
2287
  encoding: UTF-8
2173
2288
  string: '{"fields":{}}'
@@ -2266,7 +2381,7 @@ http_interactions:
2266
2381
  recorded_at: Mon, 23 Nov 2015 10:10:24 GMT
2267
2382
  - request:
2268
2383
  method: get
2269
- uri: https://api.contentful.com/spaces/8rbh6yfkme6s/entries/5nQB3z8RgW8CUG6uGyCsEw
2384
+ uri: https://api.contentful.com/spaces/8rbh6yfkme6s/environments/master/entries/5nQB3z8RgW8CUG6uGyCsEw
2270
2385
  body:
2271
2386
  encoding: US-ASCII
2272
2387
  string: ''
@@ -2365,7 +2480,7 @@ http_interactions:
2365
2480
  recorded_at: Mon, 23 Nov 2015 10:10:24 GMT
2366
2481
  - request:
2367
2482
  method: put
2368
- uri: https://api.contentful.com/spaces/8rbh6yfkme6s/entries/5nQB3z8RgW8CUG6uGyCsEw
2483
+ uri: https://api.contentful.com/spaces/8rbh6yfkme6s/environments/master/entries/5nQB3z8RgW8CUG6uGyCsEw
2369
2484
  body:
2370
2485
  encoding: UTF-8
2371
2486
  string: '{"fields":{"assets":{"en-US":[{"sys":{"type":"Link","linkType":"Asset","id":"4eX9aQsDdeqweg6Si00KaW"}},{"sys":{"type":"Link","linkType":"Asset","id":"4D5sv49qaAoMIkWgAW8g0I"}}]},"title":{"en-US":"yolo"}}}'
@@ -2486,7 +2601,7 @@ http_interactions:
2486
2601
  recorded_at: Mon, 23 Nov 2015 10:10:25 GMT
2487
2602
  - request:
2488
2603
  method: put
2489
- uri: https://api.contentful.com/spaces/8rbh6yfkme6s/entries/5nQB3z8RgW8CUG6uGyCsEw
2604
+ uri: https://api.contentful.com/spaces/8rbh6yfkme6s/environments/master/entries/5nQB3z8RgW8CUG6uGyCsEw
2490
2605
  body:
2491
2606
  encoding: UTF-8
2492
2607
  string: '{"fields":{"assets":{"en-US":[{"sys":{"type":"Link","linkType":"Asset","id":"4eX9aQsDdeqweg6Si00KaW"}},{"sys":{"type":"Link","linkType":"Asset","id":"4D5sv49qaAoMIkWgAW8g0I"}}]},"title":{"en-US":"yolo"}}}'
@@ -2607,7 +2722,7 @@ http_interactions:
2607
2722
  recorded_at: Mon, 23 Nov 2015 10:10:26 GMT
2608
2723
  - request:
2609
2724
  method: get
2610
- uri: https://api.contentful.com/spaces/8rbh6yfkme6s/entries/5nQB3z8RgW8CUG6uGyCsEw
2725
+ uri: https://api.contentful.com/spaces/8rbh6yfkme6s/environments/master/entries/5nQB3z8RgW8CUG6uGyCsEw
2611
2726
  body:
2612
2727
  encoding: US-ASCII
2613
2728
  string: ''
@@ -2728,7 +2843,7 @@ http_interactions:
2728
2843
  recorded_at: Mon, 23 Nov 2015 10:10:27 GMT
2729
2844
  - request:
2730
2845
  method: get
2731
- uri: https://api.contentful.com/spaces/8rbh6yfkme6s/entries/5nQB3z8RgW8CUG6uGyCsEw
2846
+ uri: https://api.contentful.com/spaces/8rbh6yfkme6s/environments/master/entries/5nQB3z8RgW8CUG6uGyCsEw
2732
2847
  body:
2733
2848
  encoding: US-ASCII
2734
2849
  string: ''
@@ -2849,7 +2964,7 @@ http_interactions:
2849
2964
  recorded_at: Mon, 23 Nov 2015 10:10:27 GMT
2850
2965
  - request:
2851
2966
  method: put
2852
- uri: https://api.contentful.com/spaces/8rbh6yfkme6s/entries/5nQB3z8RgW8CUG6uGyCsEw/published
2967
+ uri: https://api.contentful.com/spaces/8rbh6yfkme6s/environments/master/entries/5nQB3z8RgW8CUG6uGyCsEw/published
2853
2968
  body:
2854
2969
  encoding: US-ASCII
2855
2970
  string: ''