locomotivecms_coal 1.2.0 → 1.3.0.rc
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +4 -4
- data/lib/locomotive/coal/resources/concerns/request.rb +2 -2
- data/lib/locomotive/coal/resources/content_entries.rb +1 -1
- data/lib/locomotive/coal/version.rb +1 -1
- data/spec/fixtures/coal_cassettes/content_entries.yml +1739 -285
- data/spec/fixtures/coal_cassettes/sites.yml +82 -1
- data/spec/integration/resources/content_entries_spec.rb +7 -0
- metadata +4 -4
@@ -1,42 +1,5 @@
|
|
1
1
|
---
|
2
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
|
-
Accept:
|
11
|
-
- application/json
|
12
|
-
Content-Type:
|
13
|
-
- application/x-www-form-urlencoded
|
14
|
-
Accept-Encoding:
|
15
|
-
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
16
|
-
User-Agent:
|
17
|
-
- Ruby
|
18
|
-
response:
|
19
|
-
status:
|
20
|
-
code: 201
|
21
|
-
message: Created
|
22
|
-
headers:
|
23
|
-
Content-Type:
|
24
|
-
- application/json
|
25
|
-
Etag:
|
26
|
-
- W/"120917583ae3f64355d682b690f7cb40"
|
27
|
-
Cache-Control:
|
28
|
-
- max-age=0, private, must-revalidate
|
29
|
-
X-Request-Id:
|
30
|
-
- 27ab1ac1-c312-4f9e-8fec-e5e26946bca2
|
31
|
-
X-Runtime:
|
32
|
-
- '0.018710'
|
33
|
-
Content-Length:
|
34
|
-
- '32'
|
35
|
-
body:
|
36
|
-
encoding: UTF-8
|
37
|
-
string: '{"token":"E2aoXzMxkFsLnCcmCcc_"}'
|
38
|
-
http_version:
|
39
|
-
recorded_at: Sat, 21 Nov 2015 22:30:58 GMT
|
40
3
|
- request:
|
41
4
|
method: post
|
42
5
|
uri: http://localhost:3000/locomotive/sample/api/v3/content_types.json
|
@@ -78,43 +41,6 @@ http_interactions:
|
|
78
41
|
string: '{"_id":"5650f0a287f6436cbc000004","created_at":"2015-11-21T22:30:58Z","updated_at":"2015-11-21T22:30:58Z","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,"entry_template":null,"display_settings":null,"fields":[{"_id":"5650f0a287f6436cbc000005","created_at":null,"updated_at":null,"name":"title","type":"string","label":"Title","hint":null,"required":true,"localized":true,"unique":false,"position":0}],"order_by":"created_at","group_by":null,"public_submission_account_emails":[]}'
|
79
42
|
http_version:
|
80
43
|
recorded_at: Sat, 21 Nov 2015 22:30:58 GMT
|
81
|
-
- request:
|
82
|
-
method: post
|
83
|
-
uri: http://localhost:3000/locomotive/api/v3/tokens.json
|
84
|
-
body:
|
85
|
-
encoding: UTF-8
|
86
|
-
string: email=admin%40locomotivecms.com&password=locomotive
|
87
|
-
headers:
|
88
|
-
Accept:
|
89
|
-
- application/json
|
90
|
-
Content-Type:
|
91
|
-
- application/x-www-form-urlencoded
|
92
|
-
Accept-Encoding:
|
93
|
-
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
94
|
-
User-Agent:
|
95
|
-
- Ruby
|
96
|
-
response:
|
97
|
-
status:
|
98
|
-
code: 201
|
99
|
-
message: Created
|
100
|
-
headers:
|
101
|
-
Content-Type:
|
102
|
-
- application/json
|
103
|
-
Etag:
|
104
|
-
- W/"120917583ae3f64355d682b690f7cb40"
|
105
|
-
Cache-Control:
|
106
|
-
- max-age=0, private, must-revalidate
|
107
|
-
X-Request-Id:
|
108
|
-
- 2d754978-5ad6-49c1-81dc-3da9758fe2b9
|
109
|
-
X-Runtime:
|
110
|
-
- '0.017026'
|
111
|
-
Content-Length:
|
112
|
-
- '32'
|
113
|
-
body:
|
114
|
-
encoding: UTF-8
|
115
|
-
string: '{"token":"E2aoXzMxkFsLnCcmCcc_"}'
|
116
|
-
http_version:
|
117
|
-
recorded_at: Sat, 21 Nov 2015 22:30:58 GMT
|
118
44
|
- request:
|
119
45
|
method: post
|
120
46
|
uri: http://localhost:3000/locomotive/sample/api/v3/content_types/articles/entries.json
|
@@ -332,43 +258,6 @@ http_interactions:
|
|
332
258
|
ipsum"}'
|
333
259
|
http_version:
|
334
260
|
recorded_at: Sat, 21 Nov 2015 22:30:59 GMT
|
335
|
-
- request:
|
336
|
-
method: post
|
337
|
-
uri: http://localhost:3000/locomotive/api/v3/tokens.json
|
338
|
-
body:
|
339
|
-
encoding: UTF-8
|
340
|
-
string: email=admin%40locomotivecms.com&password=locomotive
|
341
|
-
headers:
|
342
|
-
Accept:
|
343
|
-
- application/json
|
344
|
-
Content-Type:
|
345
|
-
- application/x-www-form-urlencoded
|
346
|
-
Accept-Encoding:
|
347
|
-
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
348
|
-
User-Agent:
|
349
|
-
- Ruby
|
350
|
-
response:
|
351
|
-
status:
|
352
|
-
code: 201
|
353
|
-
message: Created
|
354
|
-
headers:
|
355
|
-
Content-Type:
|
356
|
-
- application/json
|
357
|
-
Etag:
|
358
|
-
- W/"120917583ae3f64355d682b690f7cb40"
|
359
|
-
Cache-Control:
|
360
|
-
- max-age=0, private, must-revalidate
|
361
|
-
X-Request-Id:
|
362
|
-
- 087633c2-7ed7-4d49-b912-6109c509ca9d
|
363
|
-
X-Runtime:
|
364
|
-
- '0.018700'
|
365
|
-
Content-Length:
|
366
|
-
- '32'
|
367
|
-
body:
|
368
|
-
encoding: UTF-8
|
369
|
-
string: '{"token":"E2aoXzMxkFsLnCcmCcc_"}'
|
370
|
-
http_version:
|
371
|
-
recorded_at: Sat, 21 Nov 2015 22:30:59 GMT
|
372
261
|
- request:
|
373
262
|
method: post
|
374
263
|
uri: http://localhost:3000/locomotive/sample/api/v3/content_types/articles/entries.json
|
@@ -584,43 +473,6 @@ http_interactions:
|
|
584
473
|
ipsum"}'
|
585
474
|
http_version:
|
586
475
|
recorded_at: Sat, 21 Nov 2015 22:30:59 GMT
|
587
|
-
- request:
|
588
|
-
method: post
|
589
|
-
uri: http://localhost:3000/locomotive/api/v3/tokens.json
|
590
|
-
body:
|
591
|
-
encoding: UTF-8
|
592
|
-
string: email=admin%40locomotivecms.com&password=locomotive
|
593
|
-
headers:
|
594
|
-
Accept:
|
595
|
-
- application/json
|
596
|
-
Content-Type:
|
597
|
-
- application/x-www-form-urlencoded
|
598
|
-
Accept-Encoding:
|
599
|
-
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
600
|
-
User-Agent:
|
601
|
-
- Ruby
|
602
|
-
response:
|
603
|
-
status:
|
604
|
-
code: 201
|
605
|
-
message: Created
|
606
|
-
headers:
|
607
|
-
Content-Type:
|
608
|
-
- application/json
|
609
|
-
Etag:
|
610
|
-
- W/"120917583ae3f64355d682b690f7cb40"
|
611
|
-
Cache-Control:
|
612
|
-
- max-age=0, private, must-revalidate
|
613
|
-
X-Request-Id:
|
614
|
-
- 69ee7a3a-bf92-4aef-b21b-8dc2744946ee
|
615
|
-
X-Runtime:
|
616
|
-
- '0.017014'
|
617
|
-
Content-Length:
|
618
|
-
- '32'
|
619
|
-
body:
|
620
|
-
encoding: UTF-8
|
621
|
-
string: '{"token":"E2aoXzMxkFsLnCcmCcc_"}'
|
622
|
-
http_version:
|
623
|
-
recorded_at: Sat, 21 Nov 2015 22:30:59 GMT
|
624
476
|
- request:
|
625
477
|
method: post
|
626
478
|
uri: http://localhost:3000/locomotive/sample/api/v3/content_types/articles/entries.json
|
@@ -836,43 +688,6 @@ http_interactions:
|
|
836
688
|
ipsum"}'
|
837
689
|
http_version:
|
838
690
|
recorded_at: Sat, 21 Nov 2015 22:30:59 GMT
|
839
|
-
- request:
|
840
|
-
method: post
|
841
|
-
uri: http://localhost:3000/locomotive/api/v3/tokens.json
|
842
|
-
body:
|
843
|
-
encoding: UTF-8
|
844
|
-
string: email=admin%40locomotivecms.com&password=locomotive
|
845
|
-
headers:
|
846
|
-
Accept:
|
847
|
-
- application/json
|
848
|
-
Content-Type:
|
849
|
-
- application/x-www-form-urlencoded
|
850
|
-
Accept-Encoding:
|
851
|
-
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
852
|
-
User-Agent:
|
853
|
-
- Ruby
|
854
|
-
response:
|
855
|
-
status:
|
856
|
-
code: 201
|
857
|
-
message: Created
|
858
|
-
headers:
|
859
|
-
Content-Type:
|
860
|
-
- application/json
|
861
|
-
Etag:
|
862
|
-
- W/"120917583ae3f64355d682b690f7cb40"
|
863
|
-
Cache-Control:
|
864
|
-
- max-age=0, private, must-revalidate
|
865
|
-
X-Request-Id:
|
866
|
-
- 2d3b436b-762b-439c-bb2a-b9b678774b8f
|
867
|
-
X-Runtime:
|
868
|
-
- '0.017460'
|
869
|
-
Content-Length:
|
870
|
-
- '32'
|
871
|
-
body:
|
872
|
-
encoding: UTF-8
|
873
|
-
string: '{"token":"E2aoXzMxkFsLnCcmCcc_"}'
|
874
|
-
http_version:
|
875
|
-
recorded_at: Sat, 21 Nov 2015 22:30:59 GMT
|
876
691
|
- request:
|
877
692
|
method: post
|
878
693
|
uri: http://localhost:3000/locomotive/sample/api/v3/content_types/articles/entries.json
|
@@ -1090,43 +905,6 @@ http_interactions:
|
|
1090
905
|
ipsum"}'
|
1091
906
|
http_version:
|
1092
907
|
recorded_at: Sat, 21 Nov 2015 22:31:00 GMT
|
1093
|
-
- request:
|
1094
|
-
method: post
|
1095
|
-
uri: http://localhost:3000/locomotive/api/v3/tokens.json
|
1096
|
-
body:
|
1097
|
-
encoding: UTF-8
|
1098
|
-
string: email=admin%40locomotivecms.com&password=locomotive
|
1099
|
-
headers:
|
1100
|
-
Accept:
|
1101
|
-
- application/json
|
1102
|
-
Content-Type:
|
1103
|
-
- application/x-www-form-urlencoded
|
1104
|
-
Accept-Encoding:
|
1105
|
-
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
1106
|
-
User-Agent:
|
1107
|
-
- Ruby
|
1108
|
-
response:
|
1109
|
-
status:
|
1110
|
-
code: 201
|
1111
|
-
message: Created
|
1112
|
-
headers:
|
1113
|
-
Content-Type:
|
1114
|
-
- application/json
|
1115
|
-
Etag:
|
1116
|
-
- W/"120917583ae3f64355d682b690f7cb40"
|
1117
|
-
Cache-Control:
|
1118
|
-
- max-age=0, private, must-revalidate
|
1119
|
-
X-Request-Id:
|
1120
|
-
- 0df6851a-b3a8-4f96-8f49-a1ef658ca390
|
1121
|
-
X-Runtime:
|
1122
|
-
- '0.016897'
|
1123
|
-
Content-Length:
|
1124
|
-
- '32'
|
1125
|
-
body:
|
1126
|
-
encoding: UTF-8
|
1127
|
-
string: '{"token":"E2aoXzMxkFsLnCcmCcc_"}'
|
1128
|
-
http_version:
|
1129
|
-
recorded_at: Sat, 21 Nov 2015 22:31:00 GMT
|
1130
908
|
- request:
|
1131
909
|
method: post
|
1132
910
|
uri: http://localhost:3000/locomotive/sample/api/v3/content_types/articles/entries.json
|
@@ -1215,43 +993,6 @@ http_interactions:
|
|
1215
993
|
title!"}'
|
1216
994
|
http_version:
|
1217
995
|
recorded_at: Sat, 21 Nov 2015 22:31:00 GMT
|
1218
|
-
- request:
|
1219
|
-
method: post
|
1220
|
-
uri: http://localhost:3000/locomotive/api/v3/tokens.json
|
1221
|
-
body:
|
1222
|
-
encoding: UTF-8
|
1223
|
-
string: email=admin%40locomotivecms.com&password=locomotive
|
1224
|
-
headers:
|
1225
|
-
Accept:
|
1226
|
-
- application/json
|
1227
|
-
Content-Type:
|
1228
|
-
- application/x-www-form-urlencoded
|
1229
|
-
Accept-Encoding:
|
1230
|
-
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
1231
|
-
User-Agent:
|
1232
|
-
- Ruby
|
1233
|
-
response:
|
1234
|
-
status:
|
1235
|
-
code: 201
|
1236
|
-
message: Created
|
1237
|
-
headers:
|
1238
|
-
Content-Type:
|
1239
|
-
- application/json
|
1240
|
-
Etag:
|
1241
|
-
- W/"120917583ae3f64355d682b690f7cb40"
|
1242
|
-
Cache-Control:
|
1243
|
-
- max-age=0, private, must-revalidate
|
1244
|
-
X-Request-Id:
|
1245
|
-
- db836bb7-1b62-4780-a904-62aee46cf06b
|
1246
|
-
X-Runtime:
|
1247
|
-
- '0.018000'
|
1248
|
-
Content-Length:
|
1249
|
-
- '32'
|
1250
|
-
body:
|
1251
|
-
encoding: UTF-8
|
1252
|
-
string: '{"token":"E2aoXzMxkFsLnCcmCcc_"}'
|
1253
|
-
http_version:
|
1254
|
-
recorded_at: Sat, 21 Nov 2015 22:31:00 GMT
|
1255
996
|
- request:
|
1256
997
|
method: post
|
1257
998
|
uri: http://localhost:3000/locomotive/sample/api/v3/content_types/articles/entries.json
|
@@ -1341,59 +1082,368 @@ http_interactions:
|
|
1341
1082
|
http_version:
|
1342
1083
|
recorded_at: Sat, 21 Nov 2015 22:31:00 GMT
|
1343
1084
|
- request:
|
1344
|
-
method:
|
1345
|
-
uri: http://localhost:3000/locomotive/api/v3/
|
1085
|
+
method: delete
|
1086
|
+
uri: http://localhost:3000/locomotive/sample/api/v3/content_types/5650f0a287f6436cbc000004.json?auth_token=E2aoXzMxkFsLnCcmCcc_
|
1346
1087
|
body:
|
1347
|
-
encoding:
|
1348
|
-
string:
|
1088
|
+
encoding: US-ASCII
|
1089
|
+
string: ''
|
1349
1090
|
headers:
|
1350
1091
|
Accept:
|
1351
1092
|
- application/json
|
1352
|
-
|
1353
|
-
-
|
1093
|
+
X-Locomotive-Account-Email:
|
1094
|
+
- admin@locomotivecms.com
|
1095
|
+
X-Locomotive-Account-Token:
|
1096
|
+
- E2aoXzMxkFsLnCcmCcc_
|
1354
1097
|
Accept-Encoding:
|
1355
1098
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
1356
1099
|
User-Agent:
|
1357
1100
|
- Ruby
|
1358
1101
|
response:
|
1359
1102
|
status:
|
1360
|
-
code:
|
1361
|
-
message:
|
1103
|
+
code: 200
|
1104
|
+
message: OK
|
1362
1105
|
headers:
|
1363
1106
|
Content-Type:
|
1364
1107
|
- application/json
|
1365
1108
|
Etag:
|
1366
|
-
- W/"
|
1109
|
+
- W/"966ab8030e51f35aa22226d2ac99cd46"
|
1367
1110
|
Cache-Control:
|
1368
1111
|
- max-age=0, private, must-revalidate
|
1369
1112
|
X-Request-Id:
|
1370
|
-
-
|
1113
|
+
- 1de846bc-1266-4568-98c1-3616fa79c3fa
|
1371
1114
|
X-Runtime:
|
1372
|
-
- '0.
|
1115
|
+
- '0.057499'
|
1373
1116
|
Content-Length:
|
1374
|
-
- '
|
1117
|
+
- '643'
|
1375
1118
|
body:
|
1376
1119
|
encoding: UTF-8
|
1377
|
-
string: '{"
|
1120
|
+
string: '{"_id":"5650f0a287f6436cbc000004","created_at":"2015-11-21T22:30:58Z","updated_at":"2015-11-21T22:30:58Z","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,"entry_template":null,"display_settings":null,"fields":[{"_id":"5650f0a287f6436cbc000005","created_at":null,"updated_at":null,"name":"title","type":"string","label":"Title","hint":null,"required":true,"localized":true,"unique":false,"position":0}],"order_by":"created_at","group_by":null,"public_submission_account_emails":[]}'
|
1378
1121
|
http_version:
|
1379
1122
|
recorded_at: Sat, 21 Nov 2015 22:31:00 GMT
|
1380
1123
|
- request:
|
1381
|
-
method:
|
1382
|
-
uri: http://localhost:3000/locomotive/
|
1124
|
+
method: post
|
1125
|
+
uri: http://localhost:3000/locomotive/api/v3/tokens.json
|
1383
1126
|
body:
|
1384
|
-
encoding:
|
1127
|
+
encoding: UTF-8
|
1128
|
+
string: email=admin%40locomotivecms.com&password=locomotive
|
1129
|
+
headers:
|
1130
|
+
User-Agent:
|
1131
|
+
- HTTPClient/1.0 (2.7.1, ruby 2.2.3 (2015-08-18))
|
1132
|
+
Accept:
|
1133
|
+
- application/json
|
1134
|
+
Accept-Encoding:
|
1135
|
+
- gzip,deflate
|
1136
|
+
Date:
|
1137
|
+
- Thu, 21 Jul 2016 10:12:44 GMT
|
1138
|
+
Content-Type:
|
1139
|
+
- application/x-www-form-urlencoded
|
1140
|
+
response:
|
1141
|
+
status:
|
1142
|
+
code: 201
|
1143
|
+
message: Created
|
1144
|
+
headers:
|
1145
|
+
Content-Type:
|
1146
|
+
- application/json
|
1147
|
+
Etag:
|
1148
|
+
- W/"ed6b5e5d77dd808432ec751c0deee185"
|
1149
|
+
Cache-Control:
|
1150
|
+
- max-age=0, private, must-revalidate
|
1151
|
+
X-Request-Id:
|
1152
|
+
- d70fa4ad-d03b-4162-bfed-a5d5ccdf3037
|
1153
|
+
X-Runtime:
|
1154
|
+
- '0.388882'
|
1155
|
+
Content-Length:
|
1156
|
+
- '32'
|
1157
|
+
body:
|
1158
|
+
encoding: UTF-8
|
1159
|
+
string: '{"token":"4W9TGVPm1TgacsoyhusB"}'
|
1160
|
+
http_version:
|
1161
|
+
recorded_at: Thu, 21 Jul 2016 10:12:44 GMT
|
1162
|
+
- request:
|
1163
|
+
method: post
|
1164
|
+
uri: http://localhost:3000/locomotive/sample/api/v3/content_types.json
|
1165
|
+
body:
|
1166
|
+
encoding: UTF-8
|
1167
|
+
string: auth_token=4W9TGVPm1TgacsoyhusB&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
|
1168
|
+
headers:
|
1169
|
+
User-Agent:
|
1170
|
+
- HTTPClient/1.0 (2.7.1, ruby 2.2.3 (2015-08-18))
|
1171
|
+
Accept:
|
1172
|
+
- application/json
|
1173
|
+
Accept-Encoding:
|
1174
|
+
- gzip,deflate
|
1175
|
+
Date:
|
1176
|
+
- Thu, 21 Jul 2016 10:12:44 GMT
|
1177
|
+
X-Locomotive-Account-Email:
|
1178
|
+
- admin@locomotivecms.com
|
1179
|
+
X-Locomotive-Account-Token:
|
1180
|
+
- 4W9TGVPm1TgacsoyhusB
|
1181
|
+
Content-Type:
|
1182
|
+
- application/x-www-form-urlencoded
|
1183
|
+
response:
|
1184
|
+
status:
|
1185
|
+
code: 201
|
1186
|
+
message: Created
|
1187
|
+
headers:
|
1188
|
+
Content-Type:
|
1189
|
+
- application/json
|
1190
|
+
Etag:
|
1191
|
+
- W/"48ba2b54bd2cc6ac1c933e24c8e05488"
|
1192
|
+
Cache-Control:
|
1193
|
+
- max-age=0, private, must-revalidate
|
1194
|
+
X-Request-Id:
|
1195
|
+
- d501f6a6-61bf-42ff-a5c2-9bbcd9953b3e
|
1196
|
+
X-Runtime:
|
1197
|
+
- '0.512985'
|
1198
|
+
Content-Length:
|
1199
|
+
- '679'
|
1200
|
+
body:
|
1201
|
+
encoding: UTF-8
|
1202
|
+
string: '{"_id":"5790a01c00ea466f5ea8001c","created_at":"2016-07-21T10:12:44Z","updated_at":"2016-07-21T10:12:44Z","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,"entry_template":null,"display_settings":null,"filter_fields":null,"fields":[{"_id":"5790a01c00ea466f5ea8001d","created_at":null,"updated_at":null,"name":"title","type":"string","label":"Title","hint":null,"required":true,"localized":true,"unique":false,"default":null,"position":0}],"order_by":"created_at","group_by":null,"public_submission_account_emails":[]}'
|
1203
|
+
http_version:
|
1204
|
+
recorded_at: Thu, 21 Jul 2016 10:12:45 GMT
|
1205
|
+
- request:
|
1206
|
+
method: post
|
1207
|
+
uri: http://localhost:3000/locomotive/api/v3/tokens.json
|
1208
|
+
body:
|
1209
|
+
encoding: UTF-8
|
1210
|
+
string: email=admin%40locomotivecms.com&password=locomotive
|
1211
|
+
headers:
|
1212
|
+
User-Agent:
|
1213
|
+
- HTTPClient/1.0 (2.7.1, ruby 2.2.3 (2015-08-18))
|
1214
|
+
Accept:
|
1215
|
+
- application/json
|
1216
|
+
Accept-Encoding:
|
1217
|
+
- gzip,deflate
|
1218
|
+
Date:
|
1219
|
+
- Thu, 21 Jul 2016 10:12:45 GMT
|
1220
|
+
Content-Type:
|
1221
|
+
- application/x-www-form-urlencoded
|
1222
|
+
response:
|
1223
|
+
status:
|
1224
|
+
code: 201
|
1225
|
+
message: Created
|
1226
|
+
headers:
|
1227
|
+
Content-Type:
|
1228
|
+
- application/json
|
1229
|
+
Etag:
|
1230
|
+
- W/"ed6b5e5d77dd808432ec751c0deee185"
|
1231
|
+
Cache-Control:
|
1232
|
+
- max-age=0, private, must-revalidate
|
1233
|
+
X-Request-Id:
|
1234
|
+
- f07d1b11-5332-49f8-bfc4-e4ec5a686405
|
1235
|
+
X-Runtime:
|
1236
|
+
- '0.019070'
|
1237
|
+
Content-Length:
|
1238
|
+
- '32'
|
1239
|
+
body:
|
1240
|
+
encoding: UTF-8
|
1241
|
+
string: '{"token":"4W9TGVPm1TgacsoyhusB"}'
|
1242
|
+
http_version:
|
1243
|
+
recorded_at: Thu, 21 Jul 2016 10:12:45 GMT
|
1244
|
+
- request:
|
1245
|
+
method: post
|
1246
|
+
uri: http://localhost:3000/locomotive/sample/api/v3/content_types/articles/entries.json
|
1247
|
+
body:
|
1248
|
+
encoding: UTF-8
|
1249
|
+
string: auth_token=4W9TGVPm1TgacsoyhusB&content_entry%5Btitle%5D=Hello+world
|
1250
|
+
headers:
|
1251
|
+
User-Agent:
|
1252
|
+
- HTTPClient/1.0 (2.7.1, ruby 2.2.3 (2015-08-18))
|
1253
|
+
Accept:
|
1254
|
+
- application/json
|
1255
|
+
Accept-Encoding:
|
1256
|
+
- gzip,deflate
|
1257
|
+
Date:
|
1258
|
+
- Thu, 21 Jul 2016 10:12:45 GMT
|
1259
|
+
X-Locomotive-Account-Email:
|
1260
|
+
- admin@locomotivecms.com
|
1261
|
+
X-Locomotive-Account-Token:
|
1262
|
+
- 4W9TGVPm1TgacsoyhusB
|
1263
|
+
Content-Type:
|
1264
|
+
- application/x-www-form-urlencoded
|
1265
|
+
response:
|
1266
|
+
status:
|
1267
|
+
code: 201
|
1268
|
+
message: Created
|
1269
|
+
headers:
|
1270
|
+
Content-Type:
|
1271
|
+
- application/json
|
1272
|
+
Etag:
|
1273
|
+
- W/"4a8be93bb1da6eaa910625a3679e73f0"
|
1274
|
+
Cache-Control:
|
1275
|
+
- max-age=0, private, must-revalidate
|
1276
|
+
X-Request-Id:
|
1277
|
+
- 1f20abd4-c449-4157-b4aa-29f6e6160afd
|
1278
|
+
X-Runtime:
|
1279
|
+
- '0.097505'
|
1280
|
+
Content-Length:
|
1281
|
+
- '296'
|
1282
|
+
body:
|
1283
|
+
encoding: UTF-8
|
1284
|
+
string: '{"_id":"5790a01d00ea466f5ea8001f","created_at":"2016-07-21T10:12:45Z","updated_at":"2016-07-21T10:12:45Z","_slug":"hello-world","content_type_slug":"articles","_label":"Hello
|
1285
|
+
world","_position":0,"_visible":true,"seo_title":null,"meta_keywords":null,"meta_description":null,"title":"Hello
|
1286
|
+
world"}'
|
1287
|
+
http_version:
|
1288
|
+
recorded_at: Thu, 21 Jul 2016 10:12:45 GMT
|
1289
|
+
- request:
|
1290
|
+
method: post
|
1291
|
+
uri: http://localhost:3000/locomotive/sample/api/v3/content_types/articles/entries.json
|
1292
|
+
body:
|
1293
|
+
encoding: UTF-8
|
1294
|
+
string: auth_token=4W9TGVPm1TgacsoyhusB&content_entry%5Btitle%5D=Lorem+ipsum
|
1295
|
+
headers:
|
1296
|
+
User-Agent:
|
1297
|
+
- HTTPClient/1.0 (2.7.1, ruby 2.2.3 (2015-08-18))
|
1298
|
+
Accept:
|
1299
|
+
- application/json
|
1300
|
+
Accept-Encoding:
|
1301
|
+
- gzip,deflate
|
1302
|
+
Date:
|
1303
|
+
- Thu, 21 Jul 2016 10:12:45 GMT
|
1304
|
+
X-Locomotive-Account-Email:
|
1305
|
+
- admin@locomotivecms.com
|
1306
|
+
X-Locomotive-Account-Token:
|
1307
|
+
- 4W9TGVPm1TgacsoyhusB
|
1308
|
+
Content-Type:
|
1309
|
+
- application/x-www-form-urlencoded
|
1310
|
+
response:
|
1311
|
+
status:
|
1312
|
+
code: 201
|
1313
|
+
message: Created
|
1314
|
+
headers:
|
1315
|
+
Content-Type:
|
1316
|
+
- application/json
|
1317
|
+
Etag:
|
1318
|
+
- W/"82cbdf8c8fa208ca0462b2f03147c949"
|
1319
|
+
Cache-Control:
|
1320
|
+
- max-age=0, private, must-revalidate
|
1321
|
+
X-Request-Id:
|
1322
|
+
- 318b9327-c335-4632-b042-fbaa73e3f956
|
1323
|
+
X-Runtime:
|
1324
|
+
- '0.061149'
|
1325
|
+
Content-Length:
|
1326
|
+
- '296'
|
1327
|
+
body:
|
1328
|
+
encoding: UTF-8
|
1329
|
+
string: '{"_id":"5790a01d00ea466f5ea80022","created_at":"2016-07-21T10:12:45Z","updated_at":"2016-07-21T10:12:45Z","_slug":"lorem-ipsum","content_type_slug":"articles","_label":"Lorem
|
1330
|
+
ipsum","_position":1,"_visible":true,"seo_title":null,"meta_keywords":null,"meta_description":null,"title":"Lorem
|
1331
|
+
ipsum"}'
|
1332
|
+
http_version:
|
1333
|
+
recorded_at: Thu, 21 Jul 2016 10:12:45 GMT
|
1334
|
+
- request:
|
1335
|
+
method: get
|
1336
|
+
uri: http://localhost:3000/locomotive/sample/api/v3/content_types/articles/entries.json?auth_token=4W9TGVPm1TgacsoyhusB&where=%7B%7D
|
1337
|
+
body:
|
1338
|
+
encoding: UTF-8
|
1385
1339
|
string: ''
|
1386
1340
|
headers:
|
1341
|
+
User-Agent:
|
1342
|
+
- HTTPClient/1.0 (2.7.1, ruby 2.2.3 (2015-08-18))
|
1387
1343
|
Accept:
|
1388
1344
|
- application/json
|
1345
|
+
Accept-Encoding:
|
1346
|
+
- gzip,deflate
|
1347
|
+
Date:
|
1348
|
+
- Thu, 21 Jul 2016 10:12:45 GMT
|
1389
1349
|
X-Locomotive-Account-Email:
|
1390
1350
|
- admin@locomotivecms.com
|
1391
1351
|
X-Locomotive-Account-Token:
|
1392
|
-
-
|
1352
|
+
- 4W9TGVPm1TgacsoyhusB
|
1353
|
+
response:
|
1354
|
+
status:
|
1355
|
+
code: 200
|
1356
|
+
message: OK
|
1357
|
+
headers:
|
1358
|
+
X-Total-Pages:
|
1359
|
+
- '1'
|
1360
|
+
X-Per-Page:
|
1361
|
+
- '10'
|
1362
|
+
X-Total-Entries:
|
1363
|
+
- '2'
|
1364
|
+
Content-Type:
|
1365
|
+
- application/json
|
1366
|
+
Etag:
|
1367
|
+
- W/"831bc9d9711667b757822c51189d42cd"
|
1368
|
+
Cache-Control:
|
1369
|
+
- max-age=0, private, must-revalidate
|
1370
|
+
X-Request-Id:
|
1371
|
+
- e2fbcfcd-2eb4-408f-9f0f-6889d3b340f6
|
1372
|
+
X-Runtime:
|
1373
|
+
- '0.046843'
|
1374
|
+
Content-Length:
|
1375
|
+
- '595'
|
1376
|
+
body:
|
1377
|
+
encoding: UTF-8
|
1378
|
+
string: '[{"_id":"5790a01d00ea466f5ea8001f","created_at":"2016-07-21T10:12:45Z","updated_at":"2016-07-21T10:12:45Z","_slug":"hello-world","content_type_slug":"articles","_label":"Hello
|
1379
|
+
world","_position":0,"_visible":true,"seo_title":null,"meta_keywords":null,"meta_description":null,"title":"Hello
|
1380
|
+
world"},{"_id":"5790a01d00ea466f5ea80022","created_at":"2016-07-21T10:12:45Z","updated_at":"2016-07-21T10:12:45Z","_slug":"lorem-ipsum","content_type_slug":"articles","_label":"Lorem
|
1381
|
+
ipsum","_position":1,"_visible":true,"seo_title":null,"meta_keywords":null,"meta_description":null,"title":"Lorem
|
1382
|
+
ipsum"}]'
|
1383
|
+
http_version:
|
1384
|
+
recorded_at: Thu, 21 Jul 2016 10:12:45 GMT
|
1385
|
+
- request:
|
1386
|
+
method: delete
|
1387
|
+
uri: http://localhost:3000/locomotive/sample/api/v3/content_types/articles/entries/hello-world.json?auth_token=4W9TGVPm1TgacsoyhusB
|
1388
|
+
body:
|
1389
|
+
encoding: UTF-8
|
1390
|
+
string: ''
|
1391
|
+
headers:
|
1392
|
+
User-Agent:
|
1393
|
+
- HTTPClient/1.0 (2.7.1, ruby 2.2.3 (2015-08-18))
|
1394
|
+
Accept:
|
1395
|
+
- application/json
|
1393
1396
|
Accept-Encoding:
|
1394
|
-
- gzip
|
1397
|
+
- gzip,deflate
|
1398
|
+
Date:
|
1399
|
+
- Thu, 21 Jul 2016 10:12:45 GMT
|
1400
|
+
X-Locomotive-Account-Email:
|
1401
|
+
- admin@locomotivecms.com
|
1402
|
+
X-Locomotive-Account-Token:
|
1403
|
+
- 4W9TGVPm1TgacsoyhusB
|
1404
|
+
response:
|
1405
|
+
status:
|
1406
|
+
code: 200
|
1407
|
+
message: OK
|
1408
|
+
headers:
|
1409
|
+
Content-Type:
|
1410
|
+
- application/json
|
1411
|
+
Etag:
|
1412
|
+
- W/"4a8be93bb1da6eaa910625a3679e73f0"
|
1413
|
+
Cache-Control:
|
1414
|
+
- max-age=0, private, must-revalidate
|
1415
|
+
X-Request-Id:
|
1416
|
+
- a784a7df-12a0-4cf8-843d-3cba8a236276
|
1417
|
+
X-Runtime:
|
1418
|
+
- '0.049768'
|
1419
|
+
Content-Length:
|
1420
|
+
- '296'
|
1421
|
+
body:
|
1422
|
+
encoding: UTF-8
|
1423
|
+
string: '{"_id":"5790a01d00ea466f5ea8001f","created_at":"2016-07-21T10:12:45Z","updated_at":"2016-07-21T10:12:45Z","_slug":"hello-world","content_type_slug":"articles","_label":"Hello
|
1424
|
+
world","_position":0,"_visible":true,"seo_title":null,"meta_keywords":null,"meta_description":null,"title":"Hello
|
1425
|
+
world"}'
|
1426
|
+
http_version:
|
1427
|
+
recorded_at: Thu, 21 Jul 2016 10:12:45 GMT
|
1428
|
+
- request:
|
1429
|
+
method: delete
|
1430
|
+
uri: http://localhost:3000/locomotive/sample/api/v3/content_types/articles/entries/lorem-ipsum.json?auth_token=4W9TGVPm1TgacsoyhusB
|
1431
|
+
body:
|
1432
|
+
encoding: UTF-8
|
1433
|
+
string: ''
|
1434
|
+
headers:
|
1395
1435
|
User-Agent:
|
1396
|
-
-
|
1436
|
+
- HTTPClient/1.0 (2.7.1, ruby 2.2.3 (2015-08-18))
|
1437
|
+
Accept:
|
1438
|
+
- application/json
|
1439
|
+
Accept-Encoding:
|
1440
|
+
- gzip,deflate
|
1441
|
+
Date:
|
1442
|
+
- Thu, 21 Jul 2016 10:12:45 GMT
|
1443
|
+
X-Locomotive-Account-Email:
|
1444
|
+
- admin@locomotivecms.com
|
1445
|
+
X-Locomotive-Account-Token:
|
1446
|
+
- 4W9TGVPm1TgacsoyhusB
|
1397
1447
|
response:
|
1398
1448
|
status:
|
1399
1449
|
code: 200
|
@@ -1402,18 +1452,1422 @@ http_interactions:
|
|
1402
1452
|
Content-Type:
|
1403
1453
|
- application/json
|
1404
1454
|
Etag:
|
1405
|
-
- W/"
|
1455
|
+
- W/"82cbdf8c8fa208ca0462b2f03147c949"
|
1406
1456
|
Cache-Control:
|
1407
1457
|
- max-age=0, private, must-revalidate
|
1408
1458
|
X-Request-Id:
|
1409
|
-
-
|
1459
|
+
- 69d30f03-4494-4388-87cc-7cead479411c
|
1410
1460
|
X-Runtime:
|
1411
|
-
- '0.
|
1461
|
+
- '0.100164'
|
1412
1462
|
Content-Length:
|
1413
|
-
- '
|
1463
|
+
- '296'
|
1414
1464
|
body:
|
1415
1465
|
encoding: UTF-8
|
1416
|
-
string: '{"_id":"
|
1466
|
+
string: '{"_id":"5790a01d00ea466f5ea80022","created_at":"2016-07-21T10:12:45Z","updated_at":"2016-07-21T10:12:45Z","_slug":"lorem-ipsum","content_type_slug":"articles","_label":"Lorem
|
1467
|
+
ipsum","_position":1,"_visible":true,"seo_title":null,"meta_keywords":null,"meta_description":null,"title":"Lorem
|
1468
|
+
ipsum"}'
|
1417
1469
|
http_version:
|
1418
|
-
recorded_at:
|
1419
|
-
|
1470
|
+
recorded_at: Thu, 21 Jul 2016 10:12:45 GMT
|
1471
|
+
- request:
|
1472
|
+
method: post
|
1473
|
+
uri: http://localhost:3000/locomotive/api/v3/tokens.json
|
1474
|
+
body:
|
1475
|
+
encoding: UTF-8
|
1476
|
+
string: email=admin%40locomotivecms.com&password=locomotive
|
1477
|
+
headers:
|
1478
|
+
User-Agent:
|
1479
|
+
- HTTPClient/1.0 (2.7.1, ruby 2.2.3 (2015-08-18))
|
1480
|
+
Accept:
|
1481
|
+
- application/json
|
1482
|
+
Accept-Encoding:
|
1483
|
+
- gzip,deflate
|
1484
|
+
Date:
|
1485
|
+
- Thu, 21 Jul 2016 10:12:45 GMT
|
1486
|
+
Content-Type:
|
1487
|
+
- application/x-www-form-urlencoded
|
1488
|
+
response:
|
1489
|
+
status:
|
1490
|
+
code: 201
|
1491
|
+
message: Created
|
1492
|
+
headers:
|
1493
|
+
Content-Type:
|
1494
|
+
- application/json
|
1495
|
+
Etag:
|
1496
|
+
- W/"ed6b5e5d77dd808432ec751c0deee185"
|
1497
|
+
Cache-Control:
|
1498
|
+
- max-age=0, private, must-revalidate
|
1499
|
+
X-Request-Id:
|
1500
|
+
- 680da81f-63d5-42d6-a8d8-91e2b6d24ee7
|
1501
|
+
X-Runtime:
|
1502
|
+
- '0.024066'
|
1503
|
+
Content-Length:
|
1504
|
+
- '32'
|
1505
|
+
body:
|
1506
|
+
encoding: UTF-8
|
1507
|
+
string: '{"token":"4W9TGVPm1TgacsoyhusB"}'
|
1508
|
+
http_version:
|
1509
|
+
recorded_at: Thu, 21 Jul 2016 10:12:45 GMT
|
1510
|
+
- request:
|
1511
|
+
method: post
|
1512
|
+
uri: http://localhost:3000/locomotive/sample/api/v3/content_types/articles/entries.json
|
1513
|
+
body:
|
1514
|
+
encoding: UTF-8
|
1515
|
+
string: auth_token=4W9TGVPm1TgacsoyhusB&content_entry%5Btitle%5D=Hello+world
|
1516
|
+
headers:
|
1517
|
+
User-Agent:
|
1518
|
+
- HTTPClient/1.0 (2.7.1, ruby 2.2.3 (2015-08-18))
|
1519
|
+
Accept:
|
1520
|
+
- application/json
|
1521
|
+
Accept-Encoding:
|
1522
|
+
- gzip,deflate
|
1523
|
+
Date:
|
1524
|
+
- Thu, 21 Jul 2016 10:12:45 GMT
|
1525
|
+
X-Locomotive-Account-Email:
|
1526
|
+
- admin@locomotivecms.com
|
1527
|
+
X-Locomotive-Account-Token:
|
1528
|
+
- 4W9TGVPm1TgacsoyhusB
|
1529
|
+
Content-Type:
|
1530
|
+
- application/x-www-form-urlencoded
|
1531
|
+
response:
|
1532
|
+
status:
|
1533
|
+
code: 201
|
1534
|
+
message: Created
|
1535
|
+
headers:
|
1536
|
+
Content-Type:
|
1537
|
+
- application/json
|
1538
|
+
Etag:
|
1539
|
+
- W/"ce176b45566870dfb28735748b4de60c"
|
1540
|
+
Cache-Control:
|
1541
|
+
- max-age=0, private, must-revalidate
|
1542
|
+
X-Request-Id:
|
1543
|
+
- 2ed196db-9f44-4a08-ab8e-103245ef3848
|
1544
|
+
X-Runtime:
|
1545
|
+
- '0.044615'
|
1546
|
+
Content-Length:
|
1547
|
+
- '296'
|
1548
|
+
body:
|
1549
|
+
encoding: UTF-8
|
1550
|
+
string: '{"_id":"5790a01d00ea466f5ea80025","created_at":"2016-07-21T10:12:45Z","updated_at":"2016-07-21T10:12:45Z","_slug":"hello-world","content_type_slug":"articles","_label":"Hello
|
1551
|
+
world","_position":0,"_visible":true,"seo_title":null,"meta_keywords":null,"meta_description":null,"title":"Hello
|
1552
|
+
world"}'
|
1553
|
+
http_version:
|
1554
|
+
recorded_at: Thu, 21 Jul 2016 10:12:45 GMT
|
1555
|
+
- request:
|
1556
|
+
method: post
|
1557
|
+
uri: http://localhost:3000/locomotive/sample/api/v3/content_types/articles/entries.json
|
1558
|
+
body:
|
1559
|
+
encoding: UTF-8
|
1560
|
+
string: auth_token=4W9TGVPm1TgacsoyhusB&content_entry%5Btitle%5D=Lorem+ipsum
|
1561
|
+
headers:
|
1562
|
+
User-Agent:
|
1563
|
+
- HTTPClient/1.0 (2.7.1, ruby 2.2.3 (2015-08-18))
|
1564
|
+
Accept:
|
1565
|
+
- application/json
|
1566
|
+
Accept-Encoding:
|
1567
|
+
- gzip,deflate
|
1568
|
+
Date:
|
1569
|
+
- Thu, 21 Jul 2016 10:12:45 GMT
|
1570
|
+
X-Locomotive-Account-Email:
|
1571
|
+
- admin@locomotivecms.com
|
1572
|
+
X-Locomotive-Account-Token:
|
1573
|
+
- 4W9TGVPm1TgacsoyhusB
|
1574
|
+
Content-Type:
|
1575
|
+
- application/x-www-form-urlencoded
|
1576
|
+
response:
|
1577
|
+
status:
|
1578
|
+
code: 201
|
1579
|
+
message: Created
|
1580
|
+
headers:
|
1581
|
+
Content-Type:
|
1582
|
+
- application/json
|
1583
|
+
Etag:
|
1584
|
+
- W/"0d8499a07401b950d8b1daebf547dd3d"
|
1585
|
+
Cache-Control:
|
1586
|
+
- max-age=0, private, must-revalidate
|
1587
|
+
X-Request-Id:
|
1588
|
+
- acc41965-b852-44b3-bb7a-ef2100be011c
|
1589
|
+
X-Runtime:
|
1590
|
+
- '0.059737'
|
1591
|
+
Content-Length:
|
1592
|
+
- '296'
|
1593
|
+
body:
|
1594
|
+
encoding: UTF-8
|
1595
|
+
string: '{"_id":"5790a01d00ea466f5ea80028","created_at":"2016-07-21T10:12:45Z","updated_at":"2016-07-21T10:12:45Z","_slug":"lorem-ipsum","content_type_slug":"articles","_label":"Lorem
|
1596
|
+
ipsum","_position":1,"_visible":true,"seo_title":null,"meta_keywords":null,"meta_description":null,"title":"Lorem
|
1597
|
+
ipsum"}'
|
1598
|
+
http_version:
|
1599
|
+
recorded_at: Thu, 21 Jul 2016 10:12:45 GMT
|
1600
|
+
- request:
|
1601
|
+
method: get
|
1602
|
+
uri: http://localhost:3000/locomotive/sample/api/v3/content_types/articles/entries.json?auth_token=4W9TGVPm1TgacsoyhusB&where=%7B%7D
|
1603
|
+
body:
|
1604
|
+
encoding: UTF-8
|
1605
|
+
string: ''
|
1606
|
+
headers:
|
1607
|
+
User-Agent:
|
1608
|
+
- HTTPClient/1.0 (2.7.1, ruby 2.2.3 (2015-08-18))
|
1609
|
+
Accept:
|
1610
|
+
- application/json
|
1611
|
+
Accept-Encoding:
|
1612
|
+
- gzip,deflate
|
1613
|
+
Date:
|
1614
|
+
- Thu, 21 Jul 2016 10:12:45 GMT
|
1615
|
+
X-Locomotive-Account-Email:
|
1616
|
+
- admin@locomotivecms.com
|
1617
|
+
X-Locomotive-Account-Token:
|
1618
|
+
- 4W9TGVPm1TgacsoyhusB
|
1619
|
+
response:
|
1620
|
+
status:
|
1621
|
+
code: 200
|
1622
|
+
message: OK
|
1623
|
+
headers:
|
1624
|
+
X-Total-Pages:
|
1625
|
+
- '1'
|
1626
|
+
X-Per-Page:
|
1627
|
+
- '10'
|
1628
|
+
X-Total-Entries:
|
1629
|
+
- '2'
|
1630
|
+
Content-Type:
|
1631
|
+
- application/json
|
1632
|
+
Etag:
|
1633
|
+
- W/"5a76e81daa6e0efb58c82774cb4b6fb2"
|
1634
|
+
Cache-Control:
|
1635
|
+
- max-age=0, private, must-revalidate
|
1636
|
+
X-Request-Id:
|
1637
|
+
- b9ca6e88-0fe8-427a-8090-b6e7d6db26ec
|
1638
|
+
X-Runtime:
|
1639
|
+
- '0.035174'
|
1640
|
+
Content-Length:
|
1641
|
+
- '595'
|
1642
|
+
body:
|
1643
|
+
encoding: UTF-8
|
1644
|
+
string: '[{"_id":"5790a01d00ea466f5ea80025","created_at":"2016-07-21T10:12:45Z","updated_at":"2016-07-21T10:12:45Z","_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":"5790a01d00ea466f5ea80028","created_at":"2016-07-21T10:12:45Z","updated_at":"2016-07-21T10:12:45Z","_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: Thu, 21 Jul 2016 10:12:45 GMT
|
1651
|
+
- request:
|
1652
|
+
method: delete
|
1653
|
+
uri: http://localhost:3000/locomotive/sample/api/v3/content_types/articles/entries/hello-world.json?auth_token=4W9TGVPm1TgacsoyhusB
|
1654
|
+
body:
|
1655
|
+
encoding: UTF-8
|
1656
|
+
string: ''
|
1657
|
+
headers:
|
1658
|
+
User-Agent:
|
1659
|
+
- HTTPClient/1.0 (2.7.1, ruby 2.2.3 (2015-08-18))
|
1660
|
+
Accept:
|
1661
|
+
- application/json
|
1662
|
+
Accept-Encoding:
|
1663
|
+
- gzip,deflate
|
1664
|
+
Date:
|
1665
|
+
- Thu, 21 Jul 2016 10:12:45 GMT
|
1666
|
+
X-Locomotive-Account-Email:
|
1667
|
+
- admin@locomotivecms.com
|
1668
|
+
X-Locomotive-Account-Token:
|
1669
|
+
- 4W9TGVPm1TgacsoyhusB
|
1670
|
+
response:
|
1671
|
+
status:
|
1672
|
+
code: 200
|
1673
|
+
message: OK
|
1674
|
+
headers:
|
1675
|
+
Content-Type:
|
1676
|
+
- application/json
|
1677
|
+
Etag:
|
1678
|
+
- W/"ce176b45566870dfb28735748b4de60c"
|
1679
|
+
Cache-Control:
|
1680
|
+
- max-age=0, private, must-revalidate
|
1681
|
+
X-Request-Id:
|
1682
|
+
- ba8c689c-cb57-4b92-9f28-096adcd96acb
|
1683
|
+
X-Runtime:
|
1684
|
+
- '0.039627'
|
1685
|
+
Content-Length:
|
1686
|
+
- '296'
|
1687
|
+
body:
|
1688
|
+
encoding: UTF-8
|
1689
|
+
string: '{"_id":"5790a01d00ea466f5ea80025","created_at":"2016-07-21T10:12:45Z","updated_at":"2016-07-21T10:12:45Z","_slug":"hello-world","content_type_slug":"articles","_label":"Hello
|
1690
|
+
world","_position":0,"_visible":true,"seo_title":null,"meta_keywords":null,"meta_description":null,"title":"Hello
|
1691
|
+
world"}'
|
1692
|
+
http_version:
|
1693
|
+
recorded_at: Thu, 21 Jul 2016 10:12:45 GMT
|
1694
|
+
- request:
|
1695
|
+
method: delete
|
1696
|
+
uri: http://localhost:3000/locomotive/sample/api/v3/content_types/articles/entries/lorem-ipsum.json?auth_token=4W9TGVPm1TgacsoyhusB
|
1697
|
+
body:
|
1698
|
+
encoding: UTF-8
|
1699
|
+
string: ''
|
1700
|
+
headers:
|
1701
|
+
User-Agent:
|
1702
|
+
- HTTPClient/1.0 (2.7.1, ruby 2.2.3 (2015-08-18))
|
1703
|
+
Accept:
|
1704
|
+
- application/json
|
1705
|
+
Accept-Encoding:
|
1706
|
+
- gzip,deflate
|
1707
|
+
Date:
|
1708
|
+
- Thu, 21 Jul 2016 10:12:45 GMT
|
1709
|
+
X-Locomotive-Account-Email:
|
1710
|
+
- admin@locomotivecms.com
|
1711
|
+
X-Locomotive-Account-Token:
|
1712
|
+
- 4W9TGVPm1TgacsoyhusB
|
1713
|
+
response:
|
1714
|
+
status:
|
1715
|
+
code: 200
|
1716
|
+
message: OK
|
1717
|
+
headers:
|
1718
|
+
Content-Type:
|
1719
|
+
- application/json
|
1720
|
+
Etag:
|
1721
|
+
- W/"0d8499a07401b950d8b1daebf547dd3d"
|
1722
|
+
Cache-Control:
|
1723
|
+
- max-age=0, private, must-revalidate
|
1724
|
+
X-Request-Id:
|
1725
|
+
- ff1f24c4-be6e-438b-91e2-cea4e3a1597f
|
1726
|
+
X-Runtime:
|
1727
|
+
- '0.044057'
|
1728
|
+
Content-Length:
|
1729
|
+
- '296'
|
1730
|
+
body:
|
1731
|
+
encoding: UTF-8
|
1732
|
+
string: '{"_id":"5790a01d00ea466f5ea80028","created_at":"2016-07-21T10:12:45Z","updated_at":"2016-07-21T10:12:45Z","_slug":"lorem-ipsum","content_type_slug":"articles","_label":"Lorem
|
1733
|
+
ipsum","_position":1,"_visible":true,"seo_title":null,"meta_keywords":null,"meta_description":null,"title":"Lorem
|
1734
|
+
ipsum"}'
|
1735
|
+
http_version:
|
1736
|
+
recorded_at: Thu, 21 Jul 2016 10:12:45 GMT
|
1737
|
+
- request:
|
1738
|
+
method: post
|
1739
|
+
uri: http://localhost:3000/locomotive/api/v3/tokens.json
|
1740
|
+
body:
|
1741
|
+
encoding: UTF-8
|
1742
|
+
string: email=admin%40locomotivecms.com&password=locomotive
|
1743
|
+
headers:
|
1744
|
+
User-Agent:
|
1745
|
+
- HTTPClient/1.0 (2.7.1, ruby 2.2.3 (2015-08-18))
|
1746
|
+
Accept:
|
1747
|
+
- application/json
|
1748
|
+
Accept-Encoding:
|
1749
|
+
- gzip,deflate
|
1750
|
+
Date:
|
1751
|
+
- Thu, 21 Jul 2016 10:12:45 GMT
|
1752
|
+
Content-Type:
|
1753
|
+
- application/x-www-form-urlencoded
|
1754
|
+
response:
|
1755
|
+
status:
|
1756
|
+
code: 201
|
1757
|
+
message: Created
|
1758
|
+
headers:
|
1759
|
+
Content-Type:
|
1760
|
+
- application/json
|
1761
|
+
Etag:
|
1762
|
+
- W/"ed6b5e5d77dd808432ec751c0deee185"
|
1763
|
+
Cache-Control:
|
1764
|
+
- max-age=0, private, must-revalidate
|
1765
|
+
X-Request-Id:
|
1766
|
+
- f5b3b5f2-4739-436c-9781-74e683e1ec1a
|
1767
|
+
X-Runtime:
|
1768
|
+
- '0.018836'
|
1769
|
+
Content-Length:
|
1770
|
+
- '32'
|
1771
|
+
body:
|
1772
|
+
encoding: UTF-8
|
1773
|
+
string: '{"token":"4W9TGVPm1TgacsoyhusB"}'
|
1774
|
+
http_version:
|
1775
|
+
recorded_at: Thu, 21 Jul 2016 10:12:45 GMT
|
1776
|
+
- request:
|
1777
|
+
method: post
|
1778
|
+
uri: http://localhost:3000/locomotive/sample/api/v3/content_types/articles/entries.json
|
1779
|
+
body:
|
1780
|
+
encoding: UTF-8
|
1781
|
+
string: auth_token=4W9TGVPm1TgacsoyhusB&content_entry%5Btitle%5D=Hello+world
|
1782
|
+
headers:
|
1783
|
+
User-Agent:
|
1784
|
+
- HTTPClient/1.0 (2.7.1, ruby 2.2.3 (2015-08-18))
|
1785
|
+
Accept:
|
1786
|
+
- application/json
|
1787
|
+
Accept-Encoding:
|
1788
|
+
- gzip,deflate
|
1789
|
+
Date:
|
1790
|
+
- Thu, 21 Jul 2016 10:12:45 GMT
|
1791
|
+
X-Locomotive-Account-Email:
|
1792
|
+
- admin@locomotivecms.com
|
1793
|
+
X-Locomotive-Account-Token:
|
1794
|
+
- 4W9TGVPm1TgacsoyhusB
|
1795
|
+
Content-Type:
|
1796
|
+
- application/x-www-form-urlencoded
|
1797
|
+
response:
|
1798
|
+
status:
|
1799
|
+
code: 201
|
1800
|
+
message: Created
|
1801
|
+
headers:
|
1802
|
+
Content-Type:
|
1803
|
+
- application/json
|
1804
|
+
Etag:
|
1805
|
+
- W/"429094b10fa9d5627340d33a96da01a1"
|
1806
|
+
Cache-Control:
|
1807
|
+
- max-age=0, private, must-revalidate
|
1808
|
+
X-Request-Id:
|
1809
|
+
- 12d28daf-77ad-4c17-9893-839f31448f13
|
1810
|
+
X-Runtime:
|
1811
|
+
- '0.047188'
|
1812
|
+
Content-Length:
|
1813
|
+
- '296'
|
1814
|
+
body:
|
1815
|
+
encoding: UTF-8
|
1816
|
+
string: '{"_id":"5790a01d00ea466f5ea8002b","created_at":"2016-07-21T10:12:45Z","updated_at":"2016-07-21T10:12:45Z","_slug":"hello-world","content_type_slug":"articles","_label":"Hello
|
1817
|
+
world","_position":0,"_visible":true,"seo_title":null,"meta_keywords":null,"meta_description":null,"title":"Hello
|
1818
|
+
world"}'
|
1819
|
+
http_version:
|
1820
|
+
recorded_at: Thu, 21 Jul 2016 10:12:45 GMT
|
1821
|
+
- request:
|
1822
|
+
method: post
|
1823
|
+
uri: http://localhost:3000/locomotive/sample/api/v3/content_types/articles/entries.json
|
1824
|
+
body:
|
1825
|
+
encoding: UTF-8
|
1826
|
+
string: auth_token=4W9TGVPm1TgacsoyhusB&content_entry%5Btitle%5D=Lorem+ipsum
|
1827
|
+
headers:
|
1828
|
+
User-Agent:
|
1829
|
+
- HTTPClient/1.0 (2.7.1, ruby 2.2.3 (2015-08-18))
|
1830
|
+
Accept:
|
1831
|
+
- application/json
|
1832
|
+
Accept-Encoding:
|
1833
|
+
- gzip,deflate
|
1834
|
+
Date:
|
1835
|
+
- Thu, 21 Jul 2016 10:12:45 GMT
|
1836
|
+
X-Locomotive-Account-Email:
|
1837
|
+
- admin@locomotivecms.com
|
1838
|
+
X-Locomotive-Account-Token:
|
1839
|
+
- 4W9TGVPm1TgacsoyhusB
|
1840
|
+
Content-Type:
|
1841
|
+
- application/x-www-form-urlencoded
|
1842
|
+
response:
|
1843
|
+
status:
|
1844
|
+
code: 201
|
1845
|
+
message: Created
|
1846
|
+
headers:
|
1847
|
+
Content-Type:
|
1848
|
+
- application/json
|
1849
|
+
Etag:
|
1850
|
+
- W/"97b27d91ddfd3fd0b7a8d35efbb95066"
|
1851
|
+
Cache-Control:
|
1852
|
+
- max-age=0, private, must-revalidate
|
1853
|
+
X-Request-Id:
|
1854
|
+
- 5c6fcbef-1b47-45bc-bb8b-7325f469f4ae
|
1855
|
+
X-Runtime:
|
1856
|
+
- '0.042800'
|
1857
|
+
Content-Length:
|
1858
|
+
- '296'
|
1859
|
+
body:
|
1860
|
+
encoding: UTF-8
|
1861
|
+
string: '{"_id":"5790a01d00ea466f5ea8002e","created_at":"2016-07-21T10:12:45Z","updated_at":"2016-07-21T10:12:45Z","_slug":"lorem-ipsum","content_type_slug":"articles","_label":"Lorem
|
1862
|
+
ipsum","_position":1,"_visible":true,"seo_title":null,"meta_keywords":null,"meta_description":null,"title":"Lorem
|
1863
|
+
ipsum"}'
|
1864
|
+
http_version:
|
1865
|
+
recorded_at: Thu, 21 Jul 2016 10:12:46 GMT
|
1866
|
+
- request:
|
1867
|
+
method: get
|
1868
|
+
uri: http://localhost:3000/locomotive/sample/api/v3/content_types/articles/entries.json?auth_token=4W9TGVPm1TgacsoyhusB&page=2&per_page=1&where=%7B%7D
|
1869
|
+
body:
|
1870
|
+
encoding: UTF-8
|
1871
|
+
string: ''
|
1872
|
+
headers:
|
1873
|
+
User-Agent:
|
1874
|
+
- HTTPClient/1.0 (2.7.1, ruby 2.2.3 (2015-08-18))
|
1875
|
+
Accept:
|
1876
|
+
- application/json
|
1877
|
+
Accept-Encoding:
|
1878
|
+
- gzip,deflate
|
1879
|
+
Date:
|
1880
|
+
- Thu, 21 Jul 2016 10:12:46 GMT
|
1881
|
+
X-Locomotive-Account-Email:
|
1882
|
+
- admin@locomotivecms.com
|
1883
|
+
X-Locomotive-Account-Token:
|
1884
|
+
- 4W9TGVPm1TgacsoyhusB
|
1885
|
+
response:
|
1886
|
+
status:
|
1887
|
+
code: 200
|
1888
|
+
message: OK
|
1889
|
+
headers:
|
1890
|
+
X-Total-Pages:
|
1891
|
+
- '2'
|
1892
|
+
X-Per-Page:
|
1893
|
+
- '1'
|
1894
|
+
X-Total-Entries:
|
1895
|
+
- '2'
|
1896
|
+
Content-Type:
|
1897
|
+
- application/json
|
1898
|
+
Etag:
|
1899
|
+
- W/"557b63a7a252f9fc643a24e4bebd8ce8"
|
1900
|
+
Cache-Control:
|
1901
|
+
- max-age=0, private, must-revalidate
|
1902
|
+
X-Request-Id:
|
1903
|
+
- d7e494d9-c95c-400f-b247-a123e9f1da8a
|
1904
|
+
X-Runtime:
|
1905
|
+
- '0.032876'
|
1906
|
+
Content-Length:
|
1907
|
+
- '298'
|
1908
|
+
body:
|
1909
|
+
encoding: UTF-8
|
1910
|
+
string: '[{"_id":"5790a01d00ea466f5ea8002e","created_at":"2016-07-21T10:12:45Z","updated_at":"2016-07-21T10:12:45Z","_slug":"lorem-ipsum","content_type_slug":"articles","_label":"Lorem
|
1911
|
+
ipsum","_position":1,"_visible":true,"seo_title":null,"meta_keywords":null,"meta_description":null,"title":"Lorem
|
1912
|
+
ipsum"}]'
|
1913
|
+
http_version:
|
1914
|
+
recorded_at: Thu, 21 Jul 2016 10:12:46 GMT
|
1915
|
+
- request:
|
1916
|
+
method: delete
|
1917
|
+
uri: http://localhost:3000/locomotive/sample/api/v3/content_types/articles/entries/hello-world.json?auth_token=4W9TGVPm1TgacsoyhusB
|
1918
|
+
body:
|
1919
|
+
encoding: UTF-8
|
1920
|
+
string: ''
|
1921
|
+
headers:
|
1922
|
+
User-Agent:
|
1923
|
+
- HTTPClient/1.0 (2.7.1, ruby 2.2.3 (2015-08-18))
|
1924
|
+
Accept:
|
1925
|
+
- application/json
|
1926
|
+
Accept-Encoding:
|
1927
|
+
- gzip,deflate
|
1928
|
+
Date:
|
1929
|
+
- Thu, 21 Jul 2016 10:12:46 GMT
|
1930
|
+
X-Locomotive-Account-Email:
|
1931
|
+
- admin@locomotivecms.com
|
1932
|
+
X-Locomotive-Account-Token:
|
1933
|
+
- 4W9TGVPm1TgacsoyhusB
|
1934
|
+
response:
|
1935
|
+
status:
|
1936
|
+
code: 200
|
1937
|
+
message: OK
|
1938
|
+
headers:
|
1939
|
+
Content-Type:
|
1940
|
+
- application/json
|
1941
|
+
Etag:
|
1942
|
+
- W/"429094b10fa9d5627340d33a96da01a1"
|
1943
|
+
Cache-Control:
|
1944
|
+
- max-age=0, private, must-revalidate
|
1945
|
+
X-Request-Id:
|
1946
|
+
- 14483eb2-e22f-4286-ada7-951eb7c0cf6f
|
1947
|
+
X-Runtime:
|
1948
|
+
- '0.048703'
|
1949
|
+
Content-Length:
|
1950
|
+
- '296'
|
1951
|
+
body:
|
1952
|
+
encoding: UTF-8
|
1953
|
+
string: '{"_id":"5790a01d00ea466f5ea8002b","created_at":"2016-07-21T10:12:45Z","updated_at":"2016-07-21T10:12:45Z","_slug":"hello-world","content_type_slug":"articles","_label":"Hello
|
1954
|
+
world","_position":0,"_visible":true,"seo_title":null,"meta_keywords":null,"meta_description":null,"title":"Hello
|
1955
|
+
world"}'
|
1956
|
+
http_version:
|
1957
|
+
recorded_at: Thu, 21 Jul 2016 10:12:46 GMT
|
1958
|
+
- request:
|
1959
|
+
method: delete
|
1960
|
+
uri: http://localhost:3000/locomotive/sample/api/v3/content_types/articles/entries/lorem-ipsum.json?auth_token=4W9TGVPm1TgacsoyhusB
|
1961
|
+
body:
|
1962
|
+
encoding: UTF-8
|
1963
|
+
string: ''
|
1964
|
+
headers:
|
1965
|
+
User-Agent:
|
1966
|
+
- HTTPClient/1.0 (2.7.1, ruby 2.2.3 (2015-08-18))
|
1967
|
+
Accept:
|
1968
|
+
- application/json
|
1969
|
+
Accept-Encoding:
|
1970
|
+
- gzip,deflate
|
1971
|
+
Date:
|
1972
|
+
- Thu, 21 Jul 2016 10:12:46 GMT
|
1973
|
+
X-Locomotive-Account-Email:
|
1974
|
+
- admin@locomotivecms.com
|
1975
|
+
X-Locomotive-Account-Token:
|
1976
|
+
- 4W9TGVPm1TgacsoyhusB
|
1977
|
+
response:
|
1978
|
+
status:
|
1979
|
+
code: 200
|
1980
|
+
message: OK
|
1981
|
+
headers:
|
1982
|
+
Content-Type:
|
1983
|
+
- application/json
|
1984
|
+
Etag:
|
1985
|
+
- W/"97b27d91ddfd3fd0b7a8d35efbb95066"
|
1986
|
+
Cache-Control:
|
1987
|
+
- max-age=0, private, must-revalidate
|
1988
|
+
X-Request-Id:
|
1989
|
+
- 16dfc544-49f8-48d1-9e8e-dfa422d813ed
|
1990
|
+
X-Runtime:
|
1991
|
+
- '0.037023'
|
1992
|
+
Content-Length:
|
1993
|
+
- '296'
|
1994
|
+
body:
|
1995
|
+
encoding: UTF-8
|
1996
|
+
string: '{"_id":"5790a01d00ea466f5ea8002e","created_at":"2016-07-21T10:12:45Z","updated_at":"2016-07-21T10:12:45Z","_slug":"lorem-ipsum","content_type_slug":"articles","_label":"Lorem
|
1997
|
+
ipsum","_position":1,"_visible":true,"seo_title":null,"meta_keywords":null,"meta_description":null,"title":"Lorem
|
1998
|
+
ipsum"}'
|
1999
|
+
http_version:
|
2000
|
+
recorded_at: Thu, 21 Jul 2016 10:12:46 GMT
|
2001
|
+
- request:
|
2002
|
+
method: post
|
2003
|
+
uri: http://localhost:3000/locomotive/api/v3/tokens.json
|
2004
|
+
body:
|
2005
|
+
encoding: UTF-8
|
2006
|
+
string: email=admin%40locomotivecms.com&password=locomotive
|
2007
|
+
headers:
|
2008
|
+
User-Agent:
|
2009
|
+
- HTTPClient/1.0 (2.7.1, ruby 2.2.3 (2015-08-18))
|
2010
|
+
Accept:
|
2011
|
+
- application/json
|
2012
|
+
Accept-Encoding:
|
2013
|
+
- gzip,deflate
|
2014
|
+
Date:
|
2015
|
+
- Thu, 21 Jul 2016 10:12:46 GMT
|
2016
|
+
Content-Type:
|
2017
|
+
- application/x-www-form-urlencoded
|
2018
|
+
response:
|
2019
|
+
status:
|
2020
|
+
code: 201
|
2021
|
+
message: Created
|
2022
|
+
headers:
|
2023
|
+
Content-Type:
|
2024
|
+
- application/json
|
2025
|
+
Etag:
|
2026
|
+
- W/"ed6b5e5d77dd808432ec751c0deee185"
|
2027
|
+
Cache-Control:
|
2028
|
+
- max-age=0, private, must-revalidate
|
2029
|
+
X-Request-Id:
|
2030
|
+
- 7817f2c1-3cdd-44a4-92d2-14c73ec061bc
|
2031
|
+
X-Runtime:
|
2032
|
+
- '0.016556'
|
2033
|
+
Content-Length:
|
2034
|
+
- '32'
|
2035
|
+
body:
|
2036
|
+
encoding: UTF-8
|
2037
|
+
string: '{"token":"4W9TGVPm1TgacsoyhusB"}'
|
2038
|
+
http_version:
|
2039
|
+
recorded_at: Thu, 21 Jul 2016 10:12:46 GMT
|
2040
|
+
- request:
|
2041
|
+
method: post
|
2042
|
+
uri: http://localhost:3000/locomotive/sample/api/v3/content_types/articles/entries.json
|
2043
|
+
body:
|
2044
|
+
encoding: UTF-8
|
2045
|
+
string: auth_token=4W9TGVPm1TgacsoyhusB&content_entry%5Btitle%5D=Hello+world
|
2046
|
+
headers:
|
2047
|
+
User-Agent:
|
2048
|
+
- HTTPClient/1.0 (2.7.1, ruby 2.2.3 (2015-08-18))
|
2049
|
+
Accept:
|
2050
|
+
- application/json
|
2051
|
+
Accept-Encoding:
|
2052
|
+
- gzip,deflate
|
2053
|
+
Date:
|
2054
|
+
- Thu, 21 Jul 2016 10:12:46 GMT
|
2055
|
+
X-Locomotive-Account-Email:
|
2056
|
+
- admin@locomotivecms.com
|
2057
|
+
X-Locomotive-Account-Token:
|
2058
|
+
- 4W9TGVPm1TgacsoyhusB
|
2059
|
+
Content-Type:
|
2060
|
+
- application/x-www-form-urlencoded
|
2061
|
+
response:
|
2062
|
+
status:
|
2063
|
+
code: 201
|
2064
|
+
message: Created
|
2065
|
+
headers:
|
2066
|
+
Content-Type:
|
2067
|
+
- application/json
|
2068
|
+
Etag:
|
2069
|
+
- W/"fae5e0bf54b91af7e23b36d86c637b5a"
|
2070
|
+
Cache-Control:
|
2071
|
+
- max-age=0, private, must-revalidate
|
2072
|
+
X-Request-Id:
|
2073
|
+
- eb7b241c-dcb7-4371-8da2-421e90a2e042
|
2074
|
+
X-Runtime:
|
2075
|
+
- '0.047765'
|
2076
|
+
Content-Length:
|
2077
|
+
- '296'
|
2078
|
+
body:
|
2079
|
+
encoding: UTF-8
|
2080
|
+
string: '{"_id":"5790a01e00ea466f5ea80031","created_at":"2016-07-21T10:12:46Z","updated_at":"2016-07-21T10:12:46Z","_slug":"hello-world","content_type_slug":"articles","_label":"Hello
|
2081
|
+
world","_position":0,"_visible":true,"seo_title":null,"meta_keywords":null,"meta_description":null,"title":"Hello
|
2082
|
+
world"}'
|
2083
|
+
http_version:
|
2084
|
+
recorded_at: Thu, 21 Jul 2016 10:12:46 GMT
|
2085
|
+
- request:
|
2086
|
+
method: post
|
2087
|
+
uri: http://localhost:3000/locomotive/sample/api/v3/content_types/articles/entries.json
|
2088
|
+
body:
|
2089
|
+
encoding: UTF-8
|
2090
|
+
string: auth_token=4W9TGVPm1TgacsoyhusB&content_entry%5Btitle%5D=Lorem+ipsum
|
2091
|
+
headers:
|
2092
|
+
User-Agent:
|
2093
|
+
- HTTPClient/1.0 (2.7.1, ruby 2.2.3 (2015-08-18))
|
2094
|
+
Accept:
|
2095
|
+
- application/json
|
2096
|
+
Accept-Encoding:
|
2097
|
+
- gzip,deflate
|
2098
|
+
Date:
|
2099
|
+
- Thu, 21 Jul 2016 10:12:46 GMT
|
2100
|
+
X-Locomotive-Account-Email:
|
2101
|
+
- admin@locomotivecms.com
|
2102
|
+
X-Locomotive-Account-Token:
|
2103
|
+
- 4W9TGVPm1TgacsoyhusB
|
2104
|
+
Content-Type:
|
2105
|
+
- application/x-www-form-urlencoded
|
2106
|
+
response:
|
2107
|
+
status:
|
2108
|
+
code: 201
|
2109
|
+
message: Created
|
2110
|
+
headers:
|
2111
|
+
Content-Type:
|
2112
|
+
- application/json
|
2113
|
+
Etag:
|
2114
|
+
- W/"7ff5cb19f35c65d24ff2630bf448e813"
|
2115
|
+
Cache-Control:
|
2116
|
+
- max-age=0, private, must-revalidate
|
2117
|
+
X-Request-Id:
|
2118
|
+
- 7b099e7d-36e9-47b2-82a6-83c2e9edfd06
|
2119
|
+
X-Runtime:
|
2120
|
+
- '0.041736'
|
2121
|
+
Content-Length:
|
2122
|
+
- '296'
|
2123
|
+
body:
|
2124
|
+
encoding: UTF-8
|
2125
|
+
string: '{"_id":"5790a01e00ea466f5ea80034","created_at":"2016-07-21T10:12:46Z","updated_at":"2016-07-21T10:12:46Z","_slug":"lorem-ipsum","content_type_slug":"articles","_label":"Lorem
|
2126
|
+
ipsum","_position":1,"_visible":true,"seo_title":null,"meta_keywords":null,"meta_description":null,"title":"Lorem
|
2127
|
+
ipsum"}'
|
2128
|
+
http_version:
|
2129
|
+
recorded_at: Thu, 21 Jul 2016 10:12:46 GMT
|
2130
|
+
- request:
|
2131
|
+
method: get
|
2132
|
+
uri: http://localhost:3000/locomotive/sample/api/v3/content_types/articles/entries.json?auth_token=4W9TGVPm1TgacsoyhusB&where=%7B%22_visible%22:true,%22title%22:%22Hello%20world%22%7D
|
2133
|
+
body:
|
2134
|
+
encoding: UTF-8
|
2135
|
+
string: ''
|
2136
|
+
headers:
|
2137
|
+
User-Agent:
|
2138
|
+
- HTTPClient/1.0 (2.7.1, ruby 2.2.3 (2015-08-18))
|
2139
|
+
Accept:
|
2140
|
+
- application/json
|
2141
|
+
Accept-Encoding:
|
2142
|
+
- gzip,deflate
|
2143
|
+
Date:
|
2144
|
+
- Thu, 21 Jul 2016 10:12:46 GMT
|
2145
|
+
X-Locomotive-Account-Email:
|
2146
|
+
- admin@locomotivecms.com
|
2147
|
+
X-Locomotive-Account-Token:
|
2148
|
+
- 4W9TGVPm1TgacsoyhusB
|
2149
|
+
response:
|
2150
|
+
status:
|
2151
|
+
code: 200
|
2152
|
+
message: OK
|
2153
|
+
headers:
|
2154
|
+
X-Total-Pages:
|
2155
|
+
- '1'
|
2156
|
+
X-Per-Page:
|
2157
|
+
- '10'
|
2158
|
+
X-Total-Entries:
|
2159
|
+
- '1'
|
2160
|
+
Content-Type:
|
2161
|
+
- application/json
|
2162
|
+
Etag:
|
2163
|
+
- W/"d82470eab36484cb6119aa1eea46d04c"
|
2164
|
+
Cache-Control:
|
2165
|
+
- max-age=0, private, must-revalidate
|
2166
|
+
X-Request-Id:
|
2167
|
+
- 9bad0fb9-dadc-4ca4-bb52-369b32ef67bd
|
2168
|
+
X-Runtime:
|
2169
|
+
- '0.034595'
|
2170
|
+
Content-Length:
|
2171
|
+
- '298'
|
2172
|
+
body:
|
2173
|
+
encoding: UTF-8
|
2174
|
+
string: '[{"_id":"5790a01e00ea466f5ea80031","created_at":"2016-07-21T10:12:46Z","updated_at":"2016-07-21T10:12:46Z","_slug":"hello-world","content_type_slug":"articles","_label":"Hello
|
2175
|
+
world","_position":0,"_visible":true,"seo_title":null,"meta_keywords":null,"meta_description":null,"title":"Hello
|
2176
|
+
world"}]'
|
2177
|
+
http_version:
|
2178
|
+
recorded_at: Thu, 21 Jul 2016 10:12:46 GMT
|
2179
|
+
- request:
|
2180
|
+
method: delete
|
2181
|
+
uri: http://localhost:3000/locomotive/sample/api/v3/content_types/articles/entries/hello-world.json?auth_token=4W9TGVPm1TgacsoyhusB
|
2182
|
+
body:
|
2183
|
+
encoding: UTF-8
|
2184
|
+
string: ''
|
2185
|
+
headers:
|
2186
|
+
User-Agent:
|
2187
|
+
- HTTPClient/1.0 (2.7.1, ruby 2.2.3 (2015-08-18))
|
2188
|
+
Accept:
|
2189
|
+
- application/json
|
2190
|
+
Accept-Encoding:
|
2191
|
+
- gzip,deflate
|
2192
|
+
Date:
|
2193
|
+
- Thu, 21 Jul 2016 10:12:46 GMT
|
2194
|
+
X-Locomotive-Account-Email:
|
2195
|
+
- admin@locomotivecms.com
|
2196
|
+
X-Locomotive-Account-Token:
|
2197
|
+
- 4W9TGVPm1TgacsoyhusB
|
2198
|
+
response:
|
2199
|
+
status:
|
2200
|
+
code: 200
|
2201
|
+
message: OK
|
2202
|
+
headers:
|
2203
|
+
Content-Type:
|
2204
|
+
- application/json
|
2205
|
+
Etag:
|
2206
|
+
- W/"fae5e0bf54b91af7e23b36d86c637b5a"
|
2207
|
+
Cache-Control:
|
2208
|
+
- max-age=0, private, must-revalidate
|
2209
|
+
X-Request-Id:
|
2210
|
+
- 8a4ac401-9a9d-4c23-b260-18c722637de6
|
2211
|
+
X-Runtime:
|
2212
|
+
- '0.037044'
|
2213
|
+
Content-Length:
|
2214
|
+
- '296'
|
2215
|
+
body:
|
2216
|
+
encoding: UTF-8
|
2217
|
+
string: '{"_id":"5790a01e00ea466f5ea80031","created_at":"2016-07-21T10:12:46Z","updated_at":"2016-07-21T10:12:46Z","_slug":"hello-world","content_type_slug":"articles","_label":"Hello
|
2218
|
+
world","_position":0,"_visible":true,"seo_title":null,"meta_keywords":null,"meta_description":null,"title":"Hello
|
2219
|
+
world"}'
|
2220
|
+
http_version:
|
2221
|
+
recorded_at: Thu, 21 Jul 2016 10:12:46 GMT
|
2222
|
+
- request:
|
2223
|
+
method: delete
|
2224
|
+
uri: http://localhost:3000/locomotive/sample/api/v3/content_types/articles/entries/lorem-ipsum.json?auth_token=4W9TGVPm1TgacsoyhusB
|
2225
|
+
body:
|
2226
|
+
encoding: UTF-8
|
2227
|
+
string: ''
|
2228
|
+
headers:
|
2229
|
+
User-Agent:
|
2230
|
+
- HTTPClient/1.0 (2.7.1, ruby 2.2.3 (2015-08-18))
|
2231
|
+
Accept:
|
2232
|
+
- application/json
|
2233
|
+
Accept-Encoding:
|
2234
|
+
- gzip,deflate
|
2235
|
+
Date:
|
2236
|
+
- Thu, 21 Jul 2016 10:12:46 GMT
|
2237
|
+
X-Locomotive-Account-Email:
|
2238
|
+
- admin@locomotivecms.com
|
2239
|
+
X-Locomotive-Account-Token:
|
2240
|
+
- 4W9TGVPm1TgacsoyhusB
|
2241
|
+
response:
|
2242
|
+
status:
|
2243
|
+
code: 200
|
2244
|
+
message: OK
|
2245
|
+
headers:
|
2246
|
+
Content-Type:
|
2247
|
+
- application/json
|
2248
|
+
Etag:
|
2249
|
+
- W/"7ff5cb19f35c65d24ff2630bf448e813"
|
2250
|
+
Cache-Control:
|
2251
|
+
- max-age=0, private, must-revalidate
|
2252
|
+
X-Request-Id:
|
2253
|
+
- d705c0ac-7cd1-4920-90a9-456fee408b3b
|
2254
|
+
X-Runtime:
|
2255
|
+
- '0.036037'
|
2256
|
+
Content-Length:
|
2257
|
+
- '296'
|
2258
|
+
body:
|
2259
|
+
encoding: UTF-8
|
2260
|
+
string: '{"_id":"5790a01e00ea466f5ea80034","created_at":"2016-07-21T10:12:46Z","updated_at":"2016-07-21T10:12:46Z","_slug":"lorem-ipsum","content_type_slug":"articles","_label":"Lorem
|
2261
|
+
ipsum","_position":1,"_visible":true,"seo_title":null,"meta_keywords":null,"meta_description":null,"title":"Lorem
|
2262
|
+
ipsum"}'
|
2263
|
+
http_version:
|
2264
|
+
recorded_at: Thu, 21 Jul 2016 10:12:46 GMT
|
2265
|
+
- request:
|
2266
|
+
method: post
|
2267
|
+
uri: http://localhost:3000/locomotive/api/v3/tokens.json
|
2268
|
+
body:
|
2269
|
+
encoding: UTF-8
|
2270
|
+
string: email=admin%40locomotivecms.com&password=locomotive
|
2271
|
+
headers:
|
2272
|
+
User-Agent:
|
2273
|
+
- HTTPClient/1.0 (2.7.1, ruby 2.2.3 (2015-08-18))
|
2274
|
+
Accept:
|
2275
|
+
- application/json
|
2276
|
+
Accept-Encoding:
|
2277
|
+
- gzip,deflate
|
2278
|
+
Date:
|
2279
|
+
- Thu, 21 Jul 2016 10:12:46 GMT
|
2280
|
+
Content-Type:
|
2281
|
+
- application/x-www-form-urlencoded
|
2282
|
+
response:
|
2283
|
+
status:
|
2284
|
+
code: 201
|
2285
|
+
message: Created
|
2286
|
+
headers:
|
2287
|
+
Content-Type:
|
2288
|
+
- application/json
|
2289
|
+
Etag:
|
2290
|
+
- W/"ed6b5e5d77dd808432ec751c0deee185"
|
2291
|
+
Cache-Control:
|
2292
|
+
- max-age=0, private, must-revalidate
|
2293
|
+
X-Request-Id:
|
2294
|
+
- fc3b2336-a5ea-41bd-8a92-b52ddcc099be
|
2295
|
+
X-Runtime:
|
2296
|
+
- '0.013945'
|
2297
|
+
Content-Length:
|
2298
|
+
- '32'
|
2299
|
+
body:
|
2300
|
+
encoding: UTF-8
|
2301
|
+
string: '{"token":"4W9TGVPm1TgacsoyhusB"}'
|
2302
|
+
http_version:
|
2303
|
+
recorded_at: Thu, 21 Jul 2016 10:12:46 GMT
|
2304
|
+
- request:
|
2305
|
+
method: post
|
2306
|
+
uri: http://localhost:3000/locomotive/sample/api/v3/content_types/articles/entries.json
|
2307
|
+
body:
|
2308
|
+
encoding: UTF-8
|
2309
|
+
string: auth_token=4W9TGVPm1TgacsoyhusB&content_entry%5Btitle%5D=Hello+world
|
2310
|
+
headers:
|
2311
|
+
User-Agent:
|
2312
|
+
- HTTPClient/1.0 (2.7.1, ruby 2.2.3 (2015-08-18))
|
2313
|
+
Accept:
|
2314
|
+
- application/json
|
2315
|
+
Accept-Encoding:
|
2316
|
+
- gzip,deflate
|
2317
|
+
Date:
|
2318
|
+
- Thu, 21 Jul 2016 10:12:46 GMT
|
2319
|
+
X-Locomotive-Account-Email:
|
2320
|
+
- admin@locomotivecms.com
|
2321
|
+
X-Locomotive-Account-Token:
|
2322
|
+
- 4W9TGVPm1TgacsoyhusB
|
2323
|
+
Content-Type:
|
2324
|
+
- application/x-www-form-urlencoded
|
2325
|
+
response:
|
2326
|
+
status:
|
2327
|
+
code: 201
|
2328
|
+
message: Created
|
2329
|
+
headers:
|
2330
|
+
Content-Type:
|
2331
|
+
- application/json
|
2332
|
+
Etag:
|
2333
|
+
- W/"0c76a3c877f061f16263000b763a4d08"
|
2334
|
+
Cache-Control:
|
2335
|
+
- max-age=0, private, must-revalidate
|
2336
|
+
X-Request-Id:
|
2337
|
+
- 779659bc-b8bc-4b2d-bf41-10e2fa49cc95
|
2338
|
+
X-Runtime:
|
2339
|
+
- '0.045423'
|
2340
|
+
Content-Length:
|
2341
|
+
- '296'
|
2342
|
+
body:
|
2343
|
+
encoding: UTF-8
|
2344
|
+
string: '{"_id":"5790a01e00ea466f5ea80037","created_at":"2016-07-21T10:12:46Z","updated_at":"2016-07-21T10:12:46Z","_slug":"hello-world","content_type_slug":"articles","_label":"Hello
|
2345
|
+
world","_position":0,"_visible":true,"seo_title":null,"meta_keywords":null,"meta_description":null,"title":"Hello
|
2346
|
+
world"}'
|
2347
|
+
http_version:
|
2348
|
+
recorded_at: Thu, 21 Jul 2016 10:12:46 GMT
|
2349
|
+
- request:
|
2350
|
+
method: post
|
2351
|
+
uri: http://localhost:3000/locomotive/sample/api/v3/content_types/articles/entries.json
|
2352
|
+
body:
|
2353
|
+
encoding: UTF-8
|
2354
|
+
string: auth_token=4W9TGVPm1TgacsoyhusB&content_entry%5Btitle%5D=Lorem+ipsum
|
2355
|
+
headers:
|
2356
|
+
User-Agent:
|
2357
|
+
- HTTPClient/1.0 (2.7.1, ruby 2.2.3 (2015-08-18))
|
2358
|
+
Accept:
|
2359
|
+
- application/json
|
2360
|
+
Accept-Encoding:
|
2361
|
+
- gzip,deflate
|
2362
|
+
Date:
|
2363
|
+
- Thu, 21 Jul 2016 10:12:46 GMT
|
2364
|
+
X-Locomotive-Account-Email:
|
2365
|
+
- admin@locomotivecms.com
|
2366
|
+
X-Locomotive-Account-Token:
|
2367
|
+
- 4W9TGVPm1TgacsoyhusB
|
2368
|
+
Content-Type:
|
2369
|
+
- application/x-www-form-urlencoded
|
2370
|
+
response:
|
2371
|
+
status:
|
2372
|
+
code: 201
|
2373
|
+
message: Created
|
2374
|
+
headers:
|
2375
|
+
Content-Type:
|
2376
|
+
- application/json
|
2377
|
+
Etag:
|
2378
|
+
- W/"f0d1c3cfdf1945504375f066ea5a8d37"
|
2379
|
+
Cache-Control:
|
2380
|
+
- max-age=0, private, must-revalidate
|
2381
|
+
X-Request-Id:
|
2382
|
+
- f188f729-2e3b-4819-baea-3b27b57aad93
|
2383
|
+
X-Runtime:
|
2384
|
+
- '0.080213'
|
2385
|
+
Content-Length:
|
2386
|
+
- '296'
|
2387
|
+
body:
|
2388
|
+
encoding: UTF-8
|
2389
|
+
string: '{"_id":"5790a01e00ea466f5ea8003a","created_at":"2016-07-21T10:12:46Z","updated_at":"2016-07-21T10:12:46Z","_slug":"lorem-ipsum","content_type_slug":"articles","_label":"Lorem
|
2390
|
+
ipsum","_position":1,"_visible":true,"seo_title":null,"meta_keywords":null,"meta_description":null,"title":"Lorem
|
2391
|
+
ipsum"}'
|
2392
|
+
http_version:
|
2393
|
+
recorded_at: Thu, 21 Jul 2016 10:12:46 GMT
|
2394
|
+
- request:
|
2395
|
+
method: get
|
2396
|
+
uri: http://localhost:3000/locomotive/sample/api/v3/content_types/articles/entries.json?auth_token=4W9TGVPm1TgacsoyhusB&page=1&where=%7B%7D
|
2397
|
+
body:
|
2398
|
+
encoding: UTF-8
|
2399
|
+
string: ''
|
2400
|
+
headers:
|
2401
|
+
User-Agent:
|
2402
|
+
- HTTPClient/1.0 (2.7.1, ruby 2.2.3 (2015-08-18))
|
2403
|
+
Accept:
|
2404
|
+
- application/json
|
2405
|
+
Accept-Encoding:
|
2406
|
+
- gzip,deflate
|
2407
|
+
Date:
|
2408
|
+
- Thu, 21 Jul 2016 10:12:46 GMT
|
2409
|
+
X-Locomotive-Account-Email:
|
2410
|
+
- admin@locomotivecms.com
|
2411
|
+
X-Locomotive-Account-Token:
|
2412
|
+
- 4W9TGVPm1TgacsoyhusB
|
2413
|
+
response:
|
2414
|
+
status:
|
2415
|
+
code: 200
|
2416
|
+
message: OK
|
2417
|
+
headers:
|
2418
|
+
X-Total-Pages:
|
2419
|
+
- '1'
|
2420
|
+
X-Per-Page:
|
2421
|
+
- '10'
|
2422
|
+
X-Total-Entries:
|
2423
|
+
- '2'
|
2424
|
+
Content-Type:
|
2425
|
+
- application/json
|
2426
|
+
Etag:
|
2427
|
+
- W/"16909c6bc4c1173eb7f2659d438e366c"
|
2428
|
+
Cache-Control:
|
2429
|
+
- max-age=0, private, must-revalidate
|
2430
|
+
X-Request-Id:
|
2431
|
+
- ce3ce9e1-f10f-4bfd-affc-ebbabb84e110
|
2432
|
+
X-Runtime:
|
2433
|
+
- '0.049493'
|
2434
|
+
Content-Length:
|
2435
|
+
- '595'
|
2436
|
+
body:
|
2437
|
+
encoding: UTF-8
|
2438
|
+
string: '[{"_id":"5790a01e00ea466f5ea80037","created_at":"2016-07-21T10:12:46Z","updated_at":"2016-07-21T10:12:46Z","_slug":"hello-world","content_type_slug":"articles","_label":"Hello
|
2439
|
+
world","_position":0,"_visible":true,"seo_title":null,"meta_keywords":null,"meta_description":null,"title":"Hello
|
2440
|
+
world"},{"_id":"5790a01e00ea466f5ea8003a","created_at":"2016-07-21T10:12:46Z","updated_at":"2016-07-21T10:12:46Z","_slug":"lorem-ipsum","content_type_slug":"articles","_label":"Lorem
|
2441
|
+
ipsum","_position":1,"_visible":true,"seo_title":null,"meta_keywords":null,"meta_description":null,"title":"Lorem
|
2442
|
+
ipsum"}]'
|
2443
|
+
http_version:
|
2444
|
+
recorded_at: Thu, 21 Jul 2016 10:12:46 GMT
|
2445
|
+
- request:
|
2446
|
+
method: delete
|
2447
|
+
uri: http://localhost:3000/locomotive/sample/api/v3/content_types/articles/entries/hello-world.json?auth_token=4W9TGVPm1TgacsoyhusB
|
2448
|
+
body:
|
2449
|
+
encoding: UTF-8
|
2450
|
+
string: ''
|
2451
|
+
headers:
|
2452
|
+
User-Agent:
|
2453
|
+
- HTTPClient/1.0 (2.7.1, ruby 2.2.3 (2015-08-18))
|
2454
|
+
Accept:
|
2455
|
+
- application/json
|
2456
|
+
Accept-Encoding:
|
2457
|
+
- gzip,deflate
|
2458
|
+
Date:
|
2459
|
+
- Thu, 21 Jul 2016 10:12:46 GMT
|
2460
|
+
X-Locomotive-Account-Email:
|
2461
|
+
- admin@locomotivecms.com
|
2462
|
+
X-Locomotive-Account-Token:
|
2463
|
+
- 4W9TGVPm1TgacsoyhusB
|
2464
|
+
response:
|
2465
|
+
status:
|
2466
|
+
code: 200
|
2467
|
+
message: OK
|
2468
|
+
headers:
|
2469
|
+
Content-Type:
|
2470
|
+
- application/json
|
2471
|
+
Etag:
|
2472
|
+
- W/"0c76a3c877f061f16263000b763a4d08"
|
2473
|
+
Cache-Control:
|
2474
|
+
- max-age=0, private, must-revalidate
|
2475
|
+
X-Request-Id:
|
2476
|
+
- 7a38604c-66ef-4d6b-bcf1-ddbf94549a2e
|
2477
|
+
X-Runtime:
|
2478
|
+
- '0.042968'
|
2479
|
+
Content-Length:
|
2480
|
+
- '296'
|
2481
|
+
body:
|
2482
|
+
encoding: UTF-8
|
2483
|
+
string: '{"_id":"5790a01e00ea466f5ea80037","created_at":"2016-07-21T10:12:46Z","updated_at":"2016-07-21T10:12:46Z","_slug":"hello-world","content_type_slug":"articles","_label":"Hello
|
2484
|
+
world","_position":0,"_visible":true,"seo_title":null,"meta_keywords":null,"meta_description":null,"title":"Hello
|
2485
|
+
world"}'
|
2486
|
+
http_version:
|
2487
|
+
recorded_at: Thu, 21 Jul 2016 10:12:46 GMT
|
2488
|
+
- request:
|
2489
|
+
method: delete
|
2490
|
+
uri: http://localhost:3000/locomotive/sample/api/v3/content_types/articles/entries/lorem-ipsum.json?auth_token=4W9TGVPm1TgacsoyhusB
|
2491
|
+
body:
|
2492
|
+
encoding: UTF-8
|
2493
|
+
string: ''
|
2494
|
+
headers:
|
2495
|
+
User-Agent:
|
2496
|
+
- HTTPClient/1.0 (2.7.1, ruby 2.2.3 (2015-08-18))
|
2497
|
+
Accept:
|
2498
|
+
- application/json
|
2499
|
+
Accept-Encoding:
|
2500
|
+
- gzip,deflate
|
2501
|
+
Date:
|
2502
|
+
- Thu, 21 Jul 2016 10:12:46 GMT
|
2503
|
+
X-Locomotive-Account-Email:
|
2504
|
+
- admin@locomotivecms.com
|
2505
|
+
X-Locomotive-Account-Token:
|
2506
|
+
- 4W9TGVPm1TgacsoyhusB
|
2507
|
+
response:
|
2508
|
+
status:
|
2509
|
+
code: 200
|
2510
|
+
message: OK
|
2511
|
+
headers:
|
2512
|
+
Content-Type:
|
2513
|
+
- application/json
|
2514
|
+
Etag:
|
2515
|
+
- W/"f0d1c3cfdf1945504375f066ea5a8d37"
|
2516
|
+
Cache-Control:
|
2517
|
+
- max-age=0, private, must-revalidate
|
2518
|
+
X-Request-Id:
|
2519
|
+
- 7784f416-2eaf-4a4b-bcfe-730e81a4ea1e
|
2520
|
+
X-Runtime:
|
2521
|
+
- '0.032935'
|
2522
|
+
Content-Length:
|
2523
|
+
- '296'
|
2524
|
+
body:
|
2525
|
+
encoding: UTF-8
|
2526
|
+
string: '{"_id":"5790a01e00ea466f5ea8003a","created_at":"2016-07-21T10:12:46Z","updated_at":"2016-07-21T10:12:46Z","_slug":"lorem-ipsum","content_type_slug":"articles","_label":"Lorem
|
2527
|
+
ipsum","_position":1,"_visible":true,"seo_title":null,"meta_keywords":null,"meta_description":null,"title":"Lorem
|
2528
|
+
ipsum"}'
|
2529
|
+
http_version:
|
2530
|
+
recorded_at: Thu, 21 Jul 2016 10:12:46 GMT
|
2531
|
+
- request:
|
2532
|
+
method: post
|
2533
|
+
uri: http://localhost:3000/locomotive/api/v3/tokens.json
|
2534
|
+
body:
|
2535
|
+
encoding: UTF-8
|
2536
|
+
string: email=admin%40locomotivecms.com&password=locomotive
|
2537
|
+
headers:
|
2538
|
+
User-Agent:
|
2539
|
+
- HTTPClient/1.0 (2.7.1, ruby 2.2.3 (2015-08-18))
|
2540
|
+
Accept:
|
2541
|
+
- application/json
|
2542
|
+
Accept-Encoding:
|
2543
|
+
- gzip,deflate
|
2544
|
+
Date:
|
2545
|
+
- Thu, 21 Jul 2016 10:12:46 GMT
|
2546
|
+
Content-Type:
|
2547
|
+
- application/x-www-form-urlencoded
|
2548
|
+
response:
|
2549
|
+
status:
|
2550
|
+
code: 201
|
2551
|
+
message: Created
|
2552
|
+
headers:
|
2553
|
+
Content-Type:
|
2554
|
+
- application/json
|
2555
|
+
Etag:
|
2556
|
+
- W/"ed6b5e5d77dd808432ec751c0deee185"
|
2557
|
+
Cache-Control:
|
2558
|
+
- max-age=0, private, must-revalidate
|
2559
|
+
X-Request-Id:
|
2560
|
+
- 6e6ca88a-4ed9-461f-b624-32d06164c52d
|
2561
|
+
X-Runtime:
|
2562
|
+
- '0.012835'
|
2563
|
+
Content-Length:
|
2564
|
+
- '32'
|
2565
|
+
body:
|
2566
|
+
encoding: UTF-8
|
2567
|
+
string: '{"token":"4W9TGVPm1TgacsoyhusB"}'
|
2568
|
+
http_version:
|
2569
|
+
recorded_at: Thu, 21 Jul 2016 10:12:46 GMT
|
2570
|
+
- request:
|
2571
|
+
method: post
|
2572
|
+
uri: http://localhost:3000/locomotive/sample/api/v3/content_types/articles/entries.json
|
2573
|
+
body:
|
2574
|
+
encoding: UTF-8
|
2575
|
+
string: auth_token=4W9TGVPm1TgacsoyhusB&content_entry%5Btitle%5D=Random+title
|
2576
|
+
headers:
|
2577
|
+
User-Agent:
|
2578
|
+
- HTTPClient/1.0 (2.7.1, ruby 2.2.3 (2015-08-18))
|
2579
|
+
Accept:
|
2580
|
+
- application/json
|
2581
|
+
Accept-Encoding:
|
2582
|
+
- gzip,deflate
|
2583
|
+
Date:
|
2584
|
+
- Thu, 21 Jul 2016 10:12:46 GMT
|
2585
|
+
X-Locomotive-Account-Email:
|
2586
|
+
- admin@locomotivecms.com
|
2587
|
+
X-Locomotive-Account-Token:
|
2588
|
+
- 4W9TGVPm1TgacsoyhusB
|
2589
|
+
Content-Type:
|
2590
|
+
- application/x-www-form-urlencoded
|
2591
|
+
response:
|
2592
|
+
status:
|
2593
|
+
code: 201
|
2594
|
+
message: Created
|
2595
|
+
headers:
|
2596
|
+
Content-Type:
|
2597
|
+
- application/json
|
2598
|
+
Etag:
|
2599
|
+
- W/"654a528f9a77320f860bef725842beec"
|
2600
|
+
Cache-Control:
|
2601
|
+
- max-age=0, private, must-revalidate
|
2602
|
+
X-Request-Id:
|
2603
|
+
- 828fb4ef-01fc-47d9-97c5-2890cd2f548d
|
2604
|
+
X-Runtime:
|
2605
|
+
- '0.041618'
|
2606
|
+
Content-Length:
|
2607
|
+
- '299'
|
2608
|
+
body:
|
2609
|
+
encoding: UTF-8
|
2610
|
+
string: '{"_id":"5790a01e00ea466f5ea8003d","created_at":"2016-07-21T10:12:46Z","updated_at":"2016-07-21T10:12:46Z","_slug":"random-title","content_type_slug":"articles","_label":"Random
|
2611
|
+
title","_position":0,"_visible":true,"seo_title":null,"meta_keywords":null,"meta_description":null,"title":"Random
|
2612
|
+
title"}'
|
2613
|
+
http_version:
|
2614
|
+
recorded_at: Thu, 21 Jul 2016 10:12:46 GMT
|
2615
|
+
- request:
|
2616
|
+
method: put
|
2617
|
+
uri: http://localhost:3000/locomotive/sample/api/v3/content_types/articles/entries/random-title.json
|
2618
|
+
body:
|
2619
|
+
encoding: UTF-8
|
2620
|
+
string: auth_token=4W9TGVPm1TgacsoyhusB&content_entry%5Btitle%5D=Random+title%21
|
2621
|
+
headers:
|
2622
|
+
User-Agent:
|
2623
|
+
- HTTPClient/1.0 (2.7.1, ruby 2.2.3 (2015-08-18))
|
2624
|
+
Accept:
|
2625
|
+
- application/json
|
2626
|
+
Accept-Encoding:
|
2627
|
+
- gzip,deflate
|
2628
|
+
Date:
|
2629
|
+
- Thu, 21 Jul 2016 10:12:46 GMT
|
2630
|
+
X-Locomotive-Account-Email:
|
2631
|
+
- admin@locomotivecms.com
|
2632
|
+
X-Locomotive-Account-Token:
|
2633
|
+
- 4W9TGVPm1TgacsoyhusB
|
2634
|
+
X-Locomotive-Locale:
|
2635
|
+
- ''
|
2636
|
+
Content-Type:
|
2637
|
+
- application/x-www-form-urlencoded
|
2638
|
+
response:
|
2639
|
+
status:
|
2640
|
+
code: 200
|
2641
|
+
message: OK
|
2642
|
+
headers:
|
2643
|
+
Content-Type:
|
2644
|
+
- application/json
|
2645
|
+
Etag:
|
2646
|
+
- W/"0224f57a606be68f190940f63e5a3e65"
|
2647
|
+
Cache-Control:
|
2648
|
+
- max-age=0, private, must-revalidate
|
2649
|
+
X-Request-Id:
|
2650
|
+
- cf0db12b-903c-496e-8b6e-dfb3ec286794
|
2651
|
+
X-Runtime:
|
2652
|
+
- '0.057544'
|
2653
|
+
Content-Length:
|
2654
|
+
- '301'
|
2655
|
+
body:
|
2656
|
+
encoding: UTF-8
|
2657
|
+
string: '{"_id":"5790a01e00ea466f5ea8003d","created_at":"2016-07-21T10:12:46Z","updated_at":"2016-07-21T10:12:46Z","_slug":"random-title","content_type_slug":"articles","_label":"Random
|
2658
|
+
title!","_position":0,"_visible":true,"seo_title":null,"meta_keywords":null,"meta_description":null,"title":"Random
|
2659
|
+
title!"}'
|
2660
|
+
http_version:
|
2661
|
+
recorded_at: Thu, 21 Jul 2016 10:12:46 GMT
|
2662
|
+
- request:
|
2663
|
+
method: post
|
2664
|
+
uri: http://localhost:3000/locomotive/api/v3/tokens.json
|
2665
|
+
body:
|
2666
|
+
encoding: UTF-8
|
2667
|
+
string: email=admin%40locomotivecms.com&password=locomotive
|
2668
|
+
headers:
|
2669
|
+
User-Agent:
|
2670
|
+
- HTTPClient/1.0 (2.7.1, ruby 2.2.3 (2015-08-18))
|
2671
|
+
Accept:
|
2672
|
+
- application/json
|
2673
|
+
Accept-Encoding:
|
2674
|
+
- gzip,deflate
|
2675
|
+
Date:
|
2676
|
+
- Thu, 21 Jul 2016 10:12:46 GMT
|
2677
|
+
Content-Type:
|
2678
|
+
- application/x-www-form-urlencoded
|
2679
|
+
response:
|
2680
|
+
status:
|
2681
|
+
code: 201
|
2682
|
+
message: Created
|
2683
|
+
headers:
|
2684
|
+
Content-Type:
|
2685
|
+
- application/json
|
2686
|
+
Etag:
|
2687
|
+
- W/"ed6b5e5d77dd808432ec751c0deee185"
|
2688
|
+
Cache-Control:
|
2689
|
+
- max-age=0, private, must-revalidate
|
2690
|
+
X-Request-Id:
|
2691
|
+
- 7c0a2a9f-d8e5-4862-8789-6d110af23261
|
2692
|
+
X-Runtime:
|
2693
|
+
- '0.012186'
|
2694
|
+
Content-Length:
|
2695
|
+
- '32'
|
2696
|
+
body:
|
2697
|
+
encoding: UTF-8
|
2698
|
+
string: '{"token":"4W9TGVPm1TgacsoyhusB"}'
|
2699
|
+
http_version:
|
2700
|
+
recorded_at: Thu, 21 Jul 2016 10:12:46 GMT
|
2701
|
+
- request:
|
2702
|
+
method: post
|
2703
|
+
uri: http://localhost:3000/locomotive/sample/api/v3/content_types/articles/entries.json
|
2704
|
+
body:
|
2705
|
+
encoding: UTF-8
|
2706
|
+
string: auth_token=4W9TGVPm1TgacsoyhusB&content_entry%5Btitle%5D=Random+title
|
2707
|
+
headers:
|
2708
|
+
User-Agent:
|
2709
|
+
- HTTPClient/1.0 (2.7.1, ruby 2.2.3 (2015-08-18))
|
2710
|
+
Accept:
|
2711
|
+
- application/json
|
2712
|
+
Accept-Encoding:
|
2713
|
+
- gzip,deflate
|
2714
|
+
Date:
|
2715
|
+
- Thu, 21 Jul 2016 10:12:46 GMT
|
2716
|
+
X-Locomotive-Account-Email:
|
2717
|
+
- admin@locomotivecms.com
|
2718
|
+
X-Locomotive-Account-Token:
|
2719
|
+
- 4W9TGVPm1TgacsoyhusB
|
2720
|
+
Content-Type:
|
2721
|
+
- application/x-www-form-urlencoded
|
2722
|
+
response:
|
2723
|
+
status:
|
2724
|
+
code: 201
|
2725
|
+
message: Created
|
2726
|
+
headers:
|
2727
|
+
Content-Type:
|
2728
|
+
- application/json
|
2729
|
+
Etag:
|
2730
|
+
- W/"f1da483449d83f7dc58debe9479949d0"
|
2731
|
+
Cache-Control:
|
2732
|
+
- max-age=0, private, must-revalidate
|
2733
|
+
X-Request-Id:
|
2734
|
+
- 6b899763-3266-4316-9b80-7ee64102f4d4
|
2735
|
+
X-Runtime:
|
2736
|
+
- '0.046379'
|
2737
|
+
Content-Length:
|
2738
|
+
- '301'
|
2739
|
+
body:
|
2740
|
+
encoding: UTF-8
|
2741
|
+
string: '{"_id":"5790a01e00ea466f5ea80042","created_at":"2016-07-21T10:12:46Z","updated_at":"2016-07-21T10:12:46Z","_slug":"random-title-1","content_type_slug":"articles","_label":"Random
|
2742
|
+
title","_position":1,"_visible":true,"seo_title":null,"meta_keywords":null,"meta_description":null,"title":"Random
|
2743
|
+
title"}'
|
2744
|
+
http_version:
|
2745
|
+
recorded_at: Thu, 21 Jul 2016 10:12:46 GMT
|
2746
|
+
- request:
|
2747
|
+
method: put
|
2748
|
+
uri: http://localhost:3000/locomotive/sample/api/v3/content_types/articles/entries/5790a01e00ea466f5ea80042.json
|
2749
|
+
body:
|
2750
|
+
encoding: UTF-8
|
2751
|
+
string: auth_token=4W9TGVPm1TgacsoyhusB&content_entry%5Btitle%5D=Titre+au+hasard
|
2752
|
+
headers:
|
2753
|
+
User-Agent:
|
2754
|
+
- HTTPClient/1.0 (2.7.1, ruby 2.2.3 (2015-08-18))
|
2755
|
+
Accept:
|
2756
|
+
- application/json
|
2757
|
+
Accept-Encoding:
|
2758
|
+
- gzip,deflate
|
2759
|
+
Date:
|
2760
|
+
- Thu, 21 Jul 2016 10:12:46 GMT
|
2761
|
+
X-Locomotive-Account-Email:
|
2762
|
+
- admin@locomotivecms.com
|
2763
|
+
X-Locomotive-Account-Token:
|
2764
|
+
- 4W9TGVPm1TgacsoyhusB
|
2765
|
+
X-Locomotive-Locale:
|
2766
|
+
- fr
|
2767
|
+
Content-Type:
|
2768
|
+
- application/x-www-form-urlencoded
|
2769
|
+
response:
|
2770
|
+
status:
|
2771
|
+
code: 200
|
2772
|
+
message: OK
|
2773
|
+
headers:
|
2774
|
+
Content-Type:
|
2775
|
+
- application/json
|
2776
|
+
Etag:
|
2777
|
+
- W/"2bcbc6b91099342db51b6b3c0238c12a"
|
2778
|
+
Cache-Control:
|
2779
|
+
- max-age=0, private, must-revalidate
|
2780
|
+
X-Request-Id:
|
2781
|
+
- 85190303-2226-498b-aff5-5d957726c0bf
|
2782
|
+
X-Runtime:
|
2783
|
+
- '0.052572'
|
2784
|
+
Content-Length:
|
2785
|
+
- '308'
|
2786
|
+
body:
|
2787
|
+
encoding: UTF-8
|
2788
|
+
string: '{"_id":"5790a01e00ea466f5ea80042","created_at":"2016-07-21T10:12:46Z","updated_at":"2016-07-21T10:12:47Z","_slug":"titre-au-hasard","content_type_slug":"articles","_label":"Titre
|
2789
|
+
au hasard","_position":1,"_visible":true,"seo_title":null,"meta_keywords":null,"meta_description":null,"title":"Titre
|
2790
|
+
au hasard"}'
|
2791
|
+
http_version:
|
2792
|
+
recorded_at: Thu, 21 Jul 2016 10:12:47 GMT
|
2793
|
+
- request:
|
2794
|
+
method: post
|
2795
|
+
uri: http://localhost:3000/locomotive/api/v3/tokens.json
|
2796
|
+
body:
|
2797
|
+
encoding: UTF-8
|
2798
|
+
string: email=admin%40locomotivecms.com&password=locomotive
|
2799
|
+
headers:
|
2800
|
+
User-Agent:
|
2801
|
+
- HTTPClient/1.0 (2.7.1, ruby 2.2.3 (2015-08-18))
|
2802
|
+
Accept:
|
2803
|
+
- application/json
|
2804
|
+
Accept-Encoding:
|
2805
|
+
- gzip,deflate
|
2806
|
+
Date:
|
2807
|
+
- Thu, 21 Jul 2016 10:12:47 GMT
|
2808
|
+
Content-Type:
|
2809
|
+
- application/x-www-form-urlencoded
|
2810
|
+
response:
|
2811
|
+
status:
|
2812
|
+
code: 201
|
2813
|
+
message: Created
|
2814
|
+
headers:
|
2815
|
+
Content-Type:
|
2816
|
+
- application/json
|
2817
|
+
Etag:
|
2818
|
+
- W/"ed6b5e5d77dd808432ec751c0deee185"
|
2819
|
+
Cache-Control:
|
2820
|
+
- max-age=0, private, must-revalidate
|
2821
|
+
X-Request-Id:
|
2822
|
+
- ce31a053-7f96-4e38-b1f1-44dcee2acb84
|
2823
|
+
X-Runtime:
|
2824
|
+
- '0.013112'
|
2825
|
+
Content-Length:
|
2826
|
+
- '32'
|
2827
|
+
body:
|
2828
|
+
encoding: UTF-8
|
2829
|
+
string: '{"token":"4W9TGVPm1TgacsoyhusB"}'
|
2830
|
+
http_version:
|
2831
|
+
recorded_at: Thu, 21 Jul 2016 10:12:47 GMT
|
2832
|
+
- request:
|
2833
|
+
method: delete
|
2834
|
+
uri: http://localhost:3000/locomotive/sample/api/v3/content_types/5790a01c00ea466f5ea8001c.json?auth_token=4W9TGVPm1TgacsoyhusB
|
2835
|
+
body:
|
2836
|
+
encoding: UTF-8
|
2837
|
+
string: ''
|
2838
|
+
headers:
|
2839
|
+
User-Agent:
|
2840
|
+
- HTTPClient/1.0 (2.7.1, ruby 2.2.3 (2015-08-18))
|
2841
|
+
Accept:
|
2842
|
+
- application/json
|
2843
|
+
Accept-Encoding:
|
2844
|
+
- gzip,deflate
|
2845
|
+
Date:
|
2846
|
+
- Thu, 21 Jul 2016 10:12:47 GMT
|
2847
|
+
X-Locomotive-Account-Email:
|
2848
|
+
- admin@locomotivecms.com
|
2849
|
+
X-Locomotive-Account-Token:
|
2850
|
+
- 4W9TGVPm1TgacsoyhusB
|
2851
|
+
response:
|
2852
|
+
status:
|
2853
|
+
code: 200
|
2854
|
+
message: OK
|
2855
|
+
headers:
|
2856
|
+
Content-Type:
|
2857
|
+
- application/json
|
2858
|
+
Etag:
|
2859
|
+
- W/"72027aa2d1231e4747d6ffc18d64c0cf"
|
2860
|
+
Cache-Control:
|
2861
|
+
- max-age=0, private, must-revalidate
|
2862
|
+
X-Request-Id:
|
2863
|
+
- bd2ad0ef-3846-463c-a5fe-eca72d755422
|
2864
|
+
X-Runtime:
|
2865
|
+
- '0.045821'
|
2866
|
+
Content-Length:
|
2867
|
+
- '679'
|
2868
|
+
body:
|
2869
|
+
encoding: UTF-8
|
2870
|
+
string: '{"_id":"5790a01c00ea466f5ea8001c","created_at":"2016-07-21T10:12:44Z","updated_at":"2016-07-21T10:12:46Z","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,"entry_template":null,"display_settings":null,"filter_fields":null,"fields":[{"_id":"5790a01c00ea466f5ea8001d","created_at":null,"updated_at":null,"name":"title","type":"string","label":"Title","hint":null,"required":true,"localized":true,"unique":false,"default":null,"position":0}],"order_by":"created_at","group_by":null,"public_submission_account_emails":[]}'
|
2871
|
+
http_version:
|
2872
|
+
recorded_at: Thu, 21 Jul 2016 10:12:47 GMT
|
2873
|
+
recorded_with: VCR 3.0.1
|