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.
- checksums.yaml +5 -5
- data/.rubocop.yml +9 -5
- data/.rubocop_todo.yml +34 -76
- data/CHANGELOG.md +7 -0
- data/Guardfile +20 -4
- data/README.md +6 -6
- data/bin/contentful_bootstrap +46 -42
- data/contentful_bootstrap.gemspec +6 -3
- data/lib/contentful/bootstrap/command_runner.rb +3 -1
- data/lib/contentful/bootstrap/commands/base.rb +15 -15
- data/lib/contentful/bootstrap/commands/create_space.rb +5 -6
- data/lib/contentful/bootstrap/commands/generate_json.rb +13 -2
- data/lib/contentful/bootstrap/commands/generate_token.rb +6 -6
- data/lib/contentful/bootstrap/commands/update_space.rb +2 -2
- data/lib/contentful/bootstrap/generator.rb +5 -4
- data/lib/contentful/bootstrap/support.rb +1 -1
- data/lib/contentful/bootstrap/templates/base.rb +22 -25
- data/lib/contentful/bootstrap/templates/json_template.rb +49 -56
- data/lib/contentful/bootstrap/templates/links/base.rb +1 -1
- data/lib/contentful/bootstrap/token.rb +1 -1
- data/lib/contentful/bootstrap/version.rb +1 -1
- data/spec/contentful/bootstrap/command_runner_spec.rb +2 -2
- data/spec/contentful/bootstrap/commands/base_spec.rb +3 -15
- data/spec/contentful/bootstrap/commands/create_space_spec.rb +2 -2
- data/spec/contentful/bootstrap/commands/generate_json_spec.rb +1 -1
- data/spec/contentful/bootstrap/commands/generate_token_spec.rb +1 -1
- data/spec/contentful/bootstrap/commands/update_space_spec.rb +36 -8
- data/spec/contentful/bootstrap/generator_spec.rb +17 -2
- data/spec/contentful/bootstrap/templates/base_spec.rb +10 -8
- data/spec/contentful/bootstrap/templates/blog_spec.rb +9 -1
- data/spec/contentful/bootstrap/templates/catalogue_spec.rb +9 -1
- data/spec/contentful/bootstrap/templates/gallery_spec.rb +9 -1
- data/spec/contentful/bootstrap/templates/json_template_spec.rb +17 -9
- data/spec/fixtures/json_fixtures/environment_template.json +47 -0
- data/spec/fixtures/vcr_fixtures/asset_no_transform.yml +119 -4
- data/spec/fixtures/vcr_fixtures/check_created_space.yml +1 -1
- data/spec/fixtures/vcr_fixtures/check_original_staging_environment_status.yml +201 -0
- data/spec/fixtures/vcr_fixtures/check_staging_environment_status.yml +81 -0
- data/spec/fixtures/vcr_fixtures/check_update_space_localized.yml +2 -2
- data/spec/fixtures/vcr_fixtures/check_update_space_with_draft_content.yml +4 -4
- data/spec/fixtures/vcr_fixtures/create_space_with_blog_template.yml +153 -38
- data/spec/fixtures/vcr_fixtures/create_space_with_catalogue_template.yml +196 -81
- data/spec/fixtures/vcr_fixtures/create_space_with_gallery_template.yml +165 -50
- data/spec/fixtures/vcr_fixtures/generate_json.yml +5 -5
- data/spec/fixtures/vcr_fixtures/generate_json_content_types_only.yml +1 -1
- data/spec/fixtures/vcr_fixtures/generate_json_environments.yml +447 -0
- data/spec/fixtures/vcr_fixtures/generate_json_multi_ct.yml +5 -5
- data/spec/fixtures/vcr_fixtures/generate_json_preview.yml +5 -5
- data/spec/fixtures/vcr_fixtures/generate_json_single_ct.yml +5 -5
- data/spec/fixtures/vcr_fixtures/issue_22.yml +142 -27
- data/spec/fixtures/vcr_fixtures/no_ids.yml +126 -11
- data/spec/fixtures/vcr_fixtures/update_existing_asset.yml +130 -15
- data/spec/fixtures/vcr_fixtures/update_space_localized.yml +134 -19
- data/spec/fixtures/vcr_fixtures/update_with_environment.yml +2531 -0
- metadata +55 -17
@@ -88,9 +88,124 @@ http_interactions:
|
|
88
88
|
|
89
89
|
http_version:
|
90
90
|
recorded_at: Mon, 21 Dec 2015 09:54:21 GMT
|
91
|
+
- request:
|
92
|
+
method: get
|
93
|
+
uri: https://api.contentful.com/spaces/fbrhs5tvrf52/environments/master
|
94
|
+
body:
|
95
|
+
encoding: US-ASCII
|
96
|
+
string: ''
|
97
|
+
headers:
|
98
|
+
X-Contentful-User-Agent:
|
99
|
+
- sdk contentful-management.rb/1.8.1; integration bootstrap/3.6.1; platform
|
100
|
+
ruby/2.4.1; os macOS/16;
|
101
|
+
Authorization:
|
102
|
+
- Bearer foobar
|
103
|
+
Content-Type:
|
104
|
+
- application/vnd.contentful.management.v1+json
|
105
|
+
Content-Length:
|
106
|
+
- '0'
|
107
|
+
Connection:
|
108
|
+
- close
|
109
|
+
Host:
|
110
|
+
- api.contentful.com
|
111
|
+
User-Agent:
|
112
|
+
- http.rb/2.2.2
|
113
|
+
response:
|
114
|
+
status:
|
115
|
+
code: 200
|
116
|
+
message: OK
|
117
|
+
headers:
|
118
|
+
Accept-Ranges:
|
119
|
+
- bytes
|
120
|
+
Access-Control-Allow-Headers:
|
121
|
+
- 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
|
122
|
+
Access-Control-Allow-Methods:
|
123
|
+
- DELETE,GET,HEAD,POST,PUT,OPTIONS
|
124
|
+
Access-Control-Allow-Origin:
|
125
|
+
- "*"
|
126
|
+
Access-Control-Expose-Headers:
|
127
|
+
- Etag
|
128
|
+
Access-Control-Max-Age:
|
129
|
+
- '1728000'
|
130
|
+
Cache-Control:
|
131
|
+
- max-age=0
|
132
|
+
Cf-Organization-Id:
|
133
|
+
- 4SsuxQCaMaemfIms52Jr8s
|
134
|
+
Cf-Space-Id:
|
135
|
+
- fbrhs5tvrf52
|
136
|
+
Content-Type:
|
137
|
+
- application/vnd.contentful.management.v1+json
|
138
|
+
Date:
|
139
|
+
- Wed, 23 Aug 2017 14:39:29 GMT
|
140
|
+
Etag:
|
141
|
+
- W/"2c014fd49b265333df19faf15077ad23"
|
142
|
+
Server:
|
143
|
+
- Contentful
|
144
|
+
Strict-Transport-Security:
|
145
|
+
- max-age=15768000
|
146
|
+
X-Content-Type-Options:
|
147
|
+
- nosniff
|
148
|
+
X-Contentful-Request-Id:
|
149
|
+
- 917a37ae1cf5343e6b089923cc306864
|
150
|
+
X-Frame-Options:
|
151
|
+
- ALLOWALL
|
152
|
+
X-Xss-Protection:
|
153
|
+
- 1; mode=block
|
154
|
+
Content-Length:
|
155
|
+
- '465'
|
156
|
+
Connection:
|
157
|
+
- Close
|
158
|
+
Set-Cookie:
|
159
|
+
- incap_ses_685_673446=cxF9Q0guCUtZ5BLquZ2BCaGTnVkAAAAAo6M+6ImkjL12BRgksm5Ycw==;
|
160
|
+
path=/; Domain=.contentful.com
|
161
|
+
- nlbi_673446=qgazO//8lgCNPBh/6lKYhQAAAADdCJKiN6QN6XKnlFqZhDYU; path=/; Domain=.contentful.com
|
162
|
+
- visid_incap_673446=2CwPdSAIQPWlQo9wqlIfraGTnVkAAAAAQUIPAAAAAABpkgonlswdvW4VySG7Mwvb;
|
163
|
+
expires=Thu, 23 Aug 2018 07:39:55 GMT; path=/; Domain=.contentful.com
|
164
|
+
X-Iinfo:
|
165
|
+
- 6-53963549-53963569 NNNN CT(141 141 0) RT(1503499169092 147) q(0 0 3 -1) r(5
|
166
|
+
5) U5
|
167
|
+
X-Cdn:
|
168
|
+
- Incapsula
|
169
|
+
body:
|
170
|
+
encoding: ASCII-8BIT
|
171
|
+
string: |+
|
172
|
+
{
|
173
|
+
"name":"Master",
|
174
|
+
"sys":{
|
175
|
+
"type":"Environment",
|
176
|
+
"id":"master",
|
177
|
+
"version":4,
|
178
|
+
"createdBy":{
|
179
|
+
"sys":{
|
180
|
+
"type":"Link",
|
181
|
+
"linkType":"User",
|
182
|
+
"id":"4SejVrWT96dvL9IV4Nb7sQ"
|
183
|
+
}
|
184
|
+
},
|
185
|
+
"createdAt":"2017-08-18T20:55:42Z",
|
186
|
+
"updatedBy":{
|
187
|
+
"sys":{
|
188
|
+
"type":"Link",
|
189
|
+
"linkType":"User",
|
190
|
+
"id":"4SejVrWT96dvL9IV4Nb7sQ"
|
191
|
+
}
|
192
|
+
},
|
193
|
+
"updatedAt":"2017-08-18T20:55:42Z",
|
194
|
+
"space": {
|
195
|
+
"sys": {
|
196
|
+
"type": "Link",
|
197
|
+
"linkType": "Space",
|
198
|
+
"id": "fbrhs5tvrf52"
|
199
|
+
}
|
200
|
+
}
|
201
|
+
}
|
202
|
+
}
|
203
|
+
|
204
|
+
http_version:
|
205
|
+
recorded_at: Wed, 23 Aug 2017 14:39:29 GMT
|
91
206
|
- request:
|
92
207
|
method: put
|
93
|
-
uri: https://api.contentful.com/spaces/fbrhs5tvrf52/content_types/cat
|
208
|
+
uri: https://api.contentful.com/spaces/fbrhs5tvrf52/environments/master/content_types/cat
|
94
209
|
body:
|
95
210
|
encoding: UTF-8
|
96
211
|
string: '{"displayField":null,"name":"Cat","description":null,"fields":[{"id":"name","name":"Name","type":"Symbol"}]}'
|
@@ -189,7 +304,7 @@ http_interactions:
|
|
189
304
|
recorded_at: Mon, 21 Dec 2015 09:54:25 GMT
|
190
305
|
- request:
|
191
306
|
method: put
|
192
|
-
uri: https://api.contentful.com/spaces/fbrhs5tvrf52/content_types/cat/published
|
307
|
+
uri: https://api.contentful.com/spaces/fbrhs5tvrf52/environments/master/content_types/cat/published
|
193
308
|
body:
|
194
309
|
encoding: US-ASCII
|
195
310
|
string: ''
|
@@ -303,7 +418,7 @@ http_interactions:
|
|
303
418
|
recorded_at: Mon, 21 Dec 2015 09:54:29 GMT
|
304
419
|
- request:
|
305
420
|
method: get
|
306
|
-
uri: https://api.contentful.com/spaces/fbrhs5tvrf52/content_types/cat
|
421
|
+
uri: https://api.contentful.com/spaces/fbrhs5tvrf52/environments/master/content_types/cat
|
307
422
|
body:
|
308
423
|
encoding: US-ASCII
|
309
424
|
string: ''
|
@@ -415,7 +530,7 @@ http_interactions:
|
|
415
530
|
recorded_at: Mon, 21 Dec 2015 09:54:30 GMT
|
416
531
|
- request:
|
417
532
|
method: post
|
418
|
-
uri: https://api.contentful.com/spaces/fbrhs5tvrf52/entries
|
533
|
+
uri: https://api.contentful.com/spaces/fbrhs5tvrf52/environments/master/entries
|
419
534
|
body:
|
420
535
|
encoding: UTF-8
|
421
536
|
string: '{"fields":{}}'
|
@@ -512,7 +627,7 @@ http_interactions:
|
|
512
627
|
recorded_at: Mon, 21 Dec 2015 09:54:30 GMT
|
513
628
|
- request:
|
514
629
|
method: put
|
515
|
-
uri: https://api.contentful.com/spaces/fbrhs5tvrf52/entries/iIRoS058jK8g0E0C0ew2C
|
630
|
+
uri: https://api.contentful.com/spaces/fbrhs5tvrf52/environments/master/entries/iIRoS058jK8g0E0C0ew2C
|
516
631
|
body:
|
517
632
|
encoding: UTF-8
|
518
633
|
string: '{"fields":{}}'
|
@@ -609,7 +724,7 @@ http_interactions:
|
|
609
724
|
recorded_at: Mon, 21 Dec 2015 09:54:31 GMT
|
610
725
|
- request:
|
611
726
|
method: get
|
612
|
-
uri: https://api.contentful.com/spaces/fbrhs5tvrf52/entries/iIRoS058jK8g0E0C0ew2C
|
727
|
+
uri: https://api.contentful.com/spaces/fbrhs5tvrf52/environments/master/entries/iIRoS058jK8g0E0C0ew2C
|
613
728
|
body:
|
614
729
|
encoding: US-ASCII
|
615
730
|
string: ''
|
@@ -706,7 +821,7 @@ http_interactions:
|
|
706
821
|
recorded_at: Mon, 21 Dec 2015 09:54:35 GMT
|
707
822
|
- request:
|
708
823
|
method: put
|
709
|
-
uri: https://api.contentful.com/spaces/fbrhs5tvrf52/entries/iIRoS058jK8g0E0C0ew2C
|
824
|
+
uri: https://api.contentful.com/spaces/fbrhs5tvrf52/environments/master/entries/iIRoS058jK8g0E0C0ew2C
|
710
825
|
body:
|
711
826
|
encoding: UTF-8
|
712
827
|
string: '{"fields":{}}'
|
@@ -803,7 +918,7 @@ http_interactions:
|
|
803
918
|
recorded_at: Mon, 21 Dec 2015 09:54:36 GMT
|
804
919
|
- request:
|
805
920
|
method: put
|
806
|
-
uri: https://api.contentful.com/spaces/fbrhs5tvrf52/entries/iIRoS058jK8g0E0C0ew2C
|
921
|
+
uri: https://api.contentful.com/spaces/fbrhs5tvrf52/environments/master/entries/iIRoS058jK8g0E0C0ew2C
|
807
922
|
body:
|
808
923
|
encoding: UTF-8
|
809
924
|
string: '{"fields":{}}'
|
@@ -900,7 +1015,7 @@ http_interactions:
|
|
900
1015
|
recorded_at: Mon, 21 Dec 2015 09:54:37 GMT
|
901
1016
|
- request:
|
902
1017
|
method: get
|
903
|
-
uri: https://api.contentful.com/spaces/fbrhs5tvrf52/entries/iIRoS058jK8g0E0C0ew2C
|
1018
|
+
uri: https://api.contentful.com/spaces/fbrhs5tvrf52/environments/master/entries/iIRoS058jK8g0E0C0ew2C
|
904
1019
|
body:
|
905
1020
|
encoding: US-ASCII
|
906
1021
|
string: ''
|
@@ -997,7 +1112,7 @@ http_interactions:
|
|
997
1112
|
recorded_at: Mon, 21 Dec 2015 09:54:37 GMT
|
998
1113
|
- request:
|
999
1114
|
method: get
|
1000
|
-
uri: https://api.contentful.com/spaces/fbrhs5tvrf52/entries/iIRoS058jK8g0E0C0ew2C
|
1115
|
+
uri: https://api.contentful.com/spaces/fbrhs5tvrf52/environments/master/entries/iIRoS058jK8g0E0C0ew2C
|
1001
1116
|
body:
|
1002
1117
|
encoding: US-ASCII
|
1003
1118
|
string: ''
|
@@ -1094,7 +1209,7 @@ http_interactions:
|
|
1094
1209
|
recorded_at: Mon, 21 Dec 2015 09:54:38 GMT
|
1095
1210
|
- request:
|
1096
1211
|
method: put
|
1097
|
-
uri: https://api.contentful.com/spaces/fbrhs5tvrf52/entries/iIRoS058jK8g0E0C0ew2C/published
|
1212
|
+
uri: https://api.contentful.com/spaces/fbrhs5tvrf52/environments/master/entries/iIRoS058jK8g0E0C0ew2C/published
|
1098
1213
|
body:
|
1099
1214
|
encoding: US-ASCII
|
1100
1215
|
string: ''
|
@@ -85,7 +85,122 @@ http_interactions:
|
|
85
85
|
recorded_at: Fri, 10 Nov 2017 13:06:12 GMT
|
86
86
|
- request:
|
87
87
|
method: get
|
88
|
-
uri: https://api.contentful.com/spaces/f3abi4dqvrhg/
|
88
|
+
uri: https://api.contentful.com/spaces/f3abi4dqvrhg/environments/master
|
89
|
+
body:
|
90
|
+
encoding: US-ASCII
|
91
|
+
string: ''
|
92
|
+
headers:
|
93
|
+
X-Contentful-User-Agent:
|
94
|
+
- sdk contentful-management.rb/1.8.1; integration bootstrap/3.6.1; platform
|
95
|
+
ruby/2.4.1; os macOS/16;
|
96
|
+
Authorization:
|
97
|
+
- Bearer foobar
|
98
|
+
Content-Type:
|
99
|
+
- application/vnd.contentful.management.v1+json
|
100
|
+
Content-Length:
|
101
|
+
- '0'
|
102
|
+
Connection:
|
103
|
+
- close
|
104
|
+
Host:
|
105
|
+
- api.contentful.com
|
106
|
+
User-Agent:
|
107
|
+
- http.rb/2.2.2
|
108
|
+
response:
|
109
|
+
status:
|
110
|
+
code: 200
|
111
|
+
message: OK
|
112
|
+
headers:
|
113
|
+
Accept-Ranges:
|
114
|
+
- bytes
|
115
|
+
Access-Control-Allow-Headers:
|
116
|
+
- 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
|
117
|
+
Access-Control-Allow-Methods:
|
118
|
+
- DELETE,GET,HEAD,POST,PUT,OPTIONS
|
119
|
+
Access-Control-Allow-Origin:
|
120
|
+
- "*"
|
121
|
+
Access-Control-Expose-Headers:
|
122
|
+
- Etag
|
123
|
+
Access-Control-Max-Age:
|
124
|
+
- '1728000'
|
125
|
+
Cache-Control:
|
126
|
+
- max-age=0
|
127
|
+
Cf-Organization-Id:
|
128
|
+
- 4SsuxQCaMaemfIms52Jr8s
|
129
|
+
Cf-Space-Id:
|
130
|
+
- f3abi4dqvrhg
|
131
|
+
Content-Type:
|
132
|
+
- application/vnd.contentful.management.v1+json
|
133
|
+
Date:
|
134
|
+
- Wed, 23 Aug 2017 14:39:29 GMT
|
135
|
+
Etag:
|
136
|
+
- W/"2c014fd49b265333df19faf15077ad23"
|
137
|
+
Server:
|
138
|
+
- Contentful
|
139
|
+
Strict-Transport-Security:
|
140
|
+
- max-age=15768000
|
141
|
+
X-Content-Type-Options:
|
142
|
+
- nosniff
|
143
|
+
X-Contentful-Request-Id:
|
144
|
+
- 917a37ae1cf5343e6b089923cc306864
|
145
|
+
X-Frame-Options:
|
146
|
+
- ALLOWALL
|
147
|
+
X-Xss-Protection:
|
148
|
+
- 1; mode=block
|
149
|
+
Content-Length:
|
150
|
+
- '465'
|
151
|
+
Connection:
|
152
|
+
- Close
|
153
|
+
Set-Cookie:
|
154
|
+
- incap_ses_685_673446=cxF9Q0guCUtZ5BLquZ2BCaGTnVkAAAAAo6M+6ImkjL12BRgksm5Ycw==;
|
155
|
+
path=/; Domain=.contentful.com
|
156
|
+
- nlbi_673446=qgazO//8lgCNPBh/6lKYhQAAAADdCJKiN6QN6XKnlFqZhDYU; path=/; Domain=.contentful.com
|
157
|
+
- visid_incap_673446=2CwPdSAIQPWlQo9wqlIfraGTnVkAAAAAQUIPAAAAAABpkgonlswdvW4VySG7Mwvb;
|
158
|
+
expires=Thu, 23 Aug 2018 07:39:55 GMT; path=/; Domain=.contentful.com
|
159
|
+
X-Iinfo:
|
160
|
+
- 6-53963549-53963569 NNNN CT(141 141 0) RT(1503499169092 147) q(0 0 3 -1) r(5
|
161
|
+
5) U5
|
162
|
+
X-Cdn:
|
163
|
+
- Incapsula
|
164
|
+
body:
|
165
|
+
encoding: ASCII-8BIT
|
166
|
+
string: |+
|
167
|
+
{
|
168
|
+
"name":"Master",
|
169
|
+
"sys":{
|
170
|
+
"type":"Environment",
|
171
|
+
"id":"master",
|
172
|
+
"version":4,
|
173
|
+
"createdBy":{
|
174
|
+
"sys":{
|
175
|
+
"type":"Link",
|
176
|
+
"linkType":"User",
|
177
|
+
"id":"4SejVrWT96dvL9IV4Nb7sQ"
|
178
|
+
}
|
179
|
+
},
|
180
|
+
"createdAt":"2017-08-18T20:55:42Z",
|
181
|
+
"updatedBy":{
|
182
|
+
"sys":{
|
183
|
+
"type":"Link",
|
184
|
+
"linkType":"User",
|
185
|
+
"id":"4SejVrWT96dvL9IV4Nb7sQ"
|
186
|
+
}
|
187
|
+
},
|
188
|
+
"updatedAt":"2017-08-18T20:55:42Z",
|
189
|
+
"space": {
|
190
|
+
"sys": {
|
191
|
+
"type": "Link",
|
192
|
+
"linkType": "Space",
|
193
|
+
"id": "f3abi4dqvrhg"
|
194
|
+
}
|
195
|
+
}
|
196
|
+
}
|
197
|
+
}
|
198
|
+
|
199
|
+
http_version:
|
200
|
+
recorded_at: Wed, 23 Aug 2017 14:39:29 GMT
|
201
|
+
- request:
|
202
|
+
method: get
|
203
|
+
uri: https://api.contentful.com/spaces/f3abi4dqvrhg/environments/master/content_types
|
89
204
|
body:
|
90
205
|
encoding: US-ASCII
|
91
206
|
string: ''
|
@@ -222,7 +337,7 @@ http_interactions:
|
|
222
337
|
recorded_at: Fri, 10 Nov 2017 13:06:13 GMT
|
223
338
|
- request:
|
224
339
|
method: put
|
225
|
-
uri: https://api.contentful.com/spaces/f3abi4dqvrhg/content_types/testContentType
|
340
|
+
uri: https://api.contentful.com/spaces/f3abi4dqvrhg/environments/master/content_types/testContentType
|
226
341
|
body:
|
227
342
|
encoding: UTF-8
|
228
343
|
string: '{"displayField":"title","name":"Test Content Type","fields":[{"id":"title","name":"Title","type":"Symbol"}]}'
|
@@ -298,7 +413,7 @@ http_interactions:
|
|
298
413
|
recorded_at: Fri, 10 Nov 2017 13:06:13 GMT
|
299
414
|
- request:
|
300
415
|
method: put
|
301
|
-
uri: https://api.contentful.com/spaces/f3abi4dqvrhg/assets/3JX5vcHRhmAmaYwWq0S0wa
|
416
|
+
uri: https://api.contentful.com/spaces/f3abi4dqvrhg/environments/master/assets/3JX5vcHRhmAmaYwWq0S0wa
|
302
417
|
body:
|
303
418
|
encoding: UTF-8
|
304
419
|
string: '{"fields":{"title":{"en-US":"Cat"},"description":{"en-US":null},"file":{"en-US":{"contentType":"image/jpeg","fileName":"cat","upload":"https://images.contentful.com/f3abi4dqvrhg/3JX5vcHRhmAmaYwWq0S0wa/9ba45c1084d8530702bcd0de5617c59b/cat.jpg"}}}}'
|
@@ -373,7 +488,7 @@ http_interactions:
|
|
373
488
|
recorded_at: Fri, 10 Nov 2017 13:06:13 GMT
|
374
489
|
- request:
|
375
490
|
method: get
|
376
|
-
uri: https://api.contentful.com/spaces/f3abi4dqvrhg/assets/3JX5vcHRhmAmaYwWq0S0wa
|
491
|
+
uri: https://api.contentful.com/spaces/f3abi4dqvrhg/environments/master/assets/3JX5vcHRhmAmaYwWq0S0wa
|
377
492
|
body:
|
378
493
|
encoding: US-ASCII
|
379
494
|
string: ''
|
@@ -503,7 +618,7 @@ http_interactions:
|
|
503
618
|
recorded_at: Fri, 10 Nov 2017 13:06:13 GMT
|
504
619
|
- request:
|
505
620
|
method: put
|
506
|
-
uri: https://api.contentful.com/spaces/f3abi4dqvrhg/assets/3JX5vcHRhmAmaYwWq0S0wa
|
621
|
+
uri: https://api.contentful.com/spaces/f3abi4dqvrhg/environments/master/assets/3JX5vcHRhmAmaYwWq0S0wa
|
507
622
|
body:
|
508
623
|
encoding: UTF-8
|
509
624
|
string: '{"fields":{"title":{"en-US":"Cat"},"description":{"en-US":null},"file":{"en-US":{"contentType":"image/jpeg","fileName":"cat","upload":"https://images.contentful.com/f3abi4dqvrhg/3JX5vcHRhmAmaYwWq0S0wa/9ba45c1084d8530702bcd0de5617c59b/cat.jpg"}}}}'
|
@@ -633,7 +748,7 @@ http_interactions:
|
|
633
748
|
recorded_at: Fri, 10 Nov 2017 13:06:14 GMT
|
634
749
|
- request:
|
635
750
|
method: put
|
636
|
-
uri: https://api.contentful.com/spaces/f3abi4dqvrhg/assets/3JX5vcHRhmAmaYwWq0S0wa/files/en-US/process
|
751
|
+
uri: https://api.contentful.com/spaces/f3abi4dqvrhg/environments/master/assets/3JX5vcHRhmAmaYwWq0S0wa/files/en-US/process
|
637
752
|
body:
|
638
753
|
encoding: US-ASCII
|
639
754
|
string: ''
|
@@ -704,7 +819,7 @@ http_interactions:
|
|
704
819
|
recorded_at: Fri, 10 Nov 2017 13:06:14 GMT
|
705
820
|
- request:
|
706
821
|
method: get
|
707
|
-
uri: https://api.contentful.com/spaces/f3abi4dqvrhg/assets/3JX5vcHRhmAmaYwWq0S0wa
|
822
|
+
uri: https://api.contentful.com/spaces/f3abi4dqvrhg/environments/master/assets/3JX5vcHRhmAmaYwWq0S0wa
|
708
823
|
body:
|
709
824
|
encoding: US-ASCII
|
710
825
|
string: ''
|
@@ -830,7 +945,7 @@ http_interactions:
|
|
830
945
|
recorded_at: Fri, 10 Nov 2017 13:06:14 GMT
|
831
946
|
- request:
|
832
947
|
method: get
|
833
|
-
uri: https://api.contentful.com/spaces/f3abi4dqvrhg/assets/3JX5vcHRhmAmaYwWq0S0wa
|
948
|
+
uri: https://api.contentful.com/spaces/f3abi4dqvrhg/environments/master/assets/3JX5vcHRhmAmaYwWq0S0wa
|
834
949
|
body:
|
835
950
|
encoding: US-ASCII
|
836
951
|
string: ''
|
@@ -957,7 +1072,7 @@ http_interactions:
|
|
957
1072
|
recorded_at: Fri, 10 Nov 2017 13:06:15 GMT
|
958
1073
|
- request:
|
959
1074
|
method: get
|
960
|
-
uri: https://api.contentful.com/spaces/f3abi4dqvrhg/assets/3JX5vcHRhmAmaYwWq0S0wa
|
1075
|
+
uri: https://api.contentful.com/spaces/f3abi4dqvrhg/environments/master/assets/3JX5vcHRhmAmaYwWq0S0wa
|
961
1076
|
body:
|
962
1077
|
encoding: US-ASCII
|
963
1078
|
string: ''
|
@@ -1091,7 +1206,7 @@ http_interactions:
|
|
1091
1206
|
recorded_at: Fri, 10 Nov 2017 13:06:17 GMT
|
1092
1207
|
- request:
|
1093
1208
|
method: get
|
1094
|
-
uri: https://api.contentful.com/spaces/f3abi4dqvrhg/content_types/testContentType
|
1209
|
+
uri: https://api.contentful.com/spaces/f3abi4dqvrhg/environments/master/content_types/testContentType
|
1095
1210
|
body:
|
1096
1211
|
encoding: US-ASCII
|
1097
1212
|
string: ''
|
@@ -1218,7 +1333,7 @@ http_interactions:
|
|
1218
1333
|
recorded_at: Fri, 10 Nov 2017 13:06:17 GMT
|
1219
1334
|
- request:
|
1220
1335
|
method: put
|
1221
|
-
uri: https://api.contentful.com/spaces/f3abi4dqvrhg/entries/1uT4AXWJ1me40QsAgAeSIi
|
1336
|
+
uri: https://api.contentful.com/spaces/f3abi4dqvrhg/environments/master/entries/1uT4AXWJ1me40QsAgAeSIi
|
1222
1337
|
body:
|
1223
1338
|
encoding: UTF-8
|
1224
1339
|
string: '{"fields":{}}'
|
@@ -1298,7 +1413,7 @@ http_interactions:
|
|
1298
1413
|
recorded_at: Fri, 10 Nov 2017 13:06:18 GMT
|
1299
1414
|
- request:
|
1300
1415
|
method: get
|
1301
|
-
uri: https://api.contentful.com/spaces/f3abi4dqvrhg/entries/1uT4AXWJ1me40QsAgAeSIi
|
1416
|
+
uri: https://api.contentful.com/spaces/f3abi4dqvrhg/environments/master/entries/1uT4AXWJ1me40QsAgAeSIi
|
1302
1417
|
body:
|
1303
1418
|
encoding: US-ASCII
|
1304
1419
|
string: ''
|
@@ -1421,7 +1536,7 @@ http_interactions:
|
|
1421
1536
|
recorded_at: Fri, 10 Nov 2017 13:06:18 GMT
|
1422
1537
|
- request:
|
1423
1538
|
method: put
|
1424
|
-
uri: https://api.contentful.com/spaces/f3abi4dqvrhg/entries/1uT4AXWJ1me40QsAgAeSIi
|
1539
|
+
uri: https://api.contentful.com/spaces/f3abi4dqvrhg/environments/master/entries/1uT4AXWJ1me40QsAgAeSIi
|
1425
1540
|
body:
|
1426
1541
|
encoding: UTF-8
|
1427
1542
|
string: '{"fields":{"title":{"en-US":"Published Entry"}}}'
|
@@ -1549,7 +1664,7 @@ http_interactions:
|
|
1549
1664
|
recorded_at: Fri, 10 Nov 2017 13:06:19 GMT
|
1550
1665
|
- request:
|
1551
1666
|
method: put
|
1552
|
-
uri: https://api.contentful.com/spaces/f3abi4dqvrhg/entries/1uT4AXWJ1me40QsAgAeSIi
|
1667
|
+
uri: https://api.contentful.com/spaces/f3abi4dqvrhg/environments/master/entries/1uT4AXWJ1me40QsAgAeSIi
|
1553
1668
|
body:
|
1554
1669
|
encoding: UTF-8
|
1555
1670
|
string: '{"fields":{"title":{"en-US":"Published Entry"}}}'
|
@@ -1677,7 +1792,7 @@ http_interactions:
|
|
1677
1792
|
recorded_at: Fri, 10 Nov 2017 13:06:19 GMT
|
1678
1793
|
- request:
|
1679
1794
|
method: get
|
1680
|
-
uri: https://api.contentful.com/spaces/f3abi4dqvrhg/entries/1uT4AXWJ1me40QsAgAeSIi
|
1795
|
+
uri: https://api.contentful.com/spaces/f3abi4dqvrhg/environments/master/entries/1uT4AXWJ1me40QsAgAeSIi
|
1681
1796
|
body:
|
1682
1797
|
encoding: US-ASCII
|
1683
1798
|
string: ''
|