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
@@ -99,9 +99,124 @@ http_interactions:
|
|
99
99
|
|
100
100
|
http_version:
|
101
101
|
recorded_at: Fri, 22 Jul 2016 13:22:19 GMT
|
102
|
+
- request:
|
103
|
+
method: get
|
104
|
+
uri: https://api.contentful.com/spaces/896fh6408nuq/environments/master
|
105
|
+
body:
|
106
|
+
encoding: US-ASCII
|
107
|
+
string: ''
|
108
|
+
headers:
|
109
|
+
X-Contentful-User-Agent:
|
110
|
+
- sdk contentful-management.rb/1.8.1; integration bootstrap/3.6.1; platform
|
111
|
+
ruby/2.4.1; os macOS/16;
|
112
|
+
Authorization:
|
113
|
+
- Bearer foobar
|
114
|
+
Content-Type:
|
115
|
+
- application/vnd.contentful.management.v1+json
|
116
|
+
Content-Length:
|
117
|
+
- '0'
|
118
|
+
Connection:
|
119
|
+
- close
|
120
|
+
Host:
|
121
|
+
- api.contentful.com
|
122
|
+
User-Agent:
|
123
|
+
- http.rb/2.2.2
|
124
|
+
response:
|
125
|
+
status:
|
126
|
+
code: 200
|
127
|
+
message: OK
|
128
|
+
headers:
|
129
|
+
Accept-Ranges:
|
130
|
+
- bytes
|
131
|
+
Access-Control-Allow-Headers:
|
132
|
+
- 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
|
133
|
+
Access-Control-Allow-Methods:
|
134
|
+
- DELETE,GET,HEAD,POST,PUT,OPTIONS
|
135
|
+
Access-Control-Allow-Origin:
|
136
|
+
- "*"
|
137
|
+
Access-Control-Expose-Headers:
|
138
|
+
- Etag
|
139
|
+
Access-Control-Max-Age:
|
140
|
+
- '1728000'
|
141
|
+
Cache-Control:
|
142
|
+
- max-age=0
|
143
|
+
Cf-Organization-Id:
|
144
|
+
- 4SsuxQCaMaemfIms52Jr8s
|
145
|
+
Cf-Space-Id:
|
146
|
+
- 896fh6408nuq
|
147
|
+
Content-Type:
|
148
|
+
- application/vnd.contentful.management.v1+json
|
149
|
+
Date:
|
150
|
+
- Wed, 23 Aug 2017 14:39:29 GMT
|
151
|
+
Etag:
|
152
|
+
- W/"2c014fd49b265333df19faf15077ad23"
|
153
|
+
Server:
|
154
|
+
- Contentful
|
155
|
+
Strict-Transport-Security:
|
156
|
+
- max-age=15768000
|
157
|
+
X-Content-Type-Options:
|
158
|
+
- nosniff
|
159
|
+
X-Contentful-Request-Id:
|
160
|
+
- 917a37ae1cf5343e6b089923cc306864
|
161
|
+
X-Frame-Options:
|
162
|
+
- ALLOWALL
|
163
|
+
X-Xss-Protection:
|
164
|
+
- 1; mode=block
|
165
|
+
Content-Length:
|
166
|
+
- '465'
|
167
|
+
Connection:
|
168
|
+
- Close
|
169
|
+
Set-Cookie:
|
170
|
+
- incap_ses_685_673446=cxF9Q0guCUtZ5BLquZ2BCaGTnVkAAAAAo6M+6ImkjL12BRgksm5Ycw==;
|
171
|
+
path=/; Domain=.contentful.com
|
172
|
+
- nlbi_673446=qgazO//8lgCNPBh/6lKYhQAAAADdCJKiN6QN6XKnlFqZhDYU; path=/; Domain=.contentful.com
|
173
|
+
- visid_incap_673446=2CwPdSAIQPWlQo9wqlIfraGTnVkAAAAAQUIPAAAAAABpkgonlswdvW4VySG7Mwvb;
|
174
|
+
expires=Thu, 23 Aug 2018 07:39:55 GMT; path=/; Domain=.contentful.com
|
175
|
+
X-Iinfo:
|
176
|
+
- 6-53963549-53963569 NNNN CT(141 141 0) RT(1503499169092 147) q(0 0 3 -1) r(5
|
177
|
+
5) U5
|
178
|
+
X-Cdn:
|
179
|
+
- Incapsula
|
180
|
+
body:
|
181
|
+
encoding: ASCII-8BIT
|
182
|
+
string: |+
|
183
|
+
{
|
184
|
+
"name":"Master",
|
185
|
+
"sys":{
|
186
|
+
"type":"Environment",
|
187
|
+
"id":"master",
|
188
|
+
"version":4,
|
189
|
+
"createdBy":{
|
190
|
+
"sys":{
|
191
|
+
"type":"Link",
|
192
|
+
"linkType":"User",
|
193
|
+
"id":"4SejVrWT96dvL9IV4Nb7sQ"
|
194
|
+
}
|
195
|
+
},
|
196
|
+
"createdAt":"2017-08-18T20:55:42Z",
|
197
|
+
"updatedBy":{
|
198
|
+
"sys":{
|
199
|
+
"type":"Link",
|
200
|
+
"linkType":"User",
|
201
|
+
"id":"4SejVrWT96dvL9IV4Nb7sQ"
|
202
|
+
}
|
203
|
+
},
|
204
|
+
"updatedAt":"2017-08-18T20:55:42Z",
|
205
|
+
"space": {
|
206
|
+
"sys": {
|
207
|
+
"type": "Link",
|
208
|
+
"linkType": "Space",
|
209
|
+
"id": "896fh6408nuq"
|
210
|
+
}
|
211
|
+
}
|
212
|
+
}
|
213
|
+
}
|
214
|
+
|
215
|
+
http_version:
|
216
|
+
recorded_at: Wed, 23 Aug 2017 14:39:29 GMT
|
102
217
|
- request:
|
103
218
|
method: put
|
104
|
-
uri: https://api.contentful.com/spaces/896fh6408nuq/assets/my_asset
|
219
|
+
uri: https://api.contentful.com/spaces/896fh6408nuq/environments/master/assets/my_asset
|
105
220
|
body:
|
106
221
|
encoding: UTF-8
|
107
222
|
string: '{"fields":{"title":{"en-US":"My Asset"},"description":{"en-US":null},"file":{"en-US":{"contentType":"image/svg+xml","fileName":"some_filename.svg","upload":"https://upload.wikimedia.org/wikipedia/commons/3/30/Vector-based_example.svg"}}}}'
|
@@ -214,7 +329,7 @@ http_interactions:
|
|
214
329
|
recorded_at: Fri, 22 Jul 2016 13:22:24 GMT
|
215
330
|
- request:
|
216
331
|
method: put
|
217
|
-
uri: https://api.contentful.com/spaces/896fh6408nuq/assets/my_asset/files/en-US/process
|
332
|
+
uri: https://api.contentful.com/spaces/896fh6408nuq/environments/master/assets/my_asset/files/en-US/process
|
218
333
|
body:
|
219
334
|
encoding: US-ASCII
|
220
335
|
string: ''
|
@@ -282,7 +397,7 @@ http_interactions:
|
|
282
397
|
recorded_at: Fri, 22 Jul 2016 13:22:27 GMT
|
283
398
|
- request:
|
284
399
|
method: get
|
285
|
-
uri: https://api.contentful.com/spaces/896fh6408nuq/assets/my_asset
|
400
|
+
uri: https://api.contentful.com/spaces/896fh6408nuq/environments/master/assets/my_asset
|
286
401
|
body:
|
287
402
|
encoding: US-ASCII
|
288
403
|
string: ''
|
@@ -400,7 +515,7 @@ http_interactions:
|
|
400
515
|
recorded_at: Fri, 22 Jul 2016 13:22:27 GMT
|
401
516
|
- request:
|
402
517
|
method: put
|
403
|
-
uri: https://api.contentful.com/spaces/896fh6408nuq/assets/my_asset/published
|
518
|
+
uri: https://api.contentful.com/spaces/896fh6408nuq/environments/master/assets/my_asset/published
|
404
519
|
body:
|
405
520
|
encoding: US-ASCII
|
406
521
|
string: ''
|
@@ -0,0 +1,201 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://cdn.contentful.com/spaces/9utsm1g0t7f5/environments/staging/content_types?limit=1000
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
X-Contentful-User-Agent:
|
11
|
+
- sdk contentful.rb/2.6.0; platform ruby/2.5.1; os macOS/16;
|
12
|
+
Authorization:
|
13
|
+
- Bearer a67d4d9011f6d6c1dfe4169d838114d3d3849ab6df6fb1d322cf3ee91690fae4
|
14
|
+
Content-Type:
|
15
|
+
- application/vnd.contentful.delivery.v1+json
|
16
|
+
Accept-Encoding:
|
17
|
+
- gzip
|
18
|
+
Connection:
|
19
|
+
- close
|
20
|
+
Host:
|
21
|
+
- cdn.contentful.com
|
22
|
+
User-Agent:
|
23
|
+
- http.rb/2.2.2
|
24
|
+
response:
|
25
|
+
status:
|
26
|
+
code: 200
|
27
|
+
message: OK
|
28
|
+
headers:
|
29
|
+
Access-Control-Allow-Headers:
|
30
|
+
- Accept,Accept-Language,Authorization,Cache-Control,Content-Length,Content-Range,Content-Type,DNT,Destination,Expires,If-Match,If-Modified-Since,If-None-Match,Keep-Alive,Last-Modified,Origin,Pragma,Range,User-Agent,X-Http-Method-Override,X-Mx-ReqToken,X-Requested-With,X-Contentful-Version,X-Contentful-Content-Type,X-Contentful-Organization,X-Contentful-Skip-Transformation,X-Contentful-User-Agent,X-Contentful-Enable-Alpha-Feature
|
31
|
+
Access-Control-Allow-Methods:
|
32
|
+
- GET,HEAD,OPTIONS
|
33
|
+
Access-Control-Allow-Origin:
|
34
|
+
- "*"
|
35
|
+
Access-Control-Expose-Headers:
|
36
|
+
- Etag
|
37
|
+
Access-Control-Max-Age:
|
38
|
+
- '86400'
|
39
|
+
Cache-Control:
|
40
|
+
- max-age=0
|
41
|
+
Content-Encoding:
|
42
|
+
- gzip
|
43
|
+
Content-Type:
|
44
|
+
- application/vnd.contentful.delivery.v1+json
|
45
|
+
Etag:
|
46
|
+
- W/"16b325fc276a429445c1bb5f86871c51"
|
47
|
+
Server:
|
48
|
+
- Contentful
|
49
|
+
X-Content-Type-Options:
|
50
|
+
- nosniff
|
51
|
+
X-Contentful-Request-Id:
|
52
|
+
- 42ce7683a009a3589203be2d29e2713c
|
53
|
+
Content-Length:
|
54
|
+
- '397'
|
55
|
+
Accept-Ranges:
|
56
|
+
- bytes
|
57
|
+
Date:
|
58
|
+
- Wed, 18 Apr 2018 11:39:53 GMT
|
59
|
+
Via:
|
60
|
+
- 1.1 varnish
|
61
|
+
Age:
|
62
|
+
- '0'
|
63
|
+
Connection:
|
64
|
+
- close
|
65
|
+
X-Served-By:
|
66
|
+
- cache-hhn1549-HHN
|
67
|
+
X-Cache:
|
68
|
+
- MISS
|
69
|
+
X-Cache-Hits:
|
70
|
+
- '0'
|
71
|
+
X-Timer:
|
72
|
+
- S1524051594.639483,VS0,VE247
|
73
|
+
Vary:
|
74
|
+
- Accept-Encoding
|
75
|
+
body:
|
76
|
+
encoding: ASCII-8BIT
|
77
|
+
string: !binary |-
|
78
|
+
H4sIAAAAAAAAA8VTPW/CMBDd+RXIc6kSoC2woapMVReYWjGYxEEnHDu1DWqK+O/12UlwIlDpVC/Jfb57z+djr98nutRk1j/aX2uYsmDWInOlaEms73SHOUYayq0/dpbeQWGNyBkccjAYiiLvAMNy7PjhOvq+HRgHpQuaIFad4Z3BMOhwznqoVxA7gqDnY+HFblUNvXQdOwmQIp/p3ug83kbmKXtAWvU5Nf+OqD/E12RSBs2aKZ6lMEwYBxrUJIpRw9I5akGGUTwZRONBPFnF8Ww4nY0e76PR+D0s2Bfp3wqYOICSIrfgN8nmWWhDtyC2XVlu1fQlAP1VN8UOoEEKXIcquZGVpKALTssFMO6uRND8LKC3rHcRiE5SphMFhfEtScOBZNjkvGR4ba018tRbCJjToLyF2C5S67Es843kLbUIlwnl8M1w7IxyzcIVI4p97kFdCVrSdMOvBKV9OXZl6q6XVvECq8TvX3tER9XKVy1nO1hzW7Ev88/MKo5r98XHt+6dej+I71T9hwQAAA==
|
79
|
+
http_version:
|
80
|
+
recorded_at: Wed, 18 Apr 2018 11:39:54 GMT
|
81
|
+
- request:
|
82
|
+
method: get
|
83
|
+
uri: https://cdn.contentful.com/spaces/9utsm1g0t7f5/environments/staging/entries
|
84
|
+
body:
|
85
|
+
encoding: US-ASCII
|
86
|
+
string: ''
|
87
|
+
headers:
|
88
|
+
X-Contentful-User-Agent:
|
89
|
+
- sdk contentful.rb/2.6.0; platform ruby/2.5.1; os macOS/16;
|
90
|
+
Authorization:
|
91
|
+
- Bearer a67d4d9011f6d6c1dfe4169d838114d3d3849ab6df6fb1d322cf3ee91690fae4
|
92
|
+
Content-Type:
|
93
|
+
- application/vnd.contentful.delivery.v1+json
|
94
|
+
Accept-Encoding:
|
95
|
+
- gzip
|
96
|
+
Connection:
|
97
|
+
- close
|
98
|
+
Host:
|
99
|
+
- cdn.contentful.com
|
100
|
+
User-Agent:
|
101
|
+
- http.rb/2.2.2
|
102
|
+
response:
|
103
|
+
status:
|
104
|
+
code: 200
|
105
|
+
message: OK
|
106
|
+
headers:
|
107
|
+
Access-Control-Allow-Headers:
|
108
|
+
- Accept,Accept-Language,Authorization,Cache-Control,Content-Length,Content-Range,Content-Type,DNT,Destination,Expires,If-Match,If-Modified-Since,If-None-Match,Keep-Alive,Last-Modified,Origin,Pragma,Range,User-Agent,X-Http-Method-Override,X-Mx-ReqToken,X-Requested-With,X-Contentful-Version,X-Contentful-Content-Type,X-Contentful-Organization,X-Contentful-Skip-Transformation,X-Contentful-User-Agent,X-Contentful-Enable-Alpha-Feature
|
109
|
+
Access-Control-Allow-Methods:
|
110
|
+
- GET,HEAD,OPTIONS
|
111
|
+
Access-Control-Allow-Origin:
|
112
|
+
- "*"
|
113
|
+
Access-Control-Expose-Headers:
|
114
|
+
- Etag
|
115
|
+
Access-Control-Max-Age:
|
116
|
+
- '86400'
|
117
|
+
Cache-Control:
|
118
|
+
- max-age=0
|
119
|
+
Content-Type:
|
120
|
+
- application/vnd.contentful.delivery.v1+json
|
121
|
+
Etag:
|
122
|
+
- '"a59f5ecde9dc32b551b923b6121939a2"'
|
123
|
+
Server:
|
124
|
+
- Contentful
|
125
|
+
X-Content-Type-Options:
|
126
|
+
- nosniff
|
127
|
+
X-Contentful-Request-Id:
|
128
|
+
- d5f7331306705cc373bdfeb7d8593878
|
129
|
+
Content-Length:
|
130
|
+
- '907'
|
131
|
+
Accept-Ranges:
|
132
|
+
- bytes
|
133
|
+
Date:
|
134
|
+
- Wed, 18 Apr 2018 11:39:54 GMT
|
135
|
+
Via:
|
136
|
+
- 1.1 varnish
|
137
|
+
Age:
|
138
|
+
- '0'
|
139
|
+
Connection:
|
140
|
+
- close
|
141
|
+
X-Served-By:
|
142
|
+
- cache-hhn1536-HHN
|
143
|
+
X-Cache:
|
144
|
+
- MISS
|
145
|
+
X-Cache-Hits:
|
146
|
+
- '0'
|
147
|
+
X-Timer:
|
148
|
+
- S1524051594.976805,VS0,VE305
|
149
|
+
Vary:
|
150
|
+
- Accept-Encoding
|
151
|
+
body:
|
152
|
+
encoding: ASCII-8BIT
|
153
|
+
string: |
|
154
|
+
{
|
155
|
+
"sys": {
|
156
|
+
"type": "Array"
|
157
|
+
},
|
158
|
+
"total": 1,
|
159
|
+
"skip": 0,
|
160
|
+
"limit": 100,
|
161
|
+
"items": [
|
162
|
+
{
|
163
|
+
"sys": {
|
164
|
+
"space": {
|
165
|
+
"sys": {
|
166
|
+
"type": "Link",
|
167
|
+
"linkType": "Space",
|
168
|
+
"id": "9utsm1g0t7f5"
|
169
|
+
}
|
170
|
+
},
|
171
|
+
"id": "6yVdruR4GsKO2iKOqQS2CS",
|
172
|
+
"type": "Entry",
|
173
|
+
"createdAt": "2018-04-18T11:29:53.072Z",
|
174
|
+
"updatedAt": "2018-04-18T11:29:53.072Z",
|
175
|
+
"environment": {
|
176
|
+
"sys": {
|
177
|
+
"id": "staging",
|
178
|
+
"type": "Link",
|
179
|
+
"linkType": "Environment"
|
180
|
+
}
|
181
|
+
},
|
182
|
+
"revision": 1,
|
183
|
+
"contentType": {
|
184
|
+
"sys": {
|
185
|
+
"type": "Link",
|
186
|
+
"linkType": "ContentType",
|
187
|
+
"id": "foo"
|
188
|
+
}
|
189
|
+
},
|
190
|
+
"locale": "en-US"
|
191
|
+
},
|
192
|
+
"fields": {
|
193
|
+
"name": "Test",
|
194
|
+
"content": "Some content"
|
195
|
+
}
|
196
|
+
}
|
197
|
+
]
|
198
|
+
}
|
199
|
+
http_version:
|
200
|
+
recorded_at: Wed, 18 Apr 2018 11:39:54 GMT
|
201
|
+
recorded_with: VCR 2.9.3
|
@@ -0,0 +1,81 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://cdn.contentful.com/spaces/9utsm1g0t7f5/environments/staging/entries
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
X-Contentful-User-Agent:
|
11
|
+
- sdk contentful.rb/2.6.0; platform ruby/2.5.1; os macOS/16;
|
12
|
+
Authorization:
|
13
|
+
- Bearer a67d4d9011f6d6c1dfe4169d838114d3d3849ab6df6fb1d322cf3ee91690fae4
|
14
|
+
Content-Type:
|
15
|
+
- application/vnd.contentful.delivery.v1+json
|
16
|
+
Accept-Encoding:
|
17
|
+
- gzip
|
18
|
+
Connection:
|
19
|
+
- close
|
20
|
+
Host:
|
21
|
+
- cdn.contentful.com
|
22
|
+
User-Agent:
|
23
|
+
- http.rb/2.2.2
|
24
|
+
response:
|
25
|
+
status:
|
26
|
+
code: 200
|
27
|
+
message: OK
|
28
|
+
headers:
|
29
|
+
Access-Control-Allow-Headers:
|
30
|
+
- Accept,Accept-Language,Authorization,Cache-Control,Content-Length,Content-Range,Content-Type,DNT,Destination,Expires,If-Match,If-Modified-Since,If-None-Match,Keep-Alive,Last-Modified,Origin,Pragma,Range,User-Agent,X-Http-Method-Override,X-Mx-ReqToken,X-Requested-With,X-Contentful-Version,X-Contentful-Content-Type,X-Contentful-Organization,X-Contentful-Skip-Transformation,X-Contentful-User-Agent,X-Contentful-Enable-Alpha-Feature
|
31
|
+
Access-Control-Allow-Methods:
|
32
|
+
- GET,HEAD,OPTIONS
|
33
|
+
Access-Control-Allow-Origin:
|
34
|
+
- "*"
|
35
|
+
Access-Control-Expose-Headers:
|
36
|
+
- Etag
|
37
|
+
Access-Control-Max-Age:
|
38
|
+
- '86400'
|
39
|
+
Cache-Control:
|
40
|
+
- max-age=0
|
41
|
+
Content-Encoding:
|
42
|
+
- gzip
|
43
|
+
Content-Type:
|
44
|
+
- application/vnd.contentful.delivery.v1+json
|
45
|
+
Etag:
|
46
|
+
- W/"10a24d49d1e7c0a015867c7b311521f5"
|
47
|
+
Server:
|
48
|
+
- Contentful
|
49
|
+
X-Content-Type-Options:
|
50
|
+
- nosniff
|
51
|
+
X-Contentful-Request-Id:
|
52
|
+
- '089705eade747eb544acfdd4be14dd87'
|
53
|
+
Content-Length:
|
54
|
+
- '408'
|
55
|
+
Accept-Ranges:
|
56
|
+
- bytes
|
57
|
+
Date:
|
58
|
+
- Wed, 18 Apr 2018 12:13:17 GMT
|
59
|
+
Via:
|
60
|
+
- 1.1 varnish
|
61
|
+
Age:
|
62
|
+
- '0'
|
63
|
+
Connection:
|
64
|
+
- close
|
65
|
+
X-Served-By:
|
66
|
+
- cache-hhn1535-HHN
|
67
|
+
X-Cache:
|
68
|
+
- MISS
|
69
|
+
X-Cache-Hits:
|
70
|
+
- '0'
|
71
|
+
X-Timer:
|
72
|
+
- S1524053597.392641,VS0,VE255
|
73
|
+
Vary:
|
74
|
+
- Accept-Encoding
|
75
|
+
body:
|
76
|
+
encoding: ASCII-8BIT
|
77
|
+
string: !binary |-
|
78
|
+
H4sIAAAAAAAAA91UTWvDMAy991cEn9diZ0k/ciul7NBB2dLtsDFGSNximthZ7BZC6X+fP5LUDYM0x84nS0h6z0+STwPHAbzkIHBO8ioNUeZYWmBeFFEJpO/8oGIEE1Eq/a62+J7k0oDaSElGhLQQNDYROFMFP3VBU7aFopF4HsUKqo4wTouLcmhnzemZ0D1QmJcj0el+U3EOdcVWAEnUc2YHwTO0g2Ky9dWr6nNu7vqd5gCTs2Xs+5AnkbBrNmSWVBSlBQbiAsvQZK60AC5E0yH0hmi6QSjwxoGPRu7Y/7ATTO0eCZgeScFohqnC6NbNPIOLaEforq3LraIuLdBO4Qp8JJwwqsbB0jNmVEjSVZ+6id/KbWHV/bPtsoXd3U5ZHKV66DEdvoV1QjMQYEtwmlx2RA0JoFGmUzaYC6fq5NU0GGoqJGQZdioJmuJaygrijndkXL4nxeHVe+KrtUtW65+X0F2EthB1L/vsizsL/McRnLh99gWOoAevEu5qX/TPWv0//3xf+u+JlOZrcB78AiLrrpavBgAA
|
79
|
+
http_version:
|
80
|
+
recorded_at: Wed, 18 Apr 2018 12:13:17 GMT
|
81
|
+
recorded_with: VCR 2.9.3
|
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: https://cdn.contentful.com/spaces/vsy1ouf6jdcq/content_types?limit=1000
|
5
|
+
uri: https://cdn.contentful.com/spaces/vsy1ouf6jdcq/environments/master/content_types?limit=1000
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
@@ -117,7 +117,7 @@ http_interactions:
|
|
117
117
|
recorded_at: Wed, 23 Aug 2017 14:39:47 GMT
|
118
118
|
- request:
|
119
119
|
method: get
|
120
|
-
uri: https://cdn.contentful.com/spaces/vsy1ouf6jdcq/entries?locale=es-AR
|
120
|
+
uri: https://cdn.contentful.com/spaces/vsy1ouf6jdcq/environments/master/entries?locale=es-AR
|
121
121
|
body:
|
122
122
|
encoding: US-ASCII
|
123
123
|
string: ''
|