locomotivecms_coal 1.7.0 → 1.8.0.alpha1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (56) hide show
  1. checksums.yaml +4 -4
  2. data/lib/locomotive/coal/resources/concerns/request.rb +1 -1
  3. data/lib/locomotive/coal/version.rb +1 -1
  4. metadata +20 -123
  5. data/.gitignore +0 -4
  6. data/.rspec +0 -2
  7. data/.travis.yml +0 -7
  8. data/Gemfile +0 -20
  9. data/Gemfile.lock +0 -122
  10. data/Rakefile +0 -21
  11. data/locomotivecms_coal.gemspec +0 -27
  12. data/spec/fixtures/assets/locomotive.png +0 -0
  13. data/spec/fixtures/assets/rails.png +0 -0
  14. data/spec/fixtures/coal_cassettes/accounts.yml +0 -214
  15. data/spec/fixtures/coal_cassettes/client.yml +0 -479
  16. data/spec/fixtures/coal_cassettes/content_assets.yml +0 -270
  17. data/spec/fixtures/coal_cassettes/content_entries.yml +0 -2189
  18. data/spec/fixtures/coal_cassettes/content_types.yml +0 -726
  19. data/spec/fixtures/coal_cassettes/current_site.yml +0 -166
  20. data/spec/fixtures/coal_cassettes/memberships.yml +0 -270
  21. data/spec/fixtures/coal_cassettes/my_account.yml +0 -260
  22. data/spec/fixtures/coal_cassettes/pages.yml +0 -333
  23. data/spec/fixtures/coal_cassettes/sections.yml +0 -267
  24. data/spec/fixtures/coal_cassettes/sites.yml +0 -212
  25. data/spec/fixtures/coal_cassettes/snippets.yml +0 -269
  26. data/spec/fixtures/coal_cassettes/theme_assets.yml +0 -270
  27. data/spec/fixtures/coal_cassettes/token.yml +0 -103
  28. data/spec/fixtures/coal_cassettes/translations.yml +0 -267
  29. data/spec/fixtures/coal_cassettes/version.yml +0 -103
  30. data/spec/integration/client_spec.rb +0 -67
  31. data/spec/integration/resources/accounts_spec.rb +0 -38
  32. data/spec/integration/resources/content_assets_spec.rb +0 -42
  33. data/spec/integration/resources/content_entries_spec.rb +0 -97
  34. data/spec/integration/resources/content_types_spec.rb +0 -44
  35. data/spec/integration/resources/current_site_spec.rb +0 -22
  36. data/spec/integration/resources/engine_version_spec.rb +0 -17
  37. data/spec/integration/resources/memberships_spec.rb +0 -39
  38. data/spec/integration/resources/my_account_spec.rb +0 -34
  39. data/spec/integration/resources/pages_spec.rb +0 -43
  40. data/spec/integration/resources/sections_spec.rb +0 -46
  41. data/spec/integration/resources/sites_spec.rb +0 -43
  42. data/spec/integration/resources/snippets_spec.rb +0 -38
  43. data/spec/integration/resources/theme_assets_spec.rb +0 -43
  44. data/spec/integration/resources/token_spec.rb +0 -38
  45. data/spec/integration/resources/translations_spec.rb +0 -38
  46. data/spec/spec_helper.rb +0 -28
  47. data/spec/support/api_settings.rb +0 -10
  48. data/spec/support/assets.rb +0 -4
  49. data/spec/support/default_resources.rb +0 -7
  50. data/spec/support/pry.rb +0 -4
  51. data/spec/support/vcr.rb +0 -10
  52. data/spec/unit/client_spec.rb +0 -52
  53. data/spec/unit/client_v2_spec.rb +0 -22
  54. data/spec/unit/error_spec.rb +0 -36
  55. data/spec/unit/paginated_resources_spec.rb +0 -50
  56. data/spec/unit/resource_spec.rb +0 -29
@@ -1,2189 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: post
5
- uri: http://localhost:3000/locomotive/api/v3/tokens.json
6
- body:
7
- encoding: UTF-8
8
- string: email=admin%40locomotivecms.com&password=locomotive
9
- headers:
10
- User-Agent:
11
- - Faraday v0.15.4
12
- Accept:
13
- - application/json
14
- Accept-Encoding:
15
- - gzip,deflate
16
- Date:
17
- - Sun, 17 Nov 2019 16:39:32 GMT
18
- Content-Type:
19
- - application/x-www-form-urlencoded
20
- response:
21
- status:
22
- code: 201
23
- message: Created
24
- headers:
25
- Content-Type:
26
- - application/json
27
- Content-Length:
28
- - '32'
29
- Connection:
30
- - keep-alive
31
- Status:
32
- - 201 Created
33
- Cache-Control:
34
- - max-age=0, private, must-revalidate
35
- Etag:
36
- - W/"410e3d6fde24f39257a7cc619b61baa7"
37
- X-Runtime:
38
- - '0.003872'
39
- X-Request-Id:
40
- - d025eede-bdd0-4782-a646-fa355708efeb
41
- Date:
42
- - Sun, 17 Nov 2019 16:39:32 GMT
43
- X-Powered-By:
44
- - Phusion Passenger 6.0.4
45
- Server:
46
- - nginx/1.17.3 + Phusion Passenger 6.0.4
47
- body:
48
- encoding: UTF-8
49
- string: '{"token":"bzwAyFQzcchf_hgDQhz3"}'
50
- http_version:
51
- recorded_at: Sun, 17 Nov 2019 16:39:32 GMT
52
- - request:
53
- method: post
54
- uri: http://localhost:3000/locomotive/sample/api/v3/content_types.json
55
- body:
56
- encoding: UTF-8
57
- string: auth_token=bzwAyFQzcchf_hgDQhz3&content_type%5Bfields%5D%5B0%5D%5Blabel%5D=Title&content_type%5Bfields%5D%5B0%5D%5Blocalized%5D=true&content_type%5Bfields%5D%5B0%5D%5Bname%5D=title&content_type%5Bfields%5D%5B0%5D%5Btype%5D=string&content_type%5Bname%5D=Article&content_type%5Bslug%5D=articles
58
- headers:
59
- User-Agent:
60
- - Faraday v0.15.4
61
- Accept:
62
- - application/json
63
- Accept-Encoding:
64
- - gzip,deflate
65
- Date:
66
- - Sun, 17 Nov 2019 16:39:32 GMT
67
- X-Locomotive-Account-Email:
68
- - admin@locomotivecms.com
69
- X-Locomotive-Account-Token:
70
- - bzwAyFQzcchf_hgDQhz3
71
- Content-Type:
72
- - application/x-www-form-urlencoded
73
- response:
74
- status:
75
- code: 201
76
- message: Created
77
- headers:
78
- Content-Type:
79
- - application/json
80
- Content-Length:
81
- - '719'
82
- Connection:
83
- - keep-alive
84
- Status:
85
- - 201 Created
86
- Cache-Control:
87
- - max-age=0, private, must-revalidate
88
- Etag:
89
- - W/"642a8243aaad76062066b4a3a8bb1e6c"
90
- X-Runtime:
91
- - '0.056417'
92
- X-Request-Id:
93
- - 24d35d05-6fb1-4e78-bd4a-9659d52e09a9
94
- Date:
95
- - Sun, 17 Nov 2019 16:39:32 GMT
96
- X-Powered-By:
97
- - Phusion Passenger 6.0.4
98
- Server:
99
- - nginx/1.17.3 + Phusion Passenger 6.0.4
100
- body:
101
- encoding: UTF-8
102
- string: '{"_id":"5dd177c4a95330aa17f8f8e8","created_at":"2019-11-17T16:39:32Z","updated_at":"2019-11-17T16:39:32Z","name":"Article","slug":"articles","description":null,"label_field_name":"title","order_direction":"asc","public_submission_enabled":false,"public_submission_accounts":[],"public_submission_title_template":null,"recaptcha_required":false,"entry_template":null,"display_settings":null,"filter_fields":null,"fields":[{"_id":"5dd177c4a95330aa17f8f8e9","created_at":null,"updated_at":null,"name":"title","type":"string","label":"Title","hint":null,"required":true,"localized":true,"unique":false,"default":null,"position":0,"group":null}],"order_by":"created_at","group_by":null,"public_submission_account_emails":[]}'
103
- http_version:
104
- recorded_at: Sun, 17 Nov 2019 16:39:32 GMT
105
- - request:
106
- method: post
107
- uri: http://localhost:3000/locomotive/api/v3/tokens.json
108
- body:
109
- encoding: UTF-8
110
- string: email=admin%40locomotivecms.com&password=locomotive
111
- headers:
112
- User-Agent:
113
- - Faraday v0.15.4
114
- Accept:
115
- - application/json
116
- Accept-Encoding:
117
- - gzip,deflate
118
- Date:
119
- - Sun, 17 Nov 2019 16:39:32 GMT
120
- Content-Type:
121
- - application/x-www-form-urlencoded
122
- response:
123
- status:
124
- code: 201
125
- message: Created
126
- headers:
127
- Content-Type:
128
- - application/json
129
- Content-Length:
130
- - '32'
131
- Connection:
132
- - keep-alive
133
- Status:
134
- - 201 Created
135
- Cache-Control:
136
- - max-age=0, private, must-revalidate
137
- Etag:
138
- - W/"410e3d6fde24f39257a7cc619b61baa7"
139
- X-Runtime:
140
- - '0.004222'
141
- X-Request-Id:
142
- - f85fee53-aad5-477e-9c59-29ca9980f180
143
- Date:
144
- - Sun, 17 Nov 2019 16:39:32 GMT
145
- X-Powered-By:
146
- - Phusion Passenger 6.0.4
147
- Server:
148
- - nginx/1.17.3 + Phusion Passenger 6.0.4
149
- body:
150
- encoding: UTF-8
151
- string: '{"token":"bzwAyFQzcchf_hgDQhz3"}'
152
- http_version:
153
- recorded_at: Sun, 17 Nov 2019 16:39:32 GMT
154
- - request:
155
- method: post
156
- uri: http://localhost:3000/locomotive/sample/api/v3/content_types/articles/entries.json
157
- body:
158
- encoding: UTF-8
159
- string: auth_token=bzwAyFQzcchf_hgDQhz3&content_entry%5Btitle%5D=Hello+world
160
- headers:
161
- User-Agent:
162
- - Faraday v0.15.4
163
- Accept:
164
- - application/json
165
- Accept-Encoding:
166
- - gzip,deflate
167
- Date:
168
- - Sun, 17 Nov 2019 16:39:32 GMT
169
- X-Locomotive-Account-Email:
170
- - admin@locomotivecms.com
171
- X-Locomotive-Account-Token:
172
- - bzwAyFQzcchf_hgDQhz3
173
- Content-Type:
174
- - application/x-www-form-urlencoded
175
- response:
176
- status:
177
- code: 201
178
- message: Created
179
- headers:
180
- Content-Type:
181
- - application/json
182
- Content-Length:
183
- - '296'
184
- Connection:
185
- - keep-alive
186
- Status:
187
- - 201 Created
188
- Cache-Control:
189
- - max-age=0, private, must-revalidate
190
- Etag:
191
- - W/"16a4bbe3a567ff5d5780eecd2c94a41c"
192
- X-Runtime:
193
- - '0.043932'
194
- X-Request-Id:
195
- - 724946b1-c34f-4073-bc10-bd4aa9a535f9
196
- Date:
197
- - Sun, 17 Nov 2019 16:39:32 GMT
198
- X-Powered-By:
199
- - Phusion Passenger 6.0.4
200
- Server:
201
- - nginx/1.17.3 + Phusion Passenger 6.0.4
202
- body:
203
- encoding: UTF-8
204
- string: '{"_id":"5dd177c4a95330aa17f8f8eb","created_at":"2019-11-17T16:39:32Z","updated_at":"2019-11-17T16:39:32Z","_slug":"hello-world","content_type_slug":"articles","_label":"Hello
205
- world","_position":0,"_visible":true,"seo_title":null,"meta_keywords":null,"meta_description":null,"title":"Hello
206
- world"}'
207
- http_version:
208
- recorded_at: Sun, 17 Nov 2019 16:39:32 GMT
209
- - request:
210
- method: post
211
- uri: http://localhost:3000/locomotive/sample/api/v3/content_types/articles/entries.json
212
- body:
213
- encoding: UTF-8
214
- string: auth_token=bzwAyFQzcchf_hgDQhz3&content_entry%5Btitle%5D=Lorem+ipsum
215
- headers:
216
- User-Agent:
217
- - Faraday v0.15.4
218
- Accept:
219
- - application/json
220
- Accept-Encoding:
221
- - gzip,deflate
222
- Date:
223
- - Sun, 17 Nov 2019 16:39:32 GMT
224
- X-Locomotive-Account-Email:
225
- - admin@locomotivecms.com
226
- X-Locomotive-Account-Token:
227
- - bzwAyFQzcchf_hgDQhz3
228
- Content-Type:
229
- - application/x-www-form-urlencoded
230
- response:
231
- status:
232
- code: 201
233
- message: Created
234
- headers:
235
- Content-Type:
236
- - application/json
237
- Content-Length:
238
- - '296'
239
- Connection:
240
- - keep-alive
241
- Status:
242
- - 201 Created
243
- Cache-Control:
244
- - max-age=0, private, must-revalidate
245
- Etag:
246
- - W/"07163160bd10a907c5c3a4777edb3f67"
247
- X-Runtime:
248
- - '0.025287'
249
- X-Request-Id:
250
- - f6a285ad-e142-417c-bedc-a276b040263c
251
- Date:
252
- - Sun, 17 Nov 2019 16:39:32 GMT
253
- X-Powered-By:
254
- - Phusion Passenger 6.0.4
255
- Server:
256
- - nginx/1.17.3 + Phusion Passenger 6.0.4
257
- body:
258
- encoding: UTF-8
259
- string: '{"_id":"5dd177c4a95330aa17f8f8ee","created_at":"2019-11-17T16:39:32Z","updated_at":"2019-11-17T16:39:32Z","_slug":"lorem-ipsum","content_type_slug":"articles","_label":"Lorem
260
- ipsum","_position":1,"_visible":true,"seo_title":null,"meta_keywords":null,"meta_description":null,"title":"Lorem
261
- ipsum"}'
262
- http_version:
263
- recorded_at: Sun, 17 Nov 2019 16:39:32 GMT
264
- - request:
265
- method: get
266
- uri: http://localhost:3000/locomotive/sample/api/v3/content_types/articles/entries.json?auth_token=bzwAyFQzcchf_hgDQhz3&where=%7B%7D
267
- body:
268
- encoding: UTF-8
269
- string: ''
270
- headers:
271
- User-Agent:
272
- - Faraday v0.15.4
273
- Accept:
274
- - application/json
275
- Accept-Encoding:
276
- - gzip,deflate
277
- Date:
278
- - Sun, 17 Nov 2019 16:39:32 GMT
279
- X-Locomotive-Account-Email:
280
- - admin@locomotivecms.com
281
- X-Locomotive-Account-Token:
282
- - bzwAyFQzcchf_hgDQhz3
283
- response:
284
- status:
285
- code: 200
286
- message: OK
287
- headers:
288
- Content-Type:
289
- - application/json
290
- Transfer-Encoding:
291
- - chunked
292
- Connection:
293
- - keep-alive
294
- Status:
295
- - 200 OK
296
- X-Total-Pages:
297
- - '1'
298
- X-Total-Entries:
299
- - '2'
300
- X-Per-Page:
301
- - '10'
302
- Cache-Control:
303
- - max-age=0, private, must-revalidate
304
- Etag:
305
- - W/"3a1d2839e1f56a40ef85a7ca6515af94"
306
- X-Runtime:
307
- - '0.018996'
308
- X-Request-Id:
309
- - c16a3bf6-046e-4a0f-8309-756908faf081
310
- Date:
311
- - Sun, 17 Nov 2019 16:39:32 GMT
312
- X-Powered-By:
313
- - Phusion Passenger 6.0.4
314
- Server:
315
- - nginx/1.17.3 + Phusion Passenger 6.0.4
316
- Content-Encoding:
317
- - gzip
318
- body:
319
- encoding: UTF-8
320
- string: '[{"_id":"5dd177c4a95330aa17f8f8eb","created_at":"2019-11-17T16:39:32Z","updated_at":"2019-11-17T16:39:32Z","_slug":"hello-world","content_type_slug":"articles","_label":"Hello
321
- world","_position":0,"_visible":true,"seo_title":null,"meta_keywords":null,"meta_description":null,"title":"Hello
322
- world"},{"_id":"5dd177c4a95330aa17f8f8ee","created_at":"2019-11-17T16:39:32Z","updated_at":"2019-11-17T16:39:32Z","_slug":"lorem-ipsum","content_type_slug":"articles","_label":"Lorem
323
- ipsum","_position":1,"_visible":true,"seo_title":null,"meta_keywords":null,"meta_description":null,"title":"Lorem
324
- ipsum"}]'
325
- http_version:
326
- recorded_at: Sun, 17 Nov 2019 16:39:32 GMT
327
- - request:
328
- method: delete
329
- uri: http://localhost:3000/locomotive/sample/api/v3/content_types/articles/entries/hello-world.json?auth_token=bzwAyFQzcchf_hgDQhz3
330
- body:
331
- encoding: UTF-8
332
- string: ''
333
- headers:
334
- User-Agent:
335
- - Faraday v0.15.4
336
- Accept:
337
- - application/json
338
- Accept-Encoding:
339
- - gzip,deflate
340
- Date:
341
- - Sun, 17 Nov 2019 16:39:32 GMT
342
- X-Locomotive-Account-Email:
343
- - admin@locomotivecms.com
344
- X-Locomotive-Account-Token:
345
- - bzwAyFQzcchf_hgDQhz3
346
- response:
347
- status:
348
- code: 200
349
- message: OK
350
- headers:
351
- Content-Type:
352
- - application/json
353
- Transfer-Encoding:
354
- - chunked
355
- Connection:
356
- - keep-alive
357
- Status:
358
- - 200 OK
359
- Cache-Control:
360
- - max-age=0, private, must-revalidate
361
- Etag:
362
- - W/"16a4bbe3a567ff5d5780eecd2c94a41c"
363
- X-Runtime:
364
- - '0.021960'
365
- X-Request-Id:
366
- - 3ce687c6-6d56-4040-8aba-a57c66203b58
367
- Date:
368
- - Sun, 17 Nov 2019 16:39:32 GMT
369
- X-Powered-By:
370
- - Phusion Passenger 6.0.4
371
- Server:
372
- - nginx/1.17.3 + Phusion Passenger 6.0.4
373
- Content-Encoding:
374
- - gzip
375
- body:
376
- encoding: UTF-8
377
- string: '{"_id":"5dd177c4a95330aa17f8f8eb","created_at":"2019-11-17T16:39:32Z","updated_at":"2019-11-17T16:39:32Z","_slug":"hello-world","content_type_slug":"articles","_label":"Hello
378
- world","_position":0,"_visible":true,"seo_title":null,"meta_keywords":null,"meta_description":null,"title":"Hello
379
- world"}'
380
- http_version:
381
- recorded_at: Sun, 17 Nov 2019 16:39:32 GMT
382
- - request:
383
- method: delete
384
- uri: http://localhost:3000/locomotive/sample/api/v3/content_types/articles/entries/lorem-ipsum.json?auth_token=bzwAyFQzcchf_hgDQhz3
385
- body:
386
- encoding: UTF-8
387
- string: ''
388
- headers:
389
- User-Agent:
390
- - Faraday v0.15.4
391
- Accept:
392
- - application/json
393
- Accept-Encoding:
394
- - gzip,deflate
395
- Date:
396
- - Sun, 17 Nov 2019 16:39:32 GMT
397
- X-Locomotive-Account-Email:
398
- - admin@locomotivecms.com
399
- X-Locomotive-Account-Token:
400
- - bzwAyFQzcchf_hgDQhz3
401
- response:
402
- status:
403
- code: 200
404
- message: OK
405
- headers:
406
- Content-Type:
407
- - application/json
408
- Transfer-Encoding:
409
- - chunked
410
- Connection:
411
- - keep-alive
412
- Status:
413
- - 200 OK
414
- Cache-Control:
415
- - max-age=0, private, must-revalidate
416
- Etag:
417
- - W/"07163160bd10a907c5c3a4777edb3f67"
418
- X-Runtime:
419
- - '0.020903'
420
- X-Request-Id:
421
- - e2fdd595-8eb0-4f06-ba8f-ffb591eed832
422
- Date:
423
- - Sun, 17 Nov 2019 16:39:32 GMT
424
- X-Powered-By:
425
- - Phusion Passenger 6.0.4
426
- Server:
427
- - nginx/1.17.3 + Phusion Passenger 6.0.4
428
- Content-Encoding:
429
- - gzip
430
- body:
431
- encoding: UTF-8
432
- string: '{"_id":"5dd177c4a95330aa17f8f8ee","created_at":"2019-11-17T16:39:32Z","updated_at":"2019-11-17T16:39:32Z","_slug":"lorem-ipsum","content_type_slug":"articles","_label":"Lorem
433
- ipsum","_position":1,"_visible":true,"seo_title":null,"meta_keywords":null,"meta_description":null,"title":"Lorem
434
- ipsum"}'
435
- http_version:
436
- recorded_at: Sun, 17 Nov 2019 16:39:32 GMT
437
- - request:
438
- method: post
439
- uri: http://localhost:3000/locomotive/api/v3/tokens.json
440
- body:
441
- encoding: UTF-8
442
- string: email=admin%40locomotivecms.com&password=locomotive
443
- headers:
444
- User-Agent:
445
- - Faraday v0.15.4
446
- Accept:
447
- - application/json
448
- Accept-Encoding:
449
- - gzip,deflate
450
- Date:
451
- - Sun, 17 Nov 2019 16:39:32 GMT
452
- Content-Type:
453
- - application/x-www-form-urlencoded
454
- response:
455
- status:
456
- code: 201
457
- message: Created
458
- headers:
459
- Content-Type:
460
- - application/json
461
- Content-Length:
462
- - '32'
463
- Connection:
464
- - keep-alive
465
- Status:
466
- - 201 Created
467
- Cache-Control:
468
- - max-age=0, private, must-revalidate
469
- Etag:
470
- - W/"410e3d6fde24f39257a7cc619b61baa7"
471
- X-Runtime:
472
- - '0.003708'
473
- X-Request-Id:
474
- - 8a94c6d9-6af0-4d9e-8c9c-f70d5ecb5a56
475
- Date:
476
- - Sun, 17 Nov 2019 16:39:32 GMT
477
- X-Powered-By:
478
- - Phusion Passenger 6.0.4
479
- Server:
480
- - nginx/1.17.3 + Phusion Passenger 6.0.4
481
- body:
482
- encoding: UTF-8
483
- string: '{"token":"bzwAyFQzcchf_hgDQhz3"}'
484
- http_version:
485
- recorded_at: Sun, 17 Nov 2019 16:39:32 GMT
486
- - request:
487
- method: post
488
- uri: http://localhost:3000/locomotive/sample/api/v3/content_types/articles/entries.json
489
- body:
490
- encoding: UTF-8
491
- string: auth_token=bzwAyFQzcchf_hgDQhz3&content_entry%5Btitle%5D=Hello+world
492
- headers:
493
- User-Agent:
494
- - Faraday v0.15.4
495
- Accept:
496
- - application/json
497
- Accept-Encoding:
498
- - gzip,deflate
499
- Date:
500
- - Sun, 17 Nov 2019 16:39:32 GMT
501
- X-Locomotive-Account-Email:
502
- - admin@locomotivecms.com
503
- X-Locomotive-Account-Token:
504
- - bzwAyFQzcchf_hgDQhz3
505
- Content-Type:
506
- - application/x-www-form-urlencoded
507
- response:
508
- status:
509
- code: 201
510
- message: Created
511
- headers:
512
- Content-Type:
513
- - application/json
514
- Content-Length:
515
- - '296'
516
- Connection:
517
- - keep-alive
518
- Status:
519
- - 201 Created
520
- Cache-Control:
521
- - max-age=0, private, must-revalidate
522
- Etag:
523
- - W/"1fe8106a60b928bdbe3621c6d0f7220e"
524
- X-Runtime:
525
- - '0.055919'
526
- X-Request-Id:
527
- - c3db4f2b-90f5-48db-b07b-764fd1b402bc
528
- Date:
529
- - Sun, 17 Nov 2019 16:39:32 GMT
530
- X-Powered-By:
531
- - Phusion Passenger 6.0.4
532
- Server:
533
- - nginx/1.17.3 + Phusion Passenger 6.0.4
534
- body:
535
- encoding: UTF-8
536
- string: '{"_id":"5dd177c4a95330aa17f8f8f1","created_at":"2019-11-17T16:39:32Z","updated_at":"2019-11-17T16:39:32Z","_slug":"hello-world","content_type_slug":"articles","_label":"Hello
537
- world","_position":0,"_visible":true,"seo_title":null,"meta_keywords":null,"meta_description":null,"title":"Hello
538
- world"}'
539
- http_version:
540
- recorded_at: Sun, 17 Nov 2019 16:39:32 GMT
541
- - request:
542
- method: post
543
- uri: http://localhost:3000/locomotive/sample/api/v3/content_types/articles/entries.json
544
- body:
545
- encoding: UTF-8
546
- string: auth_token=bzwAyFQzcchf_hgDQhz3&content_entry%5Btitle%5D=Lorem+ipsum
547
- headers:
548
- User-Agent:
549
- - Faraday v0.15.4
550
- Accept:
551
- - application/json
552
- Accept-Encoding:
553
- - gzip,deflate
554
- Date:
555
- - Sun, 17 Nov 2019 16:39:32 GMT
556
- X-Locomotive-Account-Email:
557
- - admin@locomotivecms.com
558
- X-Locomotive-Account-Token:
559
- - bzwAyFQzcchf_hgDQhz3
560
- Content-Type:
561
- - application/x-www-form-urlencoded
562
- response:
563
- status:
564
- code: 201
565
- message: Created
566
- headers:
567
- Content-Type:
568
- - application/json
569
- Content-Length:
570
- - '296'
571
- Connection:
572
- - keep-alive
573
- Status:
574
- - 201 Created
575
- Cache-Control:
576
- - max-age=0, private, must-revalidate
577
- Etag:
578
- - W/"cf739901bc25e172472fd537c8365ae1"
579
- X-Runtime:
580
- - '0.027359'
581
- X-Request-Id:
582
- - 279f226f-e2bc-46d0-9ad3-2ed0e0b92b6d
583
- Date:
584
- - Sun, 17 Nov 2019 16:39:32 GMT
585
- X-Powered-By:
586
- - Phusion Passenger 6.0.4
587
- Server:
588
- - nginx/1.17.3 + Phusion Passenger 6.0.4
589
- body:
590
- encoding: UTF-8
591
- string: '{"_id":"5dd177c4a95330aa17f8f8f4","created_at":"2019-11-17T16:39:32Z","updated_at":"2019-11-17T16:39:32Z","_slug":"lorem-ipsum","content_type_slug":"articles","_label":"Lorem
592
- ipsum","_position":1,"_visible":true,"seo_title":null,"meta_keywords":null,"meta_description":null,"title":"Lorem
593
- ipsum"}'
594
- http_version:
595
- recorded_at: Sun, 17 Nov 2019 16:39:32 GMT
596
- - request:
597
- method: get
598
- uri: http://localhost:3000/locomotive/sample/api/v3/content_types/articles/entries.json?auth_token=bzwAyFQzcchf_hgDQhz3&where=%7B%7D
599
- body:
600
- encoding: UTF-8
601
- string: ''
602
- headers:
603
- User-Agent:
604
- - Faraday v0.15.4
605
- Accept:
606
- - application/json
607
- Accept-Encoding:
608
- - gzip,deflate
609
- Date:
610
- - Sun, 17 Nov 2019 16:39:32 GMT
611
- X-Locomotive-Account-Email:
612
- - admin@locomotivecms.com
613
- X-Locomotive-Account-Token:
614
- - bzwAyFQzcchf_hgDQhz3
615
- response:
616
- status:
617
- code: 200
618
- message: OK
619
- headers:
620
- Content-Type:
621
- - application/json
622
- Transfer-Encoding:
623
- - chunked
624
- Connection:
625
- - keep-alive
626
- Status:
627
- - 200 OK
628
- X-Total-Pages:
629
- - '1'
630
- X-Total-Entries:
631
- - '2'
632
- X-Per-Page:
633
- - '10'
634
- Cache-Control:
635
- - max-age=0, private, must-revalidate
636
- Etag:
637
- - W/"e1f4fc783cb8fb99699ac32236b1feac"
638
- X-Runtime:
639
- - '0.018307'
640
- X-Request-Id:
641
- - 979bc057-3fb2-432f-a5f0-2aeef87d9ccd
642
- Date:
643
- - Sun, 17 Nov 2019 16:39:32 GMT
644
- X-Powered-By:
645
- - Phusion Passenger 6.0.4
646
- Server:
647
- - nginx/1.17.3 + Phusion Passenger 6.0.4
648
- Content-Encoding:
649
- - gzip
650
- body:
651
- encoding: UTF-8
652
- string: '[{"_id":"5dd177c4a95330aa17f8f8f1","created_at":"2019-11-17T16:39:32Z","updated_at":"2019-11-17T16:39:32Z","_slug":"hello-world","content_type_slug":"articles","_label":"Hello
653
- world","_position":0,"_visible":true,"seo_title":null,"meta_keywords":null,"meta_description":null,"title":"Hello
654
- world"},{"_id":"5dd177c4a95330aa17f8f8f4","created_at":"2019-11-17T16:39:32Z","updated_at":"2019-11-17T16:39:32Z","_slug":"lorem-ipsum","content_type_slug":"articles","_label":"Lorem
655
- ipsum","_position":1,"_visible":true,"seo_title":null,"meta_keywords":null,"meta_description":null,"title":"Lorem
656
- ipsum"}]'
657
- http_version:
658
- recorded_at: Sun, 17 Nov 2019 16:39:32 GMT
659
- - request:
660
- method: delete
661
- uri: http://localhost:3000/locomotive/sample/api/v3/content_types/articles/entries/hello-world.json?auth_token=bzwAyFQzcchf_hgDQhz3
662
- body:
663
- encoding: UTF-8
664
- string: ''
665
- headers:
666
- User-Agent:
667
- - Faraday v0.15.4
668
- Accept:
669
- - application/json
670
- Accept-Encoding:
671
- - gzip,deflate
672
- Date:
673
- - Sun, 17 Nov 2019 16:39:32 GMT
674
- X-Locomotive-Account-Email:
675
- - admin@locomotivecms.com
676
- X-Locomotive-Account-Token:
677
- - bzwAyFQzcchf_hgDQhz3
678
- response:
679
- status:
680
- code: 200
681
- message: OK
682
- headers:
683
- Content-Type:
684
- - application/json
685
- Transfer-Encoding:
686
- - chunked
687
- Connection:
688
- - keep-alive
689
- Status:
690
- - 200 OK
691
- Cache-Control:
692
- - max-age=0, private, must-revalidate
693
- Etag:
694
- - W/"1fe8106a60b928bdbe3621c6d0f7220e"
695
- X-Runtime:
696
- - '0.021226'
697
- X-Request-Id:
698
- - 89ddeb87-b9db-4d75-9955-9b3d26546b37
699
- Date:
700
- - Sun, 17 Nov 2019 16:39:32 GMT
701
- X-Powered-By:
702
- - Phusion Passenger 6.0.4
703
- Server:
704
- - nginx/1.17.3 + Phusion Passenger 6.0.4
705
- Content-Encoding:
706
- - gzip
707
- body:
708
- encoding: UTF-8
709
- string: '{"_id":"5dd177c4a95330aa17f8f8f1","created_at":"2019-11-17T16:39:32Z","updated_at":"2019-11-17T16:39:32Z","_slug":"hello-world","content_type_slug":"articles","_label":"Hello
710
- world","_position":0,"_visible":true,"seo_title":null,"meta_keywords":null,"meta_description":null,"title":"Hello
711
- world"}'
712
- http_version:
713
- recorded_at: Sun, 17 Nov 2019 16:39:32 GMT
714
- - request:
715
- method: delete
716
- uri: http://localhost:3000/locomotive/sample/api/v3/content_types/articles/entries/lorem-ipsum.json?auth_token=bzwAyFQzcchf_hgDQhz3
717
- body:
718
- encoding: UTF-8
719
- string: ''
720
- headers:
721
- User-Agent:
722
- - Faraday v0.15.4
723
- Accept:
724
- - application/json
725
- Accept-Encoding:
726
- - gzip,deflate
727
- Date:
728
- - Sun, 17 Nov 2019 16:39:32 GMT
729
- X-Locomotive-Account-Email:
730
- - admin@locomotivecms.com
731
- X-Locomotive-Account-Token:
732
- - bzwAyFQzcchf_hgDQhz3
733
- response:
734
- status:
735
- code: 200
736
- message: OK
737
- headers:
738
- Content-Type:
739
- - application/json
740
- Transfer-Encoding:
741
- - chunked
742
- Connection:
743
- - keep-alive
744
- Status:
745
- - 200 OK
746
- Cache-Control:
747
- - max-age=0, private, must-revalidate
748
- Etag:
749
- - W/"cf739901bc25e172472fd537c8365ae1"
750
- X-Runtime:
751
- - '0.020109'
752
- X-Request-Id:
753
- - 7eab195d-5e1a-4f86-98a2-153663ec846a
754
- Date:
755
- - Sun, 17 Nov 2019 16:39:32 GMT
756
- X-Powered-By:
757
- - Phusion Passenger 6.0.4
758
- Server:
759
- - nginx/1.17.3 + Phusion Passenger 6.0.4
760
- Content-Encoding:
761
- - gzip
762
- body:
763
- encoding: UTF-8
764
- string: '{"_id":"5dd177c4a95330aa17f8f8f4","created_at":"2019-11-17T16:39:32Z","updated_at":"2019-11-17T16:39:32Z","_slug":"lorem-ipsum","content_type_slug":"articles","_label":"Lorem
765
- ipsum","_position":1,"_visible":true,"seo_title":null,"meta_keywords":null,"meta_description":null,"title":"Lorem
766
- ipsum"}'
767
- http_version:
768
- recorded_at: Sun, 17 Nov 2019 16:39:32 GMT
769
- - request:
770
- method: post
771
- uri: http://localhost:3000/locomotive/api/v3/tokens.json
772
- body:
773
- encoding: UTF-8
774
- string: email=admin%40locomotivecms.com&password=locomotive
775
- headers:
776
- User-Agent:
777
- - Faraday v0.15.4
778
- Accept:
779
- - application/json
780
- Accept-Encoding:
781
- - gzip,deflate
782
- Date:
783
- - Sun, 17 Nov 2019 16:39:32 GMT
784
- Content-Type:
785
- - application/x-www-form-urlencoded
786
- response:
787
- status:
788
- code: 201
789
- message: Created
790
- headers:
791
- Content-Type:
792
- - application/json
793
- Content-Length:
794
- - '32'
795
- Connection:
796
- - keep-alive
797
- Status:
798
- - 201 Created
799
- Cache-Control:
800
- - max-age=0, private, must-revalidate
801
- Etag:
802
- - W/"410e3d6fde24f39257a7cc619b61baa7"
803
- X-Runtime:
804
- - '0.003799'
805
- X-Request-Id:
806
- - 9c03b0c8-6974-4bbc-bbb0-d3c916ea1feb
807
- Date:
808
- - Sun, 17 Nov 2019 16:39:32 GMT
809
- X-Powered-By:
810
- - Phusion Passenger 6.0.4
811
- Server:
812
- - nginx/1.17.3 + Phusion Passenger 6.0.4
813
- body:
814
- encoding: UTF-8
815
- string: '{"token":"bzwAyFQzcchf_hgDQhz3"}'
816
- http_version:
817
- recorded_at: Sun, 17 Nov 2019 16:39:32 GMT
818
- - request:
819
- method: post
820
- uri: http://localhost:3000/locomotive/sample/api/v3/content_types/articles/entries.json
821
- body:
822
- encoding: UTF-8
823
- string: auth_token=bzwAyFQzcchf_hgDQhz3&content_entry%5Btitle%5D=Hello+world
824
- headers:
825
- User-Agent:
826
- - Faraday v0.15.4
827
- Accept:
828
- - application/json
829
- Accept-Encoding:
830
- - gzip,deflate
831
- Date:
832
- - Sun, 17 Nov 2019 16:39:32 GMT
833
- X-Locomotive-Account-Email:
834
- - admin@locomotivecms.com
835
- X-Locomotive-Account-Token:
836
- - bzwAyFQzcchf_hgDQhz3
837
- Content-Type:
838
- - application/x-www-form-urlencoded
839
- response:
840
- status:
841
- code: 201
842
- message: Created
843
- headers:
844
- Content-Type:
845
- - application/json
846
- Content-Length:
847
- - '296'
848
- Connection:
849
- - keep-alive
850
- Status:
851
- - 201 Created
852
- Cache-Control:
853
- - max-age=0, private, must-revalidate
854
- Etag:
855
- - W/"1c3cac1ff18abebb325bc1d10b29f2bd"
856
- X-Runtime:
857
- - '0.030622'
858
- X-Request-Id:
859
- - 6bf300e9-b4a4-4133-bc15-47b25eaa5acc
860
- Date:
861
- - Sun, 17 Nov 2019 16:39:32 GMT
862
- X-Powered-By:
863
- - Phusion Passenger 6.0.4
864
- Server:
865
- - nginx/1.17.3 + Phusion Passenger 6.0.4
866
- body:
867
- encoding: UTF-8
868
- string: '{"_id":"5dd177c4a95330aa17f8f8f7","created_at":"2019-11-17T16:39:32Z","updated_at":"2019-11-17T16:39:32Z","_slug":"hello-world","content_type_slug":"articles","_label":"Hello
869
- world","_position":0,"_visible":true,"seo_title":null,"meta_keywords":null,"meta_description":null,"title":"Hello
870
- world"}'
871
- http_version:
872
- recorded_at: Sun, 17 Nov 2019 16:39:32 GMT
873
- - request:
874
- method: post
875
- uri: http://localhost:3000/locomotive/sample/api/v3/content_types/articles/entries.json
876
- body:
877
- encoding: UTF-8
878
- string: auth_token=bzwAyFQzcchf_hgDQhz3&content_entry%5Btitle%5D=Lorem+ipsum
879
- headers:
880
- User-Agent:
881
- - Faraday v0.15.4
882
- Accept:
883
- - application/json
884
- Accept-Encoding:
885
- - gzip,deflate
886
- Date:
887
- - Sun, 17 Nov 2019 16:39:32 GMT
888
- X-Locomotive-Account-Email:
889
- - admin@locomotivecms.com
890
- X-Locomotive-Account-Token:
891
- - bzwAyFQzcchf_hgDQhz3
892
- Content-Type:
893
- - application/x-www-form-urlencoded
894
- response:
895
- status:
896
- code: 201
897
- message: Created
898
- headers:
899
- Content-Type:
900
- - application/json
901
- Content-Length:
902
- - '296'
903
- Connection:
904
- - keep-alive
905
- Status:
906
- - 201 Created
907
- Cache-Control:
908
- - max-age=0, private, must-revalidate
909
- Etag:
910
- - W/"eea500d76d256598e477b0bc091cdc58"
911
- X-Runtime:
912
- - '0.025871'
913
- X-Request-Id:
914
- - b116a321-9b07-4e1e-9c1d-82b37669dffb
915
- Date:
916
- - Sun, 17 Nov 2019 16:39:32 GMT
917
- X-Powered-By:
918
- - Phusion Passenger 6.0.4
919
- Server:
920
- - nginx/1.17.3 + Phusion Passenger 6.0.4
921
- body:
922
- encoding: UTF-8
923
- string: '{"_id":"5dd177c4a95330aa17f8f8fa","created_at":"2019-11-17T16:39:32Z","updated_at":"2019-11-17T16:39:32Z","_slug":"lorem-ipsum","content_type_slug":"articles","_label":"Lorem
924
- ipsum","_position":1,"_visible":true,"seo_title":null,"meta_keywords":null,"meta_description":null,"title":"Lorem
925
- ipsum"}'
926
- http_version:
927
- recorded_at: Sun, 17 Nov 2019 16:39:32 GMT
928
- - request:
929
- method: get
930
- uri: http://localhost:3000/locomotive/sample/api/v3/content_types/articles/entries.json?auth_token=bzwAyFQzcchf_hgDQhz3&page=2&per_page=1&where=%7B%7D
931
- body:
932
- encoding: UTF-8
933
- string: ''
934
- headers:
935
- User-Agent:
936
- - Faraday v0.15.4
937
- Accept:
938
- - application/json
939
- Accept-Encoding:
940
- - gzip,deflate
941
- Date:
942
- - Sun, 17 Nov 2019 16:39:32 GMT
943
- X-Locomotive-Account-Email:
944
- - admin@locomotivecms.com
945
- X-Locomotive-Account-Token:
946
- - bzwAyFQzcchf_hgDQhz3
947
- response:
948
- status:
949
- code: 200
950
- message: OK
951
- headers:
952
- Content-Type:
953
- - application/json
954
- Transfer-Encoding:
955
- - chunked
956
- Connection:
957
- - keep-alive
958
- Status:
959
- - 200 OK
960
- X-Total-Pages:
961
- - '2'
962
- X-Total-Entries:
963
- - '2'
964
- X-Per-Page:
965
- - '1'
966
- Cache-Control:
967
- - max-age=0, private, must-revalidate
968
- Etag:
969
- - W/"5d26473e89bd6526921d13744cd9c791"
970
- X-Runtime:
971
- - '0.015563'
972
- X-Request-Id:
973
- - e77a5394-1dd7-45b8-afb0-7a9c058e36e5
974
- Date:
975
- - Sun, 17 Nov 2019 16:39:32 GMT
976
- X-Powered-By:
977
- - Phusion Passenger 6.0.4
978
- Server:
979
- - nginx/1.17.3 + Phusion Passenger 6.0.4
980
- Content-Encoding:
981
- - gzip
982
- body:
983
- encoding: UTF-8
984
- string: '[{"_id":"5dd177c4a95330aa17f8f8fa","created_at":"2019-11-17T16:39:32Z","updated_at":"2019-11-17T16:39:32Z","_slug":"lorem-ipsum","content_type_slug":"articles","_label":"Lorem
985
- ipsum","_position":1,"_visible":true,"seo_title":null,"meta_keywords":null,"meta_description":null,"title":"Lorem
986
- ipsum"}]'
987
- http_version:
988
- recorded_at: Sun, 17 Nov 2019 16:39:32 GMT
989
- - request:
990
- method: delete
991
- uri: http://localhost:3000/locomotive/sample/api/v3/content_types/articles/entries/hello-world.json?auth_token=bzwAyFQzcchf_hgDQhz3
992
- body:
993
- encoding: UTF-8
994
- string: ''
995
- headers:
996
- User-Agent:
997
- - Faraday v0.15.4
998
- Accept:
999
- - application/json
1000
- Accept-Encoding:
1001
- - gzip,deflate
1002
- Date:
1003
- - Sun, 17 Nov 2019 16:39:32 GMT
1004
- X-Locomotive-Account-Email:
1005
- - admin@locomotivecms.com
1006
- X-Locomotive-Account-Token:
1007
- - bzwAyFQzcchf_hgDQhz3
1008
- response:
1009
- status:
1010
- code: 200
1011
- message: OK
1012
- headers:
1013
- Content-Type:
1014
- - application/json
1015
- Transfer-Encoding:
1016
- - chunked
1017
- Connection:
1018
- - keep-alive
1019
- Status:
1020
- - 200 OK
1021
- Cache-Control:
1022
- - max-age=0, private, must-revalidate
1023
- Etag:
1024
- - W/"1c3cac1ff18abebb325bc1d10b29f2bd"
1025
- X-Runtime:
1026
- - '0.080669'
1027
- X-Request-Id:
1028
- - 19eb32bd-1930-4ff5-bd30-22c56f0b59b1
1029
- Date:
1030
- - Sun, 17 Nov 2019 16:39:32 GMT
1031
- X-Powered-By:
1032
- - Phusion Passenger 6.0.4
1033
- Server:
1034
- - nginx/1.17.3 + Phusion Passenger 6.0.4
1035
- Content-Encoding:
1036
- - gzip
1037
- body:
1038
- encoding: UTF-8
1039
- string: '{"_id":"5dd177c4a95330aa17f8f8f7","created_at":"2019-11-17T16:39:32Z","updated_at":"2019-11-17T16:39:32Z","_slug":"hello-world","content_type_slug":"articles","_label":"Hello
1040
- world","_position":0,"_visible":true,"seo_title":null,"meta_keywords":null,"meta_description":null,"title":"Hello
1041
- world"}'
1042
- http_version:
1043
- recorded_at: Sun, 17 Nov 2019 16:39:32 GMT
1044
- - request:
1045
- method: delete
1046
- uri: http://localhost:3000/locomotive/sample/api/v3/content_types/articles/entries/lorem-ipsum.json?auth_token=bzwAyFQzcchf_hgDQhz3
1047
- body:
1048
- encoding: UTF-8
1049
- string: ''
1050
- headers:
1051
- User-Agent:
1052
- - Faraday v0.15.4
1053
- Accept:
1054
- - application/json
1055
- Accept-Encoding:
1056
- - gzip,deflate
1057
- Date:
1058
- - Sun, 17 Nov 2019 16:39:32 GMT
1059
- X-Locomotive-Account-Email:
1060
- - admin@locomotivecms.com
1061
- X-Locomotive-Account-Token:
1062
- - bzwAyFQzcchf_hgDQhz3
1063
- response:
1064
- status:
1065
- code: 200
1066
- message: OK
1067
- headers:
1068
- Content-Type:
1069
- - application/json
1070
- Transfer-Encoding:
1071
- - chunked
1072
- Connection:
1073
- - keep-alive
1074
- Status:
1075
- - 200 OK
1076
- Cache-Control:
1077
- - max-age=0, private, must-revalidate
1078
- Etag:
1079
- - W/"eea500d76d256598e477b0bc091cdc58"
1080
- X-Runtime:
1081
- - '0.047346'
1082
- X-Request-Id:
1083
- - 71000528-4773-4592-a1e1-4e2586f6de20
1084
- Date:
1085
- - Sun, 17 Nov 2019 16:39:33 GMT
1086
- X-Powered-By:
1087
- - Phusion Passenger 6.0.4
1088
- Server:
1089
- - nginx/1.17.3 + Phusion Passenger 6.0.4
1090
- Content-Encoding:
1091
- - gzip
1092
- body:
1093
- encoding: UTF-8
1094
- string: '{"_id":"5dd177c4a95330aa17f8f8fa","created_at":"2019-11-17T16:39:32Z","updated_at":"2019-11-17T16:39:32Z","_slug":"lorem-ipsum","content_type_slug":"articles","_label":"Lorem
1095
- ipsum","_position":1,"_visible":true,"seo_title":null,"meta_keywords":null,"meta_description":null,"title":"Lorem
1096
- ipsum"}'
1097
- http_version:
1098
- recorded_at: Sun, 17 Nov 2019 16:39:33 GMT
1099
- - request:
1100
- method: post
1101
- uri: http://localhost:3000/locomotive/api/v3/tokens.json
1102
- body:
1103
- encoding: UTF-8
1104
- string: email=admin%40locomotivecms.com&password=locomotive
1105
- headers:
1106
- User-Agent:
1107
- - Faraday v0.15.4
1108
- Accept:
1109
- - application/json
1110
- Accept-Encoding:
1111
- - gzip,deflate
1112
- Date:
1113
- - Sun, 17 Nov 2019 16:39:33 GMT
1114
- Content-Type:
1115
- - application/x-www-form-urlencoded
1116
- response:
1117
- status:
1118
- code: 201
1119
- message: Created
1120
- headers:
1121
- Content-Type:
1122
- - application/json
1123
- Content-Length:
1124
- - '32'
1125
- Connection:
1126
- - keep-alive
1127
- Status:
1128
- - 201 Created
1129
- Cache-Control:
1130
- - max-age=0, private, must-revalidate
1131
- Etag:
1132
- - W/"410e3d6fde24f39257a7cc619b61baa7"
1133
- X-Runtime:
1134
- - '0.004716'
1135
- X-Request-Id:
1136
- - c5053bc6-04bf-4b0e-bd2b-37cc9e2aea4c
1137
- Date:
1138
- - Sun, 17 Nov 2019 16:39:33 GMT
1139
- X-Powered-By:
1140
- - Phusion Passenger 6.0.4
1141
- Server:
1142
- - nginx/1.17.3 + Phusion Passenger 6.0.4
1143
- body:
1144
- encoding: UTF-8
1145
- string: '{"token":"bzwAyFQzcchf_hgDQhz3"}'
1146
- http_version:
1147
- recorded_at: Sun, 17 Nov 2019 16:39:33 GMT
1148
- - request:
1149
- method: post
1150
- uri: http://localhost:3000/locomotive/sample/api/v3/content_types/articles/entries.json
1151
- body:
1152
- encoding: UTF-8
1153
- string: auth_token=bzwAyFQzcchf_hgDQhz3&content_entry%5Btitle%5D=Hello+world
1154
- headers:
1155
- User-Agent:
1156
- - Faraday v0.15.4
1157
- Accept:
1158
- - application/json
1159
- Accept-Encoding:
1160
- - gzip,deflate
1161
- Date:
1162
- - Sun, 17 Nov 2019 16:39:33 GMT
1163
- X-Locomotive-Account-Email:
1164
- - admin@locomotivecms.com
1165
- X-Locomotive-Account-Token:
1166
- - bzwAyFQzcchf_hgDQhz3
1167
- Content-Type:
1168
- - application/x-www-form-urlencoded
1169
- response:
1170
- status:
1171
- code: 201
1172
- message: Created
1173
- headers:
1174
- Content-Type:
1175
- - application/json
1176
- Content-Length:
1177
- - '296'
1178
- Connection:
1179
- - keep-alive
1180
- Status:
1181
- - 201 Created
1182
- Cache-Control:
1183
- - max-age=0, private, must-revalidate
1184
- Etag:
1185
- - W/"a76f6088dbae026ee482258bc1cb6fc3"
1186
- X-Runtime:
1187
- - '0.071954'
1188
- X-Request-Id:
1189
- - 4487faac-61e2-4f85-a53b-dff750da8688
1190
- Date:
1191
- - Sun, 17 Nov 2019 16:39:33 GMT
1192
- X-Powered-By:
1193
- - Phusion Passenger 6.0.4
1194
- Server:
1195
- - nginx/1.17.3 + Phusion Passenger 6.0.4
1196
- body:
1197
- encoding: UTF-8
1198
- string: '{"_id":"5dd177c5a95330aa17f8f8fd","created_at":"2019-11-17T16:39:33Z","updated_at":"2019-11-17T16:39:33Z","_slug":"hello-world","content_type_slug":"articles","_label":"Hello
1199
- world","_position":0,"_visible":true,"seo_title":null,"meta_keywords":null,"meta_description":null,"title":"Hello
1200
- world"}'
1201
- http_version:
1202
- recorded_at: Sun, 17 Nov 2019 16:39:33 GMT
1203
- - request:
1204
- method: post
1205
- uri: http://localhost:3000/locomotive/sample/api/v3/content_types/articles/entries.json
1206
- body:
1207
- encoding: UTF-8
1208
- string: auth_token=bzwAyFQzcchf_hgDQhz3&content_entry%5Btitle%5D=Lorem+ipsum
1209
- headers:
1210
- User-Agent:
1211
- - Faraday v0.15.4
1212
- Accept:
1213
- - application/json
1214
- Accept-Encoding:
1215
- - gzip,deflate
1216
- Date:
1217
- - Sun, 17 Nov 2019 16:39:33 GMT
1218
- X-Locomotive-Account-Email:
1219
- - admin@locomotivecms.com
1220
- X-Locomotive-Account-Token:
1221
- - bzwAyFQzcchf_hgDQhz3
1222
- Content-Type:
1223
- - application/x-www-form-urlencoded
1224
- response:
1225
- status:
1226
- code: 201
1227
- message: Created
1228
- headers:
1229
- Content-Type:
1230
- - application/json
1231
- Content-Length:
1232
- - '296'
1233
- Connection:
1234
- - keep-alive
1235
- Status:
1236
- - 201 Created
1237
- Cache-Control:
1238
- - max-age=0, private, must-revalidate
1239
- Etag:
1240
- - W/"d264c7fefda458c1b8bce21427323cd9"
1241
- X-Runtime:
1242
- - '0.157726'
1243
- X-Request-Id:
1244
- - eb468802-11ba-4bef-8ae1-5c8db9e47e41
1245
- Date:
1246
- - Sun, 17 Nov 2019 16:39:33 GMT
1247
- X-Powered-By:
1248
- - Phusion Passenger 6.0.4
1249
- Server:
1250
- - nginx/1.17.3 + Phusion Passenger 6.0.4
1251
- body:
1252
- encoding: UTF-8
1253
- string: '{"_id":"5dd177c5a95330aa17f8f900","created_at":"2019-11-17T16:39:33Z","updated_at":"2019-11-17T16:39:33Z","_slug":"lorem-ipsum","content_type_slug":"articles","_label":"Lorem
1254
- ipsum","_position":1,"_visible":true,"seo_title":null,"meta_keywords":null,"meta_description":null,"title":"Lorem
1255
- ipsum"}'
1256
- http_version:
1257
- recorded_at: Sun, 17 Nov 2019 16:39:33 GMT
1258
- - request:
1259
- method: get
1260
- uri: http://localhost:3000/locomotive/sample/api/v3/content_types/articles/entries.json?auth_token=bzwAyFQzcchf_hgDQhz3&where=%7B%22_visible%22:true,%22title%22:%22Hello%20world%22%7D
1261
- body:
1262
- encoding: UTF-8
1263
- string: ''
1264
- headers:
1265
- User-Agent:
1266
- - Faraday v0.15.4
1267
- Accept:
1268
- - application/json
1269
- Accept-Encoding:
1270
- - gzip,deflate
1271
- Date:
1272
- - Sun, 17 Nov 2019 16:39:33 GMT
1273
- X-Locomotive-Account-Email:
1274
- - admin@locomotivecms.com
1275
- X-Locomotive-Account-Token:
1276
- - bzwAyFQzcchf_hgDQhz3
1277
- response:
1278
- status:
1279
- code: 200
1280
- message: OK
1281
- headers:
1282
- Content-Type:
1283
- - application/json
1284
- Transfer-Encoding:
1285
- - chunked
1286
- Connection:
1287
- - keep-alive
1288
- Status:
1289
- - 200 OK
1290
- X-Total-Pages:
1291
- - '1'
1292
- X-Total-Entries:
1293
- - '1'
1294
- X-Per-Page:
1295
- - '10'
1296
- Cache-Control:
1297
- - max-age=0, private, must-revalidate
1298
- Etag:
1299
- - W/"d8411fb91b112edf38ec74923a73b80b"
1300
- X-Runtime:
1301
- - '0.053939'
1302
- X-Request-Id:
1303
- - efc0b1a9-3662-4a46-bbda-b7b9e30d7b4c
1304
- Date:
1305
- - Sun, 17 Nov 2019 16:39:33 GMT
1306
- X-Powered-By:
1307
- - Phusion Passenger 6.0.4
1308
- Server:
1309
- - nginx/1.17.3 + Phusion Passenger 6.0.4
1310
- Content-Encoding:
1311
- - gzip
1312
- body:
1313
- encoding: UTF-8
1314
- string: '[{"_id":"5dd177c5a95330aa17f8f8fd","created_at":"2019-11-17T16:39:33Z","updated_at":"2019-11-17T16:39:33Z","_slug":"hello-world","content_type_slug":"articles","_label":"Hello
1315
- world","_position":0,"_visible":true,"seo_title":null,"meta_keywords":null,"meta_description":null,"title":"Hello
1316
- world"}]'
1317
- http_version:
1318
- recorded_at: Sun, 17 Nov 2019 16:39:33 GMT
1319
- - request:
1320
- method: delete
1321
- uri: http://localhost:3000/locomotive/sample/api/v3/content_types/articles/entries/hello-world.json?auth_token=bzwAyFQzcchf_hgDQhz3
1322
- body:
1323
- encoding: UTF-8
1324
- string: ''
1325
- headers:
1326
- User-Agent:
1327
- - Faraday v0.15.4
1328
- Accept:
1329
- - application/json
1330
- Accept-Encoding:
1331
- - gzip,deflate
1332
- Date:
1333
- - Sun, 17 Nov 2019 16:39:33 GMT
1334
- X-Locomotive-Account-Email:
1335
- - admin@locomotivecms.com
1336
- X-Locomotive-Account-Token:
1337
- - bzwAyFQzcchf_hgDQhz3
1338
- response:
1339
- status:
1340
- code: 200
1341
- message: OK
1342
- headers:
1343
- Content-Type:
1344
- - application/json
1345
- Transfer-Encoding:
1346
- - chunked
1347
- Connection:
1348
- - keep-alive
1349
- Status:
1350
- - 200 OK
1351
- Cache-Control:
1352
- - max-age=0, private, must-revalidate
1353
- Etag:
1354
- - W/"a76f6088dbae026ee482258bc1cb6fc3"
1355
- X-Runtime:
1356
- - '0.073612'
1357
- X-Request-Id:
1358
- - 6033144c-b4b5-40c9-acc2-8d7f29415002
1359
- Date:
1360
- - Sun, 17 Nov 2019 16:39:33 GMT
1361
- X-Powered-By:
1362
- - Phusion Passenger 6.0.4
1363
- Server:
1364
- - nginx/1.17.3 + Phusion Passenger 6.0.4
1365
- Content-Encoding:
1366
- - gzip
1367
- body:
1368
- encoding: UTF-8
1369
- string: '{"_id":"5dd177c5a95330aa17f8f8fd","created_at":"2019-11-17T16:39:33Z","updated_at":"2019-11-17T16:39:33Z","_slug":"hello-world","content_type_slug":"articles","_label":"Hello
1370
- world","_position":0,"_visible":true,"seo_title":null,"meta_keywords":null,"meta_description":null,"title":"Hello
1371
- world"}'
1372
- http_version:
1373
- recorded_at: Sun, 17 Nov 2019 16:39:33 GMT
1374
- - request:
1375
- method: delete
1376
- uri: http://localhost:3000/locomotive/sample/api/v3/content_types/articles/entries/lorem-ipsum.json?auth_token=bzwAyFQzcchf_hgDQhz3
1377
- body:
1378
- encoding: UTF-8
1379
- string: ''
1380
- headers:
1381
- User-Agent:
1382
- - Faraday v0.15.4
1383
- Accept:
1384
- - application/json
1385
- Accept-Encoding:
1386
- - gzip,deflate
1387
- Date:
1388
- - Sun, 17 Nov 2019 16:39:33 GMT
1389
- X-Locomotive-Account-Email:
1390
- - admin@locomotivecms.com
1391
- X-Locomotive-Account-Token:
1392
- - bzwAyFQzcchf_hgDQhz3
1393
- response:
1394
- status:
1395
- code: 200
1396
- message: OK
1397
- headers:
1398
- Content-Type:
1399
- - application/json
1400
- Transfer-Encoding:
1401
- - chunked
1402
- Connection:
1403
- - keep-alive
1404
- Status:
1405
- - 200 OK
1406
- Cache-Control:
1407
- - max-age=0, private, must-revalidate
1408
- Etag:
1409
- - W/"d264c7fefda458c1b8bce21427323cd9"
1410
- X-Runtime:
1411
- - '0.113964'
1412
- X-Request-Id:
1413
- - be91a889-e802-4655-8e0d-ecc401289bcf
1414
- Date:
1415
- - Sun, 17 Nov 2019 16:39:33 GMT
1416
- X-Powered-By:
1417
- - Phusion Passenger 6.0.4
1418
- Server:
1419
- - nginx/1.17.3 + Phusion Passenger 6.0.4
1420
- Content-Encoding:
1421
- - gzip
1422
- body:
1423
- encoding: UTF-8
1424
- string: '{"_id":"5dd177c5a95330aa17f8f900","created_at":"2019-11-17T16:39:33Z","updated_at":"2019-11-17T16:39:33Z","_slug":"lorem-ipsum","content_type_slug":"articles","_label":"Lorem
1425
- ipsum","_position":1,"_visible":true,"seo_title":null,"meta_keywords":null,"meta_description":null,"title":"Lorem
1426
- ipsum"}'
1427
- http_version:
1428
- recorded_at: Sun, 17 Nov 2019 16:39:33 GMT
1429
- - request:
1430
- method: post
1431
- uri: http://localhost:3000/locomotive/api/v3/tokens.json
1432
- body:
1433
- encoding: UTF-8
1434
- string: email=admin%40locomotivecms.com&password=locomotive
1435
- headers:
1436
- User-Agent:
1437
- - Faraday v0.15.4
1438
- Accept:
1439
- - application/json
1440
- Accept-Encoding:
1441
- - gzip,deflate
1442
- Date:
1443
- - Sun, 17 Nov 2019 16:39:33 GMT
1444
- Content-Type:
1445
- - application/x-www-form-urlencoded
1446
- response:
1447
- status:
1448
- code: 201
1449
- message: Created
1450
- headers:
1451
- Content-Type:
1452
- - application/json
1453
- Content-Length:
1454
- - '32'
1455
- Connection:
1456
- - keep-alive
1457
- Status:
1458
- - 201 Created
1459
- Cache-Control:
1460
- - max-age=0, private, must-revalidate
1461
- Etag:
1462
- - W/"410e3d6fde24f39257a7cc619b61baa7"
1463
- X-Runtime:
1464
- - '0.036428'
1465
- X-Request-Id:
1466
- - 9925a0c0-8983-4c3d-9075-3f70cdc5f62f
1467
- Date:
1468
- - Sun, 17 Nov 2019 16:39:33 GMT
1469
- X-Powered-By:
1470
- - Phusion Passenger 6.0.4
1471
- Server:
1472
- - nginx/1.17.3 + Phusion Passenger 6.0.4
1473
- body:
1474
- encoding: UTF-8
1475
- string: '{"token":"bzwAyFQzcchf_hgDQhz3"}'
1476
- http_version:
1477
- recorded_at: Sun, 17 Nov 2019 16:39:33 GMT
1478
- - request:
1479
- method: post
1480
- uri: http://localhost:3000/locomotive/sample/api/v3/content_types/articles/entries.json
1481
- body:
1482
- encoding: UTF-8
1483
- string: auth_token=bzwAyFQzcchf_hgDQhz3&content_entry%5Btitle%5D=Hello+world
1484
- headers:
1485
- User-Agent:
1486
- - Faraday v0.15.4
1487
- Accept:
1488
- - application/json
1489
- Accept-Encoding:
1490
- - gzip,deflate
1491
- Date:
1492
- - Sun, 17 Nov 2019 16:39:33 GMT
1493
- X-Locomotive-Account-Email:
1494
- - admin@locomotivecms.com
1495
- X-Locomotive-Account-Token:
1496
- - bzwAyFQzcchf_hgDQhz3
1497
- Content-Type:
1498
- - application/x-www-form-urlencoded
1499
- response:
1500
- status:
1501
- code: 201
1502
- message: Created
1503
- headers:
1504
- Content-Type:
1505
- - application/json
1506
- Content-Length:
1507
- - '296'
1508
- Connection:
1509
- - keep-alive
1510
- Status:
1511
- - 201 Created
1512
- Cache-Control:
1513
- - max-age=0, private, must-revalidate
1514
- Etag:
1515
- - W/"16c97da5b33b2fd7dfb7655a79da04b8"
1516
- X-Runtime:
1517
- - '0.266202'
1518
- X-Request-Id:
1519
- - fa040adc-7f77-4f71-9feb-dd8ca520de88
1520
- Date:
1521
- - Sun, 17 Nov 2019 16:39:34 GMT
1522
- X-Powered-By:
1523
- - Phusion Passenger 6.0.4
1524
- Server:
1525
- - nginx/1.17.3 + Phusion Passenger 6.0.4
1526
- body:
1527
- encoding: UTF-8
1528
- string: '{"_id":"5dd177c5a95330aa17f8f903","created_at":"2019-11-17T16:39:33Z","updated_at":"2019-11-17T16:39:33Z","_slug":"hello-world","content_type_slug":"articles","_label":"Hello
1529
- world","_position":0,"_visible":true,"seo_title":null,"meta_keywords":null,"meta_description":null,"title":"Hello
1530
- world"}'
1531
- http_version:
1532
- recorded_at: Sun, 17 Nov 2019 16:39:34 GMT
1533
- - request:
1534
- method: post
1535
- uri: http://localhost:3000/locomotive/sample/api/v3/content_types/articles/entries.json
1536
- body:
1537
- encoding: UTF-8
1538
- string: auth_token=bzwAyFQzcchf_hgDQhz3&content_entry%5Btitle%5D=Lorem+ipsum
1539
- headers:
1540
- User-Agent:
1541
- - Faraday v0.15.4
1542
- Accept:
1543
- - application/json
1544
- Accept-Encoding:
1545
- - gzip,deflate
1546
- Date:
1547
- - Sun, 17 Nov 2019 16:39:34 GMT
1548
- X-Locomotive-Account-Email:
1549
- - admin@locomotivecms.com
1550
- X-Locomotive-Account-Token:
1551
- - bzwAyFQzcchf_hgDQhz3
1552
- Content-Type:
1553
- - application/x-www-form-urlencoded
1554
- response:
1555
- status:
1556
- code: 201
1557
- message: Created
1558
- headers:
1559
- Content-Type:
1560
- - application/json
1561
- Content-Length:
1562
- - '296'
1563
- Connection:
1564
- - keep-alive
1565
- Status:
1566
- - 201 Created
1567
- Cache-Control:
1568
- - max-age=0, private, must-revalidate
1569
- Etag:
1570
- - W/"01cc3e0e9f8f443bfc186177fc188769"
1571
- X-Runtime:
1572
- - '0.075259'
1573
- X-Request-Id:
1574
- - 5884d28d-14e7-454d-82d7-0e824aab82c6
1575
- Date:
1576
- - Sun, 17 Nov 2019 16:39:34 GMT
1577
- X-Powered-By:
1578
- - Phusion Passenger 6.0.4
1579
- Server:
1580
- - nginx/1.17.3 + Phusion Passenger 6.0.4
1581
- body:
1582
- encoding: UTF-8
1583
- string: '{"_id":"5dd177c6a95330aa17f8f906","created_at":"2019-11-17T16:39:34Z","updated_at":"2019-11-17T16:39:34Z","_slug":"lorem-ipsum","content_type_slug":"articles","_label":"Lorem
1584
- ipsum","_position":1,"_visible":true,"seo_title":null,"meta_keywords":null,"meta_description":null,"title":"Lorem
1585
- ipsum"}'
1586
- http_version:
1587
- recorded_at: Sun, 17 Nov 2019 16:39:34 GMT
1588
- - request:
1589
- method: get
1590
- uri: http://localhost:3000/locomotive/sample/api/v3/content_types/articles/entries.json?auth_token=bzwAyFQzcchf_hgDQhz3&page=1&where=%7B%7D
1591
- body:
1592
- encoding: UTF-8
1593
- string: ''
1594
- headers:
1595
- User-Agent:
1596
- - Faraday v0.15.4
1597
- Accept:
1598
- - application/json
1599
- Accept-Encoding:
1600
- - gzip,deflate
1601
- Date:
1602
- - Sun, 17 Nov 2019 16:39:34 GMT
1603
- X-Locomotive-Account-Email:
1604
- - admin@locomotivecms.com
1605
- X-Locomotive-Account-Token:
1606
- - bzwAyFQzcchf_hgDQhz3
1607
- response:
1608
- status:
1609
- code: 200
1610
- message: OK
1611
- headers:
1612
- Content-Type:
1613
- - application/json
1614
- Transfer-Encoding:
1615
- - chunked
1616
- Connection:
1617
- - keep-alive
1618
- Status:
1619
- - 200 OK
1620
- X-Total-Pages:
1621
- - '1'
1622
- X-Total-Entries:
1623
- - '2'
1624
- X-Per-Page:
1625
- - '10'
1626
- Cache-Control:
1627
- - max-age=0, private, must-revalidate
1628
- Etag:
1629
- - W/"b0db8c792673dded19ae2fe3f200e7e5"
1630
- X-Runtime:
1631
- - '0.062582'
1632
- X-Request-Id:
1633
- - 266ad2c2-bffd-43bd-a9c6-ea5ad316a4d3
1634
- Date:
1635
- - Sun, 17 Nov 2019 16:39:34 GMT
1636
- X-Powered-By:
1637
- - Phusion Passenger 6.0.4
1638
- Server:
1639
- - nginx/1.17.3 + Phusion Passenger 6.0.4
1640
- Content-Encoding:
1641
- - gzip
1642
- body:
1643
- encoding: UTF-8
1644
- string: '[{"_id":"5dd177c5a95330aa17f8f903","created_at":"2019-11-17T16:39:33Z","updated_at":"2019-11-17T16:39:33Z","_slug":"hello-world","content_type_slug":"articles","_label":"Hello
1645
- world","_position":0,"_visible":true,"seo_title":null,"meta_keywords":null,"meta_description":null,"title":"Hello
1646
- world"},{"_id":"5dd177c6a95330aa17f8f906","created_at":"2019-11-17T16:39:34Z","updated_at":"2019-11-17T16:39:34Z","_slug":"lorem-ipsum","content_type_slug":"articles","_label":"Lorem
1647
- ipsum","_position":1,"_visible":true,"seo_title":null,"meta_keywords":null,"meta_description":null,"title":"Lorem
1648
- ipsum"}]'
1649
- http_version:
1650
- recorded_at: Sun, 17 Nov 2019 16:39:34 GMT
1651
- - request:
1652
- method: delete
1653
- uri: http://localhost:3000/locomotive/sample/api/v3/content_types/articles/entries/hello-world.json?auth_token=bzwAyFQzcchf_hgDQhz3
1654
- body:
1655
- encoding: UTF-8
1656
- string: ''
1657
- headers:
1658
- User-Agent:
1659
- - Faraday v0.15.4
1660
- Accept:
1661
- - application/json
1662
- Accept-Encoding:
1663
- - gzip,deflate
1664
- Date:
1665
- - Sun, 17 Nov 2019 16:39:34 GMT
1666
- X-Locomotive-Account-Email:
1667
- - admin@locomotivecms.com
1668
- X-Locomotive-Account-Token:
1669
- - bzwAyFQzcchf_hgDQhz3
1670
- response:
1671
- status:
1672
- code: 200
1673
- message: OK
1674
- headers:
1675
- Content-Type:
1676
- - application/json
1677
- Transfer-Encoding:
1678
- - chunked
1679
- Connection:
1680
- - keep-alive
1681
- Status:
1682
- - 200 OK
1683
- Cache-Control:
1684
- - max-age=0, private, must-revalidate
1685
- Etag:
1686
- - W/"16c97da5b33b2fd7dfb7655a79da04b8"
1687
- X-Runtime:
1688
- - '0.046672'
1689
- X-Request-Id:
1690
- - b87cc418-7f72-4e33-9ee0-563617f9f9c4
1691
- Date:
1692
- - Sun, 17 Nov 2019 16:39:34 GMT
1693
- X-Powered-By:
1694
- - Phusion Passenger 6.0.4
1695
- Server:
1696
- - nginx/1.17.3 + Phusion Passenger 6.0.4
1697
- Content-Encoding:
1698
- - gzip
1699
- body:
1700
- encoding: UTF-8
1701
- string: '{"_id":"5dd177c5a95330aa17f8f903","created_at":"2019-11-17T16:39:33Z","updated_at":"2019-11-17T16:39:33Z","_slug":"hello-world","content_type_slug":"articles","_label":"Hello
1702
- world","_position":0,"_visible":true,"seo_title":null,"meta_keywords":null,"meta_description":null,"title":"Hello
1703
- world"}'
1704
- http_version:
1705
- recorded_at: Sun, 17 Nov 2019 16:39:34 GMT
1706
- - request:
1707
- method: delete
1708
- uri: http://localhost:3000/locomotive/sample/api/v3/content_types/articles/entries/lorem-ipsum.json?auth_token=bzwAyFQzcchf_hgDQhz3
1709
- body:
1710
- encoding: UTF-8
1711
- string: ''
1712
- headers:
1713
- User-Agent:
1714
- - Faraday v0.15.4
1715
- Accept:
1716
- - application/json
1717
- Accept-Encoding:
1718
- - gzip,deflate
1719
- Date:
1720
- - Sun, 17 Nov 2019 16:39:34 GMT
1721
- X-Locomotive-Account-Email:
1722
- - admin@locomotivecms.com
1723
- X-Locomotive-Account-Token:
1724
- - bzwAyFQzcchf_hgDQhz3
1725
- response:
1726
- status:
1727
- code: 200
1728
- message: OK
1729
- headers:
1730
- Content-Type:
1731
- - application/json
1732
- Transfer-Encoding:
1733
- - chunked
1734
- Connection:
1735
- - keep-alive
1736
- Status:
1737
- - 200 OK
1738
- Cache-Control:
1739
- - max-age=0, private, must-revalidate
1740
- Etag:
1741
- - W/"01cc3e0e9f8f443bfc186177fc188769"
1742
- X-Runtime:
1743
- - '0.042685'
1744
- X-Request-Id:
1745
- - 428a14bb-fa74-4041-beff-99c4069048f2
1746
- Date:
1747
- - Sun, 17 Nov 2019 16:39:34 GMT
1748
- X-Powered-By:
1749
- - Phusion Passenger 6.0.4
1750
- Server:
1751
- - nginx/1.17.3 + Phusion Passenger 6.0.4
1752
- Content-Encoding:
1753
- - gzip
1754
- body:
1755
- encoding: UTF-8
1756
- string: '{"_id":"5dd177c6a95330aa17f8f906","created_at":"2019-11-17T16:39:34Z","updated_at":"2019-11-17T16:39:34Z","_slug":"lorem-ipsum","content_type_slug":"articles","_label":"Lorem
1757
- ipsum","_position":1,"_visible":true,"seo_title":null,"meta_keywords":null,"meta_description":null,"title":"Lorem
1758
- ipsum"}'
1759
- http_version:
1760
- recorded_at: Sun, 17 Nov 2019 16:39:34 GMT
1761
- - request:
1762
- method: post
1763
- uri: http://localhost:3000/locomotive/api/v3/tokens.json
1764
- body:
1765
- encoding: UTF-8
1766
- string: email=admin%40locomotivecms.com&password=locomotive
1767
- headers:
1768
- User-Agent:
1769
- - Faraday v0.15.4
1770
- Accept:
1771
- - application/json
1772
- Accept-Encoding:
1773
- - gzip,deflate
1774
- Date:
1775
- - Sun, 17 Nov 2019 16:39:34 GMT
1776
- Content-Type:
1777
- - application/x-www-form-urlencoded
1778
- response:
1779
- status:
1780
- code: 201
1781
- message: Created
1782
- headers:
1783
- Content-Type:
1784
- - application/json
1785
- Content-Length:
1786
- - '32'
1787
- Connection:
1788
- - keep-alive
1789
- Status:
1790
- - 201 Created
1791
- Cache-Control:
1792
- - max-age=0, private, must-revalidate
1793
- Etag:
1794
- - W/"410e3d6fde24f39257a7cc619b61baa7"
1795
- X-Runtime:
1796
- - '0.004860'
1797
- X-Request-Id:
1798
- - ef67b20e-05ab-4462-a0e6-6ac7dc50bf3f
1799
- Date:
1800
- - Sun, 17 Nov 2019 16:39:34 GMT
1801
- X-Powered-By:
1802
- - Phusion Passenger 6.0.4
1803
- Server:
1804
- - nginx/1.17.3 + Phusion Passenger 6.0.4
1805
- body:
1806
- encoding: UTF-8
1807
- string: '{"token":"bzwAyFQzcchf_hgDQhz3"}'
1808
- http_version:
1809
- recorded_at: Sun, 17 Nov 2019 16:39:34 GMT
1810
- - request:
1811
- method: post
1812
- uri: http://localhost:3000/locomotive/sample/api/v3/content_types/articles/entries.json
1813
- body:
1814
- encoding: UTF-8
1815
- string: auth_token=bzwAyFQzcchf_hgDQhz3&content_entry%5Btitle%5D=Random+title
1816
- headers:
1817
- User-Agent:
1818
- - Faraday v0.15.4
1819
- Accept:
1820
- - application/json
1821
- Accept-Encoding:
1822
- - gzip,deflate
1823
- Date:
1824
- - Sun, 17 Nov 2019 16:39:34 GMT
1825
- X-Locomotive-Account-Email:
1826
- - admin@locomotivecms.com
1827
- X-Locomotive-Account-Token:
1828
- - bzwAyFQzcchf_hgDQhz3
1829
- Content-Type:
1830
- - application/x-www-form-urlencoded
1831
- response:
1832
- status:
1833
- code: 201
1834
- message: Created
1835
- headers:
1836
- Content-Type:
1837
- - application/json
1838
- Content-Length:
1839
- - '299'
1840
- Connection:
1841
- - keep-alive
1842
- Status:
1843
- - 201 Created
1844
- Cache-Control:
1845
- - max-age=0, private, must-revalidate
1846
- Etag:
1847
- - W/"5781ac9eea2ef833748ad9813460a26f"
1848
- X-Runtime:
1849
- - '0.065200'
1850
- X-Request-Id:
1851
- - b05529d1-e224-47d5-966d-359d899d6bab
1852
- Date:
1853
- - Sun, 17 Nov 2019 16:39:34 GMT
1854
- X-Powered-By:
1855
- - Phusion Passenger 6.0.4
1856
- Server:
1857
- - nginx/1.17.3 + Phusion Passenger 6.0.4
1858
- body:
1859
- encoding: UTF-8
1860
- string: '{"_id":"5dd177c6a95330aa17f8f909","created_at":"2019-11-17T16:39:34Z","updated_at":"2019-11-17T16:39:34Z","_slug":"random-title","content_type_slug":"articles","_label":"Random
1861
- title","_position":0,"_visible":true,"seo_title":null,"meta_keywords":null,"meta_description":null,"title":"Random
1862
- title"}'
1863
- http_version:
1864
- recorded_at: Sun, 17 Nov 2019 16:39:34 GMT
1865
- - request:
1866
- method: put
1867
- uri: http://localhost:3000/locomotive/sample/api/v3/content_types/articles/entries/random-title.json
1868
- body:
1869
- encoding: UTF-8
1870
- string: auth_token=bzwAyFQzcchf_hgDQhz3&content_entry%5Btitle%5D=Random+title%21
1871
- headers:
1872
- User-Agent:
1873
- - Faraday v0.15.4
1874
- Accept:
1875
- - application/json
1876
- Accept-Encoding:
1877
- - gzip,deflate
1878
- Date:
1879
- - Sun, 17 Nov 2019 16:39:34 GMT
1880
- X-Locomotive-Account-Email:
1881
- - admin@locomotivecms.com
1882
- X-Locomotive-Account-Token:
1883
- - bzwAyFQzcchf_hgDQhz3
1884
- X-Locomotive-Locale:
1885
- - ''
1886
- Content-Type:
1887
- - application/x-www-form-urlencoded
1888
- response:
1889
- status:
1890
- code: 200
1891
- message: OK
1892
- headers:
1893
- Content-Type:
1894
- - application/json
1895
- Transfer-Encoding:
1896
- - chunked
1897
- Connection:
1898
- - keep-alive
1899
- Status:
1900
- - 200 OK
1901
- Cache-Control:
1902
- - max-age=0, private, must-revalidate
1903
- Etag:
1904
- - W/"caa4cf4edef030baf90169c0255ed7e0"
1905
- X-Runtime:
1906
- - '0.103074'
1907
- X-Request-Id:
1908
- - def6d6ac-9515-49a4-bba8-7683807a2511
1909
- Date:
1910
- - Sun, 17 Nov 2019 16:39:34 GMT
1911
- X-Powered-By:
1912
- - Phusion Passenger 6.0.4
1913
- Server:
1914
- - nginx/1.17.3 + Phusion Passenger 6.0.4
1915
- Content-Encoding:
1916
- - gzip
1917
- body:
1918
- encoding: UTF-8
1919
- string: '{"_id":"5dd177c6a95330aa17f8f909","created_at":"2019-11-17T16:39:34Z","updated_at":"2019-11-17T16:39:34Z","_slug":"random-title","content_type_slug":"articles","_label":"Random
1920
- title!","_position":0,"_visible":true,"seo_title":null,"meta_keywords":null,"meta_description":null,"title":"Random
1921
- title!"}'
1922
- http_version:
1923
- recorded_at: Sun, 17 Nov 2019 16:39:34 GMT
1924
- - request:
1925
- method: post
1926
- uri: http://localhost:3000/locomotive/api/v3/tokens.json
1927
- body:
1928
- encoding: UTF-8
1929
- string: email=admin%40locomotivecms.com&password=locomotive
1930
- headers:
1931
- User-Agent:
1932
- - Faraday v0.15.4
1933
- Accept:
1934
- - application/json
1935
- Accept-Encoding:
1936
- - gzip,deflate
1937
- Date:
1938
- - Sun, 17 Nov 2019 16:39:34 GMT
1939
- Content-Type:
1940
- - application/x-www-form-urlencoded
1941
- response:
1942
- status:
1943
- code: 201
1944
- message: Created
1945
- headers:
1946
- Content-Type:
1947
- - application/json
1948
- Content-Length:
1949
- - '32'
1950
- Connection:
1951
- - keep-alive
1952
- Status:
1953
- - 201 Created
1954
- Cache-Control:
1955
- - max-age=0, private, must-revalidate
1956
- Etag:
1957
- - W/"410e3d6fde24f39257a7cc619b61baa7"
1958
- X-Runtime:
1959
- - '0.005003'
1960
- X-Request-Id:
1961
- - 43e354b1-7653-4221-9394-d1ef5af19eaa
1962
- Date:
1963
- - Sun, 17 Nov 2019 16:39:34 GMT
1964
- X-Powered-By:
1965
- - Phusion Passenger 6.0.4
1966
- Server:
1967
- - nginx/1.17.3 + Phusion Passenger 6.0.4
1968
- body:
1969
- encoding: UTF-8
1970
- string: '{"token":"bzwAyFQzcchf_hgDQhz3"}'
1971
- http_version:
1972
- recorded_at: Sun, 17 Nov 2019 16:39:34 GMT
1973
- - request:
1974
- method: post
1975
- uri: http://localhost:3000/locomotive/sample/api/v3/content_types/articles/entries.json
1976
- body:
1977
- encoding: UTF-8
1978
- string: auth_token=bzwAyFQzcchf_hgDQhz3&content_entry%5Btitle%5D=Random+title
1979
- headers:
1980
- User-Agent:
1981
- - Faraday v0.15.4
1982
- Accept:
1983
- - application/json
1984
- Accept-Encoding:
1985
- - gzip,deflate
1986
- Date:
1987
- - Sun, 17 Nov 2019 16:39:34 GMT
1988
- X-Locomotive-Account-Email:
1989
- - admin@locomotivecms.com
1990
- X-Locomotive-Account-Token:
1991
- - bzwAyFQzcchf_hgDQhz3
1992
- Content-Type:
1993
- - application/x-www-form-urlencoded
1994
- response:
1995
- status:
1996
- code: 201
1997
- message: Created
1998
- headers:
1999
- Content-Type:
2000
- - application/json
2001
- Content-Length:
2002
- - '301'
2003
- Connection:
2004
- - keep-alive
2005
- Status:
2006
- - 201 Created
2007
- Cache-Control:
2008
- - max-age=0, private, must-revalidate
2009
- Etag:
2010
- - W/"cc1095532968e51f044a7456551552d9"
2011
- X-Runtime:
2012
- - '0.044698'
2013
- X-Request-Id:
2014
- - 36d1a2e8-d972-484b-bf96-ab35a4f02b92
2015
- Date:
2016
- - Sun, 17 Nov 2019 16:39:34 GMT
2017
- X-Powered-By:
2018
- - Phusion Passenger 6.0.4
2019
- Server:
2020
- - nginx/1.17.3 + Phusion Passenger 6.0.4
2021
- body:
2022
- encoding: UTF-8
2023
- string: '{"_id":"5dd177c6a95330aa17f8f90e","created_at":"2019-11-17T16:39:34Z","updated_at":"2019-11-17T16:39:34Z","_slug":"random-title-1","content_type_slug":"articles","_label":"Random
2024
- title","_position":1,"_visible":true,"seo_title":null,"meta_keywords":null,"meta_description":null,"title":"Random
2025
- title"}'
2026
- http_version:
2027
- recorded_at: Sun, 17 Nov 2019 16:39:34 GMT
2028
- - request:
2029
- method: put
2030
- uri: http://localhost:3000/locomotive/sample/api/v3/content_types/articles/entries/5dd177c6a95330aa17f8f90e.json
2031
- body:
2032
- encoding: UTF-8
2033
- string: auth_token=bzwAyFQzcchf_hgDQhz3&content_entry%5Btitle%5D=Titre+au+hasard
2034
- headers:
2035
- User-Agent:
2036
- - Faraday v0.15.4
2037
- Accept:
2038
- - application/json
2039
- Accept-Encoding:
2040
- - gzip,deflate
2041
- Date:
2042
- - Sun, 17 Nov 2019 16:39:34 GMT
2043
- X-Locomotive-Account-Email:
2044
- - admin@locomotivecms.com
2045
- X-Locomotive-Account-Token:
2046
- - bzwAyFQzcchf_hgDQhz3
2047
- X-Locomotive-Locale:
2048
- - fr
2049
- Content-Type:
2050
- - application/x-www-form-urlencoded
2051
- response:
2052
- status:
2053
- code: 200
2054
- message: OK
2055
- headers:
2056
- Content-Type:
2057
- - application/json
2058
- Transfer-Encoding:
2059
- - chunked
2060
- Connection:
2061
- - keep-alive
2062
- Status:
2063
- - 200 OK
2064
- Cache-Control:
2065
- - max-age=0, private, must-revalidate
2066
- Etag:
2067
- - W/"db7315f9b18d270c35e6e3ac63173912"
2068
- X-Runtime:
2069
- - '0.031054'
2070
- X-Request-Id:
2071
- - f9c8fd02-c4ac-4c08-b830-e7558d959747
2072
- Date:
2073
- - Sun, 17 Nov 2019 16:39:34 GMT
2074
- X-Powered-By:
2075
- - Phusion Passenger 6.0.4
2076
- Server:
2077
- - nginx/1.17.3 + Phusion Passenger 6.0.4
2078
- Content-Encoding:
2079
- - gzip
2080
- body:
2081
- encoding: UTF-8
2082
- string: '{"_id":"5dd177c6a95330aa17f8f90e","created_at":"2019-11-17T16:39:34Z","updated_at":"2019-11-17T16:39:34Z","_slug":"titre-au-hasard","content_type_slug":"articles","_label":"Titre
2083
- au hasard","_position":1,"_visible":true,"seo_title":null,"meta_keywords":null,"meta_description":null,"title":"Titre
2084
- au hasard"}'
2085
- http_version:
2086
- recorded_at: Sun, 17 Nov 2019 16:39:34 GMT
2087
- - request:
2088
- method: post
2089
- uri: http://localhost:3000/locomotive/api/v3/tokens.json
2090
- body:
2091
- encoding: UTF-8
2092
- string: email=admin%40locomotivecms.com&password=locomotive
2093
- headers:
2094
- User-Agent:
2095
- - Faraday v0.15.4
2096
- Accept:
2097
- - application/json
2098
- Accept-Encoding:
2099
- - gzip,deflate
2100
- Date:
2101
- - Sun, 17 Nov 2019 16:39:34 GMT
2102
- Content-Type:
2103
- - application/x-www-form-urlencoded
2104
- response:
2105
- status:
2106
- code: 201
2107
- message: Created
2108
- headers:
2109
- Content-Type:
2110
- - application/json
2111
- Content-Length:
2112
- - '32'
2113
- Connection:
2114
- - keep-alive
2115
- Status:
2116
- - 201 Created
2117
- Cache-Control:
2118
- - max-age=0, private, must-revalidate
2119
- Etag:
2120
- - W/"410e3d6fde24f39257a7cc619b61baa7"
2121
- X-Runtime:
2122
- - '0.007069'
2123
- X-Request-Id:
2124
- - c8924ba8-402f-4514-863c-5c9922fe76a1
2125
- Date:
2126
- - Sun, 17 Nov 2019 16:39:34 GMT
2127
- X-Powered-By:
2128
- - Phusion Passenger 6.0.4
2129
- Server:
2130
- - nginx/1.17.3 + Phusion Passenger 6.0.4
2131
- body:
2132
- encoding: UTF-8
2133
- string: '{"token":"bzwAyFQzcchf_hgDQhz3"}'
2134
- http_version:
2135
- recorded_at: Sun, 17 Nov 2019 16:39:34 GMT
2136
- - request:
2137
- method: delete
2138
- uri: http://localhost:3000/locomotive/sample/api/v3/content_types/5dd177c4a95330aa17f8f8e8.json?auth_token=bzwAyFQzcchf_hgDQhz3
2139
- body:
2140
- encoding: UTF-8
2141
- string: ''
2142
- headers:
2143
- User-Agent:
2144
- - Faraday v0.15.4
2145
- Accept:
2146
- - application/json
2147
- Accept-Encoding:
2148
- - gzip,deflate
2149
- Date:
2150
- - Sun, 17 Nov 2019 16:39:34 GMT
2151
- X-Locomotive-Account-Email:
2152
- - admin@locomotivecms.com
2153
- X-Locomotive-Account-Token:
2154
- - bzwAyFQzcchf_hgDQhz3
2155
- response:
2156
- status:
2157
- code: 200
2158
- message: OK
2159
- headers:
2160
- Content-Type:
2161
- - application/json
2162
- Transfer-Encoding:
2163
- - chunked
2164
- Connection:
2165
- - keep-alive
2166
- Status:
2167
- - 200 OK
2168
- Cache-Control:
2169
- - max-age=0, private, must-revalidate
2170
- Etag:
2171
- - W/"2494e9a41a98ebde68d03c9afe488298"
2172
- X-Runtime:
2173
- - '0.036548'
2174
- X-Request-Id:
2175
- - 8ff7cff3-527f-435c-be83-922e42732c62
2176
- Date:
2177
- - Sun, 17 Nov 2019 16:39:34 GMT
2178
- X-Powered-By:
2179
- - Phusion Passenger 6.0.4
2180
- Server:
2181
- - nginx/1.17.3 + Phusion Passenger 6.0.4
2182
- Content-Encoding:
2183
- - gzip
2184
- body:
2185
- encoding: UTF-8
2186
- string: '{"_id":"5dd177c4a95330aa17f8f8e8","created_at":"2019-11-17T16:39:32Z","updated_at":"2019-11-17T16:39:34Z","name":"Article","slug":"articles","description":null,"label_field_name":"title","order_direction":"asc","public_submission_enabled":false,"public_submission_accounts":[],"public_submission_title_template":null,"recaptcha_required":false,"entry_template":null,"display_settings":null,"filter_fields":null,"fields":[{"_id":"5dd177c4a95330aa17f8f8e9","created_at":null,"updated_at":null,"name":"title","type":"string","label":"Title","hint":null,"required":true,"localized":true,"unique":false,"default":null,"position":0,"group":null}],"order_by":"created_at","group_by":null,"public_submission_account_emails":[]}'
2187
- http_version:
2188
- recorded_at: Sun, 17 Nov 2019 16:39:34 GMT
2189
- recorded_with: VCR 4.0.0