locomotivecms_coal 1.7.0 → 1.8.0.alpha1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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,726 +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:30 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.004834'
39
- X-Request-Id:
40
- - bf4424d0-9f13-4088-803c-2fe1e6253665
41
- Date:
42
- - Sun, 17 Nov 2019 16:39:30 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:30 GMT
52
- - request:
53
- method: get
54
- uri: http://localhost:3000/locomotive/sample/api/v3/content_types.json?auth_token=bzwAyFQzcchf_hgDQhz3
55
- body:
56
- encoding: UTF-8
57
- string: ''
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:30 GMT
67
- X-Locomotive-Account-Email:
68
- - admin@locomotivecms.com
69
- X-Locomotive-Account-Token:
70
- - bzwAyFQzcchf_hgDQhz3
71
- response:
72
- status:
73
- code: 200
74
- message: OK
75
- headers:
76
- Content-Type:
77
- - application/json
78
- Content-Length:
79
- - '2'
80
- Connection:
81
- - keep-alive
82
- Status:
83
- - 200 OK
84
- Cache-Control:
85
- - max-age=0, private, must-revalidate
86
- Etag:
87
- - W/"4f53cda18c2baa0c0354bb5f9a3ecbe5"
88
- X-Runtime:
89
- - '0.019162'
90
- X-Request-Id:
91
- - 0145b7ba-87e8-4606-95d4-e246462b5118
92
- Date:
93
- - Sun, 17 Nov 2019 16:39:31 GMT
94
- X-Powered-By:
95
- - Phusion Passenger 6.0.4
96
- Server:
97
- - nginx/1.17.3 + Phusion Passenger 6.0.4
98
- body:
99
- encoding: UTF-8
100
- string: "[]"
101
- http_version:
102
- recorded_at: Sun, 17 Nov 2019 16:39:31 GMT
103
- - request:
104
- method: post
105
- uri: http://localhost:3000/locomotive/api/v3/tokens.json
106
- body:
107
- encoding: UTF-8
108
- string: email=admin%40locomotivecms.com&password=locomotive
109
- headers:
110
- User-Agent:
111
- - Faraday v0.15.4
112
- Accept:
113
- - application/json
114
- Accept-Encoding:
115
- - gzip,deflate
116
- Date:
117
- - Sun, 17 Nov 2019 16:39:31 GMT
118
- Content-Type:
119
- - application/x-www-form-urlencoded
120
- response:
121
- status:
122
- code: 201
123
- message: Created
124
- headers:
125
- Content-Type:
126
- - application/json
127
- Content-Length:
128
- - '32'
129
- Connection:
130
- - keep-alive
131
- Status:
132
- - 201 Created
133
- Cache-Control:
134
- - max-age=0, private, must-revalidate
135
- Etag:
136
- - W/"410e3d6fde24f39257a7cc619b61baa7"
137
- X-Runtime:
138
- - '0.005706'
139
- X-Request-Id:
140
- - 330f3110-aaa5-48a3-b0c6-134476b0e0b1
141
- Date:
142
- - Sun, 17 Nov 2019 16:39:31 GMT
143
- X-Powered-By:
144
- - Phusion Passenger 6.0.4
145
- Server:
146
- - nginx/1.17.3 + Phusion Passenger 6.0.4
147
- body:
148
- encoding: UTF-8
149
- string: '{"token":"bzwAyFQzcchf_hgDQhz3"}'
150
- http_version:
151
- recorded_at: Sun, 17 Nov 2019 16:39:31 GMT
152
- - request:
153
- method: post
154
- uri: http://localhost:3000/locomotive/sample/api/v3/content_types.json
155
- body:
156
- encoding: UTF-8
157
- string: auth_token=bzwAyFQzcchf_hgDQhz3&content_type%5Bfields%5D%5B0%5D%5Blabel%5D=Name&content_type%5Bfields%5D%5B0%5D%5Bname%5D=name&content_type%5Bfields%5D%5B0%5D%5Btype%5D=string&content_type%5Bname%5D=Projects&content_type%5Bslug%5D=projects
158
- headers:
159
- User-Agent:
160
- - Faraday v0.15.4
161
- Accept:
162
- - application/json
163
- Accept-Encoding:
164
- - gzip,deflate
165
- Date:
166
- - Sun, 17 Nov 2019 16:39:31 GMT
167
- X-Locomotive-Account-Email:
168
- - admin@locomotivecms.com
169
- X-Locomotive-Account-Token:
170
- - bzwAyFQzcchf_hgDQhz3
171
- Content-Type:
172
- - application/x-www-form-urlencoded
173
- response:
174
- status:
175
- code: 201
176
- message: Created
177
- headers:
178
- Content-Type:
179
- - application/json
180
- Content-Length:
181
- - '718'
182
- Connection:
183
- - keep-alive
184
- Status:
185
- - 201 Created
186
- Cache-Control:
187
- - max-age=0, private, must-revalidate
188
- Etag:
189
- - W/"e7d77d63d5c2a4109cc15acf07f54e0f"
190
- X-Runtime:
191
- - '0.041714'
192
- X-Request-Id:
193
- - 1a0b4864-cb22-4ca4-b709-01c6aea74daa
194
- Date:
195
- - Sun, 17 Nov 2019 16:39:31 GMT
196
- X-Powered-By:
197
- - Phusion Passenger 6.0.4
198
- Server:
199
- - nginx/1.17.3 + Phusion Passenger 6.0.4
200
- body:
201
- encoding: UTF-8
202
- string: '{"_id":"5dd177c3a95330aa17f8f8e0","created_at":"2019-11-17T16:39:31Z","updated_at":"2019-11-17T16:39:31Z","name":"Projects","slug":"projects","description":null,"label_field_name":"name","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":"5dd177c3a95330aa17f8f8e1","created_at":null,"updated_at":null,"name":"name","type":"string","label":"Name","hint":null,"required":true,"localized":false,"unique":false,"default":null,"position":0,"group":null}],"order_by":"created_at","group_by":null,"public_submission_account_emails":[]}'
203
- http_version:
204
- recorded_at: Sun, 17 Nov 2019 16:39:31 GMT
205
- - request:
206
- method: post
207
- uri: http://localhost:3000/locomotive/api/v3/tokens.json
208
- body:
209
- encoding: UTF-8
210
- string: email=admin%40locomotivecms.com&password=locomotive
211
- headers:
212
- User-Agent:
213
- - Faraday v0.15.4
214
- Accept:
215
- - application/json
216
- Accept-Encoding:
217
- - gzip,deflate
218
- Date:
219
- - Sun, 17 Nov 2019 16:39:31 GMT
220
- Content-Type:
221
- - application/x-www-form-urlencoded
222
- response:
223
- status:
224
- code: 201
225
- message: Created
226
- headers:
227
- Content-Type:
228
- - application/json
229
- Content-Length:
230
- - '32'
231
- Connection:
232
- - keep-alive
233
- Status:
234
- - 201 Created
235
- Cache-Control:
236
- - max-age=0, private, must-revalidate
237
- Etag:
238
- - W/"410e3d6fde24f39257a7cc619b61baa7"
239
- X-Runtime:
240
- - '0.004343'
241
- X-Request-Id:
242
- - 902bc4d8-68d9-46b0-bf1c-ef7e1936a8d8
243
- Date:
244
- - Sun, 17 Nov 2019 16:39:31 GMT
245
- X-Powered-By:
246
- - Phusion Passenger 6.0.4
247
- Server:
248
- - nginx/1.17.3 + Phusion Passenger 6.0.4
249
- body:
250
- encoding: UTF-8
251
- string: '{"token":"bzwAyFQzcchf_hgDQhz3"}'
252
- http_version:
253
- recorded_at: Sun, 17 Nov 2019 16:39:31 GMT
254
- - request:
255
- method: get
256
- uri: http://localhost:3000/locomotive/sample/api/v3/content_types.json?auth_token=bzwAyFQzcchf_hgDQhz3
257
- body:
258
- encoding: UTF-8
259
- string: ''
260
- headers:
261
- User-Agent:
262
- - Faraday v0.15.4
263
- Accept:
264
- - application/json
265
- Accept-Encoding:
266
- - gzip,deflate
267
- Date:
268
- - Sun, 17 Nov 2019 16:39:31 GMT
269
- X-Locomotive-Account-Email:
270
- - admin@locomotivecms.com
271
- X-Locomotive-Account-Token:
272
- - bzwAyFQzcchf_hgDQhz3
273
- response:
274
- status:
275
- code: 200
276
- message: OK
277
- headers:
278
- Content-Type:
279
- - application/json
280
- Transfer-Encoding:
281
- - chunked
282
- Connection:
283
- - keep-alive
284
- Status:
285
- - 200 OK
286
- Cache-Control:
287
- - max-age=0, private, must-revalidate
288
- Etag:
289
- - W/"44a92f5b21a45896e5d20b2eaf366da6"
290
- X-Runtime:
291
- - '0.013723'
292
- X-Request-Id:
293
- - 4483c884-e690-4e50-b36b-872f2a81ad5c
294
- Date:
295
- - Sun, 17 Nov 2019 16:39:31 GMT
296
- X-Powered-By:
297
- - Phusion Passenger 6.0.4
298
- Server:
299
- - nginx/1.17.3 + Phusion Passenger 6.0.4
300
- Content-Encoding:
301
- - gzip
302
- body:
303
- encoding: UTF-8
304
- string: '[{"_id":"5dd177c3a95330aa17f8f8e0","created_at":"2019-11-17T16:39:31Z","updated_at":"2019-11-17T16:39:31Z","name":"Projects","slug":"projects","description":null,"label_field_name":"name","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":"5dd177c3a95330aa17f8f8e1","created_at":null,"updated_at":null,"name":"name","type":"string","label":"Name","hint":null,"required":true,"localized":false,"unique":false,"default":null,"position":0,"group":null}],"order_by":"created_at","group_by":null,"public_submission_account_emails":[]}]'
305
- http_version:
306
- recorded_at: Sun, 17 Nov 2019 16:39:31 GMT
307
- - request:
308
- method: put
309
- uri: http://localhost:3000/locomotive/sample/api/v3/content_types/5dd177c3a95330aa17f8f8e0.json
310
- body:
311
- encoding: UTF-8
312
- string: auth_token=bzwAyFQzcchf_hgDQhz3&content_type%5Bname%5D=Our+projects
313
- headers:
314
- User-Agent:
315
- - Faraday v0.15.4
316
- Accept:
317
- - application/json
318
- Accept-Encoding:
319
- - gzip,deflate
320
- Date:
321
- - Sun, 17 Nov 2019 16:39:31 GMT
322
- X-Locomotive-Account-Email:
323
- - admin@locomotivecms.com
324
- X-Locomotive-Account-Token:
325
- - bzwAyFQzcchf_hgDQhz3
326
- Content-Type:
327
- - application/x-www-form-urlencoded
328
- response:
329
- status:
330
- code: 200
331
- message: OK
332
- headers:
333
- Content-Type:
334
- - application/json
335
- Transfer-Encoding:
336
- - chunked
337
- Connection:
338
- - keep-alive
339
- Status:
340
- - 200 OK
341
- Cache-Control:
342
- - max-age=0, private, must-revalidate
343
- Etag:
344
- - W/"fd00427806d5cfed5582896b1c5e3628"
345
- X-Runtime:
346
- - '0.076354'
347
- X-Request-Id:
348
- - 83935294-a5e1-470f-9f25-3b459d81c7aa
349
- Date:
350
- - Sun, 17 Nov 2019 16:39:31 GMT
351
- X-Powered-By:
352
- - Phusion Passenger 6.0.4
353
- Server:
354
- - nginx/1.17.3 + Phusion Passenger 6.0.4
355
- Content-Encoding:
356
- - gzip
357
- body:
358
- encoding: UTF-8
359
- string: '{"_id":"5dd177c3a95330aa17f8f8e0","created_at":"2019-11-17T16:39:31Z","updated_at":"2019-11-17T16:39:31Z","name":"Our
360
- projects","slug":"projects","description":null,"label_field_name":"name","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":"5dd177c3a95330aa17f8f8e1","created_at":null,"updated_at":null,"name":"name","type":"string","label":"Name","hint":null,"required":true,"localized":false,"unique":false,"default":null,"position":0,"group":null}],"order_by":"created_at","group_by":null,"public_submission_account_emails":[]}'
361
- http_version:
362
- recorded_at: Sun, 17 Nov 2019 16:39:31 GMT
363
- - request:
364
- method: post
365
- uri: http://localhost:3000/locomotive/api/v3/tokens.json
366
- body:
367
- encoding: UTF-8
368
- string: email=admin%40locomotivecms.com&password=locomotive
369
- headers:
370
- User-Agent:
371
- - Faraday v0.15.4
372
- Accept:
373
- - application/json
374
- Accept-Encoding:
375
- - gzip,deflate
376
- Date:
377
- - Sun, 17 Nov 2019 16:39:31 GMT
378
- Content-Type:
379
- - application/x-www-form-urlencoded
380
- response:
381
- status:
382
- code: 201
383
- message: Created
384
- headers:
385
- Content-Type:
386
- - application/json
387
- Content-Length:
388
- - '32'
389
- Connection:
390
- - keep-alive
391
- Status:
392
- - 201 Created
393
- Cache-Control:
394
- - max-age=0, private, must-revalidate
395
- Etag:
396
- - W/"410e3d6fde24f39257a7cc619b61baa7"
397
- X-Runtime:
398
- - '0.004795'
399
- X-Request-Id:
400
- - 156db0e1-dc0a-45b1-9bfe-1ba06ffa5eeb
401
- Date:
402
- - Sun, 17 Nov 2019 16:39:31 GMT
403
- X-Powered-By:
404
- - Phusion Passenger 6.0.4
405
- Server:
406
- - nginx/1.17.3 + Phusion Passenger 6.0.4
407
- body:
408
- encoding: UTF-8
409
- string: '{"token":"bzwAyFQzcchf_hgDQhz3"}'
410
- http_version:
411
- recorded_at: Sun, 17 Nov 2019 16:39:31 GMT
412
- - request:
413
- method: get
414
- uri: http://localhost:3000/locomotive/sample/api/v3/content_types.json?auth_token=bzwAyFQzcchf_hgDQhz3
415
- body:
416
- encoding: UTF-8
417
- string: ''
418
- headers:
419
- User-Agent:
420
- - Faraday v0.15.4
421
- Accept:
422
- - application/json
423
- Accept-Encoding:
424
- - gzip,deflate
425
- Date:
426
- - Sun, 17 Nov 2019 16:39:31 GMT
427
- X-Locomotive-Account-Email:
428
- - admin@locomotivecms.com
429
- X-Locomotive-Account-Token:
430
- - bzwAyFQzcchf_hgDQhz3
431
- response:
432
- status:
433
- code: 200
434
- message: OK
435
- headers:
436
- Content-Type:
437
- - application/json
438
- Transfer-Encoding:
439
- - chunked
440
- Connection:
441
- - keep-alive
442
- Status:
443
- - 200 OK
444
- Cache-Control:
445
- - max-age=0, private, must-revalidate
446
- Etag:
447
- - W/"7c87c8c468d5d0b3e1a862ae23e98a0c"
448
- X-Runtime:
449
- - '0.017344'
450
- X-Request-Id:
451
- - 7c19dfce-9779-4da9-9a36-66682c437cf9
452
- Date:
453
- - Sun, 17 Nov 2019 16:39:31 GMT
454
- X-Powered-By:
455
- - Phusion Passenger 6.0.4
456
- Server:
457
- - nginx/1.17.3 + Phusion Passenger 6.0.4
458
- Content-Encoding:
459
- - gzip
460
- body:
461
- encoding: UTF-8
462
- string: '[{"_id":"5dd177c3a95330aa17f8f8e0","created_at":"2019-11-17T16:39:31Z","updated_at":"2019-11-17T16:39:31Z","name":"Our
463
- projects","slug":"projects","description":null,"label_field_name":"name","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":"5dd177c3a95330aa17f8f8e1","created_at":null,"updated_at":null,"name":"name","type":"string","label":"Name","hint":null,"required":true,"localized":false,"unique":false,"default":null,"position":0,"group":null}],"order_by":"created_at","group_by":null,"public_submission_account_emails":[]}]'
464
- http_version:
465
- recorded_at: Sun, 17 Nov 2019 16:39:31 GMT
466
- - request:
467
- method: delete
468
- uri: http://localhost:3000/locomotive/sample/api/v3/content_types/5dd177c3a95330aa17f8f8e0.json?auth_token=bzwAyFQzcchf_hgDQhz3
469
- body:
470
- encoding: UTF-8
471
- string: ''
472
- headers:
473
- User-Agent:
474
- - Faraday v0.15.4
475
- Accept:
476
- - application/json
477
- Accept-Encoding:
478
- - gzip,deflate
479
- Date:
480
- - Sun, 17 Nov 2019 16:39:31 GMT
481
- X-Locomotive-Account-Email:
482
- - admin@locomotivecms.com
483
- X-Locomotive-Account-Token:
484
- - bzwAyFQzcchf_hgDQhz3
485
- response:
486
- status:
487
- code: 200
488
- message: OK
489
- headers:
490
- Content-Type:
491
- - application/json
492
- Transfer-Encoding:
493
- - chunked
494
- Connection:
495
- - keep-alive
496
- Status:
497
- - 200 OK
498
- Cache-Control:
499
- - max-age=0, private, must-revalidate
500
- Etag:
501
- - W/"fd00427806d5cfed5582896b1c5e3628"
502
- X-Runtime:
503
- - '0.022730'
504
- X-Request-Id:
505
- - 27d2df10-48fc-4dc2-8054-17c3c32a1724
506
- Date:
507
- - Sun, 17 Nov 2019 16:39:31 GMT
508
- X-Powered-By:
509
- - Phusion Passenger 6.0.4
510
- Server:
511
- - nginx/1.17.3 + Phusion Passenger 6.0.4
512
- Content-Encoding:
513
- - gzip
514
- body:
515
- encoding: UTF-8
516
- string: '{"_id":"5dd177c3a95330aa17f8f8e0","created_at":"2019-11-17T16:39:31Z","updated_at":"2019-11-17T16:39:31Z","name":"Our
517
- projects","slug":"projects","description":null,"label_field_name":"name","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":"5dd177c3a95330aa17f8f8e1","created_at":null,"updated_at":null,"name":"name","type":"string","label":"Name","hint":null,"required":true,"localized":false,"unique":false,"default":null,"position":0,"group":null}],"order_by":"created_at","group_by":null,"public_submission_account_emails":[]}'
518
- http_version:
519
- recorded_at: Sun, 17 Nov 2019 16:39:31 GMT
520
- - request:
521
- method: post
522
- uri: http://localhost:3000/locomotive/api/v3/tokens.json
523
- body:
524
- encoding: UTF-8
525
- string: email=admin%40locomotivecms.com&password=locomotive
526
- headers:
527
- User-Agent:
528
- - Faraday v0.15.4
529
- Accept:
530
- - application/json
531
- Accept-Encoding:
532
- - gzip,deflate
533
- Date:
534
- - Sun, 17 Nov 2019 16:39:31 GMT
535
- Content-Type:
536
- - application/x-www-form-urlencoded
537
- response:
538
- status:
539
- code: 201
540
- message: Created
541
- headers:
542
- Content-Type:
543
- - application/json
544
- Content-Length:
545
- - '32'
546
- Connection:
547
- - keep-alive
548
- Status:
549
- - 201 Created
550
- Cache-Control:
551
- - max-age=0, private, must-revalidate
552
- Etag:
553
- - W/"410e3d6fde24f39257a7cc619b61baa7"
554
- X-Runtime:
555
- - '0.005318'
556
- X-Request-Id:
557
- - 976bdeef-5945-4ad1-ab18-9cb2dd8ef2e5
558
- Date:
559
- - Sun, 17 Nov 2019 16:39:31 GMT
560
- X-Powered-By:
561
- - Phusion Passenger 6.0.4
562
- Server:
563
- - nginx/1.17.3 + Phusion Passenger 6.0.4
564
- body:
565
- encoding: UTF-8
566
- string: '{"token":"bzwAyFQzcchf_hgDQhz3"}'
567
- http_version:
568
- recorded_at: Sun, 17 Nov 2019 16:39:31 GMT
569
- - request:
570
- method: get
571
- uri: http://localhost:3000/locomotive/sample/api/v3/content_types.json?auth_token=bzwAyFQzcchf_hgDQhz3
572
- body:
573
- encoding: UTF-8
574
- string: ''
575
- headers:
576
- User-Agent:
577
- - Faraday v0.15.4
578
- Accept:
579
- - application/json
580
- Accept-Encoding:
581
- - gzip,deflate
582
- Date:
583
- - Sun, 17 Nov 2019 16:39:31 GMT
584
- X-Locomotive-Account-Email:
585
- - admin@locomotivecms.com
586
- X-Locomotive-Account-Token:
587
- - bzwAyFQzcchf_hgDQhz3
588
- response:
589
- status:
590
- code: 200
591
- message: OK
592
- headers:
593
- Content-Type:
594
- - application/json
595
- Content-Length:
596
- - '2'
597
- Connection:
598
- - keep-alive
599
- Status:
600
- - 200 OK
601
- Cache-Control:
602
- - max-age=0, private, must-revalidate
603
- Etag:
604
- - W/"4f53cda18c2baa0c0354bb5f9a3ecbe5"
605
- X-Runtime:
606
- - '0.013738'
607
- X-Request-Id:
608
- - e0cef2ff-8040-461d-8968-48484e361304
609
- Date:
610
- - Sun, 17 Nov 2019 16:39:31 GMT
611
- X-Powered-By:
612
- - Phusion Passenger 6.0.4
613
- Server:
614
- - nginx/1.17.3 + Phusion Passenger 6.0.4
615
- body:
616
- encoding: UTF-8
617
- string: "[]"
618
- http_version:
619
- recorded_at: Sun, 17 Nov 2019 16:39:31 GMT
620
- - request:
621
- method: post
622
- uri: http://localhost:3000/locomotive/sample/api/v3/content_types.json
623
- body:
624
- encoding: UTF-8
625
- string: auth_token=bzwAyFQzcchf_hgDQhz3&content_type%5Bfields%5D%5B0%5D%5Blabel%5D=Name&content_type%5Bfields%5D%5B0%5D%5Bname%5D=name&content_type%5Bfields%5D%5B0%5D%5Btype%5D=string&content_type%5Bname%5D=Projects&content_type%5Bslug%5D=projects
626
- headers:
627
- User-Agent:
628
- - Faraday v0.15.4
629
- Accept:
630
- - application/json
631
- Accept-Encoding:
632
- - gzip,deflate
633
- Date:
634
- - Sun, 17 Nov 2019 16:39:31 GMT
635
- X-Locomotive-Account-Email:
636
- - admin@locomotivecms.com
637
- X-Locomotive-Account-Token:
638
- - bzwAyFQzcchf_hgDQhz3
639
- Content-Type:
640
- - application/x-www-form-urlencoded
641
- response:
642
- status:
643
- code: 201
644
- message: Created
645
- headers:
646
- Content-Type:
647
- - application/json
648
- Content-Length:
649
- - '718'
650
- Connection:
651
- - keep-alive
652
- Status:
653
- - 201 Created
654
- Cache-Control:
655
- - max-age=0, private, must-revalidate
656
- Etag:
657
- - W/"befb1f6886030ee91b882410e972091c"
658
- X-Runtime:
659
- - '0.027679'
660
- X-Request-Id:
661
- - 647c4005-6493-4ef7-9f99-fc15b9e4744b
662
- Date:
663
- - Sun, 17 Nov 2019 16:39:31 GMT
664
- X-Powered-By:
665
- - Phusion Passenger 6.0.4
666
- Server:
667
- - nginx/1.17.3 + Phusion Passenger 6.0.4
668
- body:
669
- encoding: UTF-8
670
- string: '{"_id":"5dd177c3a95330aa17f8f8e2","created_at":"2019-11-17T16:39:31Z","updated_at":"2019-11-17T16:39:31Z","name":"Projects","slug":"projects","description":null,"label_field_name":"name","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":"5dd177c3a95330aa17f8f8e3","created_at":null,"updated_at":null,"name":"name","type":"string","label":"Name","hint":null,"required":true,"localized":false,"unique":false,"default":null,"position":0,"group":null}],"order_by":"created_at","group_by":null,"public_submission_account_emails":[]}'
671
- http_version:
672
- recorded_at: Sun, 17 Nov 2019 16:39:31 GMT
673
- - request:
674
- method: get
675
- uri: http://localhost:3000/locomotive/sample/api/v3/content_types.json?auth_token=bzwAyFQzcchf_hgDQhz3
676
- body:
677
- encoding: UTF-8
678
- string: ''
679
- headers:
680
- User-Agent:
681
- - Faraday v0.15.4
682
- Accept:
683
- - application/json
684
- Accept-Encoding:
685
- - gzip,deflate
686
- Date:
687
- - Sun, 17 Nov 2019 16:39:31 GMT
688
- X-Locomotive-Account-Email:
689
- - admin@locomotivecms.com
690
- X-Locomotive-Account-Token:
691
- - bzwAyFQzcchf_hgDQhz3
692
- response:
693
- status:
694
- code: 200
695
- message: OK
696
- headers:
697
- Content-Type:
698
- - application/json
699
- Transfer-Encoding:
700
- - chunked
701
- Connection:
702
- - keep-alive
703
- Status:
704
- - 200 OK
705
- Cache-Control:
706
- - max-age=0, private, must-revalidate
707
- Etag:
708
- - W/"8040cebb98ad22d53903648dfe561d68"
709
- X-Runtime:
710
- - '0.013466'
711
- X-Request-Id:
712
- - c8f8c9d5-b8e2-48b4-a161-9fcfe507ce1e
713
- Date:
714
- - Sun, 17 Nov 2019 16:39:31 GMT
715
- X-Powered-By:
716
- - Phusion Passenger 6.0.4
717
- Server:
718
- - nginx/1.17.3 + Phusion Passenger 6.0.4
719
- Content-Encoding:
720
- - gzip
721
- body:
722
- encoding: UTF-8
723
- string: '[{"_id":"5dd177c3a95330aa17f8f8e2","created_at":"2019-11-17T16:39:31Z","updated_at":"2019-11-17T16:39:31Z","name":"Projects","slug":"projects","description":null,"label_field_name":"name","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":"5dd177c3a95330aa17f8f8e3","created_at":null,"updated_at":null,"name":"name","type":"string","label":"Name","hint":null,"required":true,"localized":false,"unique":false,"default":null,"position":0,"group":null}],"order_by":"created_at","group_by":null,"public_submission_account_emails":[]}]'
724
- http_version:
725
- recorded_at: Sun, 17 Nov 2019 16:39:31 GMT
726
- recorded_with: VCR 4.0.0