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
@@ -8,13 +8,13 @@ http_interactions:
|
|
8
8
|
string: api_key=d49cd50f6f0d2b163f48fc73cb249f0244c37074&email=admin%40locomotivecms.com
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
|
-
-
|
11
|
+
- Faraday v0.9.2
|
12
12
|
Accept:
|
13
13
|
- application/json
|
14
14
|
Accept-Encoding:
|
15
15
|
- gzip,deflate
|
16
16
|
Date:
|
17
|
-
-
|
17
|
+
- Thu, 09 Mar 2017 14:24:47 GMT
|
18
18
|
Content-Type:
|
19
19
|
- application/x-www-form-urlencoded
|
20
20
|
response:
|
@@ -25,39 +25,39 @@ http_interactions:
|
|
25
25
|
Content-Type:
|
26
26
|
- application/json
|
27
27
|
Etag:
|
28
|
-
- W/"
|
28
|
+
- W/"547737c117de5d58a73948ce621cc79b"
|
29
29
|
Cache-Control:
|
30
30
|
- max-age=0, private, must-revalidate
|
31
31
|
X-Request-Id:
|
32
|
-
-
|
32
|
+
- f4e3136c-6974-4d93-9e16-a7ee19dae942
|
33
33
|
X-Runtime:
|
34
|
-
- '0.
|
34
|
+
- '0.019361'
|
35
35
|
Content-Length:
|
36
36
|
- '32'
|
37
37
|
body:
|
38
38
|
encoding: UTF-8
|
39
|
-
string: '{"token":"
|
39
|
+
string: '{"token":"2A9iTQyoACHbA4eAVLCH"}'
|
40
40
|
http_version:
|
41
|
-
recorded_at:
|
41
|
+
recorded_at: Thu, 09 Mar 2017 14:24:47 GMT
|
42
42
|
- request:
|
43
43
|
method: post
|
44
44
|
uri: http://www.example.com:3000/locomotive/api/v3/sites.json
|
45
45
|
body:
|
46
46
|
encoding: UTF-8
|
47
|
-
string: auth_token=
|
47
|
+
string: auth_token=2A9iTQyoACHbA4eAVLCH&site%5Bhandle%5D=short-lived&site%5Bname%5D=ShortLived
|
48
48
|
headers:
|
49
49
|
User-Agent:
|
50
|
-
-
|
50
|
+
- Faraday v0.9.2
|
51
51
|
Accept:
|
52
52
|
- application/json
|
53
53
|
Accept-Encoding:
|
54
54
|
- gzip,deflate
|
55
55
|
Date:
|
56
|
-
-
|
56
|
+
- Thu, 09 Mar 2017 14:24:47 GMT
|
57
57
|
X-Locomotive-Account-Email:
|
58
58
|
- admin@locomotivecms.com
|
59
59
|
X-Locomotive-Account-Token:
|
60
|
-
-
|
60
|
+
- 2A9iTQyoACHbA4eAVLCH
|
61
61
|
Content-Type:
|
62
62
|
- application/x-www-form-urlencoded
|
63
63
|
response:
|
@@ -68,20 +68,20 @@ http_interactions:
|
|
68
68
|
Content-Type:
|
69
69
|
- application/json
|
70
70
|
Etag:
|
71
|
-
- W/"
|
71
|
+
- W/"9c5662f7349d5b8e9a4139c67be75a07"
|
72
72
|
Cache-Control:
|
73
73
|
- max-age=0, private, must-revalidate
|
74
74
|
X-Request-Id:
|
75
|
-
-
|
75
|
+
- aa129fd6-b451-4d8d-a8c3-1ab6c0fa61c8
|
76
76
|
X-Runtime:
|
77
|
-
- '
|
77
|
+
- '0.961354'
|
78
78
|
Content-Length:
|
79
79
|
- '840'
|
80
80
|
body:
|
81
81
|
encoding: UTF-8
|
82
|
-
string: '{"_id":"
|
82
|
+
string: '{"_id":"58c165af87f64357b620337d","created_at":"2017-03-09T14:24:47Z","updated_at":"2017-03-09T14:24:48Z","name":"ShortLived","handle":"short-lived","seo_title":null,"meta_keywords":null,"meta_description":null,"robots_txt":null,"cache_enabled":false,"private_access":false,"locales":["en"],"domains":[],"memberships":[{"_id":"58c165af87f64357b620337e","created_at":null,"updated_at":null,"role":"admin","account_id":"58c1659187f6435785cff941","name":"Admin","role_name":"Administrator","email":"admin@locomotivecms.com"}],"timezone":"UTC","picture_url":null,"content_version":0,"template_version":1489069488,"picture_thumbnail_url":null,"preview_url":"http://www.example.com:3000/locomotive/short-lived/preview","sign_in_url":"http://www.example.com:3000/locomotive/sign_in","metafields":"{}","metafields_schema":"[]","metafields_ui":"{}"}'
|
83
83
|
http_version:
|
84
|
-
recorded_at:
|
84
|
+
recorded_at: Thu, 09 Mar 2017 14:24:48 GMT
|
85
85
|
- request:
|
86
86
|
method: post
|
87
87
|
uri: http://www.example.com:3000/locomotive/api/v3/tokens.json
|
@@ -90,13 +90,13 @@ http_interactions:
|
|
90
90
|
string: api_key=d49cd50f6f0d2b163f48fc73cb249f0244c37074&email=admin%40locomotivecms.com
|
91
91
|
headers:
|
92
92
|
User-Agent:
|
93
|
-
-
|
93
|
+
- Faraday v0.9.2
|
94
94
|
Accept:
|
95
95
|
- application/json
|
96
96
|
Accept-Encoding:
|
97
97
|
- gzip,deflate
|
98
98
|
Date:
|
99
|
-
-
|
99
|
+
- Thu, 09 Mar 2017 14:24:48 GMT
|
100
100
|
Content-Type:
|
101
101
|
- application/x-www-form-urlencoded
|
102
102
|
response:
|
@@ -107,39 +107,39 @@ http_interactions:
|
|
107
107
|
Content-Type:
|
108
108
|
- application/json
|
109
109
|
Etag:
|
110
|
-
- W/"
|
110
|
+
- W/"547737c117de5d58a73948ce621cc79b"
|
111
111
|
Cache-Control:
|
112
112
|
- max-age=0, private, must-revalidate
|
113
113
|
X-Request-Id:
|
114
|
-
-
|
114
|
+
- 3ec0dacd-a581-4d23-bb91-04374483e80e
|
115
115
|
X-Runtime:
|
116
|
-
- '0.
|
116
|
+
- '0.019442'
|
117
117
|
Content-Length:
|
118
118
|
- '32'
|
119
119
|
body:
|
120
120
|
encoding: UTF-8
|
121
|
-
string: '{"token":"
|
121
|
+
string: '{"token":"2A9iTQyoACHbA4eAVLCH"}'
|
122
122
|
http_version:
|
123
|
-
recorded_at:
|
123
|
+
recorded_at: Thu, 09 Mar 2017 14:24:48 GMT
|
124
124
|
- request:
|
125
125
|
method: delete
|
126
|
-
uri: http://www.example.com:3000/locomotive/api/v3/current_site.json?auth_token=
|
126
|
+
uri: http://www.example.com:3000/locomotive/api/v3/current_site.json?auth_token=2A9iTQyoACHbA4eAVLCH
|
127
127
|
body:
|
128
128
|
encoding: UTF-8
|
129
129
|
string: ''
|
130
130
|
headers:
|
131
131
|
User-Agent:
|
132
|
-
-
|
132
|
+
- Faraday v0.9.2
|
133
133
|
Accept:
|
134
134
|
- application/json
|
135
135
|
Accept-Encoding:
|
136
136
|
- gzip,deflate
|
137
137
|
Date:
|
138
|
-
-
|
138
|
+
- Thu, 09 Mar 2017 14:24:48 GMT
|
139
139
|
X-Locomotive-Account-Email:
|
140
140
|
- admin@locomotivecms.com
|
141
141
|
X-Locomotive-Account-Token:
|
142
|
-
-
|
142
|
+
- 2A9iTQyoACHbA4eAVLCH
|
143
143
|
X-Locomotive-Site-Handle:
|
144
144
|
- short-lived
|
145
145
|
response:
|
@@ -150,39 +150,39 @@ http_interactions:
|
|
150
150
|
Content-Type:
|
151
151
|
- application/json
|
152
152
|
Etag:
|
153
|
-
- W/"
|
153
|
+
- W/"9c5662f7349d5b8e9a4139c67be75a07"
|
154
154
|
Cache-Control:
|
155
155
|
- max-age=0, private, must-revalidate
|
156
156
|
X-Request-Id:
|
157
|
-
-
|
157
|
+
- 92a22b77-494d-4a8f-8d93-57c02c7b38e9
|
158
158
|
X-Runtime:
|
159
|
-
- '0.
|
159
|
+
- '0.223332'
|
160
160
|
Content-Length:
|
161
161
|
- '840'
|
162
162
|
body:
|
163
163
|
encoding: UTF-8
|
164
|
-
string: '{"_id":"
|
164
|
+
string: '{"_id":"58c165af87f64357b620337d","created_at":"2017-03-09T14:24:47Z","updated_at":"2017-03-09T14:24:48Z","name":"ShortLived","handle":"short-lived","seo_title":null,"meta_keywords":null,"meta_description":null,"robots_txt":null,"cache_enabled":false,"private_access":false,"locales":["en"],"domains":[],"memberships":[{"_id":"58c165af87f64357b620337e","created_at":null,"updated_at":null,"role":"admin","account_id":"58c1659187f6435785cff941","name":"Admin","role_name":"Administrator","email":"admin@locomotivecms.com"}],"timezone":"UTC","picture_url":null,"content_version":0,"template_version":1489069488,"picture_thumbnail_url":null,"preview_url":"http://www.example.com:3000/locomotive/short-lived/preview","sign_in_url":"http://www.example.com:3000/locomotive/sign_in","metafields":"{}","metafields_schema":"[]","metafields_ui":"{}"}'
|
165
165
|
http_version:
|
166
|
-
recorded_at:
|
166
|
+
recorded_at: Thu, 09 Mar 2017 14:24:48 GMT
|
167
167
|
- request:
|
168
168
|
method: post
|
169
169
|
uri: http://www.example.com:3000/locomotive/api/v3/pages.json
|
170
170
|
body:
|
171
171
|
encoding: UTF-8
|
172
|
-
string: auth_token=
|
172
|
+
string: auth_token=2A9iTQyoACHbA4eAVLCH&page%5Bparent%5D=index&page%5Bslug%5D=hello-world&page%5Btemplate%5D=Hello+world%21&page%5Btitle%5D=Hello+world
|
173
173
|
headers:
|
174
174
|
User-Agent:
|
175
|
-
-
|
175
|
+
- Faraday v0.9.2
|
176
176
|
Accept:
|
177
177
|
- application/json
|
178
178
|
Accept-Encoding:
|
179
179
|
- gzip,deflate
|
180
180
|
Date:
|
181
|
-
-
|
181
|
+
- Thu, 09 Mar 2017 14:24:48 GMT
|
182
182
|
X-Locomotive-Account-Email:
|
183
183
|
- admin@locomotivecms.com
|
184
184
|
X-Locomotive-Account-Token:
|
185
|
-
-
|
185
|
+
- 2A9iTQyoACHbA4eAVLCH
|
186
186
|
X-Locomotive-Site-Handle:
|
187
187
|
- www
|
188
188
|
Content-Type:
|
@@ -195,41 +195,41 @@ http_interactions:
|
|
195
195
|
Content-Type:
|
196
196
|
- application/json
|
197
197
|
Etag:
|
198
|
-
- W/"
|
198
|
+
- W/"711839c39a110dae8384e454bffa2c2e"
|
199
199
|
Cache-Control:
|
200
200
|
- max-age=0, private, must-revalidate
|
201
201
|
X-Request-Id:
|
202
|
-
-
|
202
|
+
- dd8fd0bb-8ab5-4108-b70a-1dcb441e737c
|
203
203
|
X-Runtime:
|
204
|
-
- '0.
|
204
|
+
- '0.071354'
|
205
205
|
Content-Length:
|
206
206
|
- '673'
|
207
207
|
body:
|
208
208
|
encoding: UTF-8
|
209
|
-
string: '{"_id":"
|
210
|
-
world","parent_id":"
|
209
|
+
string: '{"_id":"58c165b087f64357b6203382","created_at":"2017-03-09T14:24:48Z","updated_at":"2017-03-09T14:24:48Z","title":"Hello
|
210
|
+
world","parent_id":"58c1659187f6435785cff944","position":0,"handle":null,"depth":1,"response_type":"text/html","listed":true,"published":false,"translated_in":["en"],"cache_enabled":true,"slug":"hello-world","fullpath":"hello-world","localized_fullpaths":{"en":"hello-world"},"redirect":false,"redirect_url":"","redirect_type":301,"templatized":false,"templatized_from_parent":false,"content_type":null,"is_layout":false,"allow_layout":true,"template":"Hello
|
211
211
|
world!","editable_elements":[],"seo_title":null,"meta_keywords":null,"meta_description":null}'
|
212
212
|
http_version:
|
213
|
-
recorded_at:
|
213
|
+
recorded_at: Thu, 09 Mar 2017 14:24:48 GMT
|
214
214
|
- request:
|
215
215
|
method: delete
|
216
|
-
uri: http://www.example.com:3000/locomotive/api/v3/pages/hello-world.json?auth_token=
|
216
|
+
uri: http://www.example.com:3000/locomotive/api/v3/pages/hello-world.json?auth_token=2A9iTQyoACHbA4eAVLCH
|
217
217
|
body:
|
218
218
|
encoding: UTF-8
|
219
219
|
string: ''
|
220
220
|
headers:
|
221
221
|
User-Agent:
|
222
|
-
-
|
222
|
+
- Faraday v0.9.2
|
223
223
|
Accept:
|
224
224
|
- application/json
|
225
225
|
Accept-Encoding:
|
226
226
|
- gzip,deflate
|
227
227
|
Date:
|
228
|
-
-
|
228
|
+
- Thu, 09 Mar 2017 14:24:48 GMT
|
229
229
|
X-Locomotive-Account-Email:
|
230
230
|
- admin@locomotivecms.com
|
231
231
|
X-Locomotive-Account-Token:
|
232
|
-
-
|
232
|
+
- 2A9iTQyoACHbA4eAVLCH
|
233
233
|
X-Locomotive-Site-Handle:
|
234
234
|
- www
|
235
235
|
response:
|
@@ -240,41 +240,41 @@ http_interactions:
|
|
240
240
|
Content-Type:
|
241
241
|
- application/json
|
242
242
|
Etag:
|
243
|
-
- W/"
|
243
|
+
- W/"711839c39a110dae8384e454bffa2c2e"
|
244
244
|
Cache-Control:
|
245
245
|
- max-age=0, private, must-revalidate
|
246
246
|
X-Request-Id:
|
247
|
-
-
|
247
|
+
- ed3d32a5-cf48-4497-bf6b-f87809461d39
|
248
248
|
X-Runtime:
|
249
|
-
- '0.
|
249
|
+
- '0.050278'
|
250
250
|
Content-Length:
|
251
251
|
- '673'
|
252
252
|
body:
|
253
253
|
encoding: UTF-8
|
254
|
-
string: '{"_id":"
|
255
|
-
world","parent_id":"
|
254
|
+
string: '{"_id":"58c165b087f64357b6203382","created_at":"2017-03-09T14:24:48Z","updated_at":"2017-03-09T14:24:48Z","title":"Hello
|
255
|
+
world","parent_id":"58c1659187f6435785cff944","position":0,"handle":null,"depth":1,"response_type":"text/html","listed":true,"published":false,"translated_in":["en"],"cache_enabled":true,"slug":"hello-world","fullpath":"hello-world","localized_fullpaths":{"en":"hello-world"},"redirect":false,"redirect_url":"","redirect_type":301,"templatized":false,"templatized_from_parent":false,"content_type":null,"is_layout":false,"allow_layout":true,"template":"Hello
|
256
256
|
world!","editable_elements":[],"seo_title":null,"meta_keywords":null,"meta_description":null}'
|
257
257
|
http_version:
|
258
|
-
recorded_at:
|
258
|
+
recorded_at: Thu, 09 Mar 2017 14:24:48 GMT
|
259
259
|
- request:
|
260
260
|
method: post
|
261
261
|
uri: http://www.example.com:3000/locomotive/api/v3/content_types.json
|
262
262
|
body:
|
263
263
|
encoding: UTF-8
|
264
|
-
string: auth_token=
|
264
|
+
string: auth_token=2A9iTQyoACHbA4eAVLCH&content_type%5Bfields%5D%5B0%5D%5Blabel%5D=E-mail&content_type%5Bfields%5D%5B0%5D%5Bname%5D=email&content_type%5Bfields%5D%5B0%5D%5Btype%5D=string&content_type%5Bname%5D=FakeMessages&content_type%5Bslug%5D=fake-messages
|
265
265
|
headers:
|
266
266
|
User-Agent:
|
267
|
-
-
|
267
|
+
- Faraday v0.9.2
|
268
268
|
Accept:
|
269
269
|
- application/json
|
270
270
|
Accept-Encoding:
|
271
271
|
- gzip,deflate
|
272
272
|
Date:
|
273
|
-
-
|
273
|
+
- Thu, 09 Mar 2017 14:24:48 GMT
|
274
274
|
X-Locomotive-Account-Email:
|
275
275
|
- admin@locomotivecms.com
|
276
276
|
X-Locomotive-Account-Token:
|
277
|
-
-
|
277
|
+
- 2A9iTQyoACHbA4eAVLCH
|
278
278
|
X-Locomotive-Site-Handle:
|
279
279
|
- www
|
280
280
|
Content-Type:
|
@@ -287,39 +287,39 @@ http_interactions:
|
|
287
287
|
Content-Type:
|
288
288
|
- application/json
|
289
289
|
Etag:
|
290
|
-
- W/"
|
290
|
+
- W/"7cd0a1382d21cd253eb4074bc6694c36"
|
291
291
|
Cache-Control:
|
292
292
|
- max-age=0, private, must-revalidate
|
293
293
|
X-Request-Id:
|
294
|
-
-
|
294
|
+
- '07809931-fd5a-45a3-8e8b-c22c8f63f150'
|
295
295
|
X-Runtime:
|
296
|
-
- '0.
|
296
|
+
- '0.113182'
|
297
297
|
Content-Length:
|
298
298
|
- '691'
|
299
299
|
body:
|
300
300
|
encoding: UTF-8
|
301
|
-
string: '{"_id":"
|
301
|
+
string: '{"_id":"58c165b087f64357b6203383","created_at":"2017-03-09T14:24:48Z","updated_at":"2017-03-09T14:24:48Z","name":"FakeMessages","slug":"fake_messages","description":null,"label_field_name":"email","order_direction":"asc","public_submission_enabled":false,"public_submission_accounts":[],"public_submission_title_template":null,"entry_template":null,"display_settings":null,"filter_fields":null,"fields":[{"_id":"58c165b087f64357b6203384","created_at":null,"updated_at":null,"name":"email","type":"string","label":"E-mail","hint":null,"required":true,"localized":false,"unique":false,"default":null,"position":0}],"order_by":"created_at","group_by":null,"public_submission_account_emails":[]}'
|
302
302
|
http_version:
|
303
|
-
recorded_at:
|
303
|
+
recorded_at: Thu, 09 Mar 2017 14:24:48 GMT
|
304
304
|
- request:
|
305
305
|
method: delete
|
306
|
-
uri: http://www.example.com:3000/locomotive/api/v3/content_types/fake_messages.json?auth_token=
|
306
|
+
uri: http://www.example.com:3000/locomotive/api/v3/content_types/fake_messages.json?auth_token=2A9iTQyoACHbA4eAVLCH
|
307
307
|
body:
|
308
308
|
encoding: UTF-8
|
309
309
|
string: ''
|
310
310
|
headers:
|
311
311
|
User-Agent:
|
312
|
-
-
|
312
|
+
- Faraday v0.9.2
|
313
313
|
Accept:
|
314
314
|
- application/json
|
315
315
|
Accept-Encoding:
|
316
316
|
- gzip,deflate
|
317
317
|
Date:
|
318
|
-
-
|
318
|
+
- Thu, 09 Mar 2017 14:24:48 GMT
|
319
319
|
X-Locomotive-Account-Email:
|
320
320
|
- admin@locomotivecms.com
|
321
321
|
X-Locomotive-Account-Token:
|
322
|
-
-
|
322
|
+
- 2A9iTQyoACHbA4eAVLCH
|
323
323
|
X-Locomotive-Site-Handle:
|
324
324
|
- www
|
325
325
|
response:
|
@@ -330,39 +330,39 @@ http_interactions:
|
|
330
330
|
Content-Type:
|
331
331
|
- application/json
|
332
332
|
Etag:
|
333
|
-
- W/"
|
333
|
+
- W/"7cd0a1382d21cd253eb4074bc6694c36"
|
334
334
|
Cache-Control:
|
335
335
|
- max-age=0, private, must-revalidate
|
336
336
|
X-Request-Id:
|
337
|
-
-
|
337
|
+
- 92978019-43ae-48a0-a386-17afde7277b4
|
338
338
|
X-Runtime:
|
339
|
-
- '0.
|
339
|
+
- '0.043263'
|
340
340
|
Content-Length:
|
341
341
|
- '691'
|
342
342
|
body:
|
343
343
|
encoding: UTF-8
|
344
|
-
string: '{"_id":"
|
344
|
+
string: '{"_id":"58c165b087f64357b6203383","created_at":"2017-03-09T14:24:48Z","updated_at":"2017-03-09T14:24:48Z","name":"FakeMessages","slug":"fake_messages","description":null,"label_field_name":"email","order_direction":"asc","public_submission_enabled":false,"public_submission_accounts":[],"public_submission_title_template":null,"entry_template":null,"display_settings":null,"filter_fields":null,"fields":[{"_id":"58c165b087f64357b6203384","created_at":null,"updated_at":null,"name":"email","type":"string","label":"E-mail","hint":null,"required":true,"localized":false,"unique":false,"default":null,"position":0}],"order_by":"created_at","group_by":null,"public_submission_account_emails":[]}'
|
345
345
|
http_version:
|
346
|
-
recorded_at:
|
346
|
+
recorded_at: Thu, 09 Mar 2017 14:24:48 GMT
|
347
347
|
- request:
|
348
348
|
method: post
|
349
349
|
uri: http://www.example.com:3000/locomotive/api/v3/content_types.json
|
350
350
|
body:
|
351
351
|
encoding: UTF-8
|
352
|
-
string: auth_token=
|
352
|
+
string: auth_token=2A9iTQyoACHbA4eAVLCH&content_type%5Bfields%5D%5B0%5D%5Blabel%5D=E-mail&content_type%5Bfields%5D%5B0%5D%5Bname%5D=email&content_type%5Bfields%5D%5B0%5D%5Btype%5D=string&content_type%5Bname%5D=FakeMessages&content_type%5Bslug%5D=fake-messages-2
|
353
353
|
headers:
|
354
354
|
User-Agent:
|
355
|
-
-
|
355
|
+
- Faraday v0.9.2
|
356
356
|
Accept:
|
357
357
|
- application/json
|
358
358
|
Accept-Encoding:
|
359
359
|
- gzip,deflate
|
360
360
|
Date:
|
361
|
-
-
|
361
|
+
- Thu, 09 Mar 2017 14:24:48 GMT
|
362
362
|
X-Locomotive-Account-Email:
|
363
363
|
- admin@locomotivecms.com
|
364
364
|
X-Locomotive-Account-Token:
|
365
|
-
-
|
365
|
+
- 2A9iTQyoACHbA4eAVLCH
|
366
366
|
X-Locomotive-Site-Handle:
|
367
367
|
- www
|
368
368
|
Content-Type:
|
@@ -375,39 +375,39 @@ http_interactions:
|
|
375
375
|
Content-Type:
|
376
376
|
- application/json
|
377
377
|
Etag:
|
378
|
-
- W/"
|
378
|
+
- W/"193203c0b426677b0276df4710c55a3a"
|
379
379
|
Cache-Control:
|
380
380
|
- max-age=0, private, must-revalidate
|
381
381
|
X-Request-Id:
|
382
|
-
-
|
382
|
+
- 4b1f8781-788f-47ed-8d66-a17cbdd41f76
|
383
383
|
X-Runtime:
|
384
|
-
- '0.
|
384
|
+
- '0.050253'
|
385
385
|
Content-Length:
|
386
386
|
- '693'
|
387
387
|
body:
|
388
388
|
encoding: UTF-8
|
389
|
-
string: '{"_id":"
|
389
|
+
string: '{"_id":"58c165b087f64357b6203385","created_at":"2017-03-09T14:24:48Z","updated_at":"2017-03-09T14:24:48Z","name":"FakeMessages","slug":"fake_messages_2","description":null,"label_field_name":"email","order_direction":"asc","public_submission_enabled":false,"public_submission_accounts":[],"public_submission_title_template":null,"entry_template":null,"display_settings":null,"filter_fields":null,"fields":[{"_id":"58c165b087f64357b6203386","created_at":null,"updated_at":null,"name":"email","type":"string","label":"E-mail","hint":null,"required":true,"localized":false,"unique":false,"default":null,"position":0}],"order_by":"created_at","group_by":null,"public_submission_account_emails":[]}'
|
390
390
|
http_version:
|
391
|
-
recorded_at:
|
391
|
+
recorded_at: Thu, 09 Mar 2017 14:24:48 GMT
|
392
392
|
- request:
|
393
393
|
method: delete
|
394
|
-
uri: http://www.example.com:3000/locomotive/api/v3/content_types.json?auth_token=
|
394
|
+
uri: http://www.example.com:3000/locomotive/api/v3/content_types.json?auth_token=2A9iTQyoACHbA4eAVLCH
|
395
395
|
body:
|
396
396
|
encoding: UTF-8
|
397
397
|
string: ''
|
398
398
|
headers:
|
399
399
|
User-Agent:
|
400
|
-
-
|
400
|
+
- Faraday v0.9.2
|
401
401
|
Accept:
|
402
402
|
- application/json
|
403
403
|
Accept-Encoding:
|
404
404
|
- gzip,deflate
|
405
405
|
Date:
|
406
|
-
-
|
406
|
+
- Thu, 09 Mar 2017 14:24:48 GMT
|
407
407
|
X-Locomotive-Account-Email:
|
408
408
|
- admin@locomotivecms.com
|
409
409
|
X-Locomotive-Account-Token:
|
410
|
-
-
|
410
|
+
- 2A9iTQyoACHbA4eAVLCH
|
411
411
|
X-Locomotive-Site-Handle:
|
412
412
|
- www
|
413
413
|
response:
|
@@ -422,35 +422,35 @@ http_interactions:
|
|
422
422
|
Cache-Control:
|
423
423
|
- max-age=0, private, must-revalidate
|
424
424
|
X-Request-Id:
|
425
|
-
-
|
425
|
+
- 6e20673c-e0f8-49e8-999e-4bbc5d2bb363
|
426
426
|
X-Runtime:
|
427
|
-
- '0.
|
427
|
+
- '0.045258'
|
428
428
|
Content-Length:
|
429
429
|
- '15'
|
430
430
|
body:
|
431
431
|
encoding: UTF-8
|
432
432
|
string: '{"deletions":1}'
|
433
433
|
http_version:
|
434
|
-
recorded_at:
|
434
|
+
recorded_at: Thu, 09 Mar 2017 14:24:48 GMT
|
435
435
|
- request:
|
436
436
|
method: post
|
437
437
|
uri: http://www.example.com:3000/locomotive/api/v3/snippets.json
|
438
438
|
body:
|
439
439
|
encoding: UTF-8
|
440
|
-
string: auth_token=
|
440
|
+
string: auth_token=2A9iTQyoACHbA4eAVLCH&snippet%5Bname%5D=Analytics&snippet%5Bslug%5D=analytics&snippet%5Btemplate%5D=Analytics
|
441
441
|
headers:
|
442
442
|
User-Agent:
|
443
|
-
-
|
443
|
+
- Faraday v0.9.2
|
444
444
|
Accept:
|
445
445
|
- application/json
|
446
446
|
Accept-Encoding:
|
447
447
|
- gzip,deflate
|
448
448
|
Date:
|
449
|
-
-
|
449
|
+
- Thu, 09 Mar 2017 14:24:48 GMT
|
450
450
|
X-Locomotive-Account-Email:
|
451
451
|
- admin@locomotivecms.com
|
452
452
|
X-Locomotive-Account-Token:
|
453
|
-
-
|
453
|
+
- 2A9iTQyoACHbA4eAVLCH
|
454
454
|
X-Locomotive-Site-Handle:
|
455
455
|
- www
|
456
456
|
Content-Type:
|
@@ -463,39 +463,39 @@ http_interactions:
|
|
463
463
|
Content-Type:
|
464
464
|
- application/json
|
465
465
|
Etag:
|
466
|
-
- W/"
|
466
|
+
- W/"52958b747865a3d7f75b3e1b38ee2441"
|
467
467
|
Cache-Control:
|
468
468
|
- max-age=0, private, must-revalidate
|
469
469
|
X-Request-Id:
|
470
|
-
-
|
470
|
+
- 658a6327-1071-4c6e-b6a8-030e157092c7
|
471
471
|
X-Runtime:
|
472
|
-
- '0.
|
472
|
+
- '0.099406'
|
473
473
|
Content-Length:
|
474
474
|
- '167'
|
475
475
|
body:
|
476
476
|
encoding: UTF-8
|
477
|
-
string: '{"_id":"
|
477
|
+
string: '{"_id":"58c165b187f64357b6203387","created_at":"2017-03-09T14:24:49Z","updated_at":"2017-03-09T14:24:49Z","name":"Analytics","slug":"analytics","template":"Analytics"}'
|
478
478
|
http_version:
|
479
|
-
recorded_at:
|
479
|
+
recorded_at: Thu, 09 Mar 2017 14:24:49 GMT
|
480
480
|
- request:
|
481
481
|
method: delete
|
482
|
-
uri: http://www.example.com:3000/locomotive/api/v3/snippets/analytics.json?auth_token=
|
482
|
+
uri: http://www.example.com:3000/locomotive/api/v3/snippets/analytics.json?auth_token=2A9iTQyoACHbA4eAVLCH
|
483
483
|
body:
|
484
484
|
encoding: UTF-8
|
485
485
|
string: ''
|
486
486
|
headers:
|
487
487
|
User-Agent:
|
488
|
-
-
|
488
|
+
- Faraday v0.9.2
|
489
489
|
Accept:
|
490
490
|
- application/json
|
491
491
|
Accept-Encoding:
|
492
492
|
- gzip,deflate
|
493
493
|
Date:
|
494
|
-
-
|
494
|
+
- Thu, 09 Mar 2017 14:24:49 GMT
|
495
495
|
X-Locomotive-Account-Email:
|
496
496
|
- admin@locomotivecms.com
|
497
497
|
X-Locomotive-Account-Token:
|
498
|
-
-
|
498
|
+
- 2A9iTQyoACHbA4eAVLCH
|
499
499
|
X-Locomotive-Site-Handle:
|
500
500
|
- www
|
501
501
|
response:
|
@@ -506,39 +506,39 @@ http_interactions:
|
|
506
506
|
Content-Type:
|
507
507
|
- application/json
|
508
508
|
Etag:
|
509
|
-
- W/"
|
509
|
+
- W/"52958b747865a3d7f75b3e1b38ee2441"
|
510
510
|
Cache-Control:
|
511
511
|
- max-age=0, private, must-revalidate
|
512
512
|
X-Request-Id:
|
513
|
-
-
|
513
|
+
- 2892568a-2268-43a2-8ec2-f7996c71fe06
|
514
514
|
X-Runtime:
|
515
|
-
- '0.
|
515
|
+
- '0.059281'
|
516
516
|
Content-Length:
|
517
517
|
- '167'
|
518
518
|
body:
|
519
519
|
encoding: UTF-8
|
520
|
-
string: '{"_id":"
|
520
|
+
string: '{"_id":"58c165b187f64357b6203387","created_at":"2017-03-09T14:24:49Z","updated_at":"2017-03-09T14:24:49Z","name":"Analytics","slug":"analytics","template":"Analytics"}'
|
521
521
|
http_version:
|
522
|
-
recorded_at:
|
522
|
+
recorded_at: Thu, 09 Mar 2017 14:24:49 GMT
|
523
523
|
- request:
|
524
524
|
method: post
|
525
525
|
uri: http://www.example.com:3000/locomotive/api/v3/snippets.json
|
526
526
|
body:
|
527
527
|
encoding: UTF-8
|
528
|
-
string: auth_token=
|
528
|
+
string: auth_token=2A9iTQyoACHbA4eAVLCH&snippet%5Bname%5D=Analytics&snippet%5Bslug%5D=analytics_2&snippet%5Btemplate%5D=Analytics
|
529
529
|
headers:
|
530
530
|
User-Agent:
|
531
|
-
-
|
531
|
+
- Faraday v0.9.2
|
532
532
|
Accept:
|
533
533
|
- application/json
|
534
534
|
Accept-Encoding:
|
535
535
|
- gzip,deflate
|
536
536
|
Date:
|
537
|
-
-
|
537
|
+
- Thu, 09 Mar 2017 14:24:49 GMT
|
538
538
|
X-Locomotive-Account-Email:
|
539
539
|
- admin@locomotivecms.com
|
540
540
|
X-Locomotive-Account-Token:
|
541
|
-
-
|
541
|
+
- 2A9iTQyoACHbA4eAVLCH
|
542
542
|
X-Locomotive-Site-Handle:
|
543
543
|
- www
|
544
544
|
Content-Type:
|
@@ -551,39 +551,39 @@ http_interactions:
|
|
551
551
|
Content-Type:
|
552
552
|
- application/json
|
553
553
|
Etag:
|
554
|
-
- W/"
|
554
|
+
- W/"8b8ad0274071c24d0f712db24add7b9f"
|
555
555
|
Cache-Control:
|
556
556
|
- max-age=0, private, must-revalidate
|
557
557
|
X-Request-Id:
|
558
|
-
-
|
558
|
+
- e0b32e45-3dc2-4d7c-9702-aa5fb6021e25
|
559
559
|
X-Runtime:
|
560
|
-
- '0.
|
560
|
+
- '0.034582'
|
561
561
|
Content-Length:
|
562
562
|
- '169'
|
563
563
|
body:
|
564
564
|
encoding: UTF-8
|
565
|
-
string: '{"_id":"
|
565
|
+
string: '{"_id":"58c165b187f64357b6203388","created_at":"2017-03-09T14:24:49Z","updated_at":"2017-03-09T14:24:49Z","name":"Analytics","slug":"analytics_2","template":"Analytics"}'
|
566
566
|
http_version:
|
567
|
-
recorded_at:
|
567
|
+
recorded_at: Thu, 09 Mar 2017 14:24:49 GMT
|
568
568
|
- request:
|
569
569
|
method: delete
|
570
|
-
uri: http://www.example.com:3000/locomotive/api/v3/snippets.json?auth_token=
|
570
|
+
uri: http://www.example.com:3000/locomotive/api/v3/snippets.json?auth_token=2A9iTQyoACHbA4eAVLCH
|
571
571
|
body:
|
572
572
|
encoding: UTF-8
|
573
573
|
string: ''
|
574
574
|
headers:
|
575
575
|
User-Agent:
|
576
|
-
-
|
576
|
+
- Faraday v0.9.2
|
577
577
|
Accept:
|
578
578
|
- application/json
|
579
579
|
Accept-Encoding:
|
580
580
|
- gzip,deflate
|
581
581
|
Date:
|
582
|
-
-
|
582
|
+
- Thu, 09 Mar 2017 14:24:49 GMT
|
583
583
|
X-Locomotive-Account-Email:
|
584
584
|
- admin@locomotivecms.com
|
585
585
|
X-Locomotive-Account-Token:
|
586
|
-
-
|
586
|
+
- 2A9iTQyoACHbA4eAVLCH
|
587
587
|
X-Locomotive-Site-Handle:
|
588
588
|
- www
|
589
589
|
response:
|
@@ -598,16 +598,16 @@ http_interactions:
|
|
598
598
|
Cache-Control:
|
599
599
|
- max-age=0, private, must-revalidate
|
600
600
|
X-Request-Id:
|
601
|
-
-
|
601
|
+
- 9b5f83a5-2197-41c6-9895-bea058c81302
|
602
602
|
X-Runtime:
|
603
|
-
- '0.
|
603
|
+
- '0.034609'
|
604
604
|
Content-Length:
|
605
605
|
- '15'
|
606
606
|
body:
|
607
607
|
encoding: UTF-8
|
608
608
|
string: '{"deletions":1}'
|
609
609
|
http_version:
|
610
|
-
recorded_at:
|
610
|
+
recorded_at: Thu, 09 Mar 2017 14:24:49 GMT
|
611
611
|
- request:
|
612
612
|
method: post
|
613
613
|
uri: http://www.example.com:3000/locomotive/api/v3/theme_assets.json
|
@@ -682,21 +682,21 @@ http_interactions:
|
|
682
682
|
0NtJvy6mWF/OpLQstGgVzsab3sXmi3+2zzQDcJjnAyEPROMHiFLOL3h0hr9D
|
683
683
|
onww/wNwYOCiTn4FhQAAAABJRU5ErkJggg0KLS0tLS0tLS0tLS0tLVJ1YnlN
|
684
684
|
dWx0aXBhcnRQb3N0DQpDb250ZW50LURpc3Bvc2l0aW9uOiBmb3JtLWRhdGE7
|
685
|
-
|
685
|
+
IG5hbWU9ImF1dGhfdG9rZW4iDQoNCjJBOWlUUXlvQUNIYkE0ZUFWTENIDQot
|
686
686
|
LS0tLS0tLS0tLS0tUnVieU11bHRpcGFydFBvc3QtLQ0KDQo=
|
687
687
|
headers:
|
688
688
|
User-Agent:
|
689
|
-
-
|
689
|
+
- Faraday v0.9.2
|
690
690
|
Accept:
|
691
691
|
- application/json
|
692
692
|
Accept-Encoding:
|
693
693
|
- gzip,deflate
|
694
694
|
Date:
|
695
|
-
-
|
695
|
+
- Thu, 09 Mar 2017 14:24:49 GMT
|
696
696
|
X-Locomotive-Account-Email:
|
697
697
|
- admin@locomotivecms.com
|
698
698
|
X-Locomotive-Account-Token:
|
699
|
-
-
|
699
|
+
- 2A9iTQyoACHbA4eAVLCH
|
700
700
|
X-Locomotive-Site-Handle:
|
701
701
|
- www
|
702
702
|
Content-Type:
|
@@ -711,21 +711,21 @@ http_interactions:
|
|
711
711
|
Content-Type:
|
712
712
|
- application/json
|
713
713
|
Etag:
|
714
|
-
- W/"
|
714
|
+
- W/"46956a0299de0e2d59b782db7a8c2225"
|
715
715
|
Cache-Control:
|
716
716
|
- max-age=0, private, must-revalidate
|
717
717
|
X-Request-Id:
|
718
|
-
-
|
718
|
+
- 1142fc1f-4e87-4eef-9940-3fe894d70bc1
|
719
719
|
X-Runtime:
|
720
|
-
- '0.
|
720
|
+
- '0.298878'
|
721
721
|
Content-Length:
|
722
722
|
- '341'
|
723
723
|
body:
|
724
724
|
encoding: UTF-8
|
725
|
-
string: '{"_id":"
|
725
|
+
string: '{"_id":"58c165b187f64357b6203389","created_at":"2017-03-09T14:24:49Z","updated_at":"2017-03-09T14:24:49Z","content_type":"image","local_path":"images/icon.png","folder":"images","checksum":"3176de8c86ae69c06d4f0ed37e26cee4","filename":"icon.png","url":"/sites/58c1659187f6435785cff943/theme/images/icon.png","size":"2.72
|
726
726
|
KB","raw_size":2783}'
|
727
727
|
http_version:
|
728
|
-
recorded_at:
|
728
|
+
recorded_at: Thu, 09 Mar 2017 14:24:49 GMT
|
729
729
|
- request:
|
730
730
|
method: post
|
731
731
|
uri: http://www.example.com:3000/locomotive/api/v3/theme_assets.json
|
@@ -4371,21 +4371,21 @@ http_interactions:
|
|
4371
4371
|
nTZLWAn75+Cpv212Dv47zCzY/KTGgbiqWWzt8uMma7Z1/2bHBIaHmNbSlxEx
|
4372
4372
|
sfX/CzAAkCOO6w6jXtcAAAAASUVORK5CYIINCi0tLS0tLS0tLS0tLS1SdWJ5
|
4373
4373
|
TXVsdGlwYXJ0UG9zdA0KQ29udGVudC1EaXNwb3NpdGlvbjogZm9ybS1kYXRh
|
4374
|
-
|
4374
|
+
OyBuYW1lPSJhdXRoX3Rva2VuIg0KDQoyQTlpVFF5b0FDSGJBNGVBVkxDSA0K
|
4375
4375
|
LS0tLS0tLS0tLS0tLVJ1YnlNdWx0aXBhcnRQb3N0LS0NCg0K
|
4376
4376
|
headers:
|
4377
4377
|
User-Agent:
|
4378
|
-
-
|
4378
|
+
- Faraday v0.9.2
|
4379
4379
|
Accept:
|
4380
4380
|
- application/json
|
4381
4381
|
Accept-Encoding:
|
4382
4382
|
- gzip,deflate
|
4383
4383
|
Date:
|
4384
|
-
-
|
4384
|
+
- Thu, 09 Mar 2017 14:24:49 GMT
|
4385
4385
|
X-Locomotive-Account-Email:
|
4386
4386
|
- admin@locomotivecms.com
|
4387
4387
|
X-Locomotive-Account-Token:
|
4388
|
-
-
|
4388
|
+
- 2A9iTQyoACHbA4eAVLCH
|
4389
4389
|
X-Locomotive-Site-Handle:
|
4390
4390
|
- www
|
4391
4391
|
Content-Type:
|
@@ -4400,40 +4400,40 @@ http_interactions:
|
|
4400
4400
|
Content-Type:
|
4401
4401
|
- application/json
|
4402
4402
|
Etag:
|
4403
|
-
- W/"
|
4403
|
+
- W/"9bc930c8032b270ea3a1cd3a5dd8f3e9"
|
4404
4404
|
Cache-Control:
|
4405
4405
|
- max-age=0, private, must-revalidate
|
4406
4406
|
X-Request-Id:
|
4407
|
-
-
|
4407
|
+
- 7a67ef97-811a-4fb5-bf5e-c5602e4c9a8f
|
4408
4408
|
X-Runtime:
|
4409
|
-
- '0.
|
4409
|
+
- '0.062310'
|
4410
4410
|
Content-Length:
|
4411
4411
|
- '345'
|
4412
4412
|
body:
|
4413
4413
|
encoding: UTF-8
|
4414
|
-
string: '{"_id":"
|
4414
|
+
string: '{"_id":"58c165b187f64357b620338a","created_at":"2017-03-09T14:24:49Z","updated_at":"2017-03-09T14:24:49Z","content_type":"image","local_path":"images/photo.jpg","folder":"images","checksum":"e1aff5628ca068751b333cf1b69dd978","filename":"photo.jpg","url":"/sites/58c1659187f6435785cff943/theme/images/photo.jpg","size":"160
|
4415
4415
|
KB","raw_size":163476}'
|
4416
4416
|
http_version:
|
4417
|
-
recorded_at:
|
4417
|
+
recorded_at: Thu, 09 Mar 2017 14:24:49 GMT
|
4418
4418
|
- request:
|
4419
4419
|
method: delete
|
4420
|
-
uri: http://www.example.com:3000/locomotive/api/v3/theme_assets.json?auth_token=
|
4420
|
+
uri: http://www.example.com:3000/locomotive/api/v3/theme_assets.json?auth_token=2A9iTQyoACHbA4eAVLCH
|
4421
4421
|
body:
|
4422
4422
|
encoding: UTF-8
|
4423
4423
|
string: ''
|
4424
4424
|
headers:
|
4425
4425
|
User-Agent:
|
4426
|
-
-
|
4426
|
+
- Faraday v0.9.2
|
4427
4427
|
Accept:
|
4428
4428
|
- application/json
|
4429
4429
|
Accept-Encoding:
|
4430
4430
|
- gzip,deflate
|
4431
4431
|
Date:
|
4432
|
-
-
|
4432
|
+
- Thu, 09 Mar 2017 14:24:49 GMT
|
4433
4433
|
X-Locomotive-Account-Email:
|
4434
4434
|
- admin@locomotivecms.com
|
4435
4435
|
X-Locomotive-Account-Token:
|
4436
|
-
-
|
4436
|
+
- 2A9iTQyoACHbA4eAVLCH
|
4437
4437
|
X-Locomotive-Site-Handle:
|
4438
4438
|
- www
|
4439
4439
|
response:
|
@@ -4448,35 +4448,35 @@ http_interactions:
|
|
4448
4448
|
Cache-Control:
|
4449
4449
|
- max-age=0, private, must-revalidate
|
4450
4450
|
X-Request-Id:
|
4451
|
-
-
|
4451
|
+
- b2ecd46e-46b1-42ec-b8bb-e1977c406b16
|
4452
4452
|
X-Runtime:
|
4453
|
-
- '0.
|
4453
|
+
- '0.055389'
|
4454
4454
|
Content-Length:
|
4455
4455
|
- '15'
|
4456
4456
|
body:
|
4457
4457
|
encoding: UTF-8
|
4458
4458
|
string: '{"deletions":2}'
|
4459
4459
|
http_version:
|
4460
|
-
recorded_at:
|
4460
|
+
recorded_at: Thu, 09 Mar 2017 14:24:49 GMT
|
4461
4461
|
- request:
|
4462
4462
|
method: post
|
4463
4463
|
uri: http://www.example.com:3000/locomotive/api/v3/translations.json
|
4464
4464
|
body:
|
4465
4465
|
encoding: UTF-8
|
4466
|
-
string: auth_token=
|
4466
|
+
string: auth_token=2A9iTQyoACHbA4eAVLCH&translation%5Bkey%5D=hello_world&translation%5Bvalues%5D%5Bfr%5D=Bonjour+le+monde
|
4467
4467
|
headers:
|
4468
4468
|
User-Agent:
|
4469
|
-
-
|
4469
|
+
- Faraday v0.9.2
|
4470
4470
|
Accept:
|
4471
4471
|
- application/json
|
4472
4472
|
Accept-Encoding:
|
4473
4473
|
- gzip,deflate
|
4474
4474
|
Date:
|
4475
|
-
-
|
4475
|
+
- Thu, 09 Mar 2017 14:24:49 GMT
|
4476
4476
|
X-Locomotive-Account-Email:
|
4477
4477
|
- admin@locomotivecms.com
|
4478
4478
|
X-Locomotive-Account-Token:
|
4479
|
-
-
|
4479
|
+
- 2A9iTQyoACHbA4eAVLCH
|
4480
4480
|
X-Locomotive-Site-Handle:
|
4481
4481
|
- www
|
4482
4482
|
Content-Type:
|
@@ -4489,40 +4489,40 @@ http_interactions:
|
|
4489
4489
|
Content-Type:
|
4490
4490
|
- application/json
|
4491
4491
|
Etag:
|
4492
|
-
- W/"
|
4492
|
+
- W/"f2950385ec1e2d7e459260ffa5544c56"
|
4493
4493
|
Cache-Control:
|
4494
4494
|
- max-age=0, private, must-revalidate
|
4495
4495
|
X-Request-Id:
|
4496
|
-
-
|
4496
|
+
- 811789f0-9785-4deb-9e3c-ad420509e6f6
|
4497
4497
|
X-Runtime:
|
4498
|
-
- '0.
|
4498
|
+
- '0.088557'
|
4499
4499
|
Content-Length:
|
4500
4500
|
- '161'
|
4501
4501
|
body:
|
4502
4502
|
encoding: UTF-8
|
4503
|
-
string: '{"_id":"
|
4503
|
+
string: '{"_id":"58c165b187f64357b620338b","created_at":"2017-03-09T14:24:49Z","updated_at":"2017-03-09T14:24:49Z","key":"hello_world","values":{"fr":"Bonjour
|
4504
4504
|
le monde"}}'
|
4505
4505
|
http_version:
|
4506
|
-
recorded_at:
|
4506
|
+
recorded_at: Thu, 09 Mar 2017 14:24:49 GMT
|
4507
4507
|
- request:
|
4508
4508
|
method: delete
|
4509
|
-
uri: http://www.example.com:3000/locomotive/api/v3/translations/hello_world.json?auth_token=
|
4509
|
+
uri: http://www.example.com:3000/locomotive/api/v3/translations/hello_world.json?auth_token=2A9iTQyoACHbA4eAVLCH
|
4510
4510
|
body:
|
4511
4511
|
encoding: UTF-8
|
4512
4512
|
string: ''
|
4513
4513
|
headers:
|
4514
4514
|
User-Agent:
|
4515
|
-
-
|
4515
|
+
- Faraday v0.9.2
|
4516
4516
|
Accept:
|
4517
4517
|
- application/json
|
4518
4518
|
Accept-Encoding:
|
4519
4519
|
- gzip,deflate
|
4520
4520
|
Date:
|
4521
|
-
-
|
4521
|
+
- Thu, 09 Mar 2017 14:24:49 GMT
|
4522
4522
|
X-Locomotive-Account-Email:
|
4523
4523
|
- admin@locomotivecms.com
|
4524
4524
|
X-Locomotive-Account-Token:
|
4525
|
-
-
|
4525
|
+
- 2A9iTQyoACHbA4eAVLCH
|
4526
4526
|
X-Locomotive-Site-Handle:
|
4527
4527
|
- www
|
4528
4528
|
response:
|
@@ -4533,40 +4533,40 @@ http_interactions:
|
|
4533
4533
|
Content-Type:
|
4534
4534
|
- application/json
|
4535
4535
|
Etag:
|
4536
|
-
- W/"
|
4536
|
+
- W/"f2950385ec1e2d7e459260ffa5544c56"
|
4537
4537
|
Cache-Control:
|
4538
4538
|
- max-age=0, private, must-revalidate
|
4539
4539
|
X-Request-Id:
|
4540
|
-
-
|
4540
|
+
- 3526c5e0-1cfb-46df-9b09-4b0c83dcc0e9
|
4541
4541
|
X-Runtime:
|
4542
|
-
- '0.
|
4542
|
+
- '0.036821'
|
4543
4543
|
Content-Length:
|
4544
4544
|
- '161'
|
4545
4545
|
body:
|
4546
4546
|
encoding: UTF-8
|
4547
|
-
string: '{"_id":"
|
4547
|
+
string: '{"_id":"58c165b187f64357b620338b","created_at":"2017-03-09T14:24:49Z","updated_at":"2017-03-09T14:24:49Z","key":"hello_world","values":{"fr":"Bonjour
|
4548
4548
|
le monde"}}'
|
4549
4549
|
http_version:
|
4550
|
-
recorded_at:
|
4550
|
+
recorded_at: Thu, 09 Mar 2017 14:24:49 GMT
|
4551
4551
|
- request:
|
4552
4552
|
method: post
|
4553
4553
|
uri: http://www.example.com:3000/locomotive/api/v3/translations.json
|
4554
4554
|
body:
|
4555
4555
|
encoding: UTF-8
|
4556
|
-
string: auth_token=
|
4556
|
+
string: auth_token=2A9iTQyoACHbA4eAVLCH&translation%5Bkey%5D=hello_world_2&translation%5Bvalues%5D%5Bfr%5D=Bonjour+le+monde
|
4557
4557
|
headers:
|
4558
4558
|
User-Agent:
|
4559
|
-
-
|
4559
|
+
- Faraday v0.9.2
|
4560
4560
|
Accept:
|
4561
4561
|
- application/json
|
4562
4562
|
Accept-Encoding:
|
4563
4563
|
- gzip,deflate
|
4564
4564
|
Date:
|
4565
|
-
-
|
4565
|
+
- Thu, 09 Mar 2017 14:24:50 GMT
|
4566
4566
|
X-Locomotive-Account-Email:
|
4567
4567
|
- admin@locomotivecms.com
|
4568
4568
|
X-Locomotive-Account-Token:
|
4569
|
-
-
|
4569
|
+
- 2A9iTQyoACHbA4eAVLCH
|
4570
4570
|
X-Locomotive-Site-Handle:
|
4571
4571
|
- www
|
4572
4572
|
Content-Type:
|
@@ -4579,40 +4579,40 @@ http_interactions:
|
|
4579
4579
|
Content-Type:
|
4580
4580
|
- application/json
|
4581
4581
|
Etag:
|
4582
|
-
- W/"
|
4582
|
+
- W/"bbc1404ab24f4694bfa11e392aaf2f92"
|
4583
4583
|
Cache-Control:
|
4584
4584
|
- max-age=0, private, must-revalidate
|
4585
4585
|
X-Request-Id:
|
4586
|
-
-
|
4586
|
+
- 3ece265e-48fd-4f6f-8904-c59262a2cc5e
|
4587
4587
|
X-Runtime:
|
4588
|
-
- '0.
|
4588
|
+
- '0.039149'
|
4589
4589
|
Content-Length:
|
4590
4590
|
- '163'
|
4591
4591
|
body:
|
4592
4592
|
encoding: UTF-8
|
4593
|
-
string: '{"_id":"
|
4593
|
+
string: '{"_id":"58c165b287f64357b620338c","created_at":"2017-03-09T14:24:50Z","updated_at":"2017-03-09T14:24:50Z","key":"hello_world_2","values":{"fr":"Bonjour
|
4594
4594
|
le monde"}}'
|
4595
4595
|
http_version:
|
4596
|
-
recorded_at:
|
4596
|
+
recorded_at: Thu, 09 Mar 2017 14:24:50 GMT
|
4597
4597
|
- request:
|
4598
4598
|
method: delete
|
4599
|
-
uri: http://www.example.com:3000/locomotive/api/v3/translations.json?auth_token=
|
4599
|
+
uri: http://www.example.com:3000/locomotive/api/v3/translations.json?auth_token=2A9iTQyoACHbA4eAVLCH
|
4600
4600
|
body:
|
4601
4601
|
encoding: UTF-8
|
4602
4602
|
string: ''
|
4603
4603
|
headers:
|
4604
4604
|
User-Agent:
|
4605
|
-
-
|
4605
|
+
- Faraday v0.9.2
|
4606
4606
|
Accept:
|
4607
4607
|
- application/json
|
4608
4608
|
Accept-Encoding:
|
4609
4609
|
- gzip,deflate
|
4610
4610
|
Date:
|
4611
|
-
-
|
4611
|
+
- Thu, 09 Mar 2017 14:24:50 GMT
|
4612
4612
|
X-Locomotive-Account-Email:
|
4613
4613
|
- admin@locomotivecms.com
|
4614
4614
|
X-Locomotive-Account-Token:
|
4615
|
-
-
|
4615
|
+
- 2A9iTQyoACHbA4eAVLCH
|
4616
4616
|
X-Locomotive-Site-Handle:
|
4617
4617
|
- www
|
4618
4618
|
response:
|
@@ -4627,35 +4627,35 @@ http_interactions:
|
|
4627
4627
|
Cache-Control:
|
4628
4628
|
- max-age=0, private, must-revalidate
|
4629
4629
|
X-Request-Id:
|
4630
|
-
-
|
4630
|
+
- c0715ba3-f227-407b-a545-0edc8dd7b3bd
|
4631
4631
|
X-Runtime:
|
4632
|
-
- '0.
|
4632
|
+
- '0.060256'
|
4633
4633
|
Content-Length:
|
4634
4634
|
- '15'
|
4635
4635
|
body:
|
4636
4636
|
encoding: UTF-8
|
4637
4637
|
string: '{"deletions":1}'
|
4638
4638
|
http_version:
|
4639
|
-
recorded_at:
|
4639
|
+
recorded_at: Thu, 09 Mar 2017 14:24:50 GMT
|
4640
4640
|
- request:
|
4641
4641
|
method: delete
|
4642
|
-
uri: http://www.example.com:3000/locomotive/api/v3/pages/bogus_id.json?auth_token=
|
4642
|
+
uri: http://www.example.com:3000/locomotive/api/v3/pages/bogus_id.json?auth_token=2A9iTQyoACHbA4eAVLCH
|
4643
4643
|
body:
|
4644
4644
|
encoding: UTF-8
|
4645
4645
|
string: ''
|
4646
4646
|
headers:
|
4647
4647
|
User-Agent:
|
4648
|
-
-
|
4648
|
+
- Faraday v0.9.2
|
4649
4649
|
Accept:
|
4650
4650
|
- application/json
|
4651
4651
|
Accept-Encoding:
|
4652
4652
|
- gzip,deflate
|
4653
4653
|
Date:
|
4654
|
-
-
|
4654
|
+
- Thu, 09 Mar 2017 14:24:50 GMT
|
4655
4655
|
X-Locomotive-Account-Email:
|
4656
4656
|
- admin@locomotivecms.com
|
4657
4657
|
X-Locomotive-Account-Token:
|
4658
|
-
-
|
4658
|
+
- 2A9iTQyoACHbA4eAVLCH
|
4659
4659
|
X-Locomotive-Site-Handle:
|
4660
4660
|
- www
|
4661
4661
|
response:
|
@@ -4668,35 +4668,35 @@ http_interactions:
|
|
4668
4668
|
Cache-Control:
|
4669
4669
|
- no-cache
|
4670
4670
|
X-Request-Id:
|
4671
|
-
-
|
4671
|
+
- 6883fb5b-77ee-4f10-8349-613c5cdad5bb
|
4672
4672
|
X-Runtime:
|
4673
|
-
- '0.
|
4673
|
+
- '0.028538'
|
4674
4674
|
Content-Length:
|
4675
4675
|
- '30'
|
4676
4676
|
body:
|
4677
4677
|
encoding: UTF-8
|
4678
4678
|
string: '{"error":"Resource not found"}'
|
4679
4679
|
http_version:
|
4680
|
-
recorded_at:
|
4680
|
+
recorded_at: Thu, 09 Mar 2017 14:24:50 GMT
|
4681
4681
|
- request:
|
4682
4682
|
method: delete
|
4683
|
-
uri: http://www.example.com:3000/locomotive/api/v3/content_types/bogus_id.json?auth_token=
|
4683
|
+
uri: http://www.example.com:3000/locomotive/api/v3/content_types/bogus_id.json?auth_token=2A9iTQyoACHbA4eAVLCH
|
4684
4684
|
body:
|
4685
4685
|
encoding: UTF-8
|
4686
4686
|
string: ''
|
4687
4687
|
headers:
|
4688
4688
|
User-Agent:
|
4689
|
-
-
|
4689
|
+
- Faraday v0.9.2
|
4690
4690
|
Accept:
|
4691
4691
|
- application/json
|
4692
4692
|
Accept-Encoding:
|
4693
4693
|
- gzip,deflate
|
4694
4694
|
Date:
|
4695
|
-
-
|
4695
|
+
- Thu, 09 Mar 2017 14:24:50 GMT
|
4696
4696
|
X-Locomotive-Account-Email:
|
4697
4697
|
- admin@locomotivecms.com
|
4698
4698
|
X-Locomotive-Account-Token:
|
4699
|
-
-
|
4699
|
+
- 2A9iTQyoACHbA4eAVLCH
|
4700
4700
|
X-Locomotive-Site-Handle:
|
4701
4701
|
- www
|
4702
4702
|
response:
|
@@ -4709,35 +4709,35 @@ http_interactions:
|
|
4709
4709
|
Cache-Control:
|
4710
4710
|
- no-cache
|
4711
4711
|
X-Request-Id:
|
4712
|
-
-
|
4712
|
+
- e5cdab5a-9312-4faa-aaca-f783c8e2019a
|
4713
4713
|
X-Runtime:
|
4714
|
-
- '0.
|
4714
|
+
- '0.028470'
|
4715
4715
|
Content-Length:
|
4716
4716
|
- '30'
|
4717
4717
|
body:
|
4718
4718
|
encoding: UTF-8
|
4719
4719
|
string: '{"error":"Resource not found"}'
|
4720
4720
|
http_version:
|
4721
|
-
recorded_at:
|
4721
|
+
recorded_at: Thu, 09 Mar 2017 14:24:50 GMT
|
4722
4722
|
- request:
|
4723
4723
|
method: delete
|
4724
|
-
uri: http://www.example.com:3000/locomotive/api/v3/snippets/bogus_id.json?auth_token=
|
4724
|
+
uri: http://www.example.com:3000/locomotive/api/v3/snippets/bogus_id.json?auth_token=2A9iTQyoACHbA4eAVLCH
|
4725
4725
|
body:
|
4726
4726
|
encoding: UTF-8
|
4727
4727
|
string: ''
|
4728
4728
|
headers:
|
4729
4729
|
User-Agent:
|
4730
|
-
-
|
4730
|
+
- Faraday v0.9.2
|
4731
4731
|
Accept:
|
4732
4732
|
- application/json
|
4733
4733
|
Accept-Encoding:
|
4734
4734
|
- gzip,deflate
|
4735
4735
|
Date:
|
4736
|
-
-
|
4736
|
+
- Thu, 09 Mar 2017 14:24:50 GMT
|
4737
4737
|
X-Locomotive-Account-Email:
|
4738
4738
|
- admin@locomotivecms.com
|
4739
4739
|
X-Locomotive-Account-Token:
|
4740
|
-
-
|
4740
|
+
- 2A9iTQyoACHbA4eAVLCH
|
4741
4741
|
X-Locomotive-Site-Handle:
|
4742
4742
|
- www
|
4743
4743
|
response:
|
@@ -4750,35 +4750,35 @@ http_interactions:
|
|
4750
4750
|
Cache-Control:
|
4751
4751
|
- no-cache
|
4752
4752
|
X-Request-Id:
|
4753
|
-
-
|
4753
|
+
- 35be52fd-3f3e-4498-8b85-3a861e4b3eda
|
4754
4754
|
X-Runtime:
|
4755
|
-
- '0.
|
4755
|
+
- '0.024891'
|
4756
4756
|
Content-Length:
|
4757
4757
|
- '30'
|
4758
4758
|
body:
|
4759
4759
|
encoding: UTF-8
|
4760
4760
|
string: '{"error":"Resource not found"}'
|
4761
4761
|
http_version:
|
4762
|
-
recorded_at:
|
4762
|
+
recorded_at: Thu, 09 Mar 2017 14:24:50 GMT
|
4763
4763
|
- request:
|
4764
4764
|
method: delete
|
4765
|
-
uri: http://www.example.com:3000/locomotive/api/v3/translations/bogus_id.json?auth_token=
|
4765
|
+
uri: http://www.example.com:3000/locomotive/api/v3/translations/bogus_id.json?auth_token=2A9iTQyoACHbA4eAVLCH
|
4766
4766
|
body:
|
4767
4767
|
encoding: UTF-8
|
4768
4768
|
string: ''
|
4769
4769
|
headers:
|
4770
4770
|
User-Agent:
|
4771
|
-
-
|
4771
|
+
- Faraday v0.9.2
|
4772
4772
|
Accept:
|
4773
4773
|
- application/json
|
4774
4774
|
Accept-Encoding:
|
4775
4775
|
- gzip,deflate
|
4776
4776
|
Date:
|
4777
|
-
-
|
4777
|
+
- Thu, 09 Mar 2017 14:24:50 GMT
|
4778
4778
|
X-Locomotive-Account-Email:
|
4779
4779
|
- admin@locomotivecms.com
|
4780
4780
|
X-Locomotive-Account-Token:
|
4781
|
-
-
|
4781
|
+
- 2A9iTQyoACHbA4eAVLCH
|
4782
4782
|
X-Locomotive-Site-Handle:
|
4783
4783
|
- www
|
4784
4784
|
response:
|
@@ -4791,14 +4791,14 @@ http_interactions:
|
|
4791
4791
|
Cache-Control:
|
4792
4792
|
- no-cache
|
4793
4793
|
X-Request-Id:
|
4794
|
-
-
|
4794
|
+
- 8408b965-a5ef-4040-a5a7-23941d4a4b08
|
4795
4795
|
X-Runtime:
|
4796
|
-
- '0.
|
4796
|
+
- '0.024278'
|
4797
4797
|
Content-Length:
|
4798
4798
|
- '30'
|
4799
4799
|
body:
|
4800
4800
|
encoding: UTF-8
|
4801
4801
|
string: '{"error":"Resource not found"}'
|
4802
4802
|
http_version:
|
4803
|
-
recorded_at:
|
4804
|
-
recorded_with: VCR 3.0.
|
4803
|
+
recorded_at: Thu, 09 Mar 2017 14:24:50 GMT
|
4804
|
+
recorded_with: VCR 3.0.3
|