locomotivecms_wagon 2.0.0 → 2.0.1
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.
- checksums.yaml +4 -4
- data/Gemfile +2 -2
- data/README.md +1 -1
- data/generators/page/template.liquid.haml.tt +3 -0
- data/generators/page/template.liquid.tt +8 -2
- data/lib/locomotive/wagon.rb +4 -4
- data/lib/locomotive/wagon/cli.rb +2 -8
- data/lib/locomotive/wagon/commands/pull_sub_commands/pull_content_entries_command.rb +1 -1
- data/lib/locomotive/wagon/commands/pull_sub_commands/pull_content_types_command.rb +9 -3
- data/lib/locomotive/wagon/commands/push_sub_commands/push_site_command.rb +2 -0
- data/lib/locomotive/wagon/commands/push_sub_commands/push_snippets_command.rb +1 -1
- data/lib/locomotive/wagon/commands/serve_command.rb +74 -22
- data/lib/locomotive/wagon/decorators/content_type_field_decorator.rb +3 -3
- data/lib/locomotive/wagon/decorators/site_decorator.rb +3 -3
- data/lib/locomotive/wagon/decorators/snippet_decorator.rb +13 -5
- data/lib/locomotive/wagon/generators/page.rb +3 -1
- data/lib/locomotive/wagon/version.rb +1 -1
- data/locomotivecms_wagon.gemspec +1 -1
- data/spec/fixtures/cassettes/authenticate.yml +82 -41
- data/spec/fixtures/cassettes/delete.yml +160 -160
- data/spec/fixtures/cassettes/push.yml +1039 -1036
- data/spec/integration/cli_spec.rb +1 -1
- data/spec/unit/commands/pull_sub_commands/pull_content_types_command_spec.rb +41 -0
- metadata +6 -4
data/locomotivecms_wagon.gemspec
CHANGED
@@ -28,7 +28,7 @@ Gem::Specification.new do |gem|
|
|
28
28
|
|
29
29
|
gem.add_dependency 'locomotivecms_common', '~> 0.0.5'
|
30
30
|
gem.add_dependency 'locomotivecms_coal', '~> 1.0.0'
|
31
|
-
gem.add_dependency 'locomotivecms_steam', '~> 1.0.
|
31
|
+
gem.add_dependency 'locomotivecms_steam', '~> 1.0.1'
|
32
32
|
|
33
33
|
gem.add_dependency 'listen', '~> 3.0.4'
|
34
34
|
gem.add_dependency 'rack-livereload', '~> 0.3.16'
|
@@ -17,63 +17,104 @@ http_interactions:
|
|
17
17
|
- Ruby
|
18
18
|
response:
|
19
19
|
status:
|
20
|
-
code:
|
21
|
-
message:
|
20
|
+
code: 201
|
21
|
+
message: Created
|
22
22
|
headers:
|
23
23
|
Content-Type:
|
24
24
|
- application/json
|
25
|
-
|
26
|
-
-
|
25
|
+
Etag:
|
26
|
+
- W/"bc2668dfce49ce8b86c24c5238a6ad8a"
|
27
27
|
Cache-Control:
|
28
|
-
-
|
28
|
+
- max-age=0, private, must-revalidate
|
29
29
|
X-Request-Id:
|
30
|
-
-
|
30
|
+
- ac82d4d7-0fab-42e5-b204-e7b3aeb1dc0c
|
31
31
|
X-Runtime:
|
32
|
-
- '0.
|
32
|
+
- '0.538828'
|
33
33
|
Content-Length:
|
34
|
-
- '
|
34
|
+
- '32'
|
35
35
|
body:
|
36
36
|
encoding: UTF-8
|
37
|
-
string: '{"
|
37
|
+
string: '{"token":"4UbNL-FP8WQsnonBusPw"}'
|
38
38
|
http_version:
|
39
|
-
recorded_at: Tue,
|
39
|
+
recorded_at: Tue, 16 Feb 2016 00:46:20 GMT
|
40
40
|
- request:
|
41
|
-
method:
|
42
|
-
uri: http://localhost:3000/locomotive/api/v3/my_account.json
|
41
|
+
method: get
|
42
|
+
uri: http://localhost:3000/locomotive/api/v3/my_account.json?auth_token=4UbNL-FP8WQsnonBusPw
|
43
43
|
body:
|
44
|
-
encoding:
|
45
|
-
string:
|
44
|
+
encoding: US-ASCII
|
45
|
+
string: ''
|
46
46
|
headers:
|
47
47
|
Accept:
|
48
48
|
- application/json
|
49
|
+
X-Locomotive-Account-Email:
|
50
|
+
- john@doe.net
|
51
|
+
X-Locomotive-Account-Token:
|
52
|
+
- 4UbNL-FP8WQsnonBusPw
|
53
|
+
Accept-Encoding:
|
54
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
55
|
+
User-Agent:
|
56
|
+
- Ruby
|
57
|
+
response:
|
58
|
+
status:
|
59
|
+
code: 200
|
60
|
+
message: OK
|
61
|
+
headers:
|
49
62
|
Content-Type:
|
50
|
-
- application/
|
63
|
+
- application/json
|
64
|
+
Etag:
|
65
|
+
- W/"1fede7cbfdb8717942bf763b9ce2c37d"
|
66
|
+
Cache-Control:
|
67
|
+
- max-age=0, private, must-revalidate
|
68
|
+
X-Request-Id:
|
69
|
+
- 89d151cf-949c-43e4-857e-e35e27388fda
|
70
|
+
X-Runtime:
|
71
|
+
- '0.063627'
|
72
|
+
Content-Length:
|
73
|
+
- '250'
|
74
|
+
body:
|
75
|
+
encoding: UTF-8
|
76
|
+
string: '{"_id":"56c265bdc365114365000000","created_at":"2016-02-15T23:56:45Z","updated_at":"2016-02-15T23:56:45Z","name":"John","email":"john@doe.net","locale":"en","api_key":"69f81710e41bd4fe8693d0447a31e7bfcf07d8d7","super_admin":false,"local_admin":false}'
|
77
|
+
http_version:
|
78
|
+
recorded_at: Tue, 16 Feb 2016 00:46:20 GMT
|
79
|
+
- request:
|
80
|
+
method: get
|
81
|
+
uri: http://localhost:3000/locomotive/api/v3/my_account.json?auth_token=4UbNL-FP8WQsnonBusPw
|
82
|
+
body:
|
83
|
+
encoding: US-ASCII
|
84
|
+
string: ''
|
85
|
+
headers:
|
86
|
+
Accept:
|
87
|
+
- application/json
|
88
|
+
X-Locomotive-Account-Email:
|
89
|
+
- john@doe.net
|
90
|
+
X-Locomotive-Account-Token:
|
91
|
+
- 4UbNL-FP8WQsnonBusPw
|
51
92
|
Accept-Encoding:
|
52
93
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
53
94
|
User-Agent:
|
54
95
|
- Ruby
|
55
96
|
response:
|
56
97
|
status:
|
57
|
-
code:
|
58
|
-
message:
|
98
|
+
code: 200
|
99
|
+
message: OK
|
59
100
|
headers:
|
60
101
|
Content-Type:
|
61
102
|
- application/json
|
62
103
|
Etag:
|
63
|
-
- W/"
|
104
|
+
- W/"1fede7cbfdb8717942bf763b9ce2c37d"
|
64
105
|
Cache-Control:
|
65
106
|
- max-age=0, private, must-revalidate
|
66
107
|
X-Request-Id:
|
67
|
-
-
|
108
|
+
- 4b88417d-24af-40e4-a6b3-3211ce98e6cf
|
68
109
|
X-Runtime:
|
69
|
-
- '0.
|
110
|
+
- '0.020165'
|
70
111
|
Content-Length:
|
71
112
|
- '250'
|
72
113
|
body:
|
73
114
|
encoding: UTF-8
|
74
|
-
string: '{"_id":"
|
115
|
+
string: '{"_id":"56c265bdc365114365000000","created_at":"2016-02-15T23:56:45Z","updated_at":"2016-02-15T23:56:45Z","name":"John","email":"john@doe.net","locale":"en","api_key":"69f81710e41bd4fe8693d0447a31e7bfcf07d8d7","super_admin":false,"local_admin":false}'
|
75
116
|
http_version:
|
76
|
-
recorded_at: Tue,
|
117
|
+
recorded_at: Tue, 16 Feb 2016 00:46:21 GMT
|
77
118
|
- request:
|
78
119
|
method: post
|
79
120
|
uri: http://localhost:3000/locomotive/api/v3/tokens.json
|
@@ -97,23 +138,23 @@ http_interactions:
|
|
97
138
|
Content-Type:
|
98
139
|
- application/json
|
99
140
|
Etag:
|
100
|
-
- W/"
|
141
|
+
- W/"3cc699723ac44b6b16405f0c666c9bc3"
|
101
142
|
Cache-Control:
|
102
143
|
- max-age=0, private, must-revalidate
|
103
144
|
X-Request-Id:
|
104
|
-
-
|
145
|
+
- e347d042-8a3a-4ee0-9126-4973edd50f4d
|
105
146
|
X-Runtime:
|
106
|
-
- '0.
|
147
|
+
- '0.021840'
|
107
148
|
Content-Length:
|
108
149
|
- '32'
|
109
150
|
body:
|
110
151
|
encoding: UTF-8
|
111
|
-
string: '{"token":"
|
152
|
+
string: '{"token":"C2t1wxAuKy7YPAHVva29"}'
|
112
153
|
http_version:
|
113
|
-
recorded_at: Tue,
|
154
|
+
recorded_at: Tue, 16 Feb 2016 00:46:21 GMT
|
114
155
|
- request:
|
115
156
|
method: get
|
116
|
-
uri: http://localhost:3000/locomotive/api/v3/my_account.json?auth_token=
|
157
|
+
uri: http://localhost:3000/locomotive/api/v3/my_account.json?auth_token=C2t1wxAuKy7YPAHVva29
|
117
158
|
body:
|
118
159
|
encoding: US-ASCII
|
119
160
|
string: ''
|
@@ -123,7 +164,7 @@ http_interactions:
|
|
123
164
|
X-Locomotive-Account-Email:
|
124
165
|
- admin@locomotivecms.com
|
125
166
|
X-Locomotive-Account-Token:
|
126
|
-
-
|
167
|
+
- C2t1wxAuKy7YPAHVva29
|
127
168
|
Accept-Encoding:
|
128
169
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
129
170
|
User-Agent:
|
@@ -136,23 +177,23 @@ http_interactions:
|
|
136
177
|
Content-Type:
|
137
178
|
- application/json
|
138
179
|
Etag:
|
139
|
-
- W/"
|
180
|
+
- W/"6dc03a13985e38bbf77d96a5b9803c04"
|
140
181
|
Cache-Control:
|
141
182
|
- max-age=0, private, must-revalidate
|
142
183
|
X-Request-Id:
|
143
|
-
-
|
184
|
+
- 1217e1b0-1f5d-4ef1-b22b-af9a2cced709
|
144
185
|
X-Runtime:
|
145
|
-
- '0.
|
186
|
+
- '0.019349'
|
146
187
|
Content-Length:
|
147
188
|
- '261'
|
148
189
|
body:
|
149
190
|
encoding: UTF-8
|
150
|
-
string: '{"_id":"
|
191
|
+
string: '{"_id":"56c25ac5c36511433f000000","created_at":"2016-02-15T23:09:57Z","updated_at":"2016-02-15T23:09:57Z","name":"Admin","email":"admin@locomotivecms.com","locale":"en","api_key":"d49cd50f6f0d2b163f48fc73cb249f0244c37074","super_admin":false,"local_admin":true}'
|
151
192
|
http_version:
|
152
|
-
recorded_at: Tue,
|
193
|
+
recorded_at: Tue, 16 Feb 2016 00:46:21 GMT
|
153
194
|
- request:
|
154
195
|
method: get
|
155
|
-
uri: http://localhost:3000/locomotive/api/v3/my_account.json?auth_token=
|
196
|
+
uri: http://localhost:3000/locomotive/api/v3/my_account.json?auth_token=C2t1wxAuKy7YPAHVva29
|
156
197
|
body:
|
157
198
|
encoding: US-ASCII
|
158
199
|
string: ''
|
@@ -162,7 +203,7 @@ http_interactions:
|
|
162
203
|
X-Locomotive-Account-Email:
|
163
204
|
- admin@locomotivecms.com
|
164
205
|
X-Locomotive-Account-Token:
|
165
|
-
-
|
206
|
+
- C2t1wxAuKy7YPAHVva29
|
166
207
|
Accept-Encoding:
|
167
208
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
168
209
|
User-Agent:
|
@@ -175,18 +216,18 @@ http_interactions:
|
|
175
216
|
Content-Type:
|
176
217
|
- application/json
|
177
218
|
Etag:
|
178
|
-
- W/"
|
219
|
+
- W/"6dc03a13985e38bbf77d96a5b9803c04"
|
179
220
|
Cache-Control:
|
180
221
|
- max-age=0, private, must-revalidate
|
181
222
|
X-Request-Id:
|
182
|
-
-
|
223
|
+
- 92680a0a-6313-4a81-990c-f2d0d158fee5
|
183
224
|
X-Runtime:
|
184
|
-
- '0.
|
225
|
+
- '0.019043'
|
185
226
|
Content-Length:
|
186
227
|
- '261'
|
187
228
|
body:
|
188
229
|
encoding: UTF-8
|
189
|
-
string: '{"_id":"
|
230
|
+
string: '{"_id":"56c25ac5c36511433f000000","created_at":"2016-02-15T23:09:57Z","updated_at":"2016-02-15T23:09:57Z","name":"Admin","email":"admin@locomotivecms.com","locale":"en","api_key":"d49cd50f6f0d2b163f48fc73cb249f0244c37074","super_admin":false,"local_admin":true}'
|
190
231
|
http_version:
|
191
|
-
recorded_at: Tue,
|
232
|
+
recorded_at: Tue, 16 Feb 2016 00:46:21 GMT
|
192
233
|
recorded_with: VCR 3.0.0
|
@@ -23,33 +23,33 @@ http_interactions:
|
|
23
23
|
Content-Type:
|
24
24
|
- application/json
|
25
25
|
Etag:
|
26
|
-
- W/"
|
26
|
+
- W/"3cc699723ac44b6b16405f0c666c9bc3"
|
27
27
|
Cache-Control:
|
28
28
|
- max-age=0, private, must-revalidate
|
29
29
|
X-Request-Id:
|
30
|
-
-
|
30
|
+
- ba626c02-3684-4779-bd07-169db3fdfea6
|
31
31
|
X-Runtime:
|
32
|
-
- '0.
|
32
|
+
- '0.015737'
|
33
33
|
Content-Length:
|
34
34
|
- '32'
|
35
35
|
body:
|
36
36
|
encoding: UTF-8
|
37
|
-
string: '{"token":"
|
37
|
+
string: '{"token":"C2t1wxAuKy7YPAHVva29"}'
|
38
38
|
http_version:
|
39
|
-
recorded_at: Tue,
|
39
|
+
recorded_at: Tue, 16 Feb 2016 00:46:21 GMT
|
40
40
|
- request:
|
41
41
|
method: post
|
42
42
|
uri: http://www.example.com:3000/locomotive/api/v3/sites.json
|
43
43
|
body:
|
44
44
|
encoding: UTF-8
|
45
|
-
string: auth_token=
|
45
|
+
string: auth_token=C2t1wxAuKy7YPAHVva29&site%5Bhandle%5D=short-lived&site%5Bname%5D=ShortLived
|
46
46
|
headers:
|
47
47
|
Accept:
|
48
48
|
- application/json
|
49
49
|
X-Locomotive-Account-Email:
|
50
50
|
- admin@locomotivecms.com
|
51
51
|
X-Locomotive-Account-Token:
|
52
|
-
-
|
52
|
+
- C2t1wxAuKy7YPAHVva29
|
53
53
|
Content-Type:
|
54
54
|
- application/x-www-form-urlencoded
|
55
55
|
Accept-Encoding:
|
@@ -64,20 +64,20 @@ http_interactions:
|
|
64
64
|
Content-Type:
|
65
65
|
- application/json
|
66
66
|
Etag:
|
67
|
-
- W/"
|
67
|
+
- W/"21e023c5c13ed0e2066996a079b0467f"
|
68
68
|
Cache-Control:
|
69
69
|
- max-age=0, private, must-revalidate
|
70
70
|
X-Request-Id:
|
71
|
-
-
|
71
|
+
- 7feef3d8-9f59-498f-a156-ad34cac51b0a
|
72
72
|
X-Runtime:
|
73
|
-
- '0.
|
73
|
+
- '0.736136'
|
74
74
|
Content-Length:
|
75
75
|
- '776'
|
76
76
|
body:
|
77
77
|
encoding: UTF-8
|
78
|
-
string: '{"_id":"
|
78
|
+
string: '{"_id":"56c2715dc3651143de000000","created_at":"2016-02-16T00:46:21Z","updated_at":"2016-02-16T00:46:21Z","name":"ShortLived","handle":"short-lived","seo_title":null,"meta_keywords":null,"meta_description":null,"robots_txt":null,"cache_enabled":false,"private_access":false,"locales":["en"],"domains":[],"memberships":[{"_id":"56c2715dc3651143de000001","created_at":null,"updated_at":null,"role":"admin","account_id":"56c25ac5c36511433f000000","name":"Admin","role_name":"Administrator","email":"admin@locomotivecms.com"}],"timezone":"UTC","picture_url":null,"content_version":0,"template_version":1455583581,"picture_thumbnail_url":null,"preview_url":"http://www.example.com:3000/locomotive/short-lived/preview","sign_in_url":"http://www.example.com:3000/locomotive/sign_in"}'
|
79
79
|
http_version:
|
80
|
-
recorded_at: Tue,
|
80
|
+
recorded_at: Tue, 16 Feb 2016 00:46:21 GMT
|
81
81
|
- request:
|
82
82
|
method: post
|
83
83
|
uri: http://www.example.com:3000/locomotive/api/v3/tokens.json
|
@@ -101,23 +101,23 @@ http_interactions:
|
|
101
101
|
Content-Type:
|
102
102
|
- application/json
|
103
103
|
Etag:
|
104
|
-
- W/"
|
104
|
+
- W/"3cc699723ac44b6b16405f0c666c9bc3"
|
105
105
|
Cache-Control:
|
106
106
|
- max-age=0, private, must-revalidate
|
107
107
|
X-Request-Id:
|
108
|
-
-
|
108
|
+
- c6f307db-4abd-403b-9799-8499494fbfbe
|
109
109
|
X-Runtime:
|
110
|
-
- '0.
|
110
|
+
- '0.019514'
|
111
111
|
Content-Length:
|
112
112
|
- '32'
|
113
113
|
body:
|
114
114
|
encoding: UTF-8
|
115
|
-
string: '{"token":"
|
115
|
+
string: '{"token":"C2t1wxAuKy7YPAHVva29"}'
|
116
116
|
http_version:
|
117
|
-
recorded_at: Tue,
|
117
|
+
recorded_at: Tue, 16 Feb 2016 00:46:21 GMT
|
118
118
|
- request:
|
119
119
|
method: delete
|
120
|
-
uri: http://www.example.com:3000/locomotive/api/v3/current_site.json?auth_token=
|
120
|
+
uri: http://www.example.com:3000/locomotive/api/v3/current_site.json?auth_token=C2t1wxAuKy7YPAHVva29
|
121
121
|
body:
|
122
122
|
encoding: US-ASCII
|
123
123
|
string: ''
|
@@ -127,7 +127,7 @@ http_interactions:
|
|
127
127
|
X-Locomotive-Account-Email:
|
128
128
|
- admin@locomotivecms.com
|
129
129
|
X-Locomotive-Account-Token:
|
130
|
-
-
|
130
|
+
- C2t1wxAuKy7YPAHVva29
|
131
131
|
X-Locomotive-Site-Handle:
|
132
132
|
- short-lived
|
133
133
|
Accept-Encoding:
|
@@ -142,33 +142,33 @@ http_interactions:
|
|
142
142
|
Content-Type:
|
143
143
|
- application/json
|
144
144
|
Etag:
|
145
|
-
- W/"
|
145
|
+
- W/"21e023c5c13ed0e2066996a079b0467f"
|
146
146
|
Cache-Control:
|
147
147
|
- max-age=0, private, must-revalidate
|
148
148
|
X-Request-Id:
|
149
|
-
-
|
149
|
+
- 18c8d83b-0dc3-4daf-9b21-812131009d6b
|
150
150
|
X-Runtime:
|
151
|
-
- '0.
|
151
|
+
- '0.260019'
|
152
152
|
Content-Length:
|
153
153
|
- '776'
|
154
154
|
body:
|
155
155
|
encoding: UTF-8
|
156
|
-
string: '{"_id":"
|
156
|
+
string: '{"_id":"56c2715dc3651143de000000","created_at":"2016-02-16T00:46:21Z","updated_at":"2016-02-16T00:46:21Z","name":"ShortLived","handle":"short-lived","seo_title":null,"meta_keywords":null,"meta_description":null,"robots_txt":null,"cache_enabled":false,"private_access":false,"locales":["en"],"domains":[],"memberships":[{"_id":"56c2715dc3651143de000001","created_at":null,"updated_at":null,"role":"admin","account_id":"56c25ac5c36511433f000000","name":"Admin","role_name":"Administrator","email":"admin@locomotivecms.com"}],"timezone":"UTC","picture_url":null,"content_version":0,"template_version":1455583581,"picture_thumbnail_url":null,"preview_url":"http://www.example.com:3000/locomotive/short-lived/preview","sign_in_url":"http://www.example.com:3000/locomotive/sign_in"}'
|
157
157
|
http_version:
|
158
|
-
recorded_at: Tue,
|
158
|
+
recorded_at: Tue, 16 Feb 2016 00:46:22 GMT
|
159
159
|
- request:
|
160
160
|
method: post
|
161
161
|
uri: http://www.example.com:3000/locomotive/api/v3/pages.json
|
162
162
|
body:
|
163
163
|
encoding: UTF-8
|
164
|
-
string: auth_token=
|
164
|
+
string: auth_token=C2t1wxAuKy7YPAHVva29&page%5Bparent%5D=index&page%5Bslug%5D=hello-world&page%5Btemplate%5D=Hello+world%21&page%5Btitle%5D=Hello+world
|
165
165
|
headers:
|
166
166
|
Accept:
|
167
167
|
- application/json
|
168
168
|
X-Locomotive-Account-Email:
|
169
169
|
- admin@locomotivecms.com
|
170
170
|
X-Locomotive-Account-Token:
|
171
|
-
-
|
171
|
+
- C2t1wxAuKy7YPAHVva29
|
172
172
|
X-Locomotive-Site-Handle:
|
173
173
|
- www
|
174
174
|
Content-Type:
|
@@ -185,25 +185,25 @@ http_interactions:
|
|
185
185
|
Content-Type:
|
186
186
|
- application/json
|
187
187
|
Etag:
|
188
|
-
- W/"
|
188
|
+
- W/"fd177a64ad4879938dc12c8903c65f84"
|
189
189
|
Cache-Control:
|
190
190
|
- max-age=0, private, must-revalidate
|
191
191
|
X-Request-Id:
|
192
|
-
-
|
192
|
+
- c87c6cbe-cd58-4160-973d-4551574478ff
|
193
193
|
X-Runtime:
|
194
|
-
- '0.
|
194
|
+
- '0.076679'
|
195
195
|
Content-Length:
|
196
196
|
- '673'
|
197
197
|
body:
|
198
198
|
encoding: UTF-8
|
199
|
-
string: '{"_id":"
|
200
|
-
world","parent_id":"
|
199
|
+
string: '{"_id":"56c2715ec3651143de000005","created_at":"2016-02-16T00:46:22Z","updated_at":"2016-02-16T00:46:22Z","title":"Hello
|
200
|
+
world","parent_id":"56c25ac6c36511433f000003","position":0,"handle":null,"depth":1,"response_type":"text/html","listed":true,"published":false,"translated_in":["en"],"cache_enabled":true,"slug":"hello-world","fullpath":"hello-world","localized_fullpaths":{"en":"hello-world"},"redirect":false,"redirect_url":"","redirect_type":301,"templatized":false,"templatized_from_parent":false,"content_type":null,"is_layout":false,"allow_layout":true,"template":"Hello
|
201
201
|
world!","editable_elements":[],"seo_title":null,"meta_keywords":null,"meta_description":null}'
|
202
202
|
http_version:
|
203
|
-
recorded_at: Tue,
|
203
|
+
recorded_at: Tue, 16 Feb 2016 00:46:22 GMT
|
204
204
|
- request:
|
205
205
|
method: delete
|
206
|
-
uri: http://www.example.com:3000/locomotive/api/v3/pages/hello-world.json?auth_token=
|
206
|
+
uri: http://www.example.com:3000/locomotive/api/v3/pages/hello-world.json?auth_token=C2t1wxAuKy7YPAHVva29
|
207
207
|
body:
|
208
208
|
encoding: US-ASCII
|
209
209
|
string: ''
|
@@ -213,7 +213,7 @@ http_interactions:
|
|
213
213
|
X-Locomotive-Account-Email:
|
214
214
|
- admin@locomotivecms.com
|
215
215
|
X-Locomotive-Account-Token:
|
216
|
-
-
|
216
|
+
- C2t1wxAuKy7YPAHVva29
|
217
217
|
X-Locomotive-Site-Handle:
|
218
218
|
- www
|
219
219
|
Accept-Encoding:
|
@@ -228,35 +228,35 @@ http_interactions:
|
|
228
228
|
Content-Type:
|
229
229
|
- application/json
|
230
230
|
Etag:
|
231
|
-
- W/"
|
231
|
+
- W/"fd177a64ad4879938dc12c8903c65f84"
|
232
232
|
Cache-Control:
|
233
233
|
- max-age=0, private, must-revalidate
|
234
234
|
X-Request-Id:
|
235
|
-
-
|
235
|
+
- 0e25d0da-131c-4e0e-a094-355c6d2c5899
|
236
236
|
X-Runtime:
|
237
|
-
- '0.
|
237
|
+
- '0.047920'
|
238
238
|
Content-Length:
|
239
239
|
- '673'
|
240
240
|
body:
|
241
241
|
encoding: UTF-8
|
242
|
-
string: '{"_id":"
|
243
|
-
world","parent_id":"
|
242
|
+
string: '{"_id":"56c2715ec3651143de000005","created_at":"2016-02-16T00:46:22Z","updated_at":"2016-02-16T00:46:22Z","title":"Hello
|
243
|
+
world","parent_id":"56c25ac6c36511433f000003","position":0,"handle":null,"depth":1,"response_type":"text/html","listed":true,"published":false,"translated_in":["en"],"cache_enabled":true,"slug":"hello-world","fullpath":"hello-world","localized_fullpaths":{"en":"hello-world"},"redirect":false,"redirect_url":"","redirect_type":301,"templatized":false,"templatized_from_parent":false,"content_type":null,"is_layout":false,"allow_layout":true,"template":"Hello
|
244
244
|
world!","editable_elements":[],"seo_title":null,"meta_keywords":null,"meta_description":null}'
|
245
245
|
http_version:
|
246
|
-
recorded_at: Tue,
|
246
|
+
recorded_at: Tue, 16 Feb 2016 00:46:22 GMT
|
247
247
|
- request:
|
248
248
|
method: post
|
249
249
|
uri: http://www.example.com:3000/locomotive/api/v3/content_types.json
|
250
250
|
body:
|
251
251
|
encoding: UTF-8
|
252
|
-
string: auth_token=
|
252
|
+
string: auth_token=C2t1wxAuKy7YPAHVva29&content_type%5Bfields%5D%5B0%5D%5Blabel%5D=E-mail&content_type%5Bfields%5D%5B0%5D%5Bname%5D=email&content_type%5Bfields%5D%5B0%5D%5Btype%5D=string&content_type%5Bname%5D=FakeMessages&content_type%5Bslug%5D=fake-messages
|
253
253
|
headers:
|
254
254
|
Accept:
|
255
255
|
- application/json
|
256
256
|
X-Locomotive-Account-Email:
|
257
257
|
- admin@locomotivecms.com
|
258
258
|
X-Locomotive-Account-Token:
|
259
|
-
-
|
259
|
+
- C2t1wxAuKy7YPAHVva29
|
260
260
|
X-Locomotive-Site-Handle:
|
261
261
|
- www
|
262
262
|
Content-Type:
|
@@ -273,23 +273,23 @@ http_interactions:
|
|
273
273
|
Content-Type:
|
274
274
|
- application/json
|
275
275
|
Etag:
|
276
|
-
- W/"
|
276
|
+
- W/"127d0c3121840ddc19039f994e1fad2c"
|
277
277
|
Cache-Control:
|
278
278
|
- max-age=0, private, must-revalidate
|
279
279
|
X-Request-Id:
|
280
|
-
-
|
280
|
+
- 20b05ccc-5894-4491-8276-0e4105f7abb6
|
281
281
|
X-Runtime:
|
282
|
-
- '0.
|
282
|
+
- '0.069240'
|
283
283
|
Content-Length:
|
284
|
-
- '
|
284
|
+
- '670'
|
285
285
|
body:
|
286
286
|
encoding: UTF-8
|
287
|
-
string: '{"_id":"
|
287
|
+
string: '{"_id":"56c2715ec3651143de000006","created_at":"2016-02-16T00:46:22Z","updated_at":"2016-02-16T00:46:22Z","name":"FakeMessages","slug":"fake_messages","description":null,"label_field_name":"email","order_direction":"asc","public_submission_enabled":false,"public_submission_accounts":[],"public_submission_title_template":null,"entry_template":null,"display_settings":null,"fields":[{"_id":"56c2715ec3651143de000007","created_at":null,"updated_at":null,"name":"email","type":"string","label":"E-mail","hint":null,"required":true,"localized":false,"unique":false,"default":null,"position":0}],"order_by":"created_at","group_by":null,"public_submission_account_emails":[]}'
|
288
288
|
http_version:
|
289
|
-
recorded_at: Tue,
|
289
|
+
recorded_at: Tue, 16 Feb 2016 00:46:22 GMT
|
290
290
|
- request:
|
291
291
|
method: delete
|
292
|
-
uri: http://www.example.com:3000/locomotive/api/v3/content_types/fake_messages.json?auth_token=
|
292
|
+
uri: http://www.example.com:3000/locomotive/api/v3/content_types/fake_messages.json?auth_token=C2t1wxAuKy7YPAHVva29
|
293
293
|
body:
|
294
294
|
encoding: US-ASCII
|
295
295
|
string: ''
|
@@ -299,7 +299,7 @@ http_interactions:
|
|
299
299
|
X-Locomotive-Account-Email:
|
300
300
|
- admin@locomotivecms.com
|
301
301
|
X-Locomotive-Account-Token:
|
302
|
-
-
|
302
|
+
- C2t1wxAuKy7YPAHVva29
|
303
303
|
X-Locomotive-Site-Handle:
|
304
304
|
- www
|
305
305
|
Accept-Encoding:
|
@@ -314,33 +314,33 @@ http_interactions:
|
|
314
314
|
Content-Type:
|
315
315
|
- application/json
|
316
316
|
Etag:
|
317
|
-
- W/"
|
317
|
+
- W/"127d0c3121840ddc19039f994e1fad2c"
|
318
318
|
Cache-Control:
|
319
319
|
- max-age=0, private, must-revalidate
|
320
320
|
X-Request-Id:
|
321
|
-
-
|
321
|
+
- d8ee7e82-aed3-47cd-96c1-03d0c5cda293
|
322
322
|
X-Runtime:
|
323
|
-
- '0.
|
323
|
+
- '0.035505'
|
324
324
|
Content-Length:
|
325
|
-
- '
|
325
|
+
- '670'
|
326
326
|
body:
|
327
327
|
encoding: UTF-8
|
328
|
-
string: '{"_id":"
|
328
|
+
string: '{"_id":"56c2715ec3651143de000006","created_at":"2016-02-16T00:46:22Z","updated_at":"2016-02-16T00:46:22Z","name":"FakeMessages","slug":"fake_messages","description":null,"label_field_name":"email","order_direction":"asc","public_submission_enabled":false,"public_submission_accounts":[],"public_submission_title_template":null,"entry_template":null,"display_settings":null,"fields":[{"_id":"56c2715ec3651143de000007","created_at":null,"updated_at":null,"name":"email","type":"string","label":"E-mail","hint":null,"required":true,"localized":false,"unique":false,"default":null,"position":0}],"order_by":"created_at","group_by":null,"public_submission_account_emails":[]}'
|
329
329
|
http_version:
|
330
|
-
recorded_at: Tue,
|
330
|
+
recorded_at: Tue, 16 Feb 2016 00:46:22 GMT
|
331
331
|
- request:
|
332
332
|
method: post
|
333
333
|
uri: http://www.example.com:3000/locomotive/api/v3/content_types.json
|
334
334
|
body:
|
335
335
|
encoding: UTF-8
|
336
|
-
string: auth_token=
|
336
|
+
string: auth_token=C2t1wxAuKy7YPAHVva29&content_type%5Bfields%5D%5B0%5D%5Blabel%5D=E-mail&content_type%5Bfields%5D%5B0%5D%5Bname%5D=email&content_type%5Bfields%5D%5B0%5D%5Btype%5D=string&content_type%5Bname%5D=FakeMessages&content_type%5Bslug%5D=fake-messages-2
|
337
337
|
headers:
|
338
338
|
Accept:
|
339
339
|
- application/json
|
340
340
|
X-Locomotive-Account-Email:
|
341
341
|
- admin@locomotivecms.com
|
342
342
|
X-Locomotive-Account-Token:
|
343
|
-
-
|
343
|
+
- C2t1wxAuKy7YPAHVva29
|
344
344
|
X-Locomotive-Site-Handle:
|
345
345
|
- www
|
346
346
|
Content-Type:
|
@@ -357,23 +357,23 @@ http_interactions:
|
|
357
357
|
Content-Type:
|
358
358
|
- application/json
|
359
359
|
Etag:
|
360
|
-
- W/"
|
360
|
+
- W/"84eb8aa5952f5ad1b3256d2ec9425fdd"
|
361
361
|
Cache-Control:
|
362
362
|
- max-age=0, private, must-revalidate
|
363
363
|
X-Request-Id:
|
364
|
-
-
|
364
|
+
- 56969b92-53c5-4098-bc6e-6f2d616e32c8
|
365
365
|
X-Runtime:
|
366
|
-
- '0.
|
366
|
+
- '0.046854'
|
367
367
|
Content-Length:
|
368
|
-
- '
|
368
|
+
- '672'
|
369
369
|
body:
|
370
370
|
encoding: UTF-8
|
371
|
-
string: '{"_id":"
|
371
|
+
string: '{"_id":"56c2715ec3651143de000008","created_at":"2016-02-16T00:46:22Z","updated_at":"2016-02-16T00:46:22Z","name":"FakeMessages","slug":"fake_messages_2","description":null,"label_field_name":"email","order_direction":"asc","public_submission_enabled":false,"public_submission_accounts":[],"public_submission_title_template":null,"entry_template":null,"display_settings":null,"fields":[{"_id":"56c2715ec3651143de000009","created_at":null,"updated_at":null,"name":"email","type":"string","label":"E-mail","hint":null,"required":true,"localized":false,"unique":false,"default":null,"position":0}],"order_by":"created_at","group_by":null,"public_submission_account_emails":[]}'
|
372
372
|
http_version:
|
373
|
-
recorded_at: Tue,
|
373
|
+
recorded_at: Tue, 16 Feb 2016 00:46:22 GMT
|
374
374
|
- request:
|
375
375
|
method: delete
|
376
|
-
uri: http://www.example.com:3000/locomotive/api/v3/content_types.json?auth_token=
|
376
|
+
uri: http://www.example.com:3000/locomotive/api/v3/content_types.json?auth_token=C2t1wxAuKy7YPAHVva29
|
377
377
|
body:
|
378
378
|
encoding: US-ASCII
|
379
379
|
string: ''
|
@@ -383,7 +383,7 @@ http_interactions:
|
|
383
383
|
X-Locomotive-Account-Email:
|
384
384
|
- admin@locomotivecms.com
|
385
385
|
X-Locomotive-Account-Token:
|
386
|
-
-
|
386
|
+
- C2t1wxAuKy7YPAHVva29
|
387
387
|
X-Locomotive-Site-Handle:
|
388
388
|
- www
|
389
389
|
Accept-Encoding:
|
@@ -402,29 +402,29 @@ http_interactions:
|
|
402
402
|
Cache-Control:
|
403
403
|
- max-age=0, private, must-revalidate
|
404
404
|
X-Request-Id:
|
405
|
-
-
|
405
|
+
- 420a4ef8-0f7d-412b-9ec6-d7adc737ecba
|
406
406
|
X-Runtime:
|
407
|
-
- '0.
|
407
|
+
- '0.040613'
|
408
408
|
Content-Length:
|
409
409
|
- '15'
|
410
410
|
body:
|
411
411
|
encoding: UTF-8
|
412
412
|
string: '{"deletions":1}'
|
413
413
|
http_version:
|
414
|
-
recorded_at: Tue,
|
414
|
+
recorded_at: Tue, 16 Feb 2016 00:46:22 GMT
|
415
415
|
- request:
|
416
416
|
method: post
|
417
417
|
uri: http://www.example.com:3000/locomotive/api/v3/snippets.json
|
418
418
|
body:
|
419
419
|
encoding: UTF-8
|
420
|
-
string: auth_token=
|
420
|
+
string: auth_token=C2t1wxAuKy7YPAHVva29&snippet%5Bname%5D=Analytics&snippet%5Bslug%5D=analytics&snippet%5Btemplate%5D=Analytics
|
421
421
|
headers:
|
422
422
|
Accept:
|
423
423
|
- application/json
|
424
424
|
X-Locomotive-Account-Email:
|
425
425
|
- admin@locomotivecms.com
|
426
426
|
X-Locomotive-Account-Token:
|
427
|
-
-
|
427
|
+
- C2t1wxAuKy7YPAHVva29
|
428
428
|
X-Locomotive-Site-Handle:
|
429
429
|
- www
|
430
430
|
Content-Type:
|
@@ -441,23 +441,23 @@ http_interactions:
|
|
441
441
|
Content-Type:
|
442
442
|
- application/json
|
443
443
|
Etag:
|
444
|
-
- W/"
|
444
|
+
- W/"94c08b2c876157b56d665370764e177d"
|
445
445
|
Cache-Control:
|
446
446
|
- max-age=0, private, must-revalidate
|
447
447
|
X-Request-Id:
|
448
|
-
-
|
448
|
+
- 5914713a-8036-4cb9-a42d-39dec5a8d3dd
|
449
449
|
X-Runtime:
|
450
|
-
- '0.
|
450
|
+
- '0.050394'
|
451
451
|
Content-Length:
|
452
452
|
- '167'
|
453
453
|
body:
|
454
454
|
encoding: UTF-8
|
455
|
-
string: '{"_id":"
|
455
|
+
string: '{"_id":"56c2715ec3651143de00000a","created_at":"2016-02-16T00:46:22Z","updated_at":"2016-02-16T00:46:22Z","name":"Analytics","slug":"analytics","template":"Analytics"}'
|
456
456
|
http_version:
|
457
|
-
recorded_at: Tue,
|
457
|
+
recorded_at: Tue, 16 Feb 2016 00:46:22 GMT
|
458
458
|
- request:
|
459
459
|
method: delete
|
460
|
-
uri: http://www.example.com:3000/locomotive/api/v3/snippets/analytics.json?auth_token=
|
460
|
+
uri: http://www.example.com:3000/locomotive/api/v3/snippets/analytics.json?auth_token=C2t1wxAuKy7YPAHVva29
|
461
461
|
body:
|
462
462
|
encoding: US-ASCII
|
463
463
|
string: ''
|
@@ -467,7 +467,7 @@ http_interactions:
|
|
467
467
|
X-Locomotive-Account-Email:
|
468
468
|
- admin@locomotivecms.com
|
469
469
|
X-Locomotive-Account-Token:
|
470
|
-
-
|
470
|
+
- C2t1wxAuKy7YPAHVva29
|
471
471
|
X-Locomotive-Site-Handle:
|
472
472
|
- www
|
473
473
|
Accept-Encoding:
|
@@ -482,33 +482,33 @@ http_interactions:
|
|
482
482
|
Content-Type:
|
483
483
|
- application/json
|
484
484
|
Etag:
|
485
|
-
- W/"
|
485
|
+
- W/"94c08b2c876157b56d665370764e177d"
|
486
486
|
Cache-Control:
|
487
487
|
- max-age=0, private, must-revalidate
|
488
488
|
X-Request-Id:
|
489
|
-
-
|
489
|
+
- 8674799f-ee53-4696-ac29-788a683cfc77
|
490
490
|
X-Runtime:
|
491
|
-
- '0.
|
491
|
+
- '0.034014'
|
492
492
|
Content-Length:
|
493
493
|
- '167'
|
494
494
|
body:
|
495
495
|
encoding: UTF-8
|
496
|
-
string: '{"_id":"
|
496
|
+
string: '{"_id":"56c2715ec3651143de00000a","created_at":"2016-02-16T00:46:22Z","updated_at":"2016-02-16T00:46:22Z","name":"Analytics","slug":"analytics","template":"Analytics"}'
|
497
497
|
http_version:
|
498
|
-
recorded_at: Tue,
|
498
|
+
recorded_at: Tue, 16 Feb 2016 00:46:22 GMT
|
499
499
|
- request:
|
500
500
|
method: post
|
501
501
|
uri: http://www.example.com:3000/locomotive/api/v3/snippets.json
|
502
502
|
body:
|
503
503
|
encoding: UTF-8
|
504
|
-
string: auth_token=
|
504
|
+
string: auth_token=C2t1wxAuKy7YPAHVva29&snippet%5Bname%5D=Analytics&snippet%5Bslug%5D=analytics_2&snippet%5Btemplate%5D=Analytics
|
505
505
|
headers:
|
506
506
|
Accept:
|
507
507
|
- application/json
|
508
508
|
X-Locomotive-Account-Email:
|
509
509
|
- admin@locomotivecms.com
|
510
510
|
X-Locomotive-Account-Token:
|
511
|
-
-
|
511
|
+
- C2t1wxAuKy7YPAHVva29
|
512
512
|
X-Locomotive-Site-Handle:
|
513
513
|
- www
|
514
514
|
Content-Type:
|
@@ -525,23 +525,23 @@ http_interactions:
|
|
525
525
|
Content-Type:
|
526
526
|
- application/json
|
527
527
|
Etag:
|
528
|
-
- W/"
|
528
|
+
- W/"36ecdd3aaf261010706e403109935e0c"
|
529
529
|
Cache-Control:
|
530
530
|
- max-age=0, private, must-revalidate
|
531
531
|
X-Request-Id:
|
532
|
-
-
|
532
|
+
- 399b6ef4-855b-4495-a69a-cf3337b1054b
|
533
533
|
X-Runtime:
|
534
|
-
- '0.
|
534
|
+
- '0.032704'
|
535
535
|
Content-Length:
|
536
536
|
- '169'
|
537
537
|
body:
|
538
538
|
encoding: UTF-8
|
539
|
-
string: '{"_id":"
|
539
|
+
string: '{"_id":"56c2715ec3651143de00000b","created_at":"2016-02-16T00:46:22Z","updated_at":"2016-02-16T00:46:22Z","name":"Analytics","slug":"analytics_2","template":"Analytics"}'
|
540
540
|
http_version:
|
541
|
-
recorded_at: Tue,
|
541
|
+
recorded_at: Tue, 16 Feb 2016 00:46:22 GMT
|
542
542
|
- request:
|
543
543
|
method: delete
|
544
|
-
uri: http://www.example.com:3000/locomotive/api/v3/snippets.json?auth_token=
|
544
|
+
uri: http://www.example.com:3000/locomotive/api/v3/snippets.json?auth_token=C2t1wxAuKy7YPAHVva29
|
545
545
|
body:
|
546
546
|
encoding: US-ASCII
|
547
547
|
string: ''
|
@@ -551,7 +551,7 @@ http_interactions:
|
|
551
551
|
X-Locomotive-Account-Email:
|
552
552
|
- admin@locomotivecms.com
|
553
553
|
X-Locomotive-Account-Token:
|
554
|
-
-
|
554
|
+
- C2t1wxAuKy7YPAHVva29
|
555
555
|
X-Locomotive-Site-Handle:
|
556
556
|
- www
|
557
557
|
Accept-Encoding:
|
@@ -570,16 +570,16 @@ http_interactions:
|
|
570
570
|
Cache-Control:
|
571
571
|
- max-age=0, private, must-revalidate
|
572
572
|
X-Request-Id:
|
573
|
-
-
|
573
|
+
- 1e009506-be9c-4768-8dc9-5fb8fbd1989d
|
574
574
|
X-Runtime:
|
575
|
-
- '0.
|
575
|
+
- '0.030030'
|
576
576
|
Content-Length:
|
577
577
|
- '15'
|
578
578
|
body:
|
579
579
|
encoding: UTF-8
|
580
580
|
string: '{"deletions":1}'
|
581
581
|
http_version:
|
582
|
-
recorded_at: Tue,
|
582
|
+
recorded_at: Tue, 16 Feb 2016 00:46:22 GMT
|
583
583
|
- request:
|
584
584
|
method: post
|
585
585
|
uri: http://www.example.com:3000/locomotive/api/v3/theme_assets.json
|
@@ -654,7 +654,7 @@ http_interactions:
|
|
654
654
|
0NtJvy6mWF/OpLQstGgVzsab3sXmi3+2zzQDcJjnAyEPROMHiFLOL3h0hr9D
|
655
655
|
onww/wNwYOCiTn4FhQAAAABJRU5ErkJggg0KLS0tLS0tLS0tLS0tLVJ1YnlN
|
656
656
|
dWx0aXBhcnRQb3N0DQpDb250ZW50LURpc3Bvc2l0aW9uOiBmb3JtLWRhdGE7
|
657
|
-
|
657
|
+
IG5hbWU9ImF1dGhfdG9rZW4iDQoNCkMydDF3eEF1S3k3WVBBSFZ2YTI5DQot
|
658
658
|
LS0tLS0tLS0tLS0tUnVieU11bHRpcGFydFBvc3QtLQ0KDQo=
|
659
659
|
headers:
|
660
660
|
Accept:
|
@@ -662,7 +662,7 @@ http_interactions:
|
|
662
662
|
X-Locomotive-Account-Email:
|
663
663
|
- admin@locomotivecms.com
|
664
664
|
X-Locomotive-Account-Token:
|
665
|
-
-
|
665
|
+
- C2t1wxAuKy7YPAHVva29
|
666
666
|
X-Locomotive-Site-Handle:
|
667
667
|
- www
|
668
668
|
Content-Type:
|
@@ -681,21 +681,21 @@ http_interactions:
|
|
681
681
|
Content-Type:
|
682
682
|
- application/json
|
683
683
|
Etag:
|
684
|
-
- W/"
|
684
|
+
- W/"f756453684b0fc8171c5ad8d1da454b5"
|
685
685
|
Cache-Control:
|
686
686
|
- max-age=0, private, must-revalidate
|
687
687
|
X-Request-Id:
|
688
|
-
-
|
688
|
+
- 142eacdf-a0aa-4b90-9f4f-94007199cd75
|
689
689
|
X-Runtime:
|
690
|
-
- '0.
|
690
|
+
- '0.254818'
|
691
691
|
Content-Length:
|
692
692
|
- '341'
|
693
693
|
body:
|
694
694
|
encoding: UTF-8
|
695
|
-
string: '{"_id":"
|
695
|
+
string: '{"_id":"56c2715fc3651143de00000c","created_at":"2016-02-16T00:46:23Z","updated_at":"2016-02-16T00:46:23Z","content_type":"image","local_path":"images/icon.png","folder":"images","checksum":"3176de8c86ae69c06d4f0ed37e26cee4","filename":"icon.png","url":"/sites/56c25ac5c36511433f000002/theme/images/icon.png","size":"2.72
|
696
696
|
KB","raw_size":2783}'
|
697
697
|
http_version:
|
698
|
-
recorded_at: Tue,
|
698
|
+
recorded_at: Tue, 16 Feb 2016 00:46:23 GMT
|
699
699
|
- request:
|
700
700
|
method: post
|
701
701
|
uri: http://www.example.com:3000/locomotive/api/v3/theme_assets.json
|
@@ -4341,7 +4341,7 @@ http_interactions:
|
|
4341
4341
|
nTZLWAn75+Cpv212Dv47zCzY/KTGgbiqWWzt8uMma7Z1/2bHBIaHmNbSlxEx
|
4342
4342
|
sfX/CzAAkCOO6w6jXtcAAAAASUVORK5CYIINCi0tLS0tLS0tLS0tLS1SdWJ5
|
4343
4343
|
TXVsdGlwYXJ0UG9zdA0KQ29udGVudC1EaXNwb3NpdGlvbjogZm9ybS1kYXRh
|
4344
|
-
|
4344
|
+
OyBuYW1lPSJhdXRoX3Rva2VuIg0KDQpDMnQxd3hBdUt5N1lQQUhWdmEyOQ0K
|
4345
4345
|
LS0tLS0tLS0tLS0tLVJ1YnlNdWx0aXBhcnRQb3N0LS0NCg0K
|
4346
4346
|
headers:
|
4347
4347
|
Accept:
|
@@ -4349,7 +4349,7 @@ http_interactions:
|
|
4349
4349
|
X-Locomotive-Account-Email:
|
4350
4350
|
- admin@locomotivecms.com
|
4351
4351
|
X-Locomotive-Account-Token:
|
4352
|
-
-
|
4352
|
+
- C2t1wxAuKy7YPAHVva29
|
4353
4353
|
X-Locomotive-Site-Handle:
|
4354
4354
|
- www
|
4355
4355
|
Content-Type:
|
@@ -4368,24 +4368,24 @@ http_interactions:
|
|
4368
4368
|
Content-Type:
|
4369
4369
|
- application/json
|
4370
4370
|
Etag:
|
4371
|
-
- W/"
|
4371
|
+
- W/"7ff2f161824ded374cfc5b9b37072d18"
|
4372
4372
|
Cache-Control:
|
4373
4373
|
- max-age=0, private, must-revalidate
|
4374
4374
|
X-Request-Id:
|
4375
|
-
-
|
4375
|
+
- 0afaadb8-f9a4-403d-af86-7e2684d7e15b
|
4376
4376
|
X-Runtime:
|
4377
|
-
- '0.
|
4377
|
+
- '0.060647'
|
4378
4378
|
Content-Length:
|
4379
4379
|
- '345'
|
4380
4380
|
body:
|
4381
4381
|
encoding: UTF-8
|
4382
|
-
string: '{"_id":"
|
4382
|
+
string: '{"_id":"56c2715fc3651143de00000d","created_at":"2016-02-16T00:46:23Z","updated_at":"2016-02-16T00:46:23Z","content_type":"image","local_path":"images/photo.jpg","folder":"images","checksum":"e1aff5628ca068751b333cf1b69dd978","filename":"photo.jpg","url":"/sites/56c25ac5c36511433f000002/theme/images/photo.jpg","size":"160
|
4383
4383
|
KB","raw_size":163476}'
|
4384
4384
|
http_version:
|
4385
|
-
recorded_at: Tue,
|
4385
|
+
recorded_at: Tue, 16 Feb 2016 00:46:23 GMT
|
4386
4386
|
- request:
|
4387
4387
|
method: delete
|
4388
|
-
uri: http://www.example.com:3000/locomotive/api/v3/theme_assets.json?auth_token=
|
4388
|
+
uri: http://www.example.com:3000/locomotive/api/v3/theme_assets.json?auth_token=C2t1wxAuKy7YPAHVva29
|
4389
4389
|
body:
|
4390
4390
|
encoding: US-ASCII
|
4391
4391
|
string: ''
|
@@ -4395,7 +4395,7 @@ http_interactions:
|
|
4395
4395
|
X-Locomotive-Account-Email:
|
4396
4396
|
- admin@locomotivecms.com
|
4397
4397
|
X-Locomotive-Account-Token:
|
4398
|
-
-
|
4398
|
+
- C2t1wxAuKy7YPAHVva29
|
4399
4399
|
X-Locomotive-Site-Handle:
|
4400
4400
|
- www
|
4401
4401
|
Accept-Encoding:
|
@@ -4414,29 +4414,29 @@ http_interactions:
|
|
4414
4414
|
Cache-Control:
|
4415
4415
|
- max-age=0, private, must-revalidate
|
4416
4416
|
X-Request-Id:
|
4417
|
-
-
|
4417
|
+
- 32030b98-128c-490c-83ab-b6e1bb8402b6
|
4418
4418
|
X-Runtime:
|
4419
|
-
- '0.
|
4419
|
+
- '0.039413'
|
4420
4420
|
Content-Length:
|
4421
4421
|
- '15'
|
4422
4422
|
body:
|
4423
4423
|
encoding: UTF-8
|
4424
4424
|
string: '{"deletions":2}'
|
4425
4425
|
http_version:
|
4426
|
-
recorded_at: Tue,
|
4426
|
+
recorded_at: Tue, 16 Feb 2016 00:46:23 GMT
|
4427
4427
|
- request:
|
4428
4428
|
method: post
|
4429
4429
|
uri: http://www.example.com:3000/locomotive/api/v3/translations.json
|
4430
4430
|
body:
|
4431
4431
|
encoding: UTF-8
|
4432
|
-
string: auth_token=
|
4432
|
+
string: auth_token=C2t1wxAuKy7YPAHVva29&translation%5Bkey%5D=hello_world&translation%5Bvalues%5D%5Bfr%5D=Bonjour+le+monde
|
4433
4433
|
headers:
|
4434
4434
|
Accept:
|
4435
4435
|
- application/json
|
4436
4436
|
X-Locomotive-Account-Email:
|
4437
4437
|
- admin@locomotivecms.com
|
4438
4438
|
X-Locomotive-Account-Token:
|
4439
|
-
-
|
4439
|
+
- C2t1wxAuKy7YPAHVva29
|
4440
4440
|
X-Locomotive-Site-Handle:
|
4441
4441
|
- www
|
4442
4442
|
Content-Type:
|
@@ -4453,24 +4453,24 @@ http_interactions:
|
|
4453
4453
|
Content-Type:
|
4454
4454
|
- application/json
|
4455
4455
|
Etag:
|
4456
|
-
- W/"
|
4456
|
+
- W/"2377051d91991f509f17fa906582eb38"
|
4457
4457
|
Cache-Control:
|
4458
4458
|
- max-age=0, private, must-revalidate
|
4459
4459
|
X-Request-Id:
|
4460
|
-
-
|
4460
|
+
- c59ed0eb-13a4-4ff9-8ffa-ffa6b7d7d4b6
|
4461
4461
|
X-Runtime:
|
4462
|
-
- '0.
|
4462
|
+
- '0.041707'
|
4463
4463
|
Content-Length:
|
4464
4464
|
- '161'
|
4465
4465
|
body:
|
4466
4466
|
encoding: UTF-8
|
4467
|
-
string: '{"_id":"
|
4467
|
+
string: '{"_id":"56c2715fc3651143de00000e","created_at":"2016-02-16T00:46:23Z","updated_at":"2016-02-16T00:46:23Z","key":"hello_world","values":{"fr":"Bonjour
|
4468
4468
|
le monde"}}'
|
4469
4469
|
http_version:
|
4470
|
-
recorded_at: Tue,
|
4470
|
+
recorded_at: Tue, 16 Feb 2016 00:46:23 GMT
|
4471
4471
|
- request:
|
4472
4472
|
method: delete
|
4473
|
-
uri: http://www.example.com:3000/locomotive/api/v3/translations/hello_world.json?auth_token=
|
4473
|
+
uri: http://www.example.com:3000/locomotive/api/v3/translations/hello_world.json?auth_token=C2t1wxAuKy7YPAHVva29
|
4474
4474
|
body:
|
4475
4475
|
encoding: US-ASCII
|
4476
4476
|
string: ''
|
@@ -4480,7 +4480,7 @@ http_interactions:
|
|
4480
4480
|
X-Locomotive-Account-Email:
|
4481
4481
|
- admin@locomotivecms.com
|
4482
4482
|
X-Locomotive-Account-Token:
|
4483
|
-
-
|
4483
|
+
- C2t1wxAuKy7YPAHVva29
|
4484
4484
|
X-Locomotive-Site-Handle:
|
4485
4485
|
- www
|
4486
4486
|
Accept-Encoding:
|
@@ -4495,34 +4495,34 @@ http_interactions:
|
|
4495
4495
|
Content-Type:
|
4496
4496
|
- application/json
|
4497
4497
|
Etag:
|
4498
|
-
- W/"
|
4498
|
+
- W/"2377051d91991f509f17fa906582eb38"
|
4499
4499
|
Cache-Control:
|
4500
4500
|
- max-age=0, private, must-revalidate
|
4501
4501
|
X-Request-Id:
|
4502
|
-
-
|
4502
|
+
- 97a31fcd-6334-4a63-9a03-58d97b6e4303
|
4503
4503
|
X-Runtime:
|
4504
|
-
- '0.
|
4504
|
+
- '0.033943'
|
4505
4505
|
Content-Length:
|
4506
4506
|
- '161'
|
4507
4507
|
body:
|
4508
4508
|
encoding: UTF-8
|
4509
|
-
string: '{"_id":"
|
4509
|
+
string: '{"_id":"56c2715fc3651143de00000e","created_at":"2016-02-16T00:46:23Z","updated_at":"2016-02-16T00:46:23Z","key":"hello_world","values":{"fr":"Bonjour
|
4510
4510
|
le monde"}}'
|
4511
4511
|
http_version:
|
4512
|
-
recorded_at: Tue,
|
4512
|
+
recorded_at: Tue, 16 Feb 2016 00:46:23 GMT
|
4513
4513
|
- request:
|
4514
4514
|
method: post
|
4515
4515
|
uri: http://www.example.com:3000/locomotive/api/v3/translations.json
|
4516
4516
|
body:
|
4517
4517
|
encoding: UTF-8
|
4518
|
-
string: auth_token=
|
4518
|
+
string: auth_token=C2t1wxAuKy7YPAHVva29&translation%5Bkey%5D=hello_world_2&translation%5Bvalues%5D%5Bfr%5D=Bonjour+le+monde
|
4519
4519
|
headers:
|
4520
4520
|
Accept:
|
4521
4521
|
- application/json
|
4522
4522
|
X-Locomotive-Account-Email:
|
4523
4523
|
- admin@locomotivecms.com
|
4524
4524
|
X-Locomotive-Account-Token:
|
4525
|
-
-
|
4525
|
+
- C2t1wxAuKy7YPAHVva29
|
4526
4526
|
X-Locomotive-Site-Handle:
|
4527
4527
|
- www
|
4528
4528
|
Content-Type:
|
@@ -4539,24 +4539,24 @@ http_interactions:
|
|
4539
4539
|
Content-Type:
|
4540
4540
|
- application/json
|
4541
4541
|
Etag:
|
4542
|
-
- W/"
|
4542
|
+
- W/"1b431cddc6d793cb9ca8d79b53009e70"
|
4543
4543
|
Cache-Control:
|
4544
4544
|
- max-age=0, private, must-revalidate
|
4545
4545
|
X-Request-Id:
|
4546
|
-
-
|
4546
|
+
- c65f86f3-b2f5-43e1-8a84-eab7e70fea6e
|
4547
4547
|
X-Runtime:
|
4548
|
-
- '0.
|
4548
|
+
- '0.029894'
|
4549
4549
|
Content-Length:
|
4550
4550
|
- '163'
|
4551
4551
|
body:
|
4552
4552
|
encoding: UTF-8
|
4553
|
-
string: '{"_id":"
|
4553
|
+
string: '{"_id":"56c2715fc3651143de00000f","created_at":"2016-02-16T00:46:23Z","updated_at":"2016-02-16T00:46:23Z","key":"hello_world_2","values":{"fr":"Bonjour
|
4554
4554
|
le monde"}}'
|
4555
4555
|
http_version:
|
4556
|
-
recorded_at: Tue,
|
4556
|
+
recorded_at: Tue, 16 Feb 2016 00:46:23 GMT
|
4557
4557
|
- request:
|
4558
4558
|
method: delete
|
4559
|
-
uri: http://www.example.com:3000/locomotive/api/v3/translations.json?auth_token=
|
4559
|
+
uri: http://www.example.com:3000/locomotive/api/v3/translations.json?auth_token=C2t1wxAuKy7YPAHVva29
|
4560
4560
|
body:
|
4561
4561
|
encoding: US-ASCII
|
4562
4562
|
string: ''
|
@@ -4566,7 +4566,7 @@ http_interactions:
|
|
4566
4566
|
X-Locomotive-Account-Email:
|
4567
4567
|
- admin@locomotivecms.com
|
4568
4568
|
X-Locomotive-Account-Token:
|
4569
|
-
-
|
4569
|
+
- C2t1wxAuKy7YPAHVva29
|
4570
4570
|
X-Locomotive-Site-Handle:
|
4571
4571
|
- www
|
4572
4572
|
Accept-Encoding:
|
@@ -4585,19 +4585,19 @@ http_interactions:
|
|
4585
4585
|
Cache-Control:
|
4586
4586
|
- max-age=0, private, must-revalidate
|
4587
4587
|
X-Request-Id:
|
4588
|
-
-
|
4588
|
+
- c661234c-1ea6-4601-a1c7-6b9e2aa6372f
|
4589
4589
|
X-Runtime:
|
4590
|
-
- '0.
|
4590
|
+
- '0.041021'
|
4591
4591
|
Content-Length:
|
4592
4592
|
- '15'
|
4593
4593
|
body:
|
4594
4594
|
encoding: UTF-8
|
4595
4595
|
string: '{"deletions":1}'
|
4596
4596
|
http_version:
|
4597
|
-
recorded_at: Tue,
|
4597
|
+
recorded_at: Tue, 16 Feb 2016 00:46:23 GMT
|
4598
4598
|
- request:
|
4599
4599
|
method: delete
|
4600
|
-
uri: http://www.example.com:3000/locomotive/api/v3/pages/bogus_id.json?auth_token=
|
4600
|
+
uri: http://www.example.com:3000/locomotive/api/v3/pages/bogus_id.json?auth_token=C2t1wxAuKy7YPAHVva29
|
4601
4601
|
body:
|
4602
4602
|
encoding: US-ASCII
|
4603
4603
|
string: ''
|
@@ -4607,7 +4607,7 @@ http_interactions:
|
|
4607
4607
|
X-Locomotive-Account-Email:
|
4608
4608
|
- admin@locomotivecms.com
|
4609
4609
|
X-Locomotive-Account-Token:
|
4610
|
-
-
|
4610
|
+
- C2t1wxAuKy7YPAHVva29
|
4611
4611
|
X-Locomotive-Site-Handle:
|
4612
4612
|
- www
|
4613
4613
|
Accept-Encoding:
|
@@ -4624,19 +4624,19 @@ http_interactions:
|
|
4624
4624
|
Cache-Control:
|
4625
4625
|
- no-cache
|
4626
4626
|
X-Request-Id:
|
4627
|
-
-
|
4627
|
+
- 30f80d54-3ada-4b22-8896-218f0903d00d
|
4628
4628
|
X-Runtime:
|
4629
|
-
- '0.
|
4629
|
+
- '0.024783'
|
4630
4630
|
Content-Length:
|
4631
4631
|
- '30'
|
4632
4632
|
body:
|
4633
4633
|
encoding: UTF-8
|
4634
4634
|
string: '{"error":"Resource not found"}'
|
4635
4635
|
http_version:
|
4636
|
-
recorded_at: Tue,
|
4636
|
+
recorded_at: Tue, 16 Feb 2016 00:46:23 GMT
|
4637
4637
|
- request:
|
4638
4638
|
method: delete
|
4639
|
-
uri: http://www.example.com:3000/locomotive/api/v3/content_types/bogus_id.json?auth_token=
|
4639
|
+
uri: http://www.example.com:3000/locomotive/api/v3/content_types/bogus_id.json?auth_token=C2t1wxAuKy7YPAHVva29
|
4640
4640
|
body:
|
4641
4641
|
encoding: US-ASCII
|
4642
4642
|
string: ''
|
@@ -4646,7 +4646,7 @@ http_interactions:
|
|
4646
4646
|
X-Locomotive-Account-Email:
|
4647
4647
|
- admin@locomotivecms.com
|
4648
4648
|
X-Locomotive-Account-Token:
|
4649
|
-
-
|
4649
|
+
- C2t1wxAuKy7YPAHVva29
|
4650
4650
|
X-Locomotive-Site-Handle:
|
4651
4651
|
- www
|
4652
4652
|
Accept-Encoding:
|
@@ -4663,19 +4663,19 @@ http_interactions:
|
|
4663
4663
|
Cache-Control:
|
4664
4664
|
- no-cache
|
4665
4665
|
X-Request-Id:
|
4666
|
-
-
|
4666
|
+
- 18cee92e-03ea-4e63-8c32-ec0e0b604c01
|
4667
4667
|
X-Runtime:
|
4668
|
-
- '0.
|
4668
|
+
- '0.022163'
|
4669
4669
|
Content-Length:
|
4670
4670
|
- '30'
|
4671
4671
|
body:
|
4672
4672
|
encoding: UTF-8
|
4673
4673
|
string: '{"error":"Resource not found"}'
|
4674
4674
|
http_version:
|
4675
|
-
recorded_at: Tue,
|
4675
|
+
recorded_at: Tue, 16 Feb 2016 00:46:23 GMT
|
4676
4676
|
- request:
|
4677
4677
|
method: delete
|
4678
|
-
uri: http://www.example.com:3000/locomotive/api/v3/snippets/bogus_id.json?auth_token=
|
4678
|
+
uri: http://www.example.com:3000/locomotive/api/v3/snippets/bogus_id.json?auth_token=C2t1wxAuKy7YPAHVva29
|
4679
4679
|
body:
|
4680
4680
|
encoding: US-ASCII
|
4681
4681
|
string: ''
|
@@ -4685,7 +4685,7 @@ http_interactions:
|
|
4685
4685
|
X-Locomotive-Account-Email:
|
4686
4686
|
- admin@locomotivecms.com
|
4687
4687
|
X-Locomotive-Account-Token:
|
4688
|
-
-
|
4688
|
+
- C2t1wxAuKy7YPAHVva29
|
4689
4689
|
X-Locomotive-Site-Handle:
|
4690
4690
|
- www
|
4691
4691
|
Accept-Encoding:
|
@@ -4702,19 +4702,19 @@ http_interactions:
|
|
4702
4702
|
Cache-Control:
|
4703
4703
|
- no-cache
|
4704
4704
|
X-Request-Id:
|
4705
|
-
-
|
4705
|
+
- 54fea5e4-4885-4202-a0d1-08d3181ab717
|
4706
4706
|
X-Runtime:
|
4707
|
-
- '0.
|
4707
|
+
- '0.023401'
|
4708
4708
|
Content-Length:
|
4709
4709
|
- '30'
|
4710
4710
|
body:
|
4711
4711
|
encoding: UTF-8
|
4712
4712
|
string: '{"error":"Resource not found"}'
|
4713
4713
|
http_version:
|
4714
|
-
recorded_at: Tue,
|
4714
|
+
recorded_at: Tue, 16 Feb 2016 00:46:24 GMT
|
4715
4715
|
- request:
|
4716
4716
|
method: delete
|
4717
|
-
uri: http://www.example.com:3000/locomotive/api/v3/translations/bogus_id.json?auth_token=
|
4717
|
+
uri: http://www.example.com:3000/locomotive/api/v3/translations/bogus_id.json?auth_token=C2t1wxAuKy7YPAHVva29
|
4718
4718
|
body:
|
4719
4719
|
encoding: US-ASCII
|
4720
4720
|
string: ''
|
@@ -4724,7 +4724,7 @@ http_interactions:
|
|
4724
4724
|
X-Locomotive-Account-Email:
|
4725
4725
|
- admin@locomotivecms.com
|
4726
4726
|
X-Locomotive-Account-Token:
|
4727
|
-
-
|
4727
|
+
- C2t1wxAuKy7YPAHVva29
|
4728
4728
|
X-Locomotive-Site-Handle:
|
4729
4729
|
- www
|
4730
4730
|
Accept-Encoding:
|
@@ -4741,14 +4741,14 @@ http_interactions:
|
|
4741
4741
|
Cache-Control:
|
4742
4742
|
- no-cache
|
4743
4743
|
X-Request-Id:
|
4744
|
-
-
|
4744
|
+
- 442ffc68-0cea-4355-a740-72afc4445dcf
|
4745
4745
|
X-Runtime:
|
4746
|
-
- '0.
|
4746
|
+
- '0.024773'
|
4747
4747
|
Content-Length:
|
4748
4748
|
- '30'
|
4749
4749
|
body:
|
4750
4750
|
encoding: UTF-8
|
4751
4751
|
string: '{"error":"Resource not found"}'
|
4752
4752
|
http_version:
|
4753
|
-
recorded_at: Tue,
|
4753
|
+
recorded_at: Tue, 16 Feb 2016 00:46:24 GMT
|
4754
4754
|
recorded_with: VCR 3.0.0
|