locomotivecms_wagon 2.2.0 → 2.3.0.rc1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +6 -2
- data/Gemfile +7 -5
- data/LICENSE.txt +2 -2
- data/README.md +1 -1
- data/Rakefile +2 -10
- data/generators/page/template.liquid.haml.tt +4 -0
- data/generators/page/template.liquid.tt +4 -0
- data/lib/locomotive/wagon/commands/pull_sub_commands/pull_pages_command.rb +1 -1
- data/lib/locomotive/wagon/commands/push_sub_commands/push_theme_assets_command.rb +2 -2
- data/lib/locomotive/wagon/commands/serve_command.rb +4 -3
- data/lib/locomotive/wagon/decorators/content_asset_decorator.rb +7 -2
- data/lib/locomotive/wagon/decorators/content_entry_decorator.rb +4 -0
- data/lib/locomotive/wagon/decorators/page_decorator.rb +6 -1
- data/lib/locomotive/wagon/decorators/theme_asset_decorator.rb +6 -2
- data/lib/locomotive/wagon/middlewares/error_page.rb +70 -18
- data/lib/locomotive/wagon/version.rb +1 -1
- data/locomotivecms_wagon.gemspec +7 -8
- data/spec/fixtures/cassettes/authenticate.yml +38 -38
- data/spec/fixtures/cassettes/delete.yml +208 -208
- data/spec/fixtures/cassettes/push.yml +1945 -1945
- data/spec/integration/cli_spec.rb +1 -1
- data/spec/spec_helper.rb +4 -2
- data/spec/unit/decorators/content_entry_decorator_spec.rb +1 -1
- metadata +19 -39
- data/spec/integration/cassettes/pull.yml +0 -605
- data/spec/integration/cassettes/push.yml +0 -823
- data/spec/integration/cassettes/staging.yml +0 -706
@@ -1,823 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: post
|
5
|
-
uri: http://sample.example.com:3000/locomotive/api/tokens.json?auth_token=iaWvtP5PhmnyKypXpLbM
|
6
|
-
body:
|
7
|
-
encoding: UTF-8
|
8
|
-
string: email=admin%40locomotivecms.com&password=locomotive
|
9
|
-
headers: {}
|
10
|
-
response:
|
11
|
-
status:
|
12
|
-
code: 200
|
13
|
-
message: OK
|
14
|
-
headers:
|
15
|
-
Date:
|
16
|
-
- Tue, 17 Sep 2013 15:12:29 GMT
|
17
|
-
Status:
|
18
|
-
- 200 OK
|
19
|
-
Connection:
|
20
|
-
- close
|
21
|
-
Location:
|
22
|
-
- http://sample.example.com:3000/locomotive/
|
23
|
-
Content-Type:
|
24
|
-
- application/json; charset=utf-8
|
25
|
-
X-Ua-Compatible:
|
26
|
-
- IE=Edge
|
27
|
-
Etag:
|
28
|
-
- '"d1a90b45e031fb4f87663184c2a67dbd"'
|
29
|
-
Cache-Control:
|
30
|
-
- max-age=0, private, must-revalidate
|
31
|
-
Set-Cookie:
|
32
|
-
- _locomotive_session=fs_OVk1gY-Z4gywI8nuSyzxqi9k; domain=.example.com; path=/;
|
33
|
-
HttpOnly
|
34
|
-
X-Request-Id:
|
35
|
-
- d9aebd9735de14b3281c96755a8fbcdf
|
36
|
-
X-Runtime:
|
37
|
-
- '0.033607'
|
38
|
-
body:
|
39
|
-
encoding: UTF-8
|
40
|
-
string: '{"token":"iaWvtP5PhmnyKypXpLbM"}'
|
41
|
-
http_version:
|
42
|
-
recorded_at: Tue, 17 Sep 2013 15:12:29 GMT
|
43
|
-
- request:
|
44
|
-
method: get
|
45
|
-
uri: http://sample.example.com:3000/locomotive/api/current_site.json?auth_token=iaWvtP5PhmnyKypXpLbM
|
46
|
-
body:
|
47
|
-
encoding: US-ASCII
|
48
|
-
string: ''
|
49
|
-
headers: {}
|
50
|
-
response:
|
51
|
-
status:
|
52
|
-
code: 200
|
53
|
-
message: OK
|
54
|
-
headers:
|
55
|
-
Date:
|
56
|
-
- Tue, 17 Sep 2013 15:12:29 GMT
|
57
|
-
Status:
|
58
|
-
- 200 OK
|
59
|
-
Connection:
|
60
|
-
- close
|
61
|
-
Content-Type:
|
62
|
-
- application/json; charset=utf-8
|
63
|
-
X-Ua-Compatible:
|
64
|
-
- IE=Edge
|
65
|
-
Etag:
|
66
|
-
- '"44c3f51a8b65cd145a65bd507037a52f"'
|
67
|
-
Cache-Control:
|
68
|
-
- max-age=0, private, must-revalidate
|
69
|
-
Set-Cookie:
|
70
|
-
- _locomotive_session=c9X9XRkfZMxsJlLMKeKOikF9xiY; domain=.example.com; path=/;
|
71
|
-
HttpOnly
|
72
|
-
X-Request-Id:
|
73
|
-
- 8bbd1c22fff0613611ab463c29bcf6e3
|
74
|
-
X-Runtime:
|
75
|
-
- '0.034084'
|
76
|
-
body:
|
77
|
-
encoding: UTF-8
|
78
|
-
string: '{"id":"5238710587f6431df7000006","_id":"5238710587f6431df7000006","created_at":"2013-09-17T15:11:01Z","updated_at":"2013-09-17T15:11:33Z","name":"locomotive","locales":["en","es"],"timezone":"UTC","subdomain":"sample","domains":["sample.example.com"],"domains_without_subdomain":[],"domain_name":"example.com","memberships":[{"id":"5238710587f6431df7000009","_id":"5238710587f6431df7000009","role":"admin","role_name":"Administrator","can_update":false,"grant_admin":true,"account_id":"5238710587f6431df7000001","name":"Admin","email":"admin@locomotivecms.com"}]}'
|
79
|
-
http_version:
|
80
|
-
recorded_at: Tue, 17 Sep 2013 15:12:29 GMT
|
81
|
-
- request:
|
82
|
-
method: put
|
83
|
-
uri: http://sample.example.com:3000/locomotive/api/sites/5238710587f6431df7000006.json?auth_token=iaWvtP5PhmnyKypXpLbM
|
84
|
-
body:
|
85
|
-
encoding: UTF-8
|
86
|
-
string: site[name]=locomotive&site[locales][]=en&site[locales][]=es&site[subdomain]=sample&site[domains][]=sample.example.com&site[timezone]=UTC&locale=en
|
87
|
-
headers: {}
|
88
|
-
response:
|
89
|
-
status:
|
90
|
-
code: 200
|
91
|
-
message: OK
|
92
|
-
headers:
|
93
|
-
Date:
|
94
|
-
- Tue, 17 Sep 2013 15:12:29 GMT
|
95
|
-
Status:
|
96
|
-
- 200 OK
|
97
|
-
Connection:
|
98
|
-
- close
|
99
|
-
X-Message:
|
100
|
-
- '"Site%20was%20successfully%20updated."'
|
101
|
-
X-Message-Type:
|
102
|
-
- notice
|
103
|
-
Location:
|
104
|
-
- http://sample.example.com:3000/locomotive/sites/5238710587f6431df7000006
|
105
|
-
Content-Type:
|
106
|
-
- application/json; charset=utf-8
|
107
|
-
X-Ua-Compatible:
|
108
|
-
- IE=Edge
|
109
|
-
Etag:
|
110
|
-
- '"44c3f51a8b65cd145a65bd507037a52f"'
|
111
|
-
Cache-Control:
|
112
|
-
- max-age=0, private, must-revalidate
|
113
|
-
Set-Cookie:
|
114
|
-
- _locomotive_session=Cx2V5L0kuHEkwGXt7I1SLqA97dg; domain=.example.com; path=/;
|
115
|
-
HttpOnly
|
116
|
-
X-Request-Id:
|
117
|
-
- 83e85254e7ce985b1dc3ed4266b3fec2
|
118
|
-
X-Runtime:
|
119
|
-
- '0.042342'
|
120
|
-
body:
|
121
|
-
encoding: UTF-8
|
122
|
-
string: '{"id":"5238710587f6431df7000006","_id":"5238710587f6431df7000006","created_at":"2013-09-17T15:11:01Z","updated_at":"2013-09-17T15:11:33Z","name":"locomotive","locales":["en","es"],"timezone":"UTC","subdomain":"sample","domains":["sample.example.com"],"domains_without_subdomain":[],"domain_name":"example.com","memberships":[{"id":"5238710587f6431df7000009","_id":"5238710587f6431df7000009","role":"admin","role_name":"Administrator","can_update":false,"grant_admin":true,"account_id":"5238710587f6431df7000001","name":"Admin","email":"admin@locomotivecms.com"}]}'
|
123
|
-
http_version:
|
124
|
-
recorded_at: Tue, 17 Sep 2013 15:12:29 GMT
|
125
|
-
- request:
|
126
|
-
method: put
|
127
|
-
uri: http://sample.example.com:3000/locomotive/api/sites/5238710587f6431df7000006.json?auth_token=iaWvtP5PhmnyKypXpLbM
|
128
|
-
body:
|
129
|
-
encoding: UTF-8
|
130
|
-
string: site[name]=locomotive&site[locales][]=en&site[locales][]=es&site[subdomain]=sample&site[domains][]=sample.example.com&site[timezone]=UTC&locale=es
|
131
|
-
headers: {}
|
132
|
-
response:
|
133
|
-
status:
|
134
|
-
code: 200
|
135
|
-
message: OK
|
136
|
-
headers:
|
137
|
-
Date:
|
138
|
-
- Tue, 17 Sep 2013 15:12:29 GMT
|
139
|
-
Status:
|
140
|
-
- 200 OK
|
141
|
-
Connection:
|
142
|
-
- close
|
143
|
-
Location:
|
144
|
-
- http://sample.example.com:3000/locomotive/sites/5238710587f6431df7000006
|
145
|
-
Content-Type:
|
146
|
-
- application/json; charset=utf-8
|
147
|
-
X-Ua-Compatible:
|
148
|
-
- IE=Edge
|
149
|
-
Etag:
|
150
|
-
- '"f3da36b3e0ddaffbc93f97aaae09ae52"'
|
151
|
-
Cache-Control:
|
152
|
-
- max-age=0, private, must-revalidate
|
153
|
-
Set-Cookie:
|
154
|
-
- _locomotive_session=DIIGKjnrz_Jb8mmsa1UA8K3q_7A; domain=.example.com; path=/;
|
155
|
-
HttpOnly
|
156
|
-
X-Request-Id:
|
157
|
-
- e4f383a6a9619da9e675c7710be0e56f
|
158
|
-
X-Runtime:
|
159
|
-
- '0.033201'
|
160
|
-
body:
|
161
|
-
encoding: UTF-8
|
162
|
-
string: '{"id":"5238710587f6431df7000006","_id":"5238710587f6431df7000006","created_at":"2013-09-17T15:11:01Z","updated_at":"2013-09-17T15:11:33Z","name":"locomotive","locales":["en","es"],"timezone":"UTC","subdomain":"sample","domains":["sample.example.com"],"domains_without_subdomain":[],"domain_name":"example.com","memberships":[{"id":"5238710587f6431df7000009","_id":"5238710587f6431df7000009","role":"admin","role_name":"Administrador","can_update":false,"grant_admin":true,"account_id":"5238710587f6431df7000001","name":"Admin","email":"admin@locomotivecms.com"}]}'
|
163
|
-
http_version:
|
164
|
-
recorded_at: Tue, 17 Sep 2013 15:12:29 GMT
|
165
|
-
- request:
|
166
|
-
method: get
|
167
|
-
uri: http://sample.example.com:3000/locomotive/api/snippets.json?auth_token=iaWvtP5PhmnyKypXpLbM
|
168
|
-
body:
|
169
|
-
encoding: US-ASCII
|
170
|
-
string: ''
|
171
|
-
headers: {}
|
172
|
-
response:
|
173
|
-
status:
|
174
|
-
code: 200
|
175
|
-
message: OK
|
176
|
-
headers:
|
177
|
-
Date:
|
178
|
-
- Tue, 17 Sep 2013 15:12:29 GMT
|
179
|
-
Status:
|
180
|
-
- 200 OK
|
181
|
-
Connection:
|
182
|
-
- close
|
183
|
-
Content-Type:
|
184
|
-
- application/json; charset=utf-8
|
185
|
-
X-Ua-Compatible:
|
186
|
-
- IE=Edge
|
187
|
-
Etag:
|
188
|
-
- '"d751713988987e9331980363e24189ce"'
|
189
|
-
Cache-Control:
|
190
|
-
- max-age=0, private, must-revalidate
|
191
|
-
Set-Cookie:
|
192
|
-
- _locomotive_session=cUQPBrl6XSD8IUzwVq_YGmsukTs; domain=.example.com; path=/;
|
193
|
-
HttpOnly
|
194
|
-
X-Request-Id:
|
195
|
-
- c84820f0370f21235a3cea8b6ebf859a
|
196
|
-
X-Runtime:
|
197
|
-
- '0.043700'
|
198
|
-
body:
|
199
|
-
encoding: UTF-8
|
200
|
-
string: '[]'
|
201
|
-
http_version:
|
202
|
-
recorded_at: Tue, 17 Sep 2013 15:12:29 GMT
|
203
|
-
- request:
|
204
|
-
method: get
|
205
|
-
uri: http://sample.example.com:3000/locomotive/api/content_types.json?auth_token=iaWvtP5PhmnyKypXpLbM
|
206
|
-
body:
|
207
|
-
encoding: US-ASCII
|
208
|
-
string: ''
|
209
|
-
headers: {}
|
210
|
-
response:
|
211
|
-
status:
|
212
|
-
code: 200
|
213
|
-
message: OK
|
214
|
-
headers:
|
215
|
-
Date:
|
216
|
-
- Tue, 17 Sep 2013 15:12:29 GMT
|
217
|
-
Status:
|
218
|
-
- 200 OK
|
219
|
-
Connection:
|
220
|
-
- close
|
221
|
-
Content-Type:
|
222
|
-
- application/json; charset=utf-8
|
223
|
-
X-Ua-Compatible:
|
224
|
-
- IE=Edge
|
225
|
-
Etag:
|
226
|
-
- '"80558e8d8878e660f5cfd6b06152de50"'
|
227
|
-
Cache-Control:
|
228
|
-
- max-age=0, private, must-revalidate
|
229
|
-
Set-Cookie:
|
230
|
-
- _locomotive_session=hxdOku9hSqQUYilRG9-NkW9XEH0; domain=.example.com; path=/;
|
231
|
-
HttpOnly
|
232
|
-
X-Request-Id:
|
233
|
-
- 6364cbf710cadec38b6f26305b5adf83
|
234
|
-
X-Runtime:
|
235
|
-
- '0.044222'
|
236
|
-
body:
|
237
|
-
encoding: UTF-8
|
238
|
-
string: '[{"id":"5238712587f643884e000001","_id":"5238712587f643884e000001","created_at":"2013-09-17T15:11:33Z","updated_at":"2013-09-17T15:11:33Z","name":"Products","slug":"products","entries_custom_fields":[{"id":"5238712587f643884e000002","_id":"5238712587f643884e000002","name":"name","label":"name","type":"string","required":true,"localized":true,"unique":false,"position":0},{"id":"5238712587f643884e000003","_id":"5238712587f643884e000003","name":"available","label":"available","type":"boolean","required":false,"localized":false,"unique":false,"position":1}],"description":"My
|
239
|
-
products collection","label_field_name":"name","order_by":"created_at","order_direction":"asc","order_by_field_name":"created_at","public_submission_enabled":false,"public_submission_account_emails":[]}]'
|
240
|
-
http_version:
|
241
|
-
recorded_at: Tue, 17 Sep 2013 15:12:29 GMT
|
242
|
-
- request:
|
243
|
-
method: put
|
244
|
-
uri: http://sample.example.com:3000/locomotive/api/content_types/5238712587f643884e000001.json?auth_token=iaWvtP5PhmnyKypXpLbM
|
245
|
-
body:
|
246
|
-
encoding: UTF-8
|
247
|
-
string: content_type[name]=Products&content_type[description]=My%20products%20collection&content_type[slug]=products&content_type[label_field_name]=name&content_type[order_by]=created_at&content_type[order_direction]=asc&content_type[entries_custom_fields][][label]=name&content_type[entries_custom_fields][][name]=name&content_type[entries_custom_fields][][type]=string&content_type[entries_custom_fields][][position]=0&content_type[entries_custom_fields][][required]=true&content_type[entries_custom_fields][][unique]=false&content_type[entries_custom_fields][][localized]=true&content_type[entries_custom_fields][][_id]=5238712587f643884e000002&content_type[entries_custom_fields][][label]=available&content_type[entries_custom_fields][][name]=available&content_type[entries_custom_fields][][type]=boolean&content_type[entries_custom_fields][][position]=1&content_type[entries_custom_fields][][required]=false&content_type[entries_custom_fields][][unique]=false&content_type[entries_custom_fields][][localized]=false&content_type[entries_custom_fields][][_id]=5238712587f643884e000003
|
248
|
-
headers: {}
|
249
|
-
response:
|
250
|
-
status:
|
251
|
-
code: 200
|
252
|
-
message: OK
|
253
|
-
headers:
|
254
|
-
Date:
|
255
|
-
- Tue, 17 Sep 2013 15:12:29 GMT
|
256
|
-
Status:
|
257
|
-
- 200 OK
|
258
|
-
Connection:
|
259
|
-
- close
|
260
|
-
X-Message:
|
261
|
-
- '"Content%20type%20was%20successfully%20updated."'
|
262
|
-
X-Message-Type:
|
263
|
-
- notice
|
264
|
-
Location:
|
265
|
-
- http://sample.example.com:3000/locomotive/api/content_types
|
266
|
-
Content-Type:
|
267
|
-
- application/json; charset=utf-8
|
268
|
-
X-Ua-Compatible:
|
269
|
-
- IE=Edge
|
270
|
-
Etag:
|
271
|
-
- '"f42f53cd9530a868386f8ccd7f24139f"'
|
272
|
-
Cache-Control:
|
273
|
-
- max-age=0, private, must-revalidate
|
274
|
-
Set-Cookie:
|
275
|
-
- _locomotive_session=EBdnidWHznKcsBlsV0UrN0tk18U; domain=.example.com; path=/;
|
276
|
-
HttpOnly
|
277
|
-
X-Request-Id:
|
278
|
-
- a41721005f01fc520cf7f444c2168468
|
279
|
-
X-Runtime:
|
280
|
-
- '0.061994'
|
281
|
-
body:
|
282
|
-
encoding: UTF-8
|
283
|
-
string: '{"id":"5238712587f643884e000001","_id":"5238712587f643884e000001","created_at":"2013-09-17T15:11:33Z","updated_at":"2013-09-17T15:11:33Z","name":"Products","slug":"products","entries_custom_fields":[{"id":"5238712587f643884e000002","_id":"5238712587f643884e000002","name":"name","label":"name","type":"string","required":true,"localized":true,"unique":false,"position":0},{"id":"5238712587f643884e000003","_id":"5238712587f643884e000003","name":"available","label":"available","type":"boolean","required":false,"localized":false,"unique":false,"position":1}],"description":"My
|
284
|
-
products collection","label_field_name":"name","order_by":"created_at","order_direction":"asc","order_by_field_name":"created_at","public_submission_enabled":false,"public_submission_account_emails":[]}'
|
285
|
-
http_version:
|
286
|
-
recorded_at: Tue, 17 Sep 2013 15:12:29 GMT
|
287
|
-
- request:
|
288
|
-
method: get
|
289
|
-
uri: http://sample.example.com:3000/locomotive/api/translations.json?auth_token=iaWvtP5PhmnyKypXpLbM
|
290
|
-
body:
|
291
|
-
encoding: US-ASCII
|
292
|
-
string: ''
|
293
|
-
headers: {}
|
294
|
-
response:
|
295
|
-
status:
|
296
|
-
code: 200
|
297
|
-
message: OK
|
298
|
-
headers:
|
299
|
-
Date:
|
300
|
-
- Tue, 17 Sep 2013 15:12:29 GMT
|
301
|
-
Status:
|
302
|
-
- 200 OK
|
303
|
-
Connection:
|
304
|
-
- close
|
305
|
-
Content-Type:
|
306
|
-
- application/json; charset=utf-8
|
307
|
-
X-Ua-Compatible:
|
308
|
-
- IE=Edge
|
309
|
-
Etag:
|
310
|
-
- '"5c1b51393d2233a4df57efd63547d153"'
|
311
|
-
Cache-Control:
|
312
|
-
- max-age=0, private, must-revalidate
|
313
|
-
Set-Cookie:
|
314
|
-
- _locomotive_session=98w4xa3hxpDA5QJ1hqg8LpXhAxA; domain=.example.com; path=/;
|
315
|
-
HttpOnly
|
316
|
-
X-Request-Id:
|
317
|
-
- 4db2fadb99be65ba3a142ddf93a95247
|
318
|
-
X-Runtime:
|
319
|
-
- '0.032204'
|
320
|
-
body:
|
321
|
-
encoding: UTF-8
|
322
|
-
string: '[{"id":"5238712587f643884e000005","_id":"5238712587f643884e000005","created_at":"2013-09-17T15:11:33Z","updated_at":"2013-09-17T15:11:33Z","key":"hello_world","values":{"en":"Hello
|
323
|
-
world!","es":"\u00a1Hola, Mundo!"}}]'
|
324
|
-
http_version:
|
325
|
-
recorded_at: Tue, 17 Sep 2013 15:12:29 GMT
|
326
|
-
- request:
|
327
|
-
method: put
|
328
|
-
uri: http://sample.example.com:3000/locomotive/api/translations/5238712587f643884e000005.json?auth_token=iaWvtP5PhmnyKypXpLbM
|
329
|
-
body:
|
330
|
-
encoding: UTF-8
|
331
|
-
string: translation[key]=hello_world&translation[values][en]=Hello%20world!&translation[values][es]=%C2%A1Hola%2C%20Mundo!
|
332
|
-
headers: {}
|
333
|
-
response:
|
334
|
-
status:
|
335
|
-
code: 200
|
336
|
-
message: OK
|
337
|
-
headers:
|
338
|
-
Date:
|
339
|
-
- Tue, 17 Sep 2013 15:12:29 GMT
|
340
|
-
Status:
|
341
|
-
- 200 OK
|
342
|
-
Connection:
|
343
|
-
- close
|
344
|
-
X-Message:
|
345
|
-
- '"Translation%20was%20successfully%20updated."'
|
346
|
-
X-Message-Type:
|
347
|
-
- notice
|
348
|
-
Location:
|
349
|
-
- /locomotive/api/translations/5238712587f643884e000005
|
350
|
-
Content-Type:
|
351
|
-
- application/json; charset=utf-8
|
352
|
-
X-Ua-Compatible:
|
353
|
-
- IE=Edge
|
354
|
-
Etag:
|
355
|
-
- '"6e258b019216e6110fa565858cd7caed"'
|
356
|
-
Cache-Control:
|
357
|
-
- max-age=0, private, must-revalidate
|
358
|
-
Set-Cookie:
|
359
|
-
- _locomotive_session=cjpnyxUPBgDS74JFiVY3b1xspNU; domain=.example.com; path=/;
|
360
|
-
HttpOnly
|
361
|
-
X-Request-Id:
|
362
|
-
- 0a37b1f12e447e0215ef983e9443930f
|
363
|
-
X-Runtime:
|
364
|
-
- '0.045002'
|
365
|
-
body:
|
366
|
-
encoding: UTF-8
|
367
|
-
string: '{"id":"5238712587f643884e000005","_id":"5238712587f643884e000005","created_at":"2013-09-17T15:11:33Z","updated_at":"2013-09-17T15:11:33Z","key":"hello_world","values":{"en":"Hello
|
368
|
-
world!","es":"\u00a1Hola, Mundo!"}}'
|
369
|
-
http_version:
|
370
|
-
recorded_at: Tue, 17 Sep 2013 15:12:29 GMT
|
371
|
-
- request:
|
372
|
-
method: get
|
373
|
-
uri: http://sample.example.com:3000/locomotive/api/pages.json?auth_token=iaWvtP5PhmnyKypXpLbM
|
374
|
-
body:
|
375
|
-
encoding: US-ASCII
|
376
|
-
string: ''
|
377
|
-
headers: {}
|
378
|
-
response:
|
379
|
-
status:
|
380
|
-
code: 200
|
381
|
-
message: OK
|
382
|
-
headers:
|
383
|
-
Date:
|
384
|
-
- Tue, 17 Sep 2013 15:12:29 GMT
|
385
|
-
Status:
|
386
|
-
- 200 OK
|
387
|
-
Connection:
|
388
|
-
- close
|
389
|
-
Content-Type:
|
390
|
-
- application/json; charset=utf-8
|
391
|
-
X-Ua-Compatible:
|
392
|
-
- IE=Edge
|
393
|
-
Etag:
|
394
|
-
- '"a19c8f4823366aaef7a28e95582c9b2d"'
|
395
|
-
Cache-Control:
|
396
|
-
- max-age=0, private, must-revalidate
|
397
|
-
Set-Cookie:
|
398
|
-
- _locomotive_session=PXfqBBIYd5_C0wvN1XiAFcJyJnA; domain=.example.com; path=/;
|
399
|
-
HttpOnly
|
400
|
-
X-Request-Id:
|
401
|
-
- 9b7d0d6fadd5361f5a9b1ca5a499e6b2
|
402
|
-
X-Runtime:
|
403
|
-
- '0.043180'
|
404
|
-
body:
|
405
|
-
encoding: UTF-8
|
406
|
-
string: '[{"id":"5238710587f6431df7000007","_id":"5238710587f6431df7000007","created_at":"2013-09-17T15:11:01Z","updated_at":"2013-09-17T15:11:34Z","title":"Home
|
407
|
-
page","slug":"index","position":0,"response_type":"text/html","cache_strategy":"none","redirect":false,"redirect_type":301,"listed":true,"published":true,"templatized":false,"templatized_from_parent":false,"fullpath":"index","localized_fullpaths":{"en":"","es":"es"},"depth":0,"translated_in":["en","es"],"raw_template":"{%
|
408
|
-
block content %}\r\n New content of the home page\r\n{% endblock %}\r\n\r\n","escaped_raw_template":"{%
|
409
|
-
block content %}\r\n New content of the home page\r\n{% endblock %}\r\n\r\n","editable_elements":[]},{"id":"5238712687f643884e000006","_id":"5238712687f643884e000006","created_at":"2013-09-17T15:11:34Z","updated_at":"2013-09-17T15:11:34Z","title":"translated","slug":"translated","parent_id":"5238710587f6431df7000007","position":0,"response_type":"text/html","cache_strategy":"none","redirect":false,"redirect_type":301,"listed":true,"published":true,"templatized":false,"templatized_from_parent":false,"fullpath":"translated","localized_fullpaths":{"en":"translated","es":"es/translated"},"depth":1,"translated_in":["en"],"raw_template":"{{
|
410
|
-
''hello_world'' | translate}}","escaped_raw_template":"{{ 'hello_world'
|
411
|
-
| translate}}","editable_elements":[]},{"id":"5238712687f643884e000008","_id":"5238712687f643884e000008","created_at":"2013-09-17T15:11:34Z","updated_at":"2013-09-17T15:11:34Z","title":"Latest","slug":"latest","parent_id":"5238712687f643884e000007","position":0,"response_type":"text/html","cache_strategy":"none","redirect":false,"redirect_type":301,"listed":true,"published":true,"templatized":false,"templatized_from_parent":false,"fullpath":"products/latest","localized_fullpaths":{"en":"products/latest","es":"es/products/latest"},"depth":2,"translated_in":["en"],"raw_template":"{%
|
412
|
-
extends parent %}\r\n{% block content %}\r\n The name of the latest product
|
413
|
-
is: {{ contents.products.last.name }}\r\n{% endblock %}","escaped_raw_template":"{%
|
414
|
-
extends parent %}\r\n{% block content %}\r\n The name of the latest product
|
415
|
-
is: {{ contents.products.last.name }}\r\n{% endblock %}","editable_elements":[]},{"id":"5238710587f6431df7000008","_id":"5238710587f6431df7000008","created_at":"2013-09-17T15:11:01Z","updated_at":"2013-09-17T15:11:34Z","title":"Page
|
416
|
-
not found","slug":"404","position":1,"response_type":"text/html","cache_strategy":"none","redirect":false,"redirect_type":301,"listed":true,"published":true,"templatized":false,"templatized_from_parent":false,"fullpath":"404","localized_fullpaths":{"en":"404","es":"es/404"},"depth":0,"translated_in":["en","es"],"raw_template":"Content
|
417
|
-
of the 404 page","escaped_raw_template":"Content of the 404 page","editable_elements":[]},{"id":"5238712687f643884e000007","_id":"5238712687f643884e000007","created_at":"2013-09-17T15:11:34Z","updated_at":"2013-09-17T15:11:34Z","title":"Products","slug":"products","parent_id":"5238710587f6431df7000007","position":1,"response_type":"text/html","cache_strategy":"none","redirect":false,"redirect_type":301,"listed":true,"published":true,"templatized":false,"templatized_from_parent":false,"fullpath":"products","localized_fullpaths":{"en":"products","es":"es/products"},"depth":1,"translated_in":["en","es"],"raw_template":"{%
|
418
|
-
extends parent %}","escaped_raw_template":"{% extends parent %}","editable_elements":[],"seo_title":"Search
|
419
|
-
friendly products","meta_keywords":"fancy, products, keywords","meta_description":"Fancy
|
420
|
-
products description"}]'
|
421
|
-
http_version:
|
422
|
-
recorded_at: Tue, 17 Sep 2013 15:12:29 GMT
|
423
|
-
- request:
|
424
|
-
method: put
|
425
|
-
uri: http://sample.example.com:3000/locomotive/api/pages/5238710587f6431df7000007.json?auth_token=iaWvtP5PhmnyKypXpLbM
|
426
|
-
body:
|
427
|
-
encoding: UTF-8
|
428
|
-
string: page[title]=Home%20page&page[redirect_type]=301&page[listed]=true&page[templatized]=false&page[published]=true&page[cache_strategy]=none&page[response_type]=text%2Fhtml&page[position]=0&page[raw_template]=%7B%25%20block%20content%20%25%7D%0D%0A%20%20New%20content%20of%20the%20home%20page%0D%0A%7B%25%20endblock%20%25%7D%0D%0A%0D%0A&locale=en
|
429
|
-
headers: {}
|
430
|
-
response:
|
431
|
-
status:
|
432
|
-
code: 200
|
433
|
-
message: OK
|
434
|
-
headers:
|
435
|
-
Date:
|
436
|
-
- Tue, 17 Sep 2013 15:12:29 GMT
|
437
|
-
Status:
|
438
|
-
- 200 OK
|
439
|
-
Connection:
|
440
|
-
- close
|
441
|
-
X-Message:
|
442
|
-
- '"Page%20was%20successfully%20updated."'
|
443
|
-
X-Message-Type:
|
444
|
-
- notice
|
445
|
-
Location:
|
446
|
-
- http://sample.example.com:3000/locomotive/api/pages
|
447
|
-
Content-Type:
|
448
|
-
- application/json; charset=utf-8
|
449
|
-
X-Ua-Compatible:
|
450
|
-
- IE=Edge
|
451
|
-
Etag:
|
452
|
-
- '"6ffba3690379b6da746fd27d92f7248a"'
|
453
|
-
Cache-Control:
|
454
|
-
- max-age=0, private, must-revalidate
|
455
|
-
Set-Cookie:
|
456
|
-
- _locomotive_session=duU5dLDj_8QFxXTFIEQ14_NmjtM; domain=.example.com; path=/;
|
457
|
-
HttpOnly
|
458
|
-
X-Request-Id:
|
459
|
-
- 4bf8bbc4161c73ff8cbb68fa7e839151
|
460
|
-
X-Runtime:
|
461
|
-
- '0.047836'
|
462
|
-
body:
|
463
|
-
encoding: UTF-8
|
464
|
-
string: '{"id":"5238710587f6431df7000007","_id":"5238710587f6431df7000007","created_at":"2013-09-17T15:11:01Z","updated_at":"2013-09-17T15:11:34Z","title":"Home
|
465
|
-
page","slug":"index","position":0,"response_type":"text/html","cache_strategy":"none","redirect":false,"redirect_type":301,"listed":true,"published":true,"templatized":false,"templatized_from_parent":false,"fullpath":"index","localized_fullpaths":{"en":"","es":"es"},"depth":0,"translated_in":["en","es"],"raw_template":"{%
|
466
|
-
block content %}\r\n New content of the home page\r\n{% endblock %}\r\n\r\n","escaped_raw_template":"{%
|
467
|
-
block content %}\r\n New content of the home page\r\n{% endblock %}\r\n\r\n","editable_elements":[]}'
|
468
|
-
http_version:
|
469
|
-
recorded_at: Tue, 17 Sep 2013 15:12:29 GMT
|
470
|
-
- request:
|
471
|
-
method: put
|
472
|
-
uri: http://sample.example.com:3000/locomotive/api/pages/5238710587f6431df7000008.json?auth_token=iaWvtP5PhmnyKypXpLbM
|
473
|
-
body:
|
474
|
-
encoding: UTF-8
|
475
|
-
string: page[title]=Page%20not%20found&page[redirect_type]=301&page[listed]=true&page[templatized]=false&page[published]=true&page[cache_strategy]=none&page[response_type]=text%2Fhtml&page[position]=1&page[raw_template]=Content%20of%20the%20404%20page&locale=en
|
476
|
-
headers: {}
|
477
|
-
response:
|
478
|
-
status:
|
479
|
-
code: 200
|
480
|
-
message: OK
|
481
|
-
headers:
|
482
|
-
Date:
|
483
|
-
- Tue, 17 Sep 2013 15:12:29 GMT
|
484
|
-
Status:
|
485
|
-
- 200 OK
|
486
|
-
Connection:
|
487
|
-
- close
|
488
|
-
X-Message:
|
489
|
-
- '"Page%20was%20successfully%20updated."'
|
490
|
-
X-Message-Type:
|
491
|
-
- notice
|
492
|
-
Location:
|
493
|
-
- http://sample.example.com:3000/locomotive/api/pages
|
494
|
-
Content-Type:
|
495
|
-
- application/json; charset=utf-8
|
496
|
-
X-Ua-Compatible:
|
497
|
-
- IE=Edge
|
498
|
-
Etag:
|
499
|
-
- '"51be0ea69464ebbebabffdc75ca040e6"'
|
500
|
-
Cache-Control:
|
501
|
-
- max-age=0, private, must-revalidate
|
502
|
-
Set-Cookie:
|
503
|
-
- _locomotive_session=4McSFfrelnpxYjmqfxDPY9qgTww; domain=.example.com; path=/;
|
504
|
-
HttpOnly
|
505
|
-
X-Request-Id:
|
506
|
-
- 8e53fa6a4871e216fcbb4638cf018d16
|
507
|
-
X-Runtime:
|
508
|
-
- '0.047939'
|
509
|
-
body:
|
510
|
-
encoding: UTF-8
|
511
|
-
string: '{"id":"5238710587f6431df7000008","_id":"5238710587f6431df7000008","created_at":"2013-09-17T15:11:01Z","updated_at":"2013-09-17T15:11:34Z","title":"Page
|
512
|
-
not found","slug":"404","position":1,"response_type":"text/html","cache_strategy":"none","redirect":false,"redirect_type":301,"listed":true,"published":true,"templatized":false,"templatized_from_parent":false,"fullpath":"404","localized_fullpaths":{"en":"404","es":"es/404"},"depth":0,"translated_in":["en","es"],"raw_template":"Content
|
513
|
-
of the 404 page","escaped_raw_template":"Content of the 404 page","editable_elements":[]}'
|
514
|
-
http_version:
|
515
|
-
recorded_at: Tue, 17 Sep 2013 15:12:29 GMT
|
516
|
-
- request:
|
517
|
-
method: put
|
518
|
-
uri: http://sample.example.com:3000/locomotive/api/pages/5238712687f643884e000006.json?auth_token=iaWvtP5PhmnyKypXpLbM
|
519
|
-
body:
|
520
|
-
encoding: UTF-8
|
521
|
-
string: page[title]=translated&page[slug]=translated&page[redirect_type]=301&page[listed]=true&page[templatized]=false&page[published]=true&page[cache_strategy]=none&page[response_type]=text%2Fhtml&page[position]=0&page[parent_id]=5238710587f6431df7000007&page[raw_template]=%7B%7B%20'hello_world'%20%7C%20translate%7D%7D&locale=en
|
522
|
-
headers: {}
|
523
|
-
response:
|
524
|
-
status:
|
525
|
-
code: 200
|
526
|
-
message: OK
|
527
|
-
headers:
|
528
|
-
Date:
|
529
|
-
- Tue, 17 Sep 2013 15:12:29 GMT
|
530
|
-
Status:
|
531
|
-
- 200 OK
|
532
|
-
Connection:
|
533
|
-
- close
|
534
|
-
X-Message:
|
535
|
-
- '"Page%20was%20successfully%20updated."'
|
536
|
-
X-Message-Type:
|
537
|
-
- notice
|
538
|
-
Location:
|
539
|
-
- http://sample.example.com:3000/locomotive/api/pages
|
540
|
-
Content-Type:
|
541
|
-
- application/json; charset=utf-8
|
542
|
-
X-Ua-Compatible:
|
543
|
-
- IE=Edge
|
544
|
-
Etag:
|
545
|
-
- '"a202b02adc5632297cf5e8f3bf2409ae"'
|
546
|
-
Cache-Control:
|
547
|
-
- max-age=0, private, must-revalidate
|
548
|
-
Set-Cookie:
|
549
|
-
- _locomotive_session=kit5yHtwhnibsHnc_gTKkA2t6yc; domain=.example.com; path=/;
|
550
|
-
HttpOnly
|
551
|
-
X-Request-Id:
|
552
|
-
- 0c1477d58c67745cf298b0cc8d620a78
|
553
|
-
X-Runtime:
|
554
|
-
- '0.044674'
|
555
|
-
body:
|
556
|
-
encoding: UTF-8
|
557
|
-
string: '{"id":"5238712687f643884e000006","_id":"5238712687f643884e000006","created_at":"2013-09-17T15:11:34Z","updated_at":"2013-09-17T15:11:34Z","title":"translated","slug":"translated","parent_id":"5238710587f6431df7000007","position":0,"response_type":"text/html","cache_strategy":"none","redirect":false,"redirect_type":301,"listed":true,"published":true,"templatized":false,"templatized_from_parent":false,"fullpath":"translated","localized_fullpaths":{"en":"translated","es":"es/translated"},"depth":1,"translated_in":["en"],"raw_template":"{{
|
558
|
-
''hello_world'' | translate}}","escaped_raw_template":"{{ 'hello_world'
|
559
|
-
| translate}}","editable_elements":[]}'
|
560
|
-
http_version:
|
561
|
-
recorded_at: Tue, 17 Sep 2013 15:12:29 GMT
|
562
|
-
- request:
|
563
|
-
method: put
|
564
|
-
uri: http://sample.example.com:3000/locomotive/api/pages/5238712687f643884e000007.json?auth_token=iaWvtP5PhmnyKypXpLbM
|
565
|
-
body:
|
566
|
-
encoding: UTF-8
|
567
|
-
string: page[title]=Products&page[slug]=products&page[redirect_type]=301&page[listed]=true&page[templatized]=false&page[published]=true&page[cache_strategy]=none&page[response_type]=text%2Fhtml&page[position]=1&page[seo_title]=Search%20friendly%20products&page[meta_keywords]=fancy%2C%20products%2C%20keywords&page[meta_description]=Fancy%20products%20description&page[parent_id]=5238710587f6431df7000007&page[raw_template]=%7B%25%20extends%20parent%20%25%7D&locale=en
|
568
|
-
headers: {}
|
569
|
-
response:
|
570
|
-
status:
|
571
|
-
code: 200
|
572
|
-
message: OK
|
573
|
-
headers:
|
574
|
-
Date:
|
575
|
-
- Tue, 17 Sep 2013 15:12:29 GMT
|
576
|
-
Status:
|
577
|
-
- 200 OK
|
578
|
-
Connection:
|
579
|
-
- close
|
580
|
-
X-Message:
|
581
|
-
- '"Page%20was%20successfully%20updated."'
|
582
|
-
X-Message-Type:
|
583
|
-
- notice
|
584
|
-
Location:
|
585
|
-
- http://sample.example.com:3000/locomotive/api/pages
|
586
|
-
Content-Type:
|
587
|
-
- application/json; charset=utf-8
|
588
|
-
X-Ua-Compatible:
|
589
|
-
- IE=Edge
|
590
|
-
Etag:
|
591
|
-
- '"8f39ff72128b0d2f1362df309b2a067c"'
|
592
|
-
Cache-Control:
|
593
|
-
- max-age=0, private, must-revalidate
|
594
|
-
Set-Cookie:
|
595
|
-
- _locomotive_session=ky2khm8wBrdzKCUesWW3xuerRn4; domain=.example.com; path=/;
|
596
|
-
HttpOnly
|
597
|
-
X-Request-Id:
|
598
|
-
- 33d483adaf6bb546ba2c74c65948e216
|
599
|
-
X-Runtime:
|
600
|
-
- '0.050862'
|
601
|
-
body:
|
602
|
-
encoding: UTF-8
|
603
|
-
string: '{"id":"5238712687f643884e000007","_id":"5238712687f643884e000007","created_at":"2013-09-17T15:11:34Z","updated_at":"2013-09-17T15:11:34Z","title":"Products","slug":"products","parent_id":"5238710587f6431df7000007","position":1,"response_type":"text/html","cache_strategy":"none","redirect":false,"redirect_type":301,"listed":true,"published":true,"templatized":false,"templatized_from_parent":false,"fullpath":"products","localized_fullpaths":{"en":"products","es":"es/products"},"depth":1,"translated_in":["en","es"],"raw_template":"{%
|
604
|
-
extends parent %}","escaped_raw_template":"{% extends parent %}","editable_elements":[],"seo_title":"Search
|
605
|
-
friendly products","meta_keywords":"fancy, products, keywords","meta_description":"Fancy
|
606
|
-
products description"}'
|
607
|
-
http_version:
|
608
|
-
recorded_at: Tue, 17 Sep 2013 15:12:29 GMT
|
609
|
-
- request:
|
610
|
-
method: put
|
611
|
-
uri: http://sample.example.com:3000/locomotive/api/pages/5238712687f643884e000008.json?auth_token=iaWvtP5PhmnyKypXpLbM
|
612
|
-
body:
|
613
|
-
encoding: UTF-8
|
614
|
-
string: page[title]=Latest&page[slug]=latest&page[redirect_type]=301&page[listed]=true&page[templatized]=false&page[published]=true&page[cache_strategy]=none&page[response_type]=text%2Fhtml&page[position]=0&page[parent_id]=5238712687f643884e000007&page[raw_template]=%7B%25%20extends%20parent%20%25%7D%0D%0A%7B%25%20block%20content%20%25%7D%0D%0A%20%20The%20name%20of%20the%20latest%20product%20is%3A%20%7B%7B%20contents.products.last.name%20%7D%7D%0D%0A%7B%25%20endblock%20%25%7D&locale=en
|
615
|
-
headers: {}
|
616
|
-
response:
|
617
|
-
status:
|
618
|
-
code: 200
|
619
|
-
message: OK
|
620
|
-
headers:
|
621
|
-
Date:
|
622
|
-
- Tue, 17 Sep 2013 15:12:29 GMT
|
623
|
-
Status:
|
624
|
-
- 200 OK
|
625
|
-
Connection:
|
626
|
-
- close
|
627
|
-
X-Message:
|
628
|
-
- '"Page%20was%20successfully%20updated."'
|
629
|
-
X-Message-Type:
|
630
|
-
- notice
|
631
|
-
Location:
|
632
|
-
- http://sample.example.com:3000/locomotive/api/pages
|
633
|
-
Content-Type:
|
634
|
-
- application/json; charset=utf-8
|
635
|
-
X-Ua-Compatible:
|
636
|
-
- IE=Edge
|
637
|
-
Etag:
|
638
|
-
- '"915df796067c2230e0a66e120eb4b6d3"'
|
639
|
-
Cache-Control:
|
640
|
-
- max-age=0, private, must-revalidate
|
641
|
-
Set-Cookie:
|
642
|
-
- _locomotive_session=j1Bx5Qt4s30UKEBKQGxxowJJXjU; domain=.example.com; path=/;
|
643
|
-
HttpOnly
|
644
|
-
X-Request-Id:
|
645
|
-
- 1573bafc95c15798ae2c1a5ea62da865
|
646
|
-
X-Runtime:
|
647
|
-
- '0.043120'
|
648
|
-
body:
|
649
|
-
encoding: UTF-8
|
650
|
-
string: '{"id":"5238712687f643884e000008","_id":"5238712687f643884e000008","created_at":"2013-09-17T15:11:34Z","updated_at":"2013-09-17T15:11:34Z","title":"Latest","slug":"latest","parent_id":"5238712687f643884e000007","position":0,"response_type":"text/html","cache_strategy":"none","redirect":false,"redirect_type":301,"listed":true,"published":true,"templatized":false,"templatized_from_parent":false,"fullpath":"products/latest","localized_fullpaths":{"en":"products/latest","es":"es/products/latest"},"depth":2,"translated_in":["en"],"raw_template":"{%
|
651
|
-
extends parent %}\r\n{% block content %}\r\n The name of the latest product
|
652
|
-
is: {{ contents.products.last.name }}\r\n{% endblock %}","escaped_raw_template":"{%
|
653
|
-
extends parent %}\r\n{% block content %}\r\n The name of the latest product
|
654
|
-
is: {{ contents.products.last.name }}\r\n{% endblock %}","editable_elements":[]}'
|
655
|
-
http_version:
|
656
|
-
recorded_at: Tue, 17 Sep 2013 15:12:29 GMT
|
657
|
-
- request:
|
658
|
-
method: put
|
659
|
-
uri: http://sample.example.com:3000/locomotive/api/pages/5238710587f6431df7000007.json?auth_token=iaWvtP5PhmnyKypXpLbM
|
660
|
-
body:
|
661
|
-
encoding: UTF-8
|
662
|
-
string: page[title]=P%C3%A1gina%20de%20inicio&page[redirect_type]=301&page[listed]=true&page[templatized]=false&page[published]=true&page[cache_strategy]=none&page[response_type]=text%2Fhtml&page[position]=0&page[raw_template]=New%20content%20of%20the%20home%20page%0D%0A&locale=es
|
663
|
-
headers: {}
|
664
|
-
response:
|
665
|
-
status:
|
666
|
-
code: 200
|
667
|
-
message: OK
|
668
|
-
headers:
|
669
|
-
Date:
|
670
|
-
- Tue, 17 Sep 2013 15:12:29 GMT
|
671
|
-
Status:
|
672
|
-
- 200 OK
|
673
|
-
Connection:
|
674
|
-
- close
|
675
|
-
Location:
|
676
|
-
- http://sample.example.com:3000/locomotive/api/pages
|
677
|
-
Content-Type:
|
678
|
-
- application/json; charset=utf-8
|
679
|
-
X-Ua-Compatible:
|
680
|
-
- IE=Edge
|
681
|
-
Etag:
|
682
|
-
- '"6499def2ece0125f6b4cebb93d09abc9"'
|
683
|
-
Cache-Control:
|
684
|
-
- max-age=0, private, must-revalidate
|
685
|
-
Set-Cookie:
|
686
|
-
- _locomotive_session=j2m44mhqVbbeQagbxBf28-iDnUQ; domain=.example.com; path=/;
|
687
|
-
HttpOnly
|
688
|
-
X-Request-Id:
|
689
|
-
- d51d42bbfe8dedee95f1d7b180e13bb0
|
690
|
-
X-Runtime:
|
691
|
-
- '0.057261'
|
692
|
-
body:
|
693
|
-
encoding: UTF-8
|
694
|
-
string: '{"id":"5238710587f6431df7000007","_id":"5238710587f6431df7000007","created_at":"2013-09-17T15:11:01Z","updated_at":"2013-09-17T15:11:34Z","title":"P\u00e1gina
|
695
|
-
de inicio","slug":"index","position":0,"response_type":"text/html","cache_strategy":"none","redirect":false,"redirect_type":301,"listed":true,"published":true,"templatized":false,"templatized_from_parent":false,"fullpath":"index","localized_fullpaths":{"en":"","es":"es"},"depth":0,"translated_in":["en","es"],"raw_template":"New
|
696
|
-
content of the home page\r\n","escaped_raw_template":"New content of the home
|
697
|
-
page\r\n","editable_elements":[]}'
|
698
|
-
http_version:
|
699
|
-
recorded_at: Tue, 17 Sep 2013 15:12:29 GMT
|
700
|
-
- request:
|
701
|
-
method: put
|
702
|
-
uri: http://sample.example.com:3000/locomotive/api/pages/5238710587f6431df7000008.json?auth_token=iaWvtP5PhmnyKypXpLbM
|
703
|
-
body:
|
704
|
-
encoding: UTF-8
|
705
|
-
string: page[title]=P%C3%A1gina%20no%20encontrada&page[redirect_type]=301&page[listed]=true&page[templatized]=false&page[published]=true&page[cache_strategy]=none&page[response_type]=text%2Fhtml&page[position]=1&page[raw_template]=Content%20of%20the%20404%20page&locale=es
|
706
|
-
headers: {}
|
707
|
-
response:
|
708
|
-
status:
|
709
|
-
code: 200
|
710
|
-
message: OK
|
711
|
-
headers:
|
712
|
-
Date:
|
713
|
-
- Tue, 17 Sep 2013 15:12:29 GMT
|
714
|
-
Status:
|
715
|
-
- 200 OK
|
716
|
-
Connection:
|
717
|
-
- close
|
718
|
-
Location:
|
719
|
-
- http://sample.example.com:3000/locomotive/api/pages
|
720
|
-
Content-Type:
|
721
|
-
- application/json; charset=utf-8
|
722
|
-
X-Ua-Compatible:
|
723
|
-
- IE=Edge
|
724
|
-
Etag:
|
725
|
-
- '"d04724071150d907283a4aea3a16f368"'
|
726
|
-
Cache-Control:
|
727
|
-
- max-age=0, private, must-revalidate
|
728
|
-
Set-Cookie:
|
729
|
-
- _locomotive_session=140LzM_9gbzuZH4b73fpn3Hf9ls; domain=.example.com; path=/;
|
730
|
-
HttpOnly
|
731
|
-
X-Request-Id:
|
732
|
-
- 8efc1ee1426a05eb1c2af10d07ae87a9
|
733
|
-
X-Runtime:
|
734
|
-
- '0.041373'
|
735
|
-
body:
|
736
|
-
encoding: UTF-8
|
737
|
-
string: '{"id":"5238710587f6431df7000008","_id":"5238710587f6431df7000008","created_at":"2013-09-17T15:11:01Z","updated_at":"2013-09-17T15:11:34Z","title":"P\u00e1gina
|
738
|
-
no encontrada","slug":"404","position":1,"response_type":"text/html","cache_strategy":"none","redirect":false,"redirect_type":301,"listed":true,"published":true,"templatized":false,"templatized_from_parent":false,"fullpath":"404","localized_fullpaths":{"en":"404","es":"es/404"},"depth":0,"translated_in":["en","es"],"raw_template":"Content
|
739
|
-
of the 404 page","escaped_raw_template":"Content of the 404 page","editable_elements":[]}'
|
740
|
-
http_version:
|
741
|
-
recorded_at: Tue, 17 Sep 2013 15:12:29 GMT
|
742
|
-
- request:
|
743
|
-
method: put
|
744
|
-
uri: http://sample.example.com:3000/locomotive/api/pages/5238712687f643884e000007.json?auth_token=iaWvtP5PhmnyKypXpLbM
|
745
|
-
body:
|
746
|
-
encoding: UTF-8
|
747
|
-
string: page[title]=Products&page[slug]=products&page[redirect_type]=301&page[listed]=true&page[templatized]=false&page[published]=true&page[cache_strategy]=none&page[response_type]=text%2Fhtml&page[position]=1&page[seo_title]=Productos%20SEO&page[meta_keywords]=palabras%2C%20clave%2C%20productos&page[meta_description]=Descripci%C3%B3n%20molona%20de%20los%20productos&page[parent_id]=5238710587f6431df7000007&page[raw_template]=%7B%25%20extends%20parent%20%25%7D&locale=es
|
748
|
-
headers: {}
|
749
|
-
response:
|
750
|
-
status:
|
751
|
-
code: 200
|
752
|
-
message: OK
|
753
|
-
headers:
|
754
|
-
Date:
|
755
|
-
- Tue, 17 Sep 2013 15:12:29 GMT
|
756
|
-
Status:
|
757
|
-
- 200 OK
|
758
|
-
Connection:
|
759
|
-
- close
|
760
|
-
Location:
|
761
|
-
- http://sample.example.com:3000/locomotive/api/pages
|
762
|
-
Content-Type:
|
763
|
-
- application/json; charset=utf-8
|
764
|
-
X-Ua-Compatible:
|
765
|
-
- IE=Edge
|
766
|
-
Etag:
|
767
|
-
- '"df564c6fd92a1e7b3d311fc1183d251b"'
|
768
|
-
Cache-Control:
|
769
|
-
- max-age=0, private, must-revalidate
|
770
|
-
Set-Cookie:
|
771
|
-
- _locomotive_session=pygcjUdiyEBnb2E3Q6qnERw3UiM; domain=.example.com; path=/;
|
772
|
-
HttpOnly
|
773
|
-
X-Request-Id:
|
774
|
-
- 63e0126bcadfc18ff2b92cbb98a73b48
|
775
|
-
X-Runtime:
|
776
|
-
- '0.052407'
|
777
|
-
body:
|
778
|
-
encoding: UTF-8
|
779
|
-
string: '{"id":"5238712687f643884e000007","_id":"5238712687f643884e000007","created_at":"2013-09-17T15:11:34Z","updated_at":"2013-09-17T15:11:34Z","title":"Products","slug":"products","parent_id":"5238710587f6431df7000007","position":1,"response_type":"text/html","cache_strategy":"none","redirect":false,"redirect_type":301,"listed":true,"published":true,"templatized":false,"templatized_from_parent":false,"fullpath":"products","localized_fullpaths":{"en":"products","es":"es/products"},"depth":1,"translated_in":["en","es"],"raw_template":"{%
|
780
|
-
extends parent %}","escaped_raw_template":"{% extends parent %}","editable_elements":[],"seo_title":"Productos
|
781
|
-
SEO","meta_keywords":"palabras, clave, productos","meta_description":"Descripci\u00f3n
|
782
|
-
molona de los productos"}'
|
783
|
-
http_version:
|
784
|
-
recorded_at: Tue, 17 Sep 2013 15:12:29 GMT
|
785
|
-
- request:
|
786
|
-
method: get
|
787
|
-
uri: http://sample.example.com:3000/locomotive/api/theme_assets.json?auth_token=iaWvtP5PhmnyKypXpLbM
|
788
|
-
body:
|
789
|
-
encoding: US-ASCII
|
790
|
-
string: ''
|
791
|
-
headers: {}
|
792
|
-
response:
|
793
|
-
status:
|
794
|
-
code: 200
|
795
|
-
message: OK
|
796
|
-
headers:
|
797
|
-
Date:
|
798
|
-
- Tue, 17 Sep 2013 15:12:30 GMT
|
799
|
-
Status:
|
800
|
-
- 200 OK
|
801
|
-
Connection:
|
802
|
-
- close
|
803
|
-
Content-Type:
|
804
|
-
- application/json; charset=utf-8
|
805
|
-
X-Ua-Compatible:
|
806
|
-
- IE=Edge
|
807
|
-
Etag:
|
808
|
-
- '"d751713988987e9331980363e24189ce"'
|
809
|
-
Cache-Control:
|
810
|
-
- max-age=0, private, must-revalidate
|
811
|
-
Set-Cookie:
|
812
|
-
- _locomotive_session=AmdddP0LQNJk5CbNcw7PDZ27vVw; domain=.example.com; path=/;
|
813
|
-
HttpOnly
|
814
|
-
X-Request-Id:
|
815
|
-
- f1be1b0c567c52f2f3aa657721d33418
|
816
|
-
X-Runtime:
|
817
|
-
- '0.037162'
|
818
|
-
body:
|
819
|
-
encoding: UTF-8
|
820
|
-
string: '[]'
|
821
|
-
http_version:
|
822
|
-
recorded_at: Tue, 17 Sep 2013 15:12:30 GMT
|
823
|
-
recorded_with: VCR 2.5.0
|