locomotivecms_coal 1.0.0.pre.alpha.3 → 1.0.0.pre.beta.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (32) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +7 -7
  3. data/README.md +60 -3
  4. data/lib/locomotive/coal/client.rb +10 -3
  5. data/lib/locomotive/coal/error.rb +4 -3
  6. data/lib/locomotive/coal/resources/concerns/request.rb +3 -3
  7. data/lib/locomotive/coal/resources/content_entries.rb +9 -0
  8. data/lib/locomotive/coal/resources/current_site.rb +25 -0
  9. data/lib/locomotive/coal/resources/memberships.rb +13 -0
  10. data/lib/locomotive/coal/resources/pages.rb +1 -1
  11. data/lib/locomotive/coal/resources/snippets.rb +8 -0
  12. data/lib/locomotive/coal/version.rb +1 -1
  13. data/lib/locomotive/coal.rb +3 -0
  14. data/locomotivecms_coal.gemspec +2 -2
  15. data/spec/fixtures/coal_cassettes/client.yml +117 -160
  16. data/spec/fixtures/coal_cassettes/content_assets.yml +47 -71
  17. data/spec/fixtures/coal_cassettes/content_entries.yml +510 -388
  18. data/spec/fixtures/coal_cassettes/content_types.yml +128 -196
  19. data/spec/fixtures/coal_cassettes/current_site.yml +124 -0
  20. data/spec/fixtures/coal_cassettes/memberships.yml +203 -0
  21. data/spec/fixtures/coal_cassettes/my_account.yml +40 -62
  22. data/spec/fixtures/coal_cassettes/pages.yml +82 -108
  23. data/spec/fixtures/coal_cassettes/sites.yml +43 -59
  24. data/spec/fixtures/coal_cassettes/snippets.yml +48 -70
  25. data/spec/fixtures/coal_cassettes/theme_assets.yml +46 -70
  26. data/spec/fixtures/coal_cassettes/token.yml +25 -31
  27. data/spec/fixtures/coal_cassettes/translations.yml +46 -70
  28. data/spec/fixtures/coal_cassettes/version.yml +18 -28
  29. data/spec/integration/resources/content_entries_spec.rb +11 -0
  30. data/spec/integration/resources/current_site_spec.rb +22 -0
  31. data/spec/integration/resources/memberships_spec.rb +39 -0
  32. metadata +16 -6
@@ -22,38 +22,34 @@ http_interactions:
22
22
  headers:
23
23
  Content-Type:
24
24
  - application/json
25
- Content-Length:
26
- - '32'
27
25
  Etag:
28
- - W/"61c6d81d1b41b9aad218fbfd9bec3e38"
26
+ - W/"157eb61d395f237526d11950bbc5a1fa"
29
27
  Cache-Control:
30
28
  - max-age=0, private, must-revalidate
31
29
  X-Request-Id:
32
- - 7a94fbe9-227c-4575-bb68-dd29c485fe9d
30
+ - b309ca29-5343-4a23-8f1a-d3422f06b5f3
33
31
  X-Runtime:
34
- - '0.022233'
35
- Connection:
36
- - keep-alive
37
- Server:
38
- - thin
32
+ - '0.019304'
33
+ Content-Length:
34
+ - '32'
39
35
  body:
40
36
  encoding: UTF-8
41
- string: '{"token":"NuCxqFfvpry9osYdFUm1"}'
37
+ string: '{"token":"v6XDp282UyPDeM6DgA-S"}'
42
38
  http_version:
43
- recorded_at: Mon, 04 May 2015 13:53:08 GMT
39
+ recorded_at: Wed, 29 Jul 2015 15:36:37 GMT
44
40
  - request:
45
41
  method: post
46
42
  uri: http://localhost:3000/locomotive/sample/api/v3/content_types.json
47
43
  body:
48
44
  encoding: UTF-8
49
- string: auth_token=NuCxqFfvpry9osYdFUm1&content_type%5Bfields%5D%5B%5D%5Blabel%5D=Title&content_type%5Bfields%5D%5B%5D%5Blocalized%5D=true&content_type%5Bfields%5D%5B%5D%5Bname%5D=title&content_type%5Bfields%5D%5B%5D%5Btype%5D=string&content_type%5Bname%5D=Article&content_type%5Bslug%5D=articles
45
+ string: auth_token=v6XDp282UyPDeM6DgA-S&content_type%5Bfields%5D%5B%5D%5Blabel%5D=Title&content_type%5Bfields%5D%5B%5D%5Blocalized%5D=true&content_type%5Bfields%5D%5B%5D%5Bname%5D=title&content_type%5Bfields%5D%5B%5D%5Btype%5D=string&content_type%5Bname%5D=Article&content_type%5Bslug%5D=articles
50
46
  headers:
51
47
  Accept:
52
48
  - application/json
53
49
  X-Locomotive-Account-Email:
54
50
  - admin@locomotivecms.com
55
51
  X-Locomotive-Account-Token:
56
- - NuCxqFfvpry9osYdFUm1
52
+ - v6XDp282UyPDeM6DgA-S
57
53
  Content-Type:
58
54
  - application/x-www-form-urlencoded
59
55
  Accept-Encoding:
@@ -67,25 +63,21 @@ http_interactions:
67
63
  headers:
68
64
  Content-Type:
69
65
  - application/json
70
- Content-Length:
71
- - '550'
72
66
  Etag:
73
- - W/"091ef48c4ebd6f4c8c5a70760496e798"
67
+ - W/"93959d24e07ee3473f7810de10305a10"
74
68
  Cache-Control:
75
69
  - max-age=0, private, must-revalidate
76
70
  X-Request-Id:
77
- - e6443b4c-0e18-4aa1-bf52-326953ebf32e
71
+ - c1250f89-7b86-4bc4-bfee-d8dbeba62079
78
72
  X-Runtime:
79
- - '0.059219'
80
- Connection:
81
- - keep-alive
82
- Server:
83
- - thin
73
+ - '0.043602'
74
+ Content-Length:
75
+ - '574'
84
76
  body:
85
77
  encoding: UTF-8
86
- string: '{"_id":"554779c46469643251330300","created_at":"2015-05-04T13:53:08Z","updated_at":"2015-05-04T13:53:08Z","name":"Article","slug":"articles","description":null,"label_field_name":"title","order_direction":"asc","public_submission_enabled":false,"raw_item_template":null,"fields":[{"_id":"554779c46469643251340300","created_at":null,"updated_at":null,"name":"title","type":"string","label":"Title","hint":null,"required":true,"localized":true,"unique":false,"position":0}],"order_by":"created_at","group_by":null,"public_submission_account_emails":[]}'
78
+ string: '{"_id":"55b8f305446964641a00000f","created_at":"2015-07-29T15:36:37Z","updated_at":"2015-07-29T15:36:37Z","name":"Article","slug":"articles","description":null,"label_field_name":"title","order_direction":"asc","public_submission_enabled":false,"raw_item_template":null,"display_settings":null,"fields":[{"_id":"55b8f305446964641a000010","created_at":null,"updated_at":null,"name":"title","type":"string","label":"Title","hint":null,"required":true,"localized":true,"unique":false,"position":0}],"order_by":"created_at","group_by":null,"public_submission_account_emails":[]}'
87
79
  http_version:
88
- recorded_at: Mon, 04 May 2015 13:53:08 GMT
80
+ recorded_at: Wed, 29 Jul 2015 15:36:37 GMT
89
81
  - request:
90
82
  method: post
91
83
  uri: http://localhost:3000/locomotive/api/v3/tokens.json
@@ -108,38 +100,34 @@ http_interactions:
108
100
  headers:
109
101
  Content-Type:
110
102
  - application/json
111
- Content-Length:
112
- - '32'
113
103
  Etag:
114
- - W/"61c6d81d1b41b9aad218fbfd9bec3e38"
104
+ - W/"157eb61d395f237526d11950bbc5a1fa"
115
105
  Cache-Control:
116
106
  - max-age=0, private, must-revalidate
117
107
  X-Request-Id:
118
- - 322548f3-3299-4ecd-89c2-d6dde3c0fb2b
108
+ - 67f89e28-aa49-4c9a-8e2f-e2956165604d
119
109
  X-Runtime:
120
- - '0.015333'
121
- Connection:
122
- - keep-alive
123
- Server:
124
- - thin
110
+ - '0.015504'
111
+ Content-Length:
112
+ - '32'
125
113
  body:
126
114
  encoding: UTF-8
127
- string: '{"token":"NuCxqFfvpry9osYdFUm1"}'
115
+ string: '{"token":"v6XDp282UyPDeM6DgA-S"}'
128
116
  http_version:
129
- recorded_at: Mon, 04 May 2015 13:53:08 GMT
117
+ recorded_at: Wed, 29 Jul 2015 15:36:37 GMT
130
118
  - request:
131
119
  method: post
132
120
  uri: http://localhost:3000/locomotive/sample/api/v3/content_types/articles/entries.json
133
121
  body:
134
122
  encoding: UTF-8
135
- string: auth_token=NuCxqFfvpry9osYdFUm1&content_entry%5Btitle%5D=Hello+world
123
+ string: auth_token=v6XDp282UyPDeM6DgA-S&content_entry%5Btitle%5D=Hello+world
136
124
  headers:
137
125
  Accept:
138
126
  - application/json
139
127
  X-Locomotive-Account-Email:
140
128
  - admin@locomotivecms.com
141
129
  X-Locomotive-Account-Token:
142
- - NuCxqFfvpry9osYdFUm1
130
+ - v6XDp282UyPDeM6DgA-S
143
131
  Content-Type:
144
132
  - application/x-www-form-urlencoded
145
133
  Accept-Encoding:
@@ -153,40 +141,36 @@ http_interactions:
153
141
  headers:
154
142
  Content-Type:
155
143
  - application/json
156
- Content-Length:
157
- - '296'
158
144
  Etag:
159
- - W/"4f7bbc721762f2691795e834cd5340b7"
145
+ - W/"0b735fb40f54de44d0127ef4654ac04e"
160
146
  Cache-Control:
161
147
  - max-age=0, private, must-revalidate
162
148
  X-Request-Id:
163
- - 8e2adf49-e3d3-48f0-a276-8e993e3ae1fb
149
+ - e51454c5-8d50-4f68-8ed2-375ddbdca51d
164
150
  X-Runtime:
165
- - '0.061399'
166
- Connection:
167
- - keep-alive
168
- Server:
169
- - thin
151
+ - '0.079766'
152
+ Content-Length:
153
+ - '296'
170
154
  body:
171
155
  encoding: UTF-8
172
- string: '{"_id":"554779c46469643251360300","created_at":"2015-05-04T13:53:08Z","updated_at":"2015-05-04T13:53:08Z","_slug":"hello-world","content_type_slug":"articles","_label":"Hello
156
+ string: '{"_id":"55b8f305446964641a000012","created_at":"2015-07-29T15:36:37Z","updated_at":"2015-07-29T15:36:37Z","_slug":"hello-world","content_type_slug":"articles","_label":"Hello
173
157
  world","_position":0,"_visible":true,"seo_title":null,"meta_keywords":null,"meta_description":null,"title":"Hello
174
158
  world"}'
175
159
  http_version:
176
- recorded_at: Mon, 04 May 2015 13:53:08 GMT
160
+ recorded_at: Wed, 29 Jul 2015 15:36:37 GMT
177
161
  - request:
178
162
  method: post
179
163
  uri: http://localhost:3000/locomotive/sample/api/v3/content_types/articles/entries.json
180
164
  body:
181
165
  encoding: UTF-8
182
- string: auth_token=NuCxqFfvpry9osYdFUm1&content_entry%5Btitle%5D=Lorem+ipsum
166
+ string: auth_token=v6XDp282UyPDeM6DgA-S&content_entry%5Btitle%5D=Lorem+ipsum
183
167
  headers:
184
168
  Accept:
185
169
  - application/json
186
170
  X-Locomotive-Account-Email:
187
171
  - admin@locomotivecms.com
188
172
  X-Locomotive-Account-Token:
189
- - NuCxqFfvpry9osYdFUm1
173
+ - v6XDp282UyPDeM6DgA-S
190
174
  Content-Type:
191
175
  - application/x-www-form-urlencoded
192
176
  Accept-Encoding:
@@ -200,42 +184,36 @@ http_interactions:
200
184
  headers:
201
185
  Content-Type:
202
186
  - application/json
203
- Content-Length:
204
- - '296'
205
187
  Etag:
206
- - W/"69adc8f6a87970faaf7c06b8333becdc"
188
+ - W/"357ec6fa47b242b2edbac9bfdd578f1f"
207
189
  Cache-Control:
208
190
  - max-age=0, private, must-revalidate
209
191
  X-Request-Id:
210
- - 96748e6d-79a9-411b-8471-152f137c8772
192
+ - 952d6a4c-25ce-45da-a8fc-6c914297d0b8
211
193
  X-Runtime:
212
- - '0.034541'
213
- Connection:
214
- - keep-alive
215
- Server:
216
- - thin
194
+ - '0.038038'
195
+ Content-Length:
196
+ - '296'
217
197
  body:
218
198
  encoding: UTF-8
219
- string: '{"_id":"554779c46469643251380300","created_at":"2015-05-04T13:53:08Z","updated_at":"2015-05-04T13:53:08Z","_slug":"lorem-ipsum","content_type_slug":"articles","_label":"Lorem
199
+ string: '{"_id":"55b8f305446964641a000015","created_at":"2015-07-29T15:36:37Z","updated_at":"2015-07-29T15:36:37Z","_slug":"lorem-ipsum","content_type_slug":"articles","_label":"Lorem
220
200
  ipsum","_position":1,"_visible":true,"seo_title":null,"meta_keywords":null,"meta_description":null,"title":"Lorem
221
201
  ipsum"}'
222
202
  http_version:
223
- recorded_at: Mon, 04 May 2015 13:53:08 GMT
203
+ recorded_at: Wed, 29 Jul 2015 15:36:37 GMT
224
204
  - request:
225
205
  method: get
226
- uri: http://localhost:3000/locomotive/sample/api/v3/content_types/articles/entries.json
206
+ uri: http://localhost:3000/locomotive/sample/api/v3/content_types/articles/entries.json?auth_token=v6XDp282UyPDeM6DgA-S&where=%7B%7D
227
207
  body:
228
- encoding: UTF-8
229
- string: auth_token=NuCxqFfvpry9osYdFUm1&where=%7B%7D
208
+ encoding: US-ASCII
209
+ string: ''
230
210
  headers:
231
211
  Accept:
232
212
  - application/json
233
213
  X-Locomotive-Account-Email:
234
214
  - admin@locomotivecms.com
235
215
  X-Locomotive-Account-Token:
236
- - NuCxqFfvpry9osYdFUm1
237
- Content-Type:
238
- - application/x-www-form-urlencoded
216
+ - v6XDp282UyPDeM6DgA-S
239
217
  Accept-Encoding:
240
218
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
241
219
  User-Agent:
@@ -253,44 +231,38 @@ http_interactions:
253
231
  - '2'
254
232
  Content-Type:
255
233
  - application/json
256
- Content-Length:
257
- - '595'
258
234
  Etag:
259
- - W/"6b78a029e32eb9e5d6861eb86994db52"
235
+ - W/"85e5f2810a43934bbda9a867991227db"
260
236
  Cache-Control:
261
237
  - max-age=0, private, must-revalidate
262
238
  X-Request-Id:
263
- - c38212f8-54e7-44c7-bb7f-487857b0f1ad
239
+ - e420d648-9364-47f3-9b02-b45e3b4b36c9
264
240
  X-Runtime:
265
- - '0.035506'
266
- Connection:
267
- - keep-alive
268
- Server:
269
- - thin
241
+ - '0.035493'
242
+ Content-Length:
243
+ - '595'
270
244
  body:
271
245
  encoding: UTF-8
272
- string: '[{"_id":"554779c46469643251360300","created_at":"2015-05-04T13:53:08Z","updated_at":"2015-05-04T13:53:08Z","_slug":"hello-world","content_type_slug":"articles","_label":"Hello
246
+ string: '[{"_id":"55b8f305446964641a000012","created_at":"2015-07-29T15:36:37Z","updated_at":"2015-07-29T15:36:37Z","_slug":"hello-world","content_type_slug":"articles","_label":"Hello
273
247
  world","_position":0,"_visible":true,"seo_title":null,"meta_keywords":null,"meta_description":null,"title":"Hello
274
- world"},{"_id":"554779c46469643251380300","created_at":"2015-05-04T13:53:08Z","updated_at":"2015-05-04T13:53:08Z","_slug":"lorem-ipsum","content_type_slug":"articles","_label":"Lorem
248
+ world"},{"_id":"55b8f305446964641a000015","created_at":"2015-07-29T15:36:37Z","updated_at":"2015-07-29T15:36:37Z","_slug":"lorem-ipsum","content_type_slug":"articles","_label":"Lorem
275
249
  ipsum","_position":1,"_visible":true,"seo_title":null,"meta_keywords":null,"meta_description":null,"title":"Lorem
276
250
  ipsum"}]'
277
251
  http_version:
278
- recorded_at: Mon, 04 May 2015 13:53:08 GMT
252
+ recorded_at: Wed, 29 Jul 2015 15:36:37 GMT
279
253
  - request:
280
254
  method: delete
281
- uri: http://localhost:3000/locomotive/sample/api/v3/content_types/articles/entries/hello-world.json
255
+ uri: http://localhost:3000/locomotive/sample/api/v3/content_types/articles/entries/hello-world.json?auth_token=v6XDp282UyPDeM6DgA-S
282
256
  body:
283
- encoding: UTF-8
284
- string: auth_token=NuCxqFfvpry9osYdFUm1
257
+ encoding: US-ASCII
258
+ string: ''
285
259
  headers:
286
260
  Accept:
287
261
  - application/json
288
262
  X-Locomotive-Account-Email:
289
263
  - admin@locomotivecms.com
290
264
  X-Locomotive-Account-Token:
291
- - NuCxqFfvpry9osYdFUm1
292
- Content-Type:
293
- - application/x-www-form-urlencoded
265
+ - v6XDp282UyPDeM6DgA-S
294
266
  Accept-Encoding:
295
267
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
296
268
  User-Agent:
@@ -302,42 +274,36 @@ http_interactions:
302
274
  headers:
303
275
  Content-Type:
304
276
  - application/json
305
- Content-Length:
306
- - '296'
307
277
  Etag:
308
- - W/"4f7bbc721762f2691795e834cd5340b7"
278
+ - W/"0b735fb40f54de44d0127ef4654ac04e"
309
279
  Cache-Control:
310
280
  - max-age=0, private, must-revalidate
311
281
  X-Request-Id:
312
- - cf8cdac2-7842-482d-a433-e0d6c7f375d9
282
+ - d71d327e-04b7-4a41-b259-e56625f4d52e
313
283
  X-Runtime:
314
- - '0.028457'
315
- Connection:
316
- - keep-alive
317
- Server:
318
- - thin
284
+ - '0.030153'
285
+ Content-Length:
286
+ - '296'
319
287
  body:
320
288
  encoding: UTF-8
321
- string: '{"_id":"554779c46469643251360300","created_at":"2015-05-04T13:53:08Z","updated_at":"2015-05-04T13:53:08Z","_slug":"hello-world","content_type_slug":"articles","_label":"Hello
289
+ string: '{"_id":"55b8f305446964641a000012","created_at":"2015-07-29T15:36:37Z","updated_at":"2015-07-29T15:36:37Z","_slug":"hello-world","content_type_slug":"articles","_label":"Hello
322
290
  world","_position":0,"_visible":true,"seo_title":null,"meta_keywords":null,"meta_description":null,"title":"Hello
323
291
  world"}'
324
292
  http_version:
325
- recorded_at: Mon, 04 May 2015 13:53:08 GMT
293
+ recorded_at: Wed, 29 Jul 2015 15:36:37 GMT
326
294
  - request:
327
295
  method: delete
328
- uri: http://localhost:3000/locomotive/sample/api/v3/content_types/articles/entries/lorem-ipsum.json
296
+ uri: http://localhost:3000/locomotive/sample/api/v3/content_types/articles/entries/lorem-ipsum.json?auth_token=v6XDp282UyPDeM6DgA-S
329
297
  body:
330
- encoding: UTF-8
331
- string: auth_token=NuCxqFfvpry9osYdFUm1
298
+ encoding: US-ASCII
299
+ string: ''
332
300
  headers:
333
301
  Accept:
334
302
  - application/json
335
303
  X-Locomotive-Account-Email:
336
304
  - admin@locomotivecms.com
337
305
  X-Locomotive-Account-Token:
338
- - NuCxqFfvpry9osYdFUm1
339
- Content-Type:
340
- - application/x-www-form-urlencoded
306
+ - v6XDp282UyPDeM6DgA-S
341
307
  Accept-Encoding:
342
308
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
343
309
  User-Agent:
@@ -349,27 +315,23 @@ http_interactions:
349
315
  headers:
350
316
  Content-Type:
351
317
  - application/json
352
- Content-Length:
353
- - '296'
354
318
  Etag:
355
- - W/"69adc8f6a87970faaf7c06b8333becdc"
319
+ - W/"357ec6fa47b242b2edbac9bfdd578f1f"
356
320
  Cache-Control:
357
321
  - max-age=0, private, must-revalidate
358
322
  X-Request-Id:
359
- - d87c8190-b7b1-4b2b-9fe7-3bc0e704e5c7
323
+ - c6f5bf69-4d7b-4c95-a4e7-800ea6efe856
360
324
  X-Runtime:
361
- - '0.029785'
362
- Connection:
363
- - keep-alive
364
- Server:
365
- - thin
325
+ - '0.030237'
326
+ Content-Length:
327
+ - '296'
366
328
  body:
367
329
  encoding: UTF-8
368
- string: '{"_id":"554779c46469643251380300","created_at":"2015-05-04T13:53:08Z","updated_at":"2015-05-04T13:53:08Z","_slug":"lorem-ipsum","content_type_slug":"articles","_label":"Lorem
330
+ string: '{"_id":"55b8f305446964641a000015","created_at":"2015-07-29T15:36:37Z","updated_at":"2015-07-29T15:36:37Z","_slug":"lorem-ipsum","content_type_slug":"articles","_label":"Lorem
369
331
  ipsum","_position":1,"_visible":true,"seo_title":null,"meta_keywords":null,"meta_description":null,"title":"Lorem
370
332
  ipsum"}'
371
333
  http_version:
372
- recorded_at: Mon, 04 May 2015 13:53:08 GMT
334
+ recorded_at: Wed, 29 Jul 2015 15:36:37 GMT
373
335
  - request:
374
336
  method: post
375
337
  uri: http://localhost:3000/locomotive/api/v3/tokens.json
@@ -392,38 +354,34 @@ http_interactions:
392
354
  headers:
393
355
  Content-Type:
394
356
  - application/json
395
- Content-Length:
396
- - '32'
397
357
  Etag:
398
- - W/"61c6d81d1b41b9aad218fbfd9bec3e38"
358
+ - W/"157eb61d395f237526d11950bbc5a1fa"
399
359
  Cache-Control:
400
360
  - max-age=0, private, must-revalidate
401
361
  X-Request-Id:
402
- - 8e1c7680-5acc-49b5-8091-595748b29cb3
362
+ - 66fd11a6-973c-4b87-8777-53f90bf7dde9
403
363
  X-Runtime:
404
- - '0.014975'
405
- Connection:
406
- - keep-alive
407
- Server:
408
- - thin
364
+ - '0.014982'
365
+ Content-Length:
366
+ - '32'
409
367
  body:
410
368
  encoding: UTF-8
411
- string: '{"token":"NuCxqFfvpry9osYdFUm1"}'
369
+ string: '{"token":"v6XDp282UyPDeM6DgA-S"}'
412
370
  http_version:
413
- recorded_at: Mon, 04 May 2015 13:53:08 GMT
371
+ recorded_at: Wed, 29 Jul 2015 15:36:37 GMT
414
372
  - request:
415
373
  method: post
416
374
  uri: http://localhost:3000/locomotive/sample/api/v3/content_types/articles/entries.json
417
375
  body:
418
376
  encoding: UTF-8
419
- string: auth_token=NuCxqFfvpry9osYdFUm1&content_entry%5Btitle%5D=Hello+world
377
+ string: auth_token=v6XDp282UyPDeM6DgA-S&content_entry%5Btitle%5D=Hello+world
420
378
  headers:
421
379
  Accept:
422
380
  - application/json
423
381
  X-Locomotive-Account-Email:
424
382
  - admin@locomotivecms.com
425
383
  X-Locomotive-Account-Token:
426
- - NuCxqFfvpry9osYdFUm1
384
+ - v6XDp282UyPDeM6DgA-S
427
385
  Content-Type:
428
386
  - application/x-www-form-urlencoded
429
387
  Accept-Encoding:
@@ -437,40 +395,36 @@ http_interactions:
437
395
  headers:
438
396
  Content-Type:
439
397
  - application/json
440
- Content-Length:
441
- - '296'
442
398
  Etag:
443
- - W/"9235f258633afdaee4ca4d49b2e48e95"
399
+ - W/"8b3b2840289ad1bb91eeb35a01877f75"
444
400
  Cache-Control:
445
401
  - max-age=0, private, must-revalidate
446
402
  X-Request-Id:
447
- - eaabb738-2c57-44da-a426-6e718d375a71
403
+ - 3efd12b3-bbf7-443e-8f76-fd63600f5416
448
404
  X-Runtime:
449
- - '0.062553'
450
- Connection:
451
- - keep-alive
452
- Server:
453
- - thin
405
+ - '0.048831'
406
+ Content-Length:
407
+ - '296'
454
408
  body:
455
409
  encoding: UTF-8
456
- string: '{"_id":"554779c464696432513a0300","created_at":"2015-05-04T13:53:08Z","updated_at":"2015-05-04T13:53:08Z","_slug":"hello-world","content_type_slug":"articles","_label":"Hello
410
+ string: '{"_id":"55b8f305446964641a000018","created_at":"2015-07-29T15:36:37Z","updated_at":"2015-07-29T15:36:37Z","_slug":"hello-world","content_type_slug":"articles","_label":"Hello
457
411
  world","_position":0,"_visible":true,"seo_title":null,"meta_keywords":null,"meta_description":null,"title":"Hello
458
412
  world"}'
459
413
  http_version:
460
- recorded_at: Mon, 04 May 2015 13:53:08 GMT
414
+ recorded_at: Wed, 29 Jul 2015 15:36:37 GMT
461
415
  - request:
462
416
  method: post
463
417
  uri: http://localhost:3000/locomotive/sample/api/v3/content_types/articles/entries.json
464
418
  body:
465
419
  encoding: UTF-8
466
- string: auth_token=NuCxqFfvpry9osYdFUm1&content_entry%5Btitle%5D=Lorem+ipsum
420
+ string: auth_token=v6XDp282UyPDeM6DgA-S&content_entry%5Btitle%5D=Lorem+ipsum
467
421
  headers:
468
422
  Accept:
469
423
  - application/json
470
424
  X-Locomotive-Account-Email:
471
425
  - admin@locomotivecms.com
472
426
  X-Locomotive-Account-Token:
473
- - NuCxqFfvpry9osYdFUm1
427
+ - v6XDp282UyPDeM6DgA-S
474
428
  Content-Type:
475
429
  - application/x-www-form-urlencoded
476
430
  Accept-Encoding:
@@ -484,42 +438,36 @@ http_interactions:
484
438
  headers:
485
439
  Content-Type:
486
440
  - application/json
487
- Content-Length:
488
- - '296'
489
441
  Etag:
490
- - W/"d56c019d5c1bf287b4c667ba18d92b62"
442
+ - W/"478a7175ad8290f17f5ece863621b9d5"
491
443
  Cache-Control:
492
444
  - max-age=0, private, must-revalidate
493
445
  X-Request-Id:
494
- - d295d99d-93e6-45f3-8379-1aee3291bf54
446
+ - bfb6fed5-dc05-44ba-9a34-8a70bf7cb99c
495
447
  X-Runtime:
496
- - '0.036524'
497
- Connection:
498
- - keep-alive
499
- Server:
500
- - thin
448
+ - '0.044631'
449
+ Content-Length:
450
+ - '296'
501
451
  body:
502
452
  encoding: UTF-8
503
- string: '{"_id":"554779c464696432513c0300","created_at":"2015-05-04T13:53:08Z","updated_at":"2015-05-04T13:53:08Z","_slug":"lorem-ipsum","content_type_slug":"articles","_label":"Lorem
453
+ string: '{"_id":"55b8f305446964641a00001b","created_at":"2015-07-29T15:36:37Z","updated_at":"2015-07-29T15:36:37Z","_slug":"lorem-ipsum","content_type_slug":"articles","_label":"Lorem
504
454
  ipsum","_position":1,"_visible":true,"seo_title":null,"meta_keywords":null,"meta_description":null,"title":"Lorem
505
455
  ipsum"}'
506
456
  http_version:
507
- recorded_at: Mon, 04 May 2015 13:53:08 GMT
457
+ recorded_at: Wed, 29 Jul 2015 15:36:37 GMT
508
458
  - request:
509
459
  method: get
510
- uri: http://localhost:3000/locomotive/sample/api/v3/content_types/articles/entries.json
460
+ uri: http://localhost:3000/locomotive/sample/api/v3/content_types/articles/entries.json?auth_token=v6XDp282UyPDeM6DgA-S&page=2&per_page=1&where=%7B%7D
511
461
  body:
512
- encoding: UTF-8
513
- string: auth_token=NuCxqFfvpry9osYdFUm1&page=2&per_page=1&where=%7B%7D
462
+ encoding: US-ASCII
463
+ string: ''
514
464
  headers:
515
465
  Accept:
516
466
  - application/json
517
467
  X-Locomotive-Account-Email:
518
468
  - admin@locomotivecms.com
519
469
  X-Locomotive-Account-Token:
520
- - NuCxqFfvpry9osYdFUm1
521
- Content-Type:
522
- - application/x-www-form-urlencoded
470
+ - v6XDp282UyPDeM6DgA-S
523
471
  Accept-Encoding:
524
472
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
525
473
  User-Agent:
@@ -537,42 +485,36 @@ http_interactions:
537
485
  - '2'
538
486
  Content-Type:
539
487
  - application/json
540
- Content-Length:
541
- - '298'
542
488
  Etag:
543
- - W/"df5372bb8068a367894bf736a97d2268"
489
+ - W/"176a7c6b45dfafd30da24655cdccc6c0"
544
490
  Cache-Control:
545
491
  - max-age=0, private, must-revalidate
546
492
  X-Request-Id:
547
- - d3087a57-e007-4d2d-b15d-63b5c2d328dc
493
+ - a12e554b-d588-4b85-bd97-a265a0f74687
548
494
  X-Runtime:
549
- - '0.029519'
550
- Connection:
551
- - keep-alive
552
- Server:
553
- - thin
495
+ - '0.028017'
496
+ Content-Length:
497
+ - '298'
554
498
  body:
555
499
  encoding: UTF-8
556
- string: '[{"_id":"554779c464696432513c0300","created_at":"2015-05-04T13:53:08Z","updated_at":"2015-05-04T13:53:08Z","_slug":"lorem-ipsum","content_type_slug":"articles","_label":"Lorem
500
+ string: '[{"_id":"55b8f305446964641a00001b","created_at":"2015-07-29T15:36:37Z","updated_at":"2015-07-29T15:36:37Z","_slug":"lorem-ipsum","content_type_slug":"articles","_label":"Lorem
557
501
  ipsum","_position":1,"_visible":true,"seo_title":null,"meta_keywords":null,"meta_description":null,"title":"Lorem
558
502
  ipsum"}]'
559
503
  http_version:
560
- recorded_at: Mon, 04 May 2015 13:53:08 GMT
504
+ recorded_at: Wed, 29 Jul 2015 15:36:38 GMT
561
505
  - request:
562
506
  method: delete
563
- uri: http://localhost:3000/locomotive/sample/api/v3/content_types/articles/entries/hello-world.json
507
+ uri: http://localhost:3000/locomotive/sample/api/v3/content_types/articles/entries/hello-world.json?auth_token=v6XDp282UyPDeM6DgA-S
564
508
  body:
565
- encoding: UTF-8
566
- string: auth_token=NuCxqFfvpry9osYdFUm1
509
+ encoding: US-ASCII
510
+ string: ''
567
511
  headers:
568
512
  Accept:
569
513
  - application/json
570
514
  X-Locomotive-Account-Email:
571
515
  - admin@locomotivecms.com
572
516
  X-Locomotive-Account-Token:
573
- - NuCxqFfvpry9osYdFUm1
574
- Content-Type:
575
- - application/x-www-form-urlencoded
517
+ - v6XDp282UyPDeM6DgA-S
576
518
  Accept-Encoding:
577
519
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
578
520
  User-Agent:
@@ -584,42 +526,36 @@ http_interactions:
584
526
  headers:
585
527
  Content-Type:
586
528
  - application/json
587
- Content-Length:
588
- - '296'
589
529
  Etag:
590
- - W/"9235f258633afdaee4ca4d49b2e48e95"
530
+ - W/"8b3b2840289ad1bb91eeb35a01877f75"
591
531
  Cache-Control:
592
532
  - max-age=0, private, must-revalidate
593
533
  X-Request-Id:
594
- - 5e49b9db-d273-49a5-a64f-9f3848520a22
534
+ - 21f58e3b-e8cc-4534-9a1b-640fee85fa40
595
535
  X-Runtime:
596
- - '0.029629'
597
- Connection:
598
- - keep-alive
599
- Server:
600
- - thin
536
+ - '0.029942'
537
+ Content-Length:
538
+ - '296'
601
539
  body:
602
540
  encoding: UTF-8
603
- string: '{"_id":"554779c464696432513a0300","created_at":"2015-05-04T13:53:08Z","updated_at":"2015-05-04T13:53:08Z","_slug":"hello-world","content_type_slug":"articles","_label":"Hello
541
+ string: '{"_id":"55b8f305446964641a000018","created_at":"2015-07-29T15:36:37Z","updated_at":"2015-07-29T15:36:37Z","_slug":"hello-world","content_type_slug":"articles","_label":"Hello
604
542
  world","_position":0,"_visible":true,"seo_title":null,"meta_keywords":null,"meta_description":null,"title":"Hello
605
543
  world"}'
606
544
  http_version:
607
- recorded_at: Mon, 04 May 2015 13:53:08 GMT
545
+ recorded_at: Wed, 29 Jul 2015 15:36:38 GMT
608
546
  - request:
609
547
  method: delete
610
- uri: http://localhost:3000/locomotive/sample/api/v3/content_types/articles/entries/lorem-ipsum.json
548
+ uri: http://localhost:3000/locomotive/sample/api/v3/content_types/articles/entries/lorem-ipsum.json?auth_token=v6XDp282UyPDeM6DgA-S
611
549
  body:
612
- encoding: UTF-8
613
- string: auth_token=NuCxqFfvpry9osYdFUm1
550
+ encoding: US-ASCII
551
+ string: ''
614
552
  headers:
615
553
  Accept:
616
554
  - application/json
617
555
  X-Locomotive-Account-Email:
618
556
  - admin@locomotivecms.com
619
557
  X-Locomotive-Account-Token:
620
- - NuCxqFfvpry9osYdFUm1
621
- Content-Type:
622
- - application/x-www-form-urlencoded
558
+ - v6XDp282UyPDeM6DgA-S
623
559
  Accept-Encoding:
624
560
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
625
561
  User-Agent:
@@ -631,27 +567,23 @@ http_interactions:
631
567
  headers:
632
568
  Content-Type:
633
569
  - application/json
634
- Content-Length:
635
- - '296'
636
570
  Etag:
637
- - W/"d56c019d5c1bf287b4c667ba18d92b62"
571
+ - W/"478a7175ad8290f17f5ece863621b9d5"
638
572
  Cache-Control:
639
573
  - max-age=0, private, must-revalidate
640
574
  X-Request-Id:
641
- - c107431a-bc3d-41d1-bc56-d9487596ddf0
575
+ - 610550c6-ed7d-4791-a1ca-d34133429302
642
576
  X-Runtime:
643
- - '0.029452'
644
- Connection:
645
- - keep-alive
646
- Server:
647
- - thin
577
+ - '0.029681'
578
+ Content-Length:
579
+ - '296'
648
580
  body:
649
581
  encoding: UTF-8
650
- string: '{"_id":"554779c464696432513c0300","created_at":"2015-05-04T13:53:08Z","updated_at":"2015-05-04T13:53:08Z","_slug":"lorem-ipsum","content_type_slug":"articles","_label":"Lorem
582
+ string: '{"_id":"55b8f305446964641a00001b","created_at":"2015-07-29T15:36:37Z","updated_at":"2015-07-29T15:36:37Z","_slug":"lorem-ipsum","content_type_slug":"articles","_label":"Lorem
651
583
  ipsum","_position":1,"_visible":true,"seo_title":null,"meta_keywords":null,"meta_description":null,"title":"Lorem
652
584
  ipsum"}'
653
585
  http_version:
654
- recorded_at: Mon, 04 May 2015 13:53:08 GMT
586
+ recorded_at: Wed, 29 Jul 2015 15:36:38 GMT
655
587
  - request:
656
588
  method: post
657
589
  uri: http://localhost:3000/locomotive/api/v3/tokens.json
@@ -674,38 +606,34 @@ http_interactions:
674
606
  headers:
675
607
  Content-Type:
676
608
  - application/json
677
- Content-Length:
678
- - '32'
679
609
  Etag:
680
- - W/"61c6d81d1b41b9aad218fbfd9bec3e38"
610
+ - W/"157eb61d395f237526d11950bbc5a1fa"
681
611
  Cache-Control:
682
612
  - max-age=0, private, must-revalidate
683
613
  X-Request-Id:
684
- - 77bb09be-4e32-4bf7-b78c-971ffe84fdc2
614
+ - 5deda3b4-c6d5-421a-84c5-2d7245f688fe
685
615
  X-Runtime:
686
- - '0.015073'
687
- Connection:
688
- - keep-alive
689
- Server:
690
- - thin
616
+ - '0.014866'
617
+ Content-Length:
618
+ - '32'
691
619
  body:
692
620
  encoding: UTF-8
693
- string: '{"token":"NuCxqFfvpry9osYdFUm1"}'
621
+ string: '{"token":"v6XDp282UyPDeM6DgA-S"}'
694
622
  http_version:
695
- recorded_at: Mon, 04 May 2015 13:53:08 GMT
623
+ recorded_at: Wed, 29 Jul 2015 15:36:38 GMT
696
624
  - request:
697
625
  method: post
698
626
  uri: http://localhost:3000/locomotive/sample/api/v3/content_types/articles/entries.json
699
627
  body:
700
628
  encoding: UTF-8
701
- string: auth_token=NuCxqFfvpry9osYdFUm1&content_entry%5Btitle%5D=Hello+world
629
+ string: auth_token=v6XDp282UyPDeM6DgA-S&content_entry%5Btitle%5D=Hello+world
702
630
  headers:
703
631
  Accept:
704
632
  - application/json
705
633
  X-Locomotive-Account-Email:
706
634
  - admin@locomotivecms.com
707
635
  X-Locomotive-Account-Token:
708
- - NuCxqFfvpry9osYdFUm1
636
+ - v6XDp282UyPDeM6DgA-S
709
637
  Content-Type:
710
638
  - application/x-www-form-urlencoded
711
639
  Accept-Encoding:
@@ -719,40 +647,36 @@ http_interactions:
719
647
  headers:
720
648
  Content-Type:
721
649
  - application/json
722
- Content-Length:
723
- - '296'
724
650
  Etag:
725
- - W/"7be86633221c5d85c2637e13468a9a1b"
651
+ - W/"b104fbe3c30f9f9ddca67e4013015198"
726
652
  Cache-Control:
727
653
  - max-age=0, private, must-revalidate
728
654
  X-Request-Id:
729
- - 4ccaf083-efc9-4ddb-8037-4945e159ebbe
655
+ - 7c6edca5-706b-45ce-a991-48849bd307f9
730
656
  X-Runtime:
731
- - '0.049922'
732
- Connection:
733
- - keep-alive
734
- Server:
735
- - thin
657
+ - '0.046279'
658
+ Content-Length:
659
+ - '296'
736
660
  body:
737
661
  encoding: UTF-8
738
- string: '{"_id":"554779c464696432513e0300","created_at":"2015-05-04T13:53:08Z","updated_at":"2015-05-04T13:53:08Z","_slug":"hello-world","content_type_slug":"articles","_label":"Hello
662
+ string: '{"_id":"55b8f306446964641a00001e","created_at":"2015-07-29T15:36:38Z","updated_at":"2015-07-29T15:36:38Z","_slug":"hello-world","content_type_slug":"articles","_label":"Hello
739
663
  world","_position":0,"_visible":true,"seo_title":null,"meta_keywords":null,"meta_description":null,"title":"Hello
740
664
  world"}'
741
665
  http_version:
742
- recorded_at: Mon, 04 May 2015 13:53:08 GMT
666
+ recorded_at: Wed, 29 Jul 2015 15:36:38 GMT
743
667
  - request:
744
668
  method: post
745
669
  uri: http://localhost:3000/locomotive/sample/api/v3/content_types/articles/entries.json
746
670
  body:
747
671
  encoding: UTF-8
748
- string: auth_token=NuCxqFfvpry9osYdFUm1&content_entry%5Btitle%5D=Lorem+ipsum
672
+ string: auth_token=v6XDp282UyPDeM6DgA-S&content_entry%5Btitle%5D=Lorem+ipsum
749
673
  headers:
750
674
  Accept:
751
675
  - application/json
752
676
  X-Locomotive-Account-Email:
753
677
  - admin@locomotivecms.com
754
678
  X-Locomotive-Account-Token:
755
- - NuCxqFfvpry9osYdFUm1
679
+ - v6XDp282UyPDeM6DgA-S
756
680
  Content-Type:
757
681
  - application/x-www-form-urlencoded
758
682
  Accept-Encoding:
@@ -766,42 +690,36 @@ http_interactions:
766
690
  headers:
767
691
  Content-Type:
768
692
  - application/json
769
- Content-Length:
770
- - '296'
771
693
  Etag:
772
- - W/"bcb2ee025c9ae73aee1786c9a1fec4ce"
694
+ - W/"cc7c88eb32d0c57a248890781aa5c0ee"
773
695
  Cache-Control:
774
696
  - max-age=0, private, must-revalidate
775
697
  X-Request-Id:
776
- - 714b8c7d-dbf8-4576-856b-f26a472d6a5e
698
+ - 266a8e37-d7a6-4c08-9155-dde3235049f5
777
699
  X-Runtime:
778
- - '0.034889'
779
- Connection:
780
- - keep-alive
781
- Server:
782
- - thin
700
+ - '0.044459'
701
+ Content-Length:
702
+ - '296'
783
703
  body:
784
704
  encoding: UTF-8
785
- string: '{"_id":"554779c56469643251400300","created_at":"2015-05-04T13:53:09Z","updated_at":"2015-05-04T13:53:09Z","_slug":"lorem-ipsum","content_type_slug":"articles","_label":"Lorem
705
+ string: '{"_id":"55b8f306446964641a000021","created_at":"2015-07-29T15:36:38Z","updated_at":"2015-07-29T15:36:38Z","_slug":"lorem-ipsum","content_type_slug":"articles","_label":"Lorem
786
706
  ipsum","_position":1,"_visible":true,"seo_title":null,"meta_keywords":null,"meta_description":null,"title":"Lorem
787
707
  ipsum"}'
788
708
  http_version:
789
- recorded_at: Mon, 04 May 2015 13:53:09 GMT
709
+ recorded_at: Wed, 29 Jul 2015 15:36:38 GMT
790
710
  - request:
791
711
  method: get
792
- uri: http://localhost:3000/locomotive/sample/api/v3/content_types/articles/entries.json
712
+ uri: http://localhost:3000/locomotive/sample/api/v3/content_types/articles/entries.json?auth_token=v6XDp282UyPDeM6DgA-S&where=%7B%22_visible%22:true,%22title%22:%22Hello%20world%22%7D
793
713
  body:
794
- encoding: UTF-8
795
- string: auth_token=NuCxqFfvpry9osYdFUm1&where=%7B%22_visible%22%3Atrue%2C%22title%22%3A%22Hello+world%22%7D
714
+ encoding: US-ASCII
715
+ string: ''
796
716
  headers:
797
717
  Accept:
798
718
  - application/json
799
719
  X-Locomotive-Account-Email:
800
720
  - admin@locomotivecms.com
801
721
  X-Locomotive-Account-Token:
802
- - NuCxqFfvpry9osYdFUm1
803
- Content-Type:
804
- - application/x-www-form-urlencoded
722
+ - v6XDp282UyPDeM6DgA-S
805
723
  Accept-Encoding:
806
724
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
807
725
  User-Agent:
@@ -819,42 +737,77 @@ http_interactions:
819
737
  - '1'
820
738
  Content-Type:
821
739
  - application/json
822
- Content-Length:
823
- - '298'
824
740
  Etag:
825
- - W/"ef84aaecf9796904113af1dbc1f12bad"
741
+ - W/"b315df6fd4d8d06a5e27a36b16d870df"
826
742
  Cache-Control:
827
743
  - max-age=0, private, must-revalidate
828
744
  X-Request-Id:
829
- - c870cc02-9d29-4b68-b39d-abf6d9a62e1a
745
+ - 085f0b4b-fad6-4c88-89f8-24325026fdcf
830
746
  X-Runtime:
831
- - '0.027913'
832
- Connection:
833
- - keep-alive
834
- Server:
835
- - thin
747
+ - '0.029219'
748
+ Content-Length:
749
+ - '298'
836
750
  body:
837
751
  encoding: UTF-8
838
- string: '[{"_id":"554779c464696432513e0300","created_at":"2015-05-04T13:53:08Z","updated_at":"2015-05-04T13:53:08Z","_slug":"hello-world","content_type_slug":"articles","_label":"Hello
752
+ string: '[{"_id":"55b8f306446964641a00001e","created_at":"2015-07-29T15:36:38Z","updated_at":"2015-07-29T15:36:38Z","_slug":"hello-world","content_type_slug":"articles","_label":"Hello
839
753
  world","_position":0,"_visible":true,"seo_title":null,"meta_keywords":null,"meta_description":null,"title":"Hello
840
754
  world"}]'
841
755
  http_version:
842
- recorded_at: Mon, 04 May 2015 13:53:09 GMT
756
+ recorded_at: Wed, 29 Jul 2015 15:36:38 GMT
843
757
  - request:
844
758
  method: delete
845
- uri: http://localhost:3000/locomotive/sample/api/v3/content_types/articles/entries/hello-world.json
759
+ uri: http://localhost:3000/locomotive/sample/api/v3/content_types/articles/entries/hello-world.json?auth_token=v6XDp282UyPDeM6DgA-S
846
760
  body:
847
- encoding: UTF-8
848
- string: auth_token=NuCxqFfvpry9osYdFUm1
761
+ encoding: US-ASCII
762
+ string: ''
849
763
  headers:
850
764
  Accept:
851
765
  - application/json
852
766
  X-Locomotive-Account-Email:
853
767
  - admin@locomotivecms.com
854
768
  X-Locomotive-Account-Token:
855
- - NuCxqFfvpry9osYdFUm1
769
+ - v6XDp282UyPDeM6DgA-S
770
+ Accept-Encoding:
771
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
772
+ User-Agent:
773
+ - Ruby
774
+ response:
775
+ status:
776
+ code: 200
777
+ message: OK
778
+ headers:
856
779
  Content-Type:
857
- - application/x-www-form-urlencoded
780
+ - application/json
781
+ Etag:
782
+ - W/"b104fbe3c30f9f9ddca67e4013015198"
783
+ Cache-Control:
784
+ - max-age=0, private, must-revalidate
785
+ X-Request-Id:
786
+ - a98c9bfb-6286-42eb-9625-f0bbf1bba855
787
+ X-Runtime:
788
+ - '0.029698'
789
+ Content-Length:
790
+ - '296'
791
+ body:
792
+ encoding: UTF-8
793
+ string: '{"_id":"55b8f306446964641a00001e","created_at":"2015-07-29T15:36:38Z","updated_at":"2015-07-29T15:36:38Z","_slug":"hello-world","content_type_slug":"articles","_label":"Hello
794
+ world","_position":0,"_visible":true,"seo_title":null,"meta_keywords":null,"meta_description":null,"title":"Hello
795
+ world"}'
796
+ http_version:
797
+ recorded_at: Wed, 29 Jul 2015 15:36:38 GMT
798
+ - request:
799
+ method: delete
800
+ uri: http://localhost:3000/locomotive/sample/api/v3/content_types/articles/entries/lorem-ipsum.json?auth_token=v6XDp282UyPDeM6DgA-S
801
+ body:
802
+ encoding: US-ASCII
803
+ string: ''
804
+ headers:
805
+ Accept:
806
+ - application/json
807
+ X-Locomotive-Account-Email:
808
+ - admin@locomotivecms.com
809
+ X-Locomotive-Account-Token:
810
+ - v6XDp282UyPDeM6DgA-S
858
811
  Accept-Encoding:
859
812
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
860
813
  User-Agent:
@@ -866,74 +819,277 @@ http_interactions:
866
819
  headers:
867
820
  Content-Type:
868
821
  - application/json
822
+ Etag:
823
+ - W/"cc7c88eb32d0c57a248890781aa5c0ee"
824
+ Cache-Control:
825
+ - max-age=0, private, must-revalidate
826
+ X-Request-Id:
827
+ - defd1ab7-20f9-4adc-af20-2e4c3a4bbca2
828
+ X-Runtime:
829
+ - '0.029252'
869
830
  Content-Length:
870
831
  - '296'
832
+ body:
833
+ encoding: UTF-8
834
+ string: '{"_id":"55b8f306446964641a000021","created_at":"2015-07-29T15:36:38Z","updated_at":"2015-07-29T15:36:38Z","_slug":"lorem-ipsum","content_type_slug":"articles","_label":"Lorem
835
+ ipsum","_position":1,"_visible":true,"seo_title":null,"meta_keywords":null,"meta_description":null,"title":"Lorem
836
+ ipsum"}'
837
+ http_version:
838
+ recorded_at: Wed, 29 Jul 2015 15:36:38 GMT
839
+ - request:
840
+ method: post
841
+ uri: http://localhost:3000/locomotive/api/v3/tokens.json
842
+ body:
843
+ encoding: UTF-8
844
+ string: email=admin%40locomotivecms.com&password=locomotive
845
+ headers:
846
+ Accept:
847
+ - application/json
848
+ Content-Type:
849
+ - application/x-www-form-urlencoded
850
+ Accept-Encoding:
851
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
852
+ User-Agent:
853
+ - Ruby
854
+ response:
855
+ status:
856
+ code: 201
857
+ message: Created
858
+ headers:
859
+ Content-Type:
860
+ - application/json
861
+ Etag:
862
+ - W/"157eb61d395f237526d11950bbc5a1fa"
863
+ Cache-Control:
864
+ - max-age=0, private, must-revalidate
865
+ X-Request-Id:
866
+ - dbaeb1fd-4a26-4c62-af99-6cc8bc3da81a
867
+ X-Runtime:
868
+ - '0.017563'
869
+ Content-Length:
870
+ - '32'
871
+ body:
872
+ encoding: UTF-8
873
+ string: '{"token":"v6XDp282UyPDeM6DgA-S"}'
874
+ http_version:
875
+ recorded_at: Wed, 29 Jul 2015 15:36:38 GMT
876
+ - request:
877
+ method: post
878
+ uri: http://localhost:3000/locomotive/sample/api/v3/content_types/articles/entries.json
879
+ body:
880
+ encoding: UTF-8
881
+ string: auth_token=v6XDp282UyPDeM6DgA-S&content_entry%5Btitle%5D=Hello+world
882
+ headers:
883
+ Accept:
884
+ - application/json
885
+ X-Locomotive-Account-Email:
886
+ - admin@locomotivecms.com
887
+ X-Locomotive-Account-Token:
888
+ - v6XDp282UyPDeM6DgA-S
889
+ Content-Type:
890
+ - application/x-www-form-urlencoded
891
+ Accept-Encoding:
892
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
893
+ User-Agent:
894
+ - Ruby
895
+ response:
896
+ status:
897
+ code: 201
898
+ message: Created
899
+ headers:
900
+ Content-Type:
901
+ - application/json
871
902
  Etag:
872
- - W/"7be86633221c5d85c2637e13468a9a1b"
903
+ - W/"b447aaecfd800a1839a7a8bb86e2355f"
873
904
  Cache-Control:
874
905
  - max-age=0, private, must-revalidate
875
906
  X-Request-Id:
876
- - 07ec22c9-a274-47a7-811a-ef51e0d7024f
907
+ - 84e59fd2-16d5-43d3-a727-eb4809e0b67c
877
908
  X-Runtime:
878
- - '0.028462'
879
- Connection:
880
- - keep-alive
881
- Server:
882
- - thin
909
+ - '0.067560'
910
+ Content-Length:
911
+ - '296'
883
912
  body:
884
913
  encoding: UTF-8
885
- string: '{"_id":"554779c464696432513e0300","created_at":"2015-05-04T13:53:08Z","updated_at":"2015-05-04T13:53:08Z","_slug":"hello-world","content_type_slug":"articles","_label":"Hello
914
+ string: '{"_id":"55b8f306446964641a000024","created_at":"2015-07-29T15:36:38Z","updated_at":"2015-07-29T15:36:38Z","_slug":"hello-world","content_type_slug":"articles","_label":"Hello
886
915
  world","_position":0,"_visible":true,"seo_title":null,"meta_keywords":null,"meta_description":null,"title":"Hello
887
916
  world"}'
888
917
  http_version:
889
- recorded_at: Mon, 04 May 2015 13:53:09 GMT
918
+ recorded_at: Wed, 29 Jul 2015 15:36:38 GMT
890
919
  - request:
891
- method: delete
892
- uri: http://localhost:3000/locomotive/sample/api/v3/content_types/articles/entries/lorem-ipsum.json
920
+ method: post
921
+ uri: http://localhost:3000/locomotive/sample/api/v3/content_types/articles/entries.json
893
922
  body:
894
923
  encoding: UTF-8
895
- string: auth_token=NuCxqFfvpry9osYdFUm1
924
+ string: auth_token=v6XDp282UyPDeM6DgA-S&content_entry%5Btitle%5D=Lorem+ipsum
896
925
  headers:
897
926
  Accept:
898
927
  - application/json
899
928
  X-Locomotive-Account-Email:
900
929
  - admin@locomotivecms.com
901
930
  X-Locomotive-Account-Token:
902
- - NuCxqFfvpry9osYdFUm1
931
+ - v6XDp282UyPDeM6DgA-S
903
932
  Content-Type:
904
933
  - application/x-www-form-urlencoded
905
934
  Accept-Encoding:
906
935
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
907
936
  User-Agent:
908
937
  - Ruby
938
+ response:
939
+ status:
940
+ code: 201
941
+ message: Created
942
+ headers:
943
+ Content-Type:
944
+ - application/json
945
+ Etag:
946
+ - W/"b3fea40b8bf6f58b7003435685486020"
947
+ Cache-Control:
948
+ - max-age=0, private, must-revalidate
949
+ X-Request-Id:
950
+ - 27e65528-e610-417d-be51-8fa3b2b6800e
951
+ X-Runtime:
952
+ - '0.042774'
953
+ Content-Length:
954
+ - '296'
955
+ body:
956
+ encoding: UTF-8
957
+ string: '{"_id":"55b8f306446964641a000027","created_at":"2015-07-29T15:36:38Z","updated_at":"2015-07-29T15:36:38Z","_slug":"lorem-ipsum","content_type_slug":"articles","_label":"Lorem
958
+ ipsum","_position":1,"_visible":true,"seo_title":null,"meta_keywords":null,"meta_description":null,"title":"Lorem
959
+ ipsum"}'
960
+ http_version:
961
+ recorded_at: Wed, 29 Jul 2015 15:36:38 GMT
962
+ - request:
963
+ method: get
964
+ uri: http://localhost:3000/locomotive/sample/api/v3/content_types/articles/entries.json?auth_token=v6XDp282UyPDeM6DgA-S&page=1&where=%7B%7D
965
+ body:
966
+ encoding: US-ASCII
967
+ string: ''
968
+ headers:
969
+ Accept:
970
+ - application/json
971
+ X-Locomotive-Account-Email:
972
+ - admin@locomotivecms.com
973
+ X-Locomotive-Account-Token:
974
+ - v6XDp282UyPDeM6DgA-S
975
+ Accept-Encoding:
976
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
977
+ User-Agent:
978
+ - Ruby
909
979
  response:
910
980
  status:
911
981
  code: 200
912
982
  message: OK
913
983
  headers:
984
+ X-Total-Pages:
985
+ - '1'
986
+ X-Per-Page:
987
+ - '10'
988
+ X-Total-Entries:
989
+ - '2'
914
990
  Content-Type:
915
991
  - application/json
992
+ Etag:
993
+ - W/"3278e5379cbe17ad379bc839ad29fa9d"
994
+ Cache-Control:
995
+ - max-age=0, private, must-revalidate
996
+ X-Request-Id:
997
+ - 20b29176-868f-4c8f-8d31-72ac9eb88466
998
+ X-Runtime:
999
+ - '0.047662'
1000
+ Content-Length:
1001
+ - '595'
1002
+ body:
1003
+ encoding: UTF-8
1004
+ string: '[{"_id":"55b8f306446964641a000024","created_at":"2015-07-29T15:36:38Z","updated_at":"2015-07-29T15:36:38Z","_slug":"hello-world","content_type_slug":"articles","_label":"Hello
1005
+ world","_position":0,"_visible":true,"seo_title":null,"meta_keywords":null,"meta_description":null,"title":"Hello
1006
+ world"},{"_id":"55b8f306446964641a000027","created_at":"2015-07-29T15:36:38Z","updated_at":"2015-07-29T15:36:38Z","_slug":"lorem-ipsum","content_type_slug":"articles","_label":"Lorem
1007
+ ipsum","_position":1,"_visible":true,"seo_title":null,"meta_keywords":null,"meta_description":null,"title":"Lorem
1008
+ ipsum"}]'
1009
+ http_version:
1010
+ recorded_at: Wed, 29 Jul 2015 15:36:38 GMT
1011
+ - request:
1012
+ method: delete
1013
+ uri: http://localhost:3000/locomotive/sample/api/v3/content_types/articles/entries/hello-world.json?auth_token=v6XDp282UyPDeM6DgA-S
1014
+ body:
1015
+ encoding: US-ASCII
1016
+ string: ''
1017
+ headers:
1018
+ Accept:
1019
+ - application/json
1020
+ X-Locomotive-Account-Email:
1021
+ - admin@locomotivecms.com
1022
+ X-Locomotive-Account-Token:
1023
+ - v6XDp282UyPDeM6DgA-S
1024
+ Accept-Encoding:
1025
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
1026
+ User-Agent:
1027
+ - Ruby
1028
+ response:
1029
+ status:
1030
+ code: 200
1031
+ message: OK
1032
+ headers:
1033
+ Content-Type:
1034
+ - application/json
1035
+ Etag:
1036
+ - W/"b447aaecfd800a1839a7a8bb86e2355f"
1037
+ Cache-Control:
1038
+ - max-age=0, private, must-revalidate
1039
+ X-Request-Id:
1040
+ - a5a0fec4-49af-4ec7-8c19-c276955cd628
1041
+ X-Runtime:
1042
+ - '0.030728'
916
1043
  Content-Length:
917
1044
  - '296'
1045
+ body:
1046
+ encoding: UTF-8
1047
+ string: '{"_id":"55b8f306446964641a000024","created_at":"2015-07-29T15:36:38Z","updated_at":"2015-07-29T15:36:38Z","_slug":"hello-world","content_type_slug":"articles","_label":"Hello
1048
+ world","_position":0,"_visible":true,"seo_title":null,"meta_keywords":null,"meta_description":null,"title":"Hello
1049
+ world"}'
1050
+ http_version:
1051
+ recorded_at: Wed, 29 Jul 2015 15:36:38 GMT
1052
+ - request:
1053
+ method: delete
1054
+ uri: http://localhost:3000/locomotive/sample/api/v3/content_types/articles/entries/lorem-ipsum.json?auth_token=v6XDp282UyPDeM6DgA-S
1055
+ body:
1056
+ encoding: US-ASCII
1057
+ string: ''
1058
+ headers:
1059
+ Accept:
1060
+ - application/json
1061
+ X-Locomotive-Account-Email:
1062
+ - admin@locomotivecms.com
1063
+ X-Locomotive-Account-Token:
1064
+ - v6XDp282UyPDeM6DgA-S
1065
+ Accept-Encoding:
1066
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
1067
+ User-Agent:
1068
+ - Ruby
1069
+ response:
1070
+ status:
1071
+ code: 200
1072
+ message: OK
1073
+ headers:
1074
+ Content-Type:
1075
+ - application/json
918
1076
  Etag:
919
- - W/"bcb2ee025c9ae73aee1786c9a1fec4ce"
1077
+ - W/"b3fea40b8bf6f58b7003435685486020"
920
1078
  Cache-Control:
921
1079
  - max-age=0, private, must-revalidate
922
1080
  X-Request-Id:
923
- - 23619a36-a335-4682-9738-158d0ffec482
1081
+ - 6a8d0126-7af7-48eb-b234-442388cfe7a6
924
1082
  X-Runtime:
925
- - '0.027017'
926
- Connection:
927
- - keep-alive
928
- Server:
929
- - thin
1083
+ - '0.029126'
1084
+ Content-Length:
1085
+ - '296'
930
1086
  body:
931
1087
  encoding: UTF-8
932
- string: '{"_id":"554779c56469643251400300","created_at":"2015-05-04T13:53:09Z","updated_at":"2015-05-04T13:53:09Z","_slug":"lorem-ipsum","content_type_slug":"articles","_label":"Lorem
1088
+ string: '{"_id":"55b8f306446964641a000027","created_at":"2015-07-29T15:36:38Z","updated_at":"2015-07-29T15:36:38Z","_slug":"lorem-ipsum","content_type_slug":"articles","_label":"Lorem
933
1089
  ipsum","_position":1,"_visible":true,"seo_title":null,"meta_keywords":null,"meta_description":null,"title":"Lorem
934
1090
  ipsum"}'
935
1091
  http_version:
936
- recorded_at: Mon, 04 May 2015 13:53:09 GMT
1092
+ recorded_at: Wed, 29 Jul 2015 15:36:38 GMT
937
1093
  - request:
938
1094
  method: post
939
1095
  uri: http://localhost:3000/locomotive/api/v3/tokens.json
@@ -956,38 +1112,34 @@ http_interactions:
956
1112
  headers:
957
1113
  Content-Type:
958
1114
  - application/json
959
- Content-Length:
960
- - '32'
961
1115
  Etag:
962
- - W/"61c6d81d1b41b9aad218fbfd9bec3e38"
1116
+ - W/"157eb61d395f237526d11950bbc5a1fa"
963
1117
  Cache-Control:
964
1118
  - max-age=0, private, must-revalidate
965
1119
  X-Request-Id:
966
- - 222a983f-5997-4da0-8855-83eda538349c
1120
+ - ab84f4c3-bc86-4545-9d76-9f4c5073779b
967
1121
  X-Runtime:
968
- - '0.012858'
969
- Connection:
970
- - keep-alive
971
- Server:
972
- - thin
1122
+ - '0.014641'
1123
+ Content-Length:
1124
+ - '32'
973
1125
  body:
974
1126
  encoding: UTF-8
975
- string: '{"token":"NuCxqFfvpry9osYdFUm1"}'
1127
+ string: '{"token":"v6XDp282UyPDeM6DgA-S"}'
976
1128
  http_version:
977
- recorded_at: Mon, 04 May 2015 13:53:09 GMT
1129
+ recorded_at: Wed, 29 Jul 2015 15:36:38 GMT
978
1130
  - request:
979
1131
  method: post
980
1132
  uri: http://localhost:3000/locomotive/sample/api/v3/content_types/articles/entries.json
981
1133
  body:
982
1134
  encoding: UTF-8
983
- string: auth_token=NuCxqFfvpry9osYdFUm1&content_entry%5Btitle%5D=Random+title
1135
+ string: auth_token=v6XDp282UyPDeM6DgA-S&content_entry%5Btitle%5D=Random+title
984
1136
  headers:
985
1137
  Accept:
986
1138
  - application/json
987
1139
  X-Locomotive-Account-Email:
988
1140
  - admin@locomotivecms.com
989
1141
  X-Locomotive-Account-Token:
990
- - NuCxqFfvpry9osYdFUm1
1142
+ - v6XDp282UyPDeM6DgA-S
991
1143
  Content-Type:
992
1144
  - application/x-www-form-urlencoded
993
1145
  Accept-Encoding:
@@ -1001,40 +1153,36 @@ http_interactions:
1001
1153
  headers:
1002
1154
  Content-Type:
1003
1155
  - application/json
1004
- Content-Length:
1005
- - '299'
1006
1156
  Etag:
1007
- - W/"802ffdc70d37cc48451047993a0dd286"
1157
+ - W/"5151ad1d7476f55abd64167f6b21e0cb"
1008
1158
  Cache-Control:
1009
1159
  - max-age=0, private, must-revalidate
1010
1160
  X-Request-Id:
1011
- - 982528c4-ca14-4b11-8d72-56968ce67ac4
1161
+ - 8d9f074b-1ca7-4c8a-aa01-6292b5be1807
1012
1162
  X-Runtime:
1013
- - '0.046773'
1014
- Connection:
1015
- - keep-alive
1016
- Server:
1017
- - thin
1163
+ - '0.060457'
1164
+ Content-Length:
1165
+ - '299'
1018
1166
  body:
1019
1167
  encoding: UTF-8
1020
- string: '{"_id":"554779c56469643251420300","created_at":"2015-05-04T13:53:09Z","updated_at":"2015-05-04T13:53:09Z","_slug":"random-title","content_type_slug":"articles","_label":"Random
1168
+ string: '{"_id":"55b8f306446964641a00002a","created_at":"2015-07-29T15:36:38Z","updated_at":"2015-07-29T15:36:38Z","_slug":"random-title","content_type_slug":"articles","_label":"Random
1021
1169
  title","_position":0,"_visible":true,"seo_title":null,"meta_keywords":null,"meta_description":null,"title":"Random
1022
1170
  title"}'
1023
1171
  http_version:
1024
- recorded_at: Mon, 04 May 2015 13:53:09 GMT
1172
+ recorded_at: Wed, 29 Jul 2015 15:36:38 GMT
1025
1173
  - request:
1026
1174
  method: put
1027
1175
  uri: http://localhost:3000/locomotive/sample/api/v3/content_types/articles/entries/random-title.json
1028
1176
  body:
1029
1177
  encoding: UTF-8
1030
- string: auth_token=NuCxqFfvpry9osYdFUm1&content_entry%5Btitle%5D=Random+title%21
1178
+ string: auth_token=v6XDp282UyPDeM6DgA-S&content_entry%5Btitle%5D=Random+title%21
1031
1179
  headers:
1032
1180
  Accept:
1033
1181
  - application/json
1034
1182
  X-Locomotive-Account-Email:
1035
1183
  - admin@locomotivecms.com
1036
1184
  X-Locomotive-Account-Token:
1037
- - NuCxqFfvpry9osYdFUm1
1185
+ - v6XDp282UyPDeM6DgA-S
1038
1186
  X-Locomotive-Locale:
1039
1187
  - ''
1040
1188
  Content-Type:
@@ -1050,27 +1198,23 @@ http_interactions:
1050
1198
  headers:
1051
1199
  Content-Type:
1052
1200
  - application/json
1053
- Content-Length:
1054
- - '301'
1055
1201
  Etag:
1056
- - W/"2550596d734ddb8cac3bc4125a081d62"
1202
+ - W/"cf2aa561e34e6e3078b2ac09afed9ed2"
1057
1203
  Cache-Control:
1058
1204
  - max-age=0, private, must-revalidate
1059
1205
  X-Request-Id:
1060
- - 7d26ff9f-a28f-4d0a-84e9-ed3144df966b
1206
+ - 9aba69b6-c210-4fac-8cbd-76b8c49e17e1
1061
1207
  X-Runtime:
1062
- - '0.034128'
1063
- Connection:
1064
- - keep-alive
1065
- Server:
1066
- - thin
1208
+ - '0.044896'
1209
+ Content-Length:
1210
+ - '301'
1067
1211
  body:
1068
1212
  encoding: UTF-8
1069
- string: '{"_id":"554779c56469643251440300","created_at":"2015-05-04T13:53:09Z","updated_at":"2015-05-04T13:53:09Z","_slug":"random-title","content_type_slug":"articles","_label":"Random
1070
- title!","_position":1,"_visible":true,"seo_title":null,"meta_keywords":null,"meta_description":null,"title":"Random
1213
+ string: '{"_id":"55b8f306446964641a00002a","created_at":"2015-07-29T15:36:38Z","updated_at":"2015-07-29T15:36:38Z","_slug":"random-title","content_type_slug":"articles","_label":"Random
1214
+ title!","_position":0,"_visible":true,"seo_title":null,"meta_keywords":null,"meta_description":null,"title":"Random
1071
1215
  title!"}'
1072
1216
  http_version:
1073
- recorded_at: Mon, 04 May 2015 13:53:09 GMT
1217
+ recorded_at: Wed, 29 Jul 2015 15:36:38 GMT
1074
1218
  - request:
1075
1219
  method: post
1076
1220
  uri: http://localhost:3000/locomotive/api/v3/tokens.json
@@ -1093,38 +1237,34 @@ http_interactions:
1093
1237
  headers:
1094
1238
  Content-Type:
1095
1239
  - application/json
1096
- Content-Length:
1097
- - '32'
1098
1240
  Etag:
1099
- - W/"61c6d81d1b41b9aad218fbfd9bec3e38"
1241
+ - W/"157eb61d395f237526d11950bbc5a1fa"
1100
1242
  Cache-Control:
1101
1243
  - max-age=0, private, must-revalidate
1102
1244
  X-Request-Id:
1103
- - 17b025fb-f16f-429d-a324-456375a4e6d5
1245
+ - a996d4f7-9114-4cc3-abee-d72cee275597
1104
1246
  X-Runtime:
1105
- - '0.013061'
1106
- Connection:
1107
- - keep-alive
1108
- Server:
1109
- - thin
1247
+ - '0.014171'
1248
+ Content-Length:
1249
+ - '32'
1110
1250
  body:
1111
1251
  encoding: UTF-8
1112
- string: '{"token":"NuCxqFfvpry9osYdFUm1"}'
1252
+ string: '{"token":"v6XDp282UyPDeM6DgA-S"}'
1113
1253
  http_version:
1114
- recorded_at: Mon, 04 May 2015 13:53:09 GMT
1254
+ recorded_at: Wed, 29 Jul 2015 15:36:38 GMT
1115
1255
  - request:
1116
1256
  method: post
1117
1257
  uri: http://localhost:3000/locomotive/sample/api/v3/content_types/articles/entries.json
1118
1258
  body:
1119
1259
  encoding: UTF-8
1120
- string: auth_token=NuCxqFfvpry9osYdFUm1&content_entry%5Btitle%5D=Random+title
1260
+ string: auth_token=v6XDp282UyPDeM6DgA-S&content_entry%5Btitle%5D=Random+title
1121
1261
  headers:
1122
1262
  Accept:
1123
1263
  - application/json
1124
1264
  X-Locomotive-Account-Email:
1125
1265
  - admin@locomotivecms.com
1126
1266
  X-Locomotive-Account-Token:
1127
- - NuCxqFfvpry9osYdFUm1
1267
+ - v6XDp282UyPDeM6DgA-S
1128
1268
  Content-Type:
1129
1269
  - application/x-www-form-urlencoded
1130
1270
  Accept-Encoding:
@@ -1138,40 +1278,36 @@ http_interactions:
1138
1278
  headers:
1139
1279
  Content-Type:
1140
1280
  - application/json
1141
- Content-Length:
1142
- - '301'
1143
1281
  Etag:
1144
- - W/"1e7c0b6fffc926adffe144aaf6a1d0b8"
1282
+ - W/"77ee31168c7ac93f7e8785259676f8a9"
1145
1283
  Cache-Control:
1146
1284
  - max-age=0, private, must-revalidate
1147
1285
  X-Request-Id:
1148
- - 8329eda2-f914-42d5-97a7-bd75ed603d67
1286
+ - cf44060e-7a19-4736-afcd-21b0456c36e5
1149
1287
  X-Runtime:
1150
- - '0.057333'
1151
- Connection:
1152
- - keep-alive
1153
- Server:
1154
- - thin
1288
+ - '0.049192'
1289
+ Content-Length:
1290
+ - '301'
1155
1291
  body:
1156
1292
  encoding: UTF-8
1157
- string: '{"_id":"554779c56469643251460300","created_at":"2015-05-04T13:53:09Z","updated_at":"2015-05-04T13:53:09Z","_slug":"random-title-1","content_type_slug":"articles","_label":"Random
1158
- title","_position":2,"_visible":true,"seo_title":null,"meta_keywords":null,"meta_description":null,"title":"Random
1293
+ string: '{"_id":"55b8f306446964641a00002f","created_at":"2015-07-29T15:36:38Z","updated_at":"2015-07-29T15:36:38Z","_slug":"random-title-1","content_type_slug":"articles","_label":"Random
1294
+ title","_position":1,"_visible":true,"seo_title":null,"meta_keywords":null,"meta_description":null,"title":"Random
1159
1295
  title"}'
1160
1296
  http_version:
1161
- recorded_at: Mon, 04 May 2015 13:53:09 GMT
1297
+ recorded_at: Wed, 29 Jul 2015 15:36:38 GMT
1162
1298
  - request:
1163
1299
  method: put
1164
- uri: http://localhost:3000/locomotive/sample/api/v3/content_types/articles/entries/554779c56469643251460300.json
1300
+ uri: http://localhost:3000/locomotive/sample/api/v3/content_types/articles/entries/55b8f306446964641a00002f.json
1165
1301
  body:
1166
1302
  encoding: UTF-8
1167
- string: auth_token=NuCxqFfvpry9osYdFUm1&content_entry%5Btitle%5D=Titre+au+hasard
1303
+ string: auth_token=v6XDp282UyPDeM6DgA-S&content_entry%5Btitle%5D=Titre+au+hasard
1168
1304
  headers:
1169
1305
  Accept:
1170
1306
  - application/json
1171
1307
  X-Locomotive-Account-Email:
1172
1308
  - admin@locomotivecms.com
1173
1309
  X-Locomotive-Account-Token:
1174
- - NuCxqFfvpry9osYdFUm1
1310
+ - v6XDp282UyPDeM6DgA-S
1175
1311
  X-Locomotive-Locale:
1176
1312
  - fr
1177
1313
  Content-Type:
@@ -1187,27 +1323,23 @@ http_interactions:
1187
1323
  headers:
1188
1324
  Content-Type:
1189
1325
  - application/json
1190
- Content-Length:
1191
- - '308'
1192
1326
  Etag:
1193
- - W/"8aba1fb392122aea4dd359c49314a171"
1327
+ - W/"5856c6be9b2c157ba9dd61c1ba716914"
1194
1328
  Cache-Control:
1195
1329
  - max-age=0, private, must-revalidate
1196
1330
  X-Request-Id:
1197
- - 3b1691ce-0f58-4657-875c-d054e453e18e
1331
+ - b907a064-4d56-445f-a888-b58e55787e4c
1198
1332
  X-Runtime:
1199
- - '0.033732'
1200
- Connection:
1201
- - keep-alive
1202
- Server:
1203
- - thin
1333
+ - '0.041039'
1334
+ Content-Length:
1335
+ - '308'
1204
1336
  body:
1205
1337
  encoding: UTF-8
1206
- string: '{"_id":"554779c56469643251460300","created_at":"2015-05-04T13:53:09Z","updated_at":"2015-05-04T13:53:09Z","_slug":"titre-au-hasard","content_type_slug":"articles","_label":"Titre
1207
- au hasard","_position":2,"_visible":true,"seo_title":null,"meta_keywords":null,"meta_description":null,"title":"Titre
1338
+ string: '{"_id":"55b8f306446964641a00002f","created_at":"2015-07-29T15:36:38Z","updated_at":"2015-07-29T15:36:38Z","_slug":"titre-au-hasard","content_type_slug":"articles","_label":"Titre
1339
+ au hasard","_position":1,"_visible":true,"seo_title":null,"meta_keywords":null,"meta_description":null,"title":"Titre
1208
1340
  au hasard"}'
1209
1341
  http_version:
1210
- recorded_at: Mon, 04 May 2015 13:53:09 GMT
1342
+ recorded_at: Wed, 29 Jul 2015 15:36:38 GMT
1211
1343
  - request:
1212
1344
  method: post
1213
1345
  uri: http://localhost:3000/locomotive/api/v3/tokens.json
@@ -1230,40 +1362,34 @@ http_interactions:
1230
1362
  headers:
1231
1363
  Content-Type:
1232
1364
  - application/json
1233
- Content-Length:
1234
- - '32'
1235
1365
  Etag:
1236
- - W/"61c6d81d1b41b9aad218fbfd9bec3e38"
1366
+ - W/"157eb61d395f237526d11950bbc5a1fa"
1237
1367
  Cache-Control:
1238
1368
  - max-age=0, private, must-revalidate
1239
1369
  X-Request-Id:
1240
- - 37537acb-1a0c-4e19-bb08-9cd94547b925
1370
+ - 678270fc-728d-4fc2-b2c5-3c83873f5614
1241
1371
  X-Runtime:
1242
- - '0.013102'
1243
- Connection:
1244
- - keep-alive
1245
- Server:
1246
- - thin
1372
+ - '0.015416'
1373
+ Content-Length:
1374
+ - '32'
1247
1375
  body:
1248
1376
  encoding: UTF-8
1249
- string: '{"token":"NuCxqFfvpry9osYdFUm1"}'
1377
+ string: '{"token":"v6XDp282UyPDeM6DgA-S"}'
1250
1378
  http_version:
1251
- recorded_at: Mon, 04 May 2015 13:53:09 GMT
1379
+ recorded_at: Wed, 29 Jul 2015 15:36:38 GMT
1252
1380
  - request:
1253
1381
  method: delete
1254
- uri: http://localhost:3000/locomotive/sample/api/v3/content_types/554779c46469643251330300.json
1382
+ uri: http://localhost:3000/locomotive/sample/api/v3/content_types/55b8f305446964641a00000f.json?auth_token=v6XDp282UyPDeM6DgA-S
1255
1383
  body:
1256
- encoding: UTF-8
1257
- string: auth_token=NuCxqFfvpry9osYdFUm1
1384
+ encoding: US-ASCII
1385
+ string: ''
1258
1386
  headers:
1259
1387
  Accept:
1260
1388
  - application/json
1261
1389
  X-Locomotive-Account-Email:
1262
1390
  - admin@locomotivecms.com
1263
1391
  X-Locomotive-Account-Token:
1264
- - NuCxqFfvpry9osYdFUm1
1265
- Content-Type:
1266
- - application/x-www-form-urlencoded
1392
+ - v6XDp282UyPDeM6DgA-S
1267
1393
  Accept-Encoding:
1268
1394
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
1269
1395
  User-Agent:
@@ -1275,23 +1401,19 @@ http_interactions:
1275
1401
  headers:
1276
1402
  Content-Type:
1277
1403
  - application/json
1278
- Content-Length:
1279
- - '550'
1280
1404
  Etag:
1281
- - W/"091ef48c4ebd6f4c8c5a70760496e798"
1405
+ - W/"93959d24e07ee3473f7810de10305a10"
1282
1406
  Cache-Control:
1283
1407
  - max-age=0, private, must-revalidate
1284
1408
  X-Request-Id:
1285
- - 644b0439-3f47-4728-96e1-ed82be2d93b8
1409
+ - 6f9cf783-6515-4cc2-88ce-002b3fbd9140
1286
1410
  X-Runtime:
1287
- - '0.070134'
1288
- Connection:
1289
- - keep-alive
1290
- Server:
1291
- - thin
1411
+ - '0.049952'
1412
+ Content-Length:
1413
+ - '574'
1292
1414
  body:
1293
1415
  encoding: UTF-8
1294
- string: '{"_id":"554779c46469643251330300","created_at":"2015-05-04T13:53:08Z","updated_at":"2015-05-04T13:53:08Z","name":"Article","slug":"articles","description":null,"label_field_name":"title","order_direction":"asc","public_submission_enabled":false,"raw_item_template":null,"fields":[{"_id":"554779c46469643251340300","created_at":null,"updated_at":null,"name":"title","type":"string","label":"Title","hint":null,"required":true,"localized":true,"unique":false,"position":0}],"order_by":"created_at","group_by":null,"public_submission_account_emails":[]}'
1416
+ string: '{"_id":"55b8f305446964641a00000f","created_at":"2015-07-29T15:36:37Z","updated_at":"2015-07-29T15:36:37Z","name":"Article","slug":"articles","description":null,"label_field_name":"title","order_direction":"asc","public_submission_enabled":false,"raw_item_template":null,"display_settings":null,"fields":[{"_id":"55b8f305446964641a000010","created_at":null,"updated_at":null,"name":"title","type":"string","label":"Title","hint":null,"required":true,"localized":true,"unique":false,"position":0}],"order_by":"created_at","group_by":null,"public_submission_account_emails":[]}'
1295
1417
  http_version:
1296
- recorded_at: Mon, 04 May 2015 13:53:09 GMT
1418
+ recorded_at: Wed, 29 Jul 2015 15:36:38 GMT
1297
1419
  recorded_with: VCR 2.9.3