discourse_api 0.11.0 → 0.12.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +21 -21
- data/.travis.yml +5 -5
- data/CHANGELOG.md +105 -99
- data/Gemfile +4 -4
- data/Guardfile +5 -5
- data/LICENSE.txt +22 -22
- data/README.md +73 -73
- data/Rakefile +7 -7
- data/discourse_api.gemspec +35 -35
- data/examples/backups.rb +18 -18
- data/examples/category.rb +21 -21
- data/examples/change_topic_status.rb +33 -33
- data/examples/create_topic.rb +23 -23
- data/examples/create_user.rb +14 -14
- data/examples/dashboard.rb +13 -13
- data/examples/disposable_invite_tokens.rb +18 -18
- data/examples/example.rb +9 -9
- data/examples/groups.rb +25 -25
- data/examples/invite_users.rb +15 -15
- data/examples/post_action.rb +25 -25
- data/examples/search.rb +9 -9
- data/examples/sso.rb +14 -14
- data/examples/topic_lists.rb +15 -15
- data/examples/update_user.rb +22 -22
- data/lib/discourse_api.rb +5 -5
- data/lib/discourse_api/api/api_key.rb +31 -31
- data/lib/discourse_api/api/backups.rb +24 -24
- data/lib/discourse_api/api/badges.rb +28 -28
- data/lib/discourse_api/api/categories.rb +57 -57
- data/lib/discourse_api/api/dashboard.rb +24 -24
- data/lib/discourse_api/api/email.rb +15 -15
- data/lib/discourse_api/api/groups.rb +52 -52
- data/lib/discourse_api/api/invite.rb +17 -17
- data/lib/discourse_api/api/notifications.rb +9 -9
- data/lib/discourse_api/api/params.rb +55 -55
- data/lib/discourse_api/api/posts.rb +41 -41
- data/lib/discourse_api/api/private_messages.rb +10 -10
- data/lib/discourse_api/api/search.rb +19 -19
- data/lib/discourse_api/api/sso.rb +22 -22
- data/lib/discourse_api/api/tags.rb +10 -10
- data/lib/discourse_api/api/topics.rb +78 -78
- data/lib/discourse_api/api/users.rb +93 -85
- data/lib/discourse_api/client.rb +133 -133
- data/lib/discourse_api/error.rb +17 -17
- data/lib/discourse_api/single_sign_on.rb +110 -110
- data/lib/discourse_api/version.rb +3 -3
- data/routes.txt +203 -203
- data/spec/discourse_api/api/api_key_spec.rb +121 -121
- data/spec/discourse_api/api/backups_spec.rb +23 -23
- data/spec/discourse_api/api/badges_spec.rb +40 -40
- data/spec/discourse_api/api/categories_spec.rb +87 -87
- data/spec/discourse_api/api/email_spec.rb +39 -39
- data/spec/discourse_api/api/groups_spec.rb +94 -94
- data/spec/discourse_api/api/notifications_spec.rb +24 -24
- data/spec/discourse_api/api/params_spec.rb +32 -32
- data/spec/discourse_api/api/posts_spec.rb +41 -41
- data/spec/discourse_api/api/private_messages_spec.rb +22 -22
- data/spec/discourse_api/api/search_spec.rb +30 -30
- data/spec/discourse_api/api/sso_spec.rb +16 -16
- data/spec/discourse_api/api/topics_spec.rb +113 -113
- data/spec/discourse_api/api/users_spec.rb +255 -227
- data/spec/discourse_api/client_spec.rb +115 -115
- data/spec/fixtures/api.json +12 -12
- data/spec/fixtures/backups.json +12 -12
- data/spec/fixtures/badges.json +569 -569
- data/spec/fixtures/categories.json +72 -72
- data/spec/fixtures/category_latest_topics.json +92 -92
- data/spec/fixtures/category_topics.json +91 -91
- data/spec/fixtures/email_list_all.json +749 -749
- data/spec/fixtures/email_settings.json +13 -13
- data/spec/fixtures/generate_api_key.json +12 -12
- data/spec/fixtures/generate_master_key.json +7 -7
- data/spec/fixtures/groups.json +18 -18
- data/spec/fixtures/hot.json +113 -113
- data/spec/fixtures/latest.json +115 -115
- data/spec/fixtures/members_0.json +403 -403
- data/spec/fixtures/members_1.json +363 -363
- data/spec/fixtures/new.json +113 -113
- data/spec/fixtures/notifications.json +16 -16
- data/spec/fixtures/post.json +94 -94
- data/spec/fixtures/post_action_users.json +18 -18
- data/spec/fixtures/private_messages.json +69 -69
- data/spec/fixtures/regenerate_api_key.json +7 -7
- data/spec/fixtures/search.json +24 -24
- data/spec/fixtures/topic.json +739 -739
- data/spec/fixtures/topic_invite_user.json +3 -3
- data/spec/fixtures/topics_created_by.json +49 -49
- data/spec/fixtures/update_trust_level.json +37 -37
- data/spec/fixtures/upload_avatar.json +13 -13
- data/spec/fixtures/user.json +65 -65
- data/spec/fixtures/user_activate_success.json +3 -3
- data/spec/fixtures/user_badges.json +170 -170
- data/spec/fixtures/user_create_success.json +5 -5
- data/spec/fixtures/user_grant_admin.json +37 -37
- data/spec/fixtures/user_list.json +583 -583
- data/spec/fixtures/user_log_out_success.json +3 -3
- data/spec/fixtures/user_update_avatar_success.json +3 -3
- data/spec/fixtures/user_update_user.json +3 -3
- data/spec/fixtures/user_update_username.json +4 -4
- data/spec/spec_helper.rb +61 -61
- metadata +2 -2
@@ -1,749 +1,749 @@
|
|
1
|
-
[
|
2
|
-
{
|
3
|
-
"id": 64,
|
4
|
-
"reply_key": null,
|
5
|
-
"to_address": "steve7@example.com",
|
6
|
-
"email_type": "signup",
|
7
|
-
"user_id": 22,
|
8
|
-
"created_at": "2015-01-03T13:33:46.730Z",
|
9
|
-
"skipped": false,
|
10
|
-
"user": {
|
11
|
-
"id": 22,
|
12
|
-
"username": "steve7",
|
13
|
-
"uploaded_avatar_id": null,
|
14
|
-
"avatar_template": "/letter_avatar/steve7/{size}/2.png"
|
15
|
-
}
|
16
|
-
},
|
17
|
-
{
|
18
|
-
"id": 63,
|
19
|
-
"reply_key": null,
|
20
|
-
"to_address": "steve6@example.com",
|
21
|
-
"email_type": "user_private_message",
|
22
|
-
"user_id": 21,
|
23
|
-
"created_at": "2015-01-02T17:18:47.098Z",
|
24
|
-
"skipped": false,
|
25
|
-
"user": {
|
26
|
-
"id": 21,
|
27
|
-
"username": "steve6",
|
28
|
-
"uploaded_avatar_id": null,
|
29
|
-
"avatar_template": "/letter_avatar/steve6/{size}/2.png"
|
30
|
-
}
|
31
|
-
},
|
32
|
-
{
|
33
|
-
"id": 62,
|
34
|
-
"reply_key": null,
|
35
|
-
"to_address": "steve5@example.com",
|
36
|
-
"email_type": "user_private_message",
|
37
|
-
"user_id": 20,
|
38
|
-
"created_at": "2015-01-02T16:05:38.192Z",
|
39
|
-
"skipped": false,
|
40
|
-
"user": {
|
41
|
-
"id": 20,
|
42
|
-
"username": "steve5",
|
43
|
-
"uploaded_avatar_id": null,
|
44
|
-
"avatar_template": "/letter_avatar/steve5/{size}/2.png"
|
45
|
-
}
|
46
|
-
},
|
47
|
-
{
|
48
|
-
"id": 61,
|
49
|
-
"reply_key": null,
|
50
|
-
"to_address": "steve4@example.com",
|
51
|
-
"email_type": "user_private_message",
|
52
|
-
"user_id": 19,
|
53
|
-
"created_at": "2015-01-02T15:59:27.137Z",
|
54
|
-
"skipped": false,
|
55
|
-
"user": {
|
56
|
-
"id": 19,
|
57
|
-
"username": "steve4",
|
58
|
-
"uploaded_avatar_id": null,
|
59
|
-
"avatar_template": "/letter_avatar/steve4/{size}/2.png"
|
60
|
-
}
|
61
|
-
},
|
62
|
-
{
|
63
|
-
"id": 60,
|
64
|
-
"reply_key": null,
|
65
|
-
"to_address": "steve5@example.com",
|
66
|
-
"email_type": "signup",
|
67
|
-
"user_id": 20,
|
68
|
-
"created_at": "2015-01-02T15:57:57.061Z",
|
69
|
-
"skipped": false,
|
70
|
-
"user": {
|
71
|
-
"id": 20,
|
72
|
-
"username": "steve5",
|
73
|
-
"uploaded_avatar_id": null,
|
74
|
-
"avatar_template": "/letter_avatar/steve5/{size}/2.png"
|
75
|
-
}
|
76
|
-
},
|
77
|
-
{
|
78
|
-
"id": 59,
|
79
|
-
"reply_key": null,
|
80
|
-
"to_address": "steve4@example.com",
|
81
|
-
"email_type": "signup",
|
82
|
-
"user_id": 19,
|
83
|
-
"created_at": "2015-01-02T15:52:36.210Z",
|
84
|
-
"skipped": false,
|
85
|
-
"user": {
|
86
|
-
"id": 19,
|
87
|
-
"username": "steve4",
|
88
|
-
"uploaded_avatar_id": null,
|
89
|
-
"avatar_template": "/letter_avatar/steve4/{size}/2.png"
|
90
|
-
}
|
91
|
-
},
|
92
|
-
{
|
93
|
-
"id": 58,
|
94
|
-
"reply_key": null,
|
95
|
-
"to_address": "steve3@example.com",
|
96
|
-
"email_type": "signup",
|
97
|
-
"user_id": 18,
|
98
|
-
"created_at": "2015-01-02T15:50:29.330Z",
|
99
|
-
"skipped": false,
|
100
|
-
"user": {
|
101
|
-
"id": 18,
|
102
|
-
"username": "steve3",
|
103
|
-
"uploaded_avatar_id": null,
|
104
|
-
"avatar_template": "/letter_avatar/steve3/{size}/2.png"
|
105
|
-
}
|
106
|
-
},
|
107
|
-
{
|
108
|
-
"id": 57,
|
109
|
-
"reply_key": null,
|
110
|
-
"to_address": "steve3@example.com",
|
111
|
-
"email_type": "user_private_message",
|
112
|
-
"user_id": 18,
|
113
|
-
"created_at": "2015-01-02T14:07:40.357Z",
|
114
|
-
"skipped": true,
|
115
|
-
"skipped_reason": "The notification this email is about has already been read",
|
116
|
-
"user": {
|
117
|
-
"id": 18,
|
118
|
-
"username": "steve3",
|
119
|
-
"uploaded_avatar_id": null,
|
120
|
-
"avatar_template": "/letter_avatar/steve3/{size}/2.png"
|
121
|
-
}
|
122
|
-
},
|
123
|
-
{
|
124
|
-
"id": 56,
|
125
|
-
"reply_key": null,
|
126
|
-
"to_address": "steve3@example.com",
|
127
|
-
"email_type": "signup",
|
128
|
-
"user_id": 18,
|
129
|
-
"created_at": "2015-01-02T13:53:04.352Z",
|
130
|
-
"skipped": false,
|
131
|
-
"user": {
|
132
|
-
"id": 18,
|
133
|
-
"username": "steve3",
|
134
|
-
"uploaded_avatar_id": null,
|
135
|
-
"avatar_template": "/letter_avatar/steve3/{size}/2.png"
|
136
|
-
}
|
137
|
-
},
|
138
|
-
{
|
139
|
-
"id": 55,
|
140
|
-
"reply_key": null,
|
141
|
-
"to_address": "steve2@example.com",
|
142
|
-
"email_type": "signup",
|
143
|
-
"user_id": 17,
|
144
|
-
"created_at": "2015-01-02T13:39:40.455Z",
|
145
|
-
"skipped": false,
|
146
|
-
"user": {
|
147
|
-
"id": 17,
|
148
|
-
"username": "steve2",
|
149
|
-
"uploaded_avatar_id": null,
|
150
|
-
"avatar_template": "/letter_avatar/steve2/{size}/2.png"
|
151
|
-
}
|
152
|
-
},
|
153
|
-
{
|
154
|
-
"id": 54,
|
155
|
-
"reply_key": null,
|
156
|
-
"to_address": "batman@gotham.com",
|
157
|
-
"email_type": "signup",
|
158
|
-
"user_id": 1,
|
159
|
-
"created_at": "2015-01-02T13:38:11.418Z",
|
160
|
-
"skipped": false,
|
161
|
-
"user": {
|
162
|
-
"id": 1,
|
163
|
-
"username": "test_user",
|
164
|
-
"uploaded_avatar_id": 7,
|
165
|
-
"avatar_template": "/user_avatar/localhost/test_user/{size}/7.png"
|
166
|
-
}
|
167
|
-
},
|
168
|
-
{
|
169
|
-
"id": 53,
|
170
|
-
"reply_key": null,
|
171
|
-
"to_address": "dave3@gotham.com",
|
172
|
-
"email_type": "signup",
|
173
|
-
"user_id": 10,
|
174
|
-
"created_at": "2015-01-01T13:08:57.914Z",
|
175
|
-
"skipped": false,
|
176
|
-
"user": {
|
177
|
-
"id": 10,
|
178
|
-
"username": "dave3",
|
179
|
-
"uploaded_avatar_id": null,
|
180
|
-
"avatar_template": "/letter_avatar/dave3/{size}/2.png"
|
181
|
-
}
|
182
|
-
},
|
183
|
-
{
|
184
|
-
"id": 52,
|
185
|
-
"reply_key": null,
|
186
|
-
"to_address": "dave2@gotham.com",
|
187
|
-
"email_type": "authorize_email",
|
188
|
-
"user_id": 9,
|
189
|
-
"created_at": "2015-01-01T01:22:45.479Z",
|
190
|
-
"skipped": false,
|
191
|
-
"user": {
|
192
|
-
"id": 9,
|
193
|
-
"username": "dave2",
|
194
|
-
"uploaded_avatar_id": null,
|
195
|
-
"avatar_template": "/letter_avatar/dave2/{size}/2.png"
|
196
|
-
}
|
197
|
-
},
|
198
|
-
{
|
199
|
-
"id": 51,
|
200
|
-
"reply_key": null,
|
201
|
-
"to_address": "phil@example.com",
|
202
|
-
"email_type": "user_private_message",
|
203
|
-
"user_id": 7,
|
204
|
-
"created_at": "2015-01-01T01:01:33.316Z",
|
205
|
-
"skipped": false,
|
206
|
-
"user": {
|
207
|
-
"id": 7,
|
208
|
-
"username": "phil12",
|
209
|
-
"uploaded_avatar_id": null,
|
210
|
-
"avatar_template": "/letter_avatar/phil12/{size}/2.png"
|
211
|
-
}
|
212
|
-
},
|
213
|
-
{
|
214
|
-
"id": 50,
|
215
|
-
"reply_key": null,
|
216
|
-
"to_address": "dave@example.com",
|
217
|
-
"email_type": "user_private_message",
|
218
|
-
"user_id": 8,
|
219
|
-
"created_at": "2015-01-01T01:01:33.222Z",
|
220
|
-
"skipped": false,
|
221
|
-
"user": {
|
222
|
-
"id": 8,
|
223
|
-
"username": "dave",
|
224
|
-
"uploaded_avatar_id": null,
|
225
|
-
"avatar_template": "/letter_avatar/dave/{size}/2.png"
|
226
|
-
}
|
227
|
-
},
|
228
|
-
{
|
229
|
-
"id": 49,
|
230
|
-
"reply_key": null,
|
231
|
-
"to_address": "steve@example.com",
|
232
|
-
"email_type": "user_private_message",
|
233
|
-
"user_id": 4,
|
234
|
-
"created_at": "2015-01-01T01:01:33.200Z",
|
235
|
-
"skipped": false,
|
236
|
-
"user": {
|
237
|
-
"id": 4,
|
238
|
-
"username": "steve",
|
239
|
-
"uploaded_avatar_id": null,
|
240
|
-
"avatar_template": "/letter_avatar/steve/{size}/2.png"
|
241
|
-
}
|
242
|
-
},
|
243
|
-
{
|
244
|
-
"id": 48,
|
245
|
-
"reply_key": null,
|
246
|
-
"to_address": "steve@example.com",
|
247
|
-
"email_type": "signup",
|
248
|
-
"user_id": 4,
|
249
|
-
"created_at": "2015-01-01T01:01:33.141Z",
|
250
|
-
"skipped": false,
|
251
|
-
"user": {
|
252
|
-
"id": 4,
|
253
|
-
"username": "steve",
|
254
|
-
"uploaded_avatar_id": null,
|
255
|
-
"avatar_template": "/letter_avatar/steve/{size}/2.png"
|
256
|
-
}
|
257
|
-
},
|
258
|
-
{
|
259
|
-
"id": 47,
|
260
|
-
"reply_key": null,
|
261
|
-
"to_address": "steve999@example.com",
|
262
|
-
"email_type": "authorize_email",
|
263
|
-
"user_id": 4,
|
264
|
-
"created_at": "2015-01-01T01:01:32.846Z",
|
265
|
-
"skipped": false,
|
266
|
-
"user": {
|
267
|
-
"id": 4,
|
268
|
-
"username": "steve",
|
269
|
-
"uploaded_avatar_id": null,
|
270
|
-
"avatar_template": "/letter_avatar/steve/{size}/2.png"
|
271
|
-
}
|
272
|
-
},
|
273
|
-
{
|
274
|
-
"id": 46,
|
275
|
-
"reply_key": null,
|
276
|
-
"to_address": "steve345@example.com",
|
277
|
-
"email_type": "authorize_email",
|
278
|
-
"user_id": 4,
|
279
|
-
"created_at": "2015-01-01T01:01:32.844Z",
|
280
|
-
"skipped": false,
|
281
|
-
"user": {
|
282
|
-
"id": 4,
|
283
|
-
"username": "steve",
|
284
|
-
"uploaded_avatar_id": null,
|
285
|
-
"avatar_template": "/letter_avatar/steve/{size}/2.png"
|
286
|
-
}
|
287
|
-
},
|
288
|
-
{
|
289
|
-
"id": 45,
|
290
|
-
"reply_key": null,
|
291
|
-
"to_address": "robin3@gotham.com",
|
292
|
-
"email_type": "authorize_email",
|
293
|
-
"user_id": 2,
|
294
|
-
"created_at": "2015-01-01T01:01:24.446Z",
|
295
|
-
"skipped": false,
|
296
|
-
"user": {
|
297
|
-
"id": 2,
|
298
|
-
"username": "robin",
|
299
|
-
"uploaded_avatar_id": 3,
|
300
|
-
"avatar_template": "/user_avatar/localhost/robin/{size}/3.png"
|
301
|
-
}
|
302
|
-
},
|
303
|
-
{
|
304
|
-
"id": 44,
|
305
|
-
"reply_key": null,
|
306
|
-
"to_address": "robin3@gotham.com",
|
307
|
-
"email_type": "authorize_email",
|
308
|
-
"user_id": 2,
|
309
|
-
"created_at": "2015-01-01T01:01:24.445Z",
|
310
|
-
"skipped": false,
|
311
|
-
"user": {
|
312
|
-
"id": 2,
|
313
|
-
"username": "robin",
|
314
|
-
"uploaded_avatar_id": 3,
|
315
|
-
"avatar_template": "/user_avatar/localhost/robin/{size}/3.png"
|
316
|
-
}
|
317
|
-
},
|
318
|
-
{
|
319
|
-
"id": 43,
|
320
|
-
"reply_key": null,
|
321
|
-
"to_address": "robin3@gotham.com",
|
322
|
-
"email_type": "authorize_email",
|
323
|
-
"user_id": 2,
|
324
|
-
"created_at": "2015-01-01T01:01:24.444Z",
|
325
|
-
"skipped": false,
|
326
|
-
"user": {
|
327
|
-
"id": 2,
|
328
|
-
"username": "robin",
|
329
|
-
"uploaded_avatar_id": 3,
|
330
|
-
"avatar_template": "/user_avatar/localhost/robin/{size}/3.png"
|
331
|
-
}
|
332
|
-
},
|
333
|
-
{
|
334
|
-
"id": 42,
|
335
|
-
"reply_key": null,
|
336
|
-
"to_address": "robin3@gotham.com",
|
337
|
-
"email_type": "authorize_email",
|
338
|
-
"user_id": 2,
|
339
|
-
"created_at": "2015-01-01T01:01:24.441Z",
|
340
|
-
"skipped": false,
|
341
|
-
"user": {
|
342
|
-
"id": 2,
|
343
|
-
"username": "robin",
|
344
|
-
"uploaded_avatar_id": 3,
|
345
|
-
"avatar_template": "/user_avatar/localhost/robin/{size}/3.png"
|
346
|
-
}
|
347
|
-
},
|
348
|
-
{
|
349
|
-
"id": 41,
|
350
|
-
"reply_key": null,
|
351
|
-
"to_address": "no_email_found",
|
352
|
-
"email_type": "signup",
|
353
|
-
"user_id": null,
|
354
|
-
"created_at": "2014-12-31T18:12:05.707Z",
|
355
|
-
"skipped": true,
|
356
|
-
"skipped_reason": "Can't find user with id 6",
|
357
|
-
"user": null
|
358
|
-
},
|
359
|
-
{
|
360
|
-
"id": 40,
|
361
|
-
"reply_key": null,
|
362
|
-
"to_address": "foo@bar.com",
|
363
|
-
"email_type": "authorize_email",
|
364
|
-
"user_id": 8,
|
365
|
-
"created_at": "2014-12-31T17:56:39.302Z",
|
366
|
-
"skipped": false,
|
367
|
-
"user": {
|
368
|
-
"id": 8,
|
369
|
-
"username": "dave",
|
370
|
-
"uploaded_avatar_id": null,
|
371
|
-
"avatar_template": "/letter_avatar/dave/{size}/2.png"
|
372
|
-
}
|
373
|
-
},
|
374
|
-
{
|
375
|
-
"id": 39,
|
376
|
-
"reply_key": null,
|
377
|
-
"to_address": "dave2@example.com",
|
378
|
-
"email_type": "user_private_message",
|
379
|
-
"user_id": 9,
|
380
|
-
"created_at": "2014-12-31T17:56:21.004Z",
|
381
|
-
"skipped": false,
|
382
|
-
"user": {
|
383
|
-
"id": 9,
|
384
|
-
"username": "dave2",
|
385
|
-
"uploaded_avatar_id": null,
|
386
|
-
"avatar_template": "/letter_avatar/dave2/{size}/2.png"
|
387
|
-
}
|
388
|
-
},
|
389
|
-
{
|
390
|
-
"id": 38,
|
391
|
-
"reply_key": null,
|
392
|
-
"to_address": "fake@example.com",
|
393
|
-
"email_type": "signup",
|
394
|
-
"user_id": 16,
|
395
|
-
"created_at": "2014-12-31T17:54:32.454Z",
|
396
|
-
"skipped": false,
|
397
|
-
"user": {
|
398
|
-
"id": 16,
|
399
|
-
"username": "carl",
|
400
|
-
"uploaded_avatar_id": null,
|
401
|
-
"avatar_template": "/letter_avatar/carl/{size}/2.png"
|
402
|
-
}
|
403
|
-
},
|
404
|
-
{
|
405
|
-
"id": 37,
|
406
|
-
"reply_key": null,
|
407
|
-
"to_address": "test_user2@example.com",
|
408
|
-
"email_type": "authorize_email",
|
409
|
-
"user_id": 1,
|
410
|
-
"created_at": "2014-12-31T17:53:48.162Z",
|
411
|
-
"skipped": false,
|
412
|
-
"user": {
|
413
|
-
"id": 1,
|
414
|
-
"username": "test_user",
|
415
|
-
"uploaded_avatar_id": 7,
|
416
|
-
"avatar_template": "/user_avatar/localhost/test_user/{size}/7.png"
|
417
|
-
}
|
418
|
-
},
|
419
|
-
{
|
420
|
-
"id": 36,
|
421
|
-
"reply_key": null,
|
422
|
-
"to_address": "foo@bar.com",
|
423
|
-
"email_type": "authorize_email",
|
424
|
-
"user_id": 7,
|
425
|
-
"created_at": "2014-12-31T17:13:15.797Z",
|
426
|
-
"skipped": false,
|
427
|
-
"user": {
|
428
|
-
"id": 7,
|
429
|
-
"username": "phil12",
|
430
|
-
"uploaded_avatar_id": null,
|
431
|
-
"avatar_template": "/letter_avatar/phil12/{size}/2.png"
|
432
|
-
}
|
433
|
-
},
|
434
|
-
{
|
435
|
-
"id": 35,
|
436
|
-
"reply_key": null,
|
437
|
-
"to_address": "batman@gotham.com",
|
438
|
-
"email_type": "authorize_email",
|
439
|
-
"user_id": 7,
|
440
|
-
"created_at": "2014-12-31T17:13:06.259Z",
|
441
|
-
"skipped": false,
|
442
|
-
"user": {
|
443
|
-
"id": 7,
|
444
|
-
"username": "phil12",
|
445
|
-
"uploaded_avatar_id": null,
|
446
|
-
"avatar_template": "/letter_avatar/phil12/{size}/2.png"
|
447
|
-
}
|
448
|
-
},
|
449
|
-
{
|
450
|
-
"id": 34,
|
451
|
-
"reply_key": null,
|
452
|
-
"to_address": "dave7@example.com",
|
453
|
-
"email_type": "signup",
|
454
|
-
"user_id": 14,
|
455
|
-
"created_at": "2014-12-31T17:12:43.031Z",
|
456
|
-
"skipped": false,
|
457
|
-
"user": {
|
458
|
-
"id": 14,
|
459
|
-
"username": "dave7",
|
460
|
-
"uploaded_avatar_id": null,
|
461
|
-
"avatar_template": "/letter_avatar/dave7/{size}/2.png"
|
462
|
-
}
|
463
|
-
},
|
464
|
-
{
|
465
|
-
"id": 33,
|
466
|
-
"reply_key": null,
|
467
|
-
"to_address": "batman@gotham.com",
|
468
|
-
"email_type": "authorize_email",
|
469
|
-
"user_id": 2,
|
470
|
-
"created_at": "2014-12-31T17:12:43.017Z",
|
471
|
-
"skipped": false,
|
472
|
-
"user": {
|
473
|
-
"id": 2,
|
474
|
-
"username": "robin",
|
475
|
-
"uploaded_avatar_id": 3,
|
476
|
-
"avatar_template": "/user_avatar/localhost/robin/{size}/3.png"
|
477
|
-
}
|
478
|
-
},
|
479
|
-
{
|
480
|
-
"id": 32,
|
481
|
-
"reply_key": null,
|
482
|
-
"to_address": "batman@gotham.com",
|
483
|
-
"email_type": "authorize_email",
|
484
|
-
"user_id": 2,
|
485
|
-
"created_at": "2014-12-31T17:12:43.010Z",
|
486
|
-
"skipped": false,
|
487
|
-
"user": {
|
488
|
-
"id": 2,
|
489
|
-
"username": "robin",
|
490
|
-
"uploaded_avatar_id": 3,
|
491
|
-
"avatar_template": "/user_avatar/localhost/robin/{size}/3.png"
|
492
|
-
}
|
493
|
-
},
|
494
|
-
{
|
495
|
-
"id": 31,
|
496
|
-
"reply_key": null,
|
497
|
-
"to_address": "batman@gotham.com",
|
498
|
-
"email_type": "authorize_email",
|
499
|
-
"user_id": 1,
|
500
|
-
"created_at": "2014-12-31T17:12:43.007Z",
|
501
|
-
"skipped": false,
|
502
|
-
"user": {
|
503
|
-
"id": 1,
|
504
|
-
"username": "test_user",
|
505
|
-
"uploaded_avatar_id": 7,
|
506
|
-
"avatar_template": "/user_avatar/localhost/test_user/{size}/7.png"
|
507
|
-
}
|
508
|
-
},
|
509
|
-
{
|
510
|
-
"id": 30,
|
511
|
-
"reply_key": null,
|
512
|
-
"to_address": "foo@bar.com",
|
513
|
-
"email_type": "authorize_email",
|
514
|
-
"user_id": 7,
|
515
|
-
"created_at": "2014-12-31T17:12:42.959Z",
|
516
|
-
"skipped": false,
|
517
|
-
"user": {
|
518
|
-
"id": 7,
|
519
|
-
"username": "phil12",
|
520
|
-
"uploaded_avatar_id": null,
|
521
|
-
"avatar_template": "/letter_avatar/phil12/{size}/2.png"
|
522
|
-
}
|
523
|
-
},
|
524
|
-
{
|
525
|
-
"id": 29,
|
526
|
-
"reply_key": null,
|
527
|
-
"to_address": "dave4@example.com",
|
528
|
-
"email_type": "signup",
|
529
|
-
"user_id": 11,
|
530
|
-
"created_at": "2014-12-31T17:11:51.195Z",
|
531
|
-
"skipped": false,
|
532
|
-
"user": {
|
533
|
-
"id": 11,
|
534
|
-
"username": "dave4",
|
535
|
-
"uploaded_avatar_id": null,
|
536
|
-
"avatar_template": "/letter_avatar/dave4/{size}/2.png"
|
537
|
-
}
|
538
|
-
},
|
539
|
-
{
|
540
|
-
"id": 28,
|
541
|
-
"reply_key": null,
|
542
|
-
"to_address": "batman@gotham.com",
|
543
|
-
"email_type": "authorize_email",
|
544
|
-
"user_id": 2,
|
545
|
-
"created_at": "2014-12-31T17:11:51.193Z",
|
546
|
-
"skipped": false,
|
547
|
-
"user": {
|
548
|
-
"id": 2,
|
549
|
-
"username": "robin",
|
550
|
-
"uploaded_avatar_id": 3,
|
551
|
-
"avatar_template": "/user_avatar/localhost/robin/{size}/3.png"
|
552
|
-
}
|
553
|
-
},
|
554
|
-
{
|
555
|
-
"id": 27,
|
556
|
-
"reply_key": null,
|
557
|
-
"to_address": "dave5@example.com",
|
558
|
-
"email_type": "signup",
|
559
|
-
"user_id": 12,
|
560
|
-
"created_at": "2014-12-31T17:11:51.192Z",
|
561
|
-
"skipped": false,
|
562
|
-
"user": {
|
563
|
-
"id": 12,
|
564
|
-
"username": "dave5",
|
565
|
-
"uploaded_avatar_id": null,
|
566
|
-
"avatar_template": "/letter_avatar/dave5/{size}/2.png"
|
567
|
-
}
|
568
|
-
},
|
569
|
-
{
|
570
|
-
"id": 26,
|
571
|
-
"reply_key": null,
|
572
|
-
"to_address": "foo@bar.com",
|
573
|
-
"email_type": "authorize_email",
|
574
|
-
"user_id": 8,
|
575
|
-
"created_at": "2014-12-31T17:11:51.144Z",
|
576
|
-
"skipped": false,
|
577
|
-
"user": {
|
578
|
-
"id": 8,
|
579
|
-
"username": "dave",
|
580
|
-
"uploaded_avatar_id": null,
|
581
|
-
"avatar_template": "/letter_avatar/dave/{size}/2.png"
|
582
|
-
}
|
583
|
-
},
|
584
|
-
{
|
585
|
-
"id": 25,
|
586
|
-
"reply_key": null,
|
587
|
-
"to_address": "dave6@example.com",
|
588
|
-
"email_type": "signup",
|
589
|
-
"user_id": 13,
|
590
|
-
"created_at": "2014-12-31T17:11:14.401Z",
|
591
|
-
"skipped": false,
|
592
|
-
"user": {
|
593
|
-
"id": 13,
|
594
|
-
"username": "dave6",
|
595
|
-
"uploaded_avatar_id": null,
|
596
|
-
"avatar_template": "/letter_avatar/dave6/{size}/2.png"
|
597
|
-
}
|
598
|
-
},
|
599
|
-
{
|
600
|
-
"id": 24,
|
601
|
-
"reply_key": null,
|
602
|
-
"to_address": "test_user2@example.com",
|
603
|
-
"email_type": "authorize_email",
|
604
|
-
"user_id": 1,
|
605
|
-
"created_at": "2014-12-31T17:11:14.399Z",
|
606
|
-
"skipped": false,
|
607
|
-
"user": {
|
608
|
-
"id": 1,
|
609
|
-
"username": "test_user",
|
610
|
-
"uploaded_avatar_id": 7,
|
611
|
-
"avatar_template": "/user_avatar/localhost/test_user/{size}/7.png"
|
612
|
-
}
|
613
|
-
},
|
614
|
-
{
|
615
|
-
"id": 23,
|
616
|
-
"reply_key": null,
|
617
|
-
"to_address": "batman@gotham.com",
|
618
|
-
"email_type": "authorize_email",
|
619
|
-
"user_id": 7,
|
620
|
-
"created_at": "2014-12-31T17:11:14.398Z",
|
621
|
-
"skipped": false,
|
622
|
-
"user": {
|
623
|
-
"id": 7,
|
624
|
-
"username": "phil12",
|
625
|
-
"uploaded_avatar_id": null,
|
626
|
-
"avatar_template": "/letter_avatar/phil12/{size}/2.png"
|
627
|
-
}
|
628
|
-
},
|
629
|
-
{
|
630
|
-
"id": 22,
|
631
|
-
"reply_key": null,
|
632
|
-
"to_address": "foo@bar.com",
|
633
|
-
"email_type": "authorize_email",
|
634
|
-
"user_id": 7,
|
635
|
-
"created_at": "2014-12-31T17:10:28.274Z",
|
636
|
-
"skipped": false,
|
637
|
-
"user": {
|
638
|
-
"id": 7,
|
639
|
-
"username": "phil12",
|
640
|
-
"uploaded_avatar_id": null,
|
641
|
-
"avatar_template": "/letter_avatar/phil12/{size}/2.png"
|
642
|
-
}
|
643
|
-
},
|
644
|
-
{
|
645
|
-
"id": 21,
|
646
|
-
"reply_key": null,
|
647
|
-
"to_address": "batman@gotham.com",
|
648
|
-
"email_type": "authorize_email",
|
649
|
-
"user_id": 2,
|
650
|
-
"created_at": "2014-12-31T17:10:28.257Z",
|
651
|
-
"skipped": false,
|
652
|
-
"user": {
|
653
|
-
"id": 2,
|
654
|
-
"username": "robin",
|
655
|
-
"uploaded_avatar_id": 3,
|
656
|
-
"avatar_template": "/user_avatar/localhost/robin/{size}/3.png"
|
657
|
-
}
|
658
|
-
},
|
659
|
-
{
|
660
|
-
"id": 20,
|
661
|
-
"reply_key": null,
|
662
|
-
"to_address": "steve123@example.com",
|
663
|
-
"email_type": "authorize_email",
|
664
|
-
"user_id": 4,
|
665
|
-
"created_at": "2014-12-31T17:10:28.252Z",
|
666
|
-
"skipped": false,
|
667
|
-
"user": {
|
668
|
-
"id": 4,
|
669
|
-
"username": "steve",
|
670
|
-
"uploaded_avatar_id": null,
|
671
|
-
"avatar_template": "/letter_avatar/steve/{size}/2.png"
|
672
|
-
}
|
673
|
-
},
|
674
|
-
{
|
675
|
-
"id": 19,
|
676
|
-
"reply_key": null,
|
677
|
-
"to_address": "steve123@example.com",
|
678
|
-
"email_type": "authorize_email",
|
679
|
-
"user_id": 4,
|
680
|
-
"created_at": "2014-12-31T17:10:03.163Z",
|
681
|
-
"skipped": false,
|
682
|
-
"user": {
|
683
|
-
"id": 4,
|
684
|
-
"username": "steve",
|
685
|
-
"uploaded_avatar_id": null,
|
686
|
-
"avatar_template": "/letter_avatar/steve/{size}/2.png"
|
687
|
-
}
|
688
|
-
},
|
689
|
-
{
|
690
|
-
"id": 18,
|
691
|
-
"reply_key": null,
|
692
|
-
"to_address": "dave8@example.com",
|
693
|
-
"email_type": "signup",
|
694
|
-
"user_id": 15,
|
695
|
-
"created_at": "2014-12-31T17:09:30.028Z",
|
696
|
-
"skipped": false,
|
697
|
-
"user": {
|
698
|
-
"id": 15,
|
699
|
-
"username": "dave8",
|
700
|
-
"uploaded_avatar_id": null,
|
701
|
-
"avatar_template": "/letter_avatar/dave8/{size}/2.png"
|
702
|
-
}
|
703
|
-
},
|
704
|
-
{
|
705
|
-
"id": 17,
|
706
|
-
"reply_key": null,
|
707
|
-
"to_address": "dave3@example.com",
|
708
|
-
"email_type": "signup",
|
709
|
-
"user_id": 10,
|
710
|
-
"created_at": "2014-12-31T17:09:30.011Z",
|
711
|
-
"skipped": false,
|
712
|
-
"user": {
|
713
|
-
"id": 10,
|
714
|
-
"username": "dave3",
|
715
|
-
"uploaded_avatar_id": null,
|
716
|
-
"avatar_template": "/letter_avatar/dave3/{size}/2.png"
|
717
|
-
}
|
718
|
-
},
|
719
|
-
{
|
720
|
-
"id": 16,
|
721
|
-
"reply_key": null,
|
722
|
-
"to_address": "batman@gotham.com",
|
723
|
-
"email_type": "authorize_email",
|
724
|
-
"user_id": 2,
|
725
|
-
"created_at": "2014-12-31T17:09:30.005Z",
|
726
|
-
"skipped": false,
|
727
|
-
"user": {
|
728
|
-
"id": 2,
|
729
|
-
"username": "robin",
|
730
|
-
"uploaded_avatar_id": 3,
|
731
|
-
"avatar_template": "/user_avatar/localhost/robin/{size}/3.png"
|
732
|
-
}
|
733
|
-
},
|
734
|
-
{
|
735
|
-
"id": 15,
|
736
|
-
"reply_key": null,
|
737
|
-
"to_address": "batman@gotham.com",
|
738
|
-
"email_type": "authorize_email",
|
739
|
-
"user_id": 7,
|
740
|
-
"created_at": "2014-12-31T17:09:29.997Z",
|
741
|
-
"skipped": false,
|
742
|
-
"user": {
|
743
|
-
"id": 7,
|
744
|
-
"username": "phil12",
|
745
|
-
"uploaded_avatar_id": null,
|
746
|
-
"avatar_template": "/letter_avatar/phil12/{size}/2.png"
|
747
|
-
}
|
748
|
-
}
|
749
|
-
]
|
1
|
+
[
|
2
|
+
{
|
3
|
+
"id": 64,
|
4
|
+
"reply_key": null,
|
5
|
+
"to_address": "steve7@example.com",
|
6
|
+
"email_type": "signup",
|
7
|
+
"user_id": 22,
|
8
|
+
"created_at": "2015-01-03T13:33:46.730Z",
|
9
|
+
"skipped": false,
|
10
|
+
"user": {
|
11
|
+
"id": 22,
|
12
|
+
"username": "steve7",
|
13
|
+
"uploaded_avatar_id": null,
|
14
|
+
"avatar_template": "/letter_avatar/steve7/{size}/2.png"
|
15
|
+
}
|
16
|
+
},
|
17
|
+
{
|
18
|
+
"id": 63,
|
19
|
+
"reply_key": null,
|
20
|
+
"to_address": "steve6@example.com",
|
21
|
+
"email_type": "user_private_message",
|
22
|
+
"user_id": 21,
|
23
|
+
"created_at": "2015-01-02T17:18:47.098Z",
|
24
|
+
"skipped": false,
|
25
|
+
"user": {
|
26
|
+
"id": 21,
|
27
|
+
"username": "steve6",
|
28
|
+
"uploaded_avatar_id": null,
|
29
|
+
"avatar_template": "/letter_avatar/steve6/{size}/2.png"
|
30
|
+
}
|
31
|
+
},
|
32
|
+
{
|
33
|
+
"id": 62,
|
34
|
+
"reply_key": null,
|
35
|
+
"to_address": "steve5@example.com",
|
36
|
+
"email_type": "user_private_message",
|
37
|
+
"user_id": 20,
|
38
|
+
"created_at": "2015-01-02T16:05:38.192Z",
|
39
|
+
"skipped": false,
|
40
|
+
"user": {
|
41
|
+
"id": 20,
|
42
|
+
"username": "steve5",
|
43
|
+
"uploaded_avatar_id": null,
|
44
|
+
"avatar_template": "/letter_avatar/steve5/{size}/2.png"
|
45
|
+
}
|
46
|
+
},
|
47
|
+
{
|
48
|
+
"id": 61,
|
49
|
+
"reply_key": null,
|
50
|
+
"to_address": "steve4@example.com",
|
51
|
+
"email_type": "user_private_message",
|
52
|
+
"user_id": 19,
|
53
|
+
"created_at": "2015-01-02T15:59:27.137Z",
|
54
|
+
"skipped": false,
|
55
|
+
"user": {
|
56
|
+
"id": 19,
|
57
|
+
"username": "steve4",
|
58
|
+
"uploaded_avatar_id": null,
|
59
|
+
"avatar_template": "/letter_avatar/steve4/{size}/2.png"
|
60
|
+
}
|
61
|
+
},
|
62
|
+
{
|
63
|
+
"id": 60,
|
64
|
+
"reply_key": null,
|
65
|
+
"to_address": "steve5@example.com",
|
66
|
+
"email_type": "signup",
|
67
|
+
"user_id": 20,
|
68
|
+
"created_at": "2015-01-02T15:57:57.061Z",
|
69
|
+
"skipped": false,
|
70
|
+
"user": {
|
71
|
+
"id": 20,
|
72
|
+
"username": "steve5",
|
73
|
+
"uploaded_avatar_id": null,
|
74
|
+
"avatar_template": "/letter_avatar/steve5/{size}/2.png"
|
75
|
+
}
|
76
|
+
},
|
77
|
+
{
|
78
|
+
"id": 59,
|
79
|
+
"reply_key": null,
|
80
|
+
"to_address": "steve4@example.com",
|
81
|
+
"email_type": "signup",
|
82
|
+
"user_id": 19,
|
83
|
+
"created_at": "2015-01-02T15:52:36.210Z",
|
84
|
+
"skipped": false,
|
85
|
+
"user": {
|
86
|
+
"id": 19,
|
87
|
+
"username": "steve4",
|
88
|
+
"uploaded_avatar_id": null,
|
89
|
+
"avatar_template": "/letter_avatar/steve4/{size}/2.png"
|
90
|
+
}
|
91
|
+
},
|
92
|
+
{
|
93
|
+
"id": 58,
|
94
|
+
"reply_key": null,
|
95
|
+
"to_address": "steve3@example.com",
|
96
|
+
"email_type": "signup",
|
97
|
+
"user_id": 18,
|
98
|
+
"created_at": "2015-01-02T15:50:29.330Z",
|
99
|
+
"skipped": false,
|
100
|
+
"user": {
|
101
|
+
"id": 18,
|
102
|
+
"username": "steve3",
|
103
|
+
"uploaded_avatar_id": null,
|
104
|
+
"avatar_template": "/letter_avatar/steve3/{size}/2.png"
|
105
|
+
}
|
106
|
+
},
|
107
|
+
{
|
108
|
+
"id": 57,
|
109
|
+
"reply_key": null,
|
110
|
+
"to_address": "steve3@example.com",
|
111
|
+
"email_type": "user_private_message",
|
112
|
+
"user_id": 18,
|
113
|
+
"created_at": "2015-01-02T14:07:40.357Z",
|
114
|
+
"skipped": true,
|
115
|
+
"skipped_reason": "The notification this email is about has already been read",
|
116
|
+
"user": {
|
117
|
+
"id": 18,
|
118
|
+
"username": "steve3",
|
119
|
+
"uploaded_avatar_id": null,
|
120
|
+
"avatar_template": "/letter_avatar/steve3/{size}/2.png"
|
121
|
+
}
|
122
|
+
},
|
123
|
+
{
|
124
|
+
"id": 56,
|
125
|
+
"reply_key": null,
|
126
|
+
"to_address": "steve3@example.com",
|
127
|
+
"email_type": "signup",
|
128
|
+
"user_id": 18,
|
129
|
+
"created_at": "2015-01-02T13:53:04.352Z",
|
130
|
+
"skipped": false,
|
131
|
+
"user": {
|
132
|
+
"id": 18,
|
133
|
+
"username": "steve3",
|
134
|
+
"uploaded_avatar_id": null,
|
135
|
+
"avatar_template": "/letter_avatar/steve3/{size}/2.png"
|
136
|
+
}
|
137
|
+
},
|
138
|
+
{
|
139
|
+
"id": 55,
|
140
|
+
"reply_key": null,
|
141
|
+
"to_address": "steve2@example.com",
|
142
|
+
"email_type": "signup",
|
143
|
+
"user_id": 17,
|
144
|
+
"created_at": "2015-01-02T13:39:40.455Z",
|
145
|
+
"skipped": false,
|
146
|
+
"user": {
|
147
|
+
"id": 17,
|
148
|
+
"username": "steve2",
|
149
|
+
"uploaded_avatar_id": null,
|
150
|
+
"avatar_template": "/letter_avatar/steve2/{size}/2.png"
|
151
|
+
}
|
152
|
+
},
|
153
|
+
{
|
154
|
+
"id": 54,
|
155
|
+
"reply_key": null,
|
156
|
+
"to_address": "batman@gotham.com",
|
157
|
+
"email_type": "signup",
|
158
|
+
"user_id": 1,
|
159
|
+
"created_at": "2015-01-02T13:38:11.418Z",
|
160
|
+
"skipped": false,
|
161
|
+
"user": {
|
162
|
+
"id": 1,
|
163
|
+
"username": "test_user",
|
164
|
+
"uploaded_avatar_id": 7,
|
165
|
+
"avatar_template": "/user_avatar/localhost/test_user/{size}/7.png"
|
166
|
+
}
|
167
|
+
},
|
168
|
+
{
|
169
|
+
"id": 53,
|
170
|
+
"reply_key": null,
|
171
|
+
"to_address": "dave3@gotham.com",
|
172
|
+
"email_type": "signup",
|
173
|
+
"user_id": 10,
|
174
|
+
"created_at": "2015-01-01T13:08:57.914Z",
|
175
|
+
"skipped": false,
|
176
|
+
"user": {
|
177
|
+
"id": 10,
|
178
|
+
"username": "dave3",
|
179
|
+
"uploaded_avatar_id": null,
|
180
|
+
"avatar_template": "/letter_avatar/dave3/{size}/2.png"
|
181
|
+
}
|
182
|
+
},
|
183
|
+
{
|
184
|
+
"id": 52,
|
185
|
+
"reply_key": null,
|
186
|
+
"to_address": "dave2@gotham.com",
|
187
|
+
"email_type": "authorize_email",
|
188
|
+
"user_id": 9,
|
189
|
+
"created_at": "2015-01-01T01:22:45.479Z",
|
190
|
+
"skipped": false,
|
191
|
+
"user": {
|
192
|
+
"id": 9,
|
193
|
+
"username": "dave2",
|
194
|
+
"uploaded_avatar_id": null,
|
195
|
+
"avatar_template": "/letter_avatar/dave2/{size}/2.png"
|
196
|
+
}
|
197
|
+
},
|
198
|
+
{
|
199
|
+
"id": 51,
|
200
|
+
"reply_key": null,
|
201
|
+
"to_address": "phil@example.com",
|
202
|
+
"email_type": "user_private_message",
|
203
|
+
"user_id": 7,
|
204
|
+
"created_at": "2015-01-01T01:01:33.316Z",
|
205
|
+
"skipped": false,
|
206
|
+
"user": {
|
207
|
+
"id": 7,
|
208
|
+
"username": "phil12",
|
209
|
+
"uploaded_avatar_id": null,
|
210
|
+
"avatar_template": "/letter_avatar/phil12/{size}/2.png"
|
211
|
+
}
|
212
|
+
},
|
213
|
+
{
|
214
|
+
"id": 50,
|
215
|
+
"reply_key": null,
|
216
|
+
"to_address": "dave@example.com",
|
217
|
+
"email_type": "user_private_message",
|
218
|
+
"user_id": 8,
|
219
|
+
"created_at": "2015-01-01T01:01:33.222Z",
|
220
|
+
"skipped": false,
|
221
|
+
"user": {
|
222
|
+
"id": 8,
|
223
|
+
"username": "dave",
|
224
|
+
"uploaded_avatar_id": null,
|
225
|
+
"avatar_template": "/letter_avatar/dave/{size}/2.png"
|
226
|
+
}
|
227
|
+
},
|
228
|
+
{
|
229
|
+
"id": 49,
|
230
|
+
"reply_key": null,
|
231
|
+
"to_address": "steve@example.com",
|
232
|
+
"email_type": "user_private_message",
|
233
|
+
"user_id": 4,
|
234
|
+
"created_at": "2015-01-01T01:01:33.200Z",
|
235
|
+
"skipped": false,
|
236
|
+
"user": {
|
237
|
+
"id": 4,
|
238
|
+
"username": "steve",
|
239
|
+
"uploaded_avatar_id": null,
|
240
|
+
"avatar_template": "/letter_avatar/steve/{size}/2.png"
|
241
|
+
}
|
242
|
+
},
|
243
|
+
{
|
244
|
+
"id": 48,
|
245
|
+
"reply_key": null,
|
246
|
+
"to_address": "steve@example.com",
|
247
|
+
"email_type": "signup",
|
248
|
+
"user_id": 4,
|
249
|
+
"created_at": "2015-01-01T01:01:33.141Z",
|
250
|
+
"skipped": false,
|
251
|
+
"user": {
|
252
|
+
"id": 4,
|
253
|
+
"username": "steve",
|
254
|
+
"uploaded_avatar_id": null,
|
255
|
+
"avatar_template": "/letter_avatar/steve/{size}/2.png"
|
256
|
+
}
|
257
|
+
},
|
258
|
+
{
|
259
|
+
"id": 47,
|
260
|
+
"reply_key": null,
|
261
|
+
"to_address": "steve999@example.com",
|
262
|
+
"email_type": "authorize_email",
|
263
|
+
"user_id": 4,
|
264
|
+
"created_at": "2015-01-01T01:01:32.846Z",
|
265
|
+
"skipped": false,
|
266
|
+
"user": {
|
267
|
+
"id": 4,
|
268
|
+
"username": "steve",
|
269
|
+
"uploaded_avatar_id": null,
|
270
|
+
"avatar_template": "/letter_avatar/steve/{size}/2.png"
|
271
|
+
}
|
272
|
+
},
|
273
|
+
{
|
274
|
+
"id": 46,
|
275
|
+
"reply_key": null,
|
276
|
+
"to_address": "steve345@example.com",
|
277
|
+
"email_type": "authorize_email",
|
278
|
+
"user_id": 4,
|
279
|
+
"created_at": "2015-01-01T01:01:32.844Z",
|
280
|
+
"skipped": false,
|
281
|
+
"user": {
|
282
|
+
"id": 4,
|
283
|
+
"username": "steve",
|
284
|
+
"uploaded_avatar_id": null,
|
285
|
+
"avatar_template": "/letter_avatar/steve/{size}/2.png"
|
286
|
+
}
|
287
|
+
},
|
288
|
+
{
|
289
|
+
"id": 45,
|
290
|
+
"reply_key": null,
|
291
|
+
"to_address": "robin3@gotham.com",
|
292
|
+
"email_type": "authorize_email",
|
293
|
+
"user_id": 2,
|
294
|
+
"created_at": "2015-01-01T01:01:24.446Z",
|
295
|
+
"skipped": false,
|
296
|
+
"user": {
|
297
|
+
"id": 2,
|
298
|
+
"username": "robin",
|
299
|
+
"uploaded_avatar_id": 3,
|
300
|
+
"avatar_template": "/user_avatar/localhost/robin/{size}/3.png"
|
301
|
+
}
|
302
|
+
},
|
303
|
+
{
|
304
|
+
"id": 44,
|
305
|
+
"reply_key": null,
|
306
|
+
"to_address": "robin3@gotham.com",
|
307
|
+
"email_type": "authorize_email",
|
308
|
+
"user_id": 2,
|
309
|
+
"created_at": "2015-01-01T01:01:24.445Z",
|
310
|
+
"skipped": false,
|
311
|
+
"user": {
|
312
|
+
"id": 2,
|
313
|
+
"username": "robin",
|
314
|
+
"uploaded_avatar_id": 3,
|
315
|
+
"avatar_template": "/user_avatar/localhost/robin/{size}/3.png"
|
316
|
+
}
|
317
|
+
},
|
318
|
+
{
|
319
|
+
"id": 43,
|
320
|
+
"reply_key": null,
|
321
|
+
"to_address": "robin3@gotham.com",
|
322
|
+
"email_type": "authorize_email",
|
323
|
+
"user_id": 2,
|
324
|
+
"created_at": "2015-01-01T01:01:24.444Z",
|
325
|
+
"skipped": false,
|
326
|
+
"user": {
|
327
|
+
"id": 2,
|
328
|
+
"username": "robin",
|
329
|
+
"uploaded_avatar_id": 3,
|
330
|
+
"avatar_template": "/user_avatar/localhost/robin/{size}/3.png"
|
331
|
+
}
|
332
|
+
},
|
333
|
+
{
|
334
|
+
"id": 42,
|
335
|
+
"reply_key": null,
|
336
|
+
"to_address": "robin3@gotham.com",
|
337
|
+
"email_type": "authorize_email",
|
338
|
+
"user_id": 2,
|
339
|
+
"created_at": "2015-01-01T01:01:24.441Z",
|
340
|
+
"skipped": false,
|
341
|
+
"user": {
|
342
|
+
"id": 2,
|
343
|
+
"username": "robin",
|
344
|
+
"uploaded_avatar_id": 3,
|
345
|
+
"avatar_template": "/user_avatar/localhost/robin/{size}/3.png"
|
346
|
+
}
|
347
|
+
},
|
348
|
+
{
|
349
|
+
"id": 41,
|
350
|
+
"reply_key": null,
|
351
|
+
"to_address": "no_email_found",
|
352
|
+
"email_type": "signup",
|
353
|
+
"user_id": null,
|
354
|
+
"created_at": "2014-12-31T18:12:05.707Z",
|
355
|
+
"skipped": true,
|
356
|
+
"skipped_reason": "Can't find user with id 6",
|
357
|
+
"user": null
|
358
|
+
},
|
359
|
+
{
|
360
|
+
"id": 40,
|
361
|
+
"reply_key": null,
|
362
|
+
"to_address": "foo@bar.com",
|
363
|
+
"email_type": "authorize_email",
|
364
|
+
"user_id": 8,
|
365
|
+
"created_at": "2014-12-31T17:56:39.302Z",
|
366
|
+
"skipped": false,
|
367
|
+
"user": {
|
368
|
+
"id": 8,
|
369
|
+
"username": "dave",
|
370
|
+
"uploaded_avatar_id": null,
|
371
|
+
"avatar_template": "/letter_avatar/dave/{size}/2.png"
|
372
|
+
}
|
373
|
+
},
|
374
|
+
{
|
375
|
+
"id": 39,
|
376
|
+
"reply_key": null,
|
377
|
+
"to_address": "dave2@example.com",
|
378
|
+
"email_type": "user_private_message",
|
379
|
+
"user_id": 9,
|
380
|
+
"created_at": "2014-12-31T17:56:21.004Z",
|
381
|
+
"skipped": false,
|
382
|
+
"user": {
|
383
|
+
"id": 9,
|
384
|
+
"username": "dave2",
|
385
|
+
"uploaded_avatar_id": null,
|
386
|
+
"avatar_template": "/letter_avatar/dave2/{size}/2.png"
|
387
|
+
}
|
388
|
+
},
|
389
|
+
{
|
390
|
+
"id": 38,
|
391
|
+
"reply_key": null,
|
392
|
+
"to_address": "fake@example.com",
|
393
|
+
"email_type": "signup",
|
394
|
+
"user_id": 16,
|
395
|
+
"created_at": "2014-12-31T17:54:32.454Z",
|
396
|
+
"skipped": false,
|
397
|
+
"user": {
|
398
|
+
"id": 16,
|
399
|
+
"username": "carl",
|
400
|
+
"uploaded_avatar_id": null,
|
401
|
+
"avatar_template": "/letter_avatar/carl/{size}/2.png"
|
402
|
+
}
|
403
|
+
},
|
404
|
+
{
|
405
|
+
"id": 37,
|
406
|
+
"reply_key": null,
|
407
|
+
"to_address": "test_user2@example.com",
|
408
|
+
"email_type": "authorize_email",
|
409
|
+
"user_id": 1,
|
410
|
+
"created_at": "2014-12-31T17:53:48.162Z",
|
411
|
+
"skipped": false,
|
412
|
+
"user": {
|
413
|
+
"id": 1,
|
414
|
+
"username": "test_user",
|
415
|
+
"uploaded_avatar_id": 7,
|
416
|
+
"avatar_template": "/user_avatar/localhost/test_user/{size}/7.png"
|
417
|
+
}
|
418
|
+
},
|
419
|
+
{
|
420
|
+
"id": 36,
|
421
|
+
"reply_key": null,
|
422
|
+
"to_address": "foo@bar.com",
|
423
|
+
"email_type": "authorize_email",
|
424
|
+
"user_id": 7,
|
425
|
+
"created_at": "2014-12-31T17:13:15.797Z",
|
426
|
+
"skipped": false,
|
427
|
+
"user": {
|
428
|
+
"id": 7,
|
429
|
+
"username": "phil12",
|
430
|
+
"uploaded_avatar_id": null,
|
431
|
+
"avatar_template": "/letter_avatar/phil12/{size}/2.png"
|
432
|
+
}
|
433
|
+
},
|
434
|
+
{
|
435
|
+
"id": 35,
|
436
|
+
"reply_key": null,
|
437
|
+
"to_address": "batman@gotham.com",
|
438
|
+
"email_type": "authorize_email",
|
439
|
+
"user_id": 7,
|
440
|
+
"created_at": "2014-12-31T17:13:06.259Z",
|
441
|
+
"skipped": false,
|
442
|
+
"user": {
|
443
|
+
"id": 7,
|
444
|
+
"username": "phil12",
|
445
|
+
"uploaded_avatar_id": null,
|
446
|
+
"avatar_template": "/letter_avatar/phil12/{size}/2.png"
|
447
|
+
}
|
448
|
+
},
|
449
|
+
{
|
450
|
+
"id": 34,
|
451
|
+
"reply_key": null,
|
452
|
+
"to_address": "dave7@example.com",
|
453
|
+
"email_type": "signup",
|
454
|
+
"user_id": 14,
|
455
|
+
"created_at": "2014-12-31T17:12:43.031Z",
|
456
|
+
"skipped": false,
|
457
|
+
"user": {
|
458
|
+
"id": 14,
|
459
|
+
"username": "dave7",
|
460
|
+
"uploaded_avatar_id": null,
|
461
|
+
"avatar_template": "/letter_avatar/dave7/{size}/2.png"
|
462
|
+
}
|
463
|
+
},
|
464
|
+
{
|
465
|
+
"id": 33,
|
466
|
+
"reply_key": null,
|
467
|
+
"to_address": "batman@gotham.com",
|
468
|
+
"email_type": "authorize_email",
|
469
|
+
"user_id": 2,
|
470
|
+
"created_at": "2014-12-31T17:12:43.017Z",
|
471
|
+
"skipped": false,
|
472
|
+
"user": {
|
473
|
+
"id": 2,
|
474
|
+
"username": "robin",
|
475
|
+
"uploaded_avatar_id": 3,
|
476
|
+
"avatar_template": "/user_avatar/localhost/robin/{size}/3.png"
|
477
|
+
}
|
478
|
+
},
|
479
|
+
{
|
480
|
+
"id": 32,
|
481
|
+
"reply_key": null,
|
482
|
+
"to_address": "batman@gotham.com",
|
483
|
+
"email_type": "authorize_email",
|
484
|
+
"user_id": 2,
|
485
|
+
"created_at": "2014-12-31T17:12:43.010Z",
|
486
|
+
"skipped": false,
|
487
|
+
"user": {
|
488
|
+
"id": 2,
|
489
|
+
"username": "robin",
|
490
|
+
"uploaded_avatar_id": 3,
|
491
|
+
"avatar_template": "/user_avatar/localhost/robin/{size}/3.png"
|
492
|
+
}
|
493
|
+
},
|
494
|
+
{
|
495
|
+
"id": 31,
|
496
|
+
"reply_key": null,
|
497
|
+
"to_address": "batman@gotham.com",
|
498
|
+
"email_type": "authorize_email",
|
499
|
+
"user_id": 1,
|
500
|
+
"created_at": "2014-12-31T17:12:43.007Z",
|
501
|
+
"skipped": false,
|
502
|
+
"user": {
|
503
|
+
"id": 1,
|
504
|
+
"username": "test_user",
|
505
|
+
"uploaded_avatar_id": 7,
|
506
|
+
"avatar_template": "/user_avatar/localhost/test_user/{size}/7.png"
|
507
|
+
}
|
508
|
+
},
|
509
|
+
{
|
510
|
+
"id": 30,
|
511
|
+
"reply_key": null,
|
512
|
+
"to_address": "foo@bar.com",
|
513
|
+
"email_type": "authorize_email",
|
514
|
+
"user_id": 7,
|
515
|
+
"created_at": "2014-12-31T17:12:42.959Z",
|
516
|
+
"skipped": false,
|
517
|
+
"user": {
|
518
|
+
"id": 7,
|
519
|
+
"username": "phil12",
|
520
|
+
"uploaded_avatar_id": null,
|
521
|
+
"avatar_template": "/letter_avatar/phil12/{size}/2.png"
|
522
|
+
}
|
523
|
+
},
|
524
|
+
{
|
525
|
+
"id": 29,
|
526
|
+
"reply_key": null,
|
527
|
+
"to_address": "dave4@example.com",
|
528
|
+
"email_type": "signup",
|
529
|
+
"user_id": 11,
|
530
|
+
"created_at": "2014-12-31T17:11:51.195Z",
|
531
|
+
"skipped": false,
|
532
|
+
"user": {
|
533
|
+
"id": 11,
|
534
|
+
"username": "dave4",
|
535
|
+
"uploaded_avatar_id": null,
|
536
|
+
"avatar_template": "/letter_avatar/dave4/{size}/2.png"
|
537
|
+
}
|
538
|
+
},
|
539
|
+
{
|
540
|
+
"id": 28,
|
541
|
+
"reply_key": null,
|
542
|
+
"to_address": "batman@gotham.com",
|
543
|
+
"email_type": "authorize_email",
|
544
|
+
"user_id": 2,
|
545
|
+
"created_at": "2014-12-31T17:11:51.193Z",
|
546
|
+
"skipped": false,
|
547
|
+
"user": {
|
548
|
+
"id": 2,
|
549
|
+
"username": "robin",
|
550
|
+
"uploaded_avatar_id": 3,
|
551
|
+
"avatar_template": "/user_avatar/localhost/robin/{size}/3.png"
|
552
|
+
}
|
553
|
+
},
|
554
|
+
{
|
555
|
+
"id": 27,
|
556
|
+
"reply_key": null,
|
557
|
+
"to_address": "dave5@example.com",
|
558
|
+
"email_type": "signup",
|
559
|
+
"user_id": 12,
|
560
|
+
"created_at": "2014-12-31T17:11:51.192Z",
|
561
|
+
"skipped": false,
|
562
|
+
"user": {
|
563
|
+
"id": 12,
|
564
|
+
"username": "dave5",
|
565
|
+
"uploaded_avatar_id": null,
|
566
|
+
"avatar_template": "/letter_avatar/dave5/{size}/2.png"
|
567
|
+
}
|
568
|
+
},
|
569
|
+
{
|
570
|
+
"id": 26,
|
571
|
+
"reply_key": null,
|
572
|
+
"to_address": "foo@bar.com",
|
573
|
+
"email_type": "authorize_email",
|
574
|
+
"user_id": 8,
|
575
|
+
"created_at": "2014-12-31T17:11:51.144Z",
|
576
|
+
"skipped": false,
|
577
|
+
"user": {
|
578
|
+
"id": 8,
|
579
|
+
"username": "dave",
|
580
|
+
"uploaded_avatar_id": null,
|
581
|
+
"avatar_template": "/letter_avatar/dave/{size}/2.png"
|
582
|
+
}
|
583
|
+
},
|
584
|
+
{
|
585
|
+
"id": 25,
|
586
|
+
"reply_key": null,
|
587
|
+
"to_address": "dave6@example.com",
|
588
|
+
"email_type": "signup",
|
589
|
+
"user_id": 13,
|
590
|
+
"created_at": "2014-12-31T17:11:14.401Z",
|
591
|
+
"skipped": false,
|
592
|
+
"user": {
|
593
|
+
"id": 13,
|
594
|
+
"username": "dave6",
|
595
|
+
"uploaded_avatar_id": null,
|
596
|
+
"avatar_template": "/letter_avatar/dave6/{size}/2.png"
|
597
|
+
}
|
598
|
+
},
|
599
|
+
{
|
600
|
+
"id": 24,
|
601
|
+
"reply_key": null,
|
602
|
+
"to_address": "test_user2@example.com",
|
603
|
+
"email_type": "authorize_email",
|
604
|
+
"user_id": 1,
|
605
|
+
"created_at": "2014-12-31T17:11:14.399Z",
|
606
|
+
"skipped": false,
|
607
|
+
"user": {
|
608
|
+
"id": 1,
|
609
|
+
"username": "test_user",
|
610
|
+
"uploaded_avatar_id": 7,
|
611
|
+
"avatar_template": "/user_avatar/localhost/test_user/{size}/7.png"
|
612
|
+
}
|
613
|
+
},
|
614
|
+
{
|
615
|
+
"id": 23,
|
616
|
+
"reply_key": null,
|
617
|
+
"to_address": "batman@gotham.com",
|
618
|
+
"email_type": "authorize_email",
|
619
|
+
"user_id": 7,
|
620
|
+
"created_at": "2014-12-31T17:11:14.398Z",
|
621
|
+
"skipped": false,
|
622
|
+
"user": {
|
623
|
+
"id": 7,
|
624
|
+
"username": "phil12",
|
625
|
+
"uploaded_avatar_id": null,
|
626
|
+
"avatar_template": "/letter_avatar/phil12/{size}/2.png"
|
627
|
+
}
|
628
|
+
},
|
629
|
+
{
|
630
|
+
"id": 22,
|
631
|
+
"reply_key": null,
|
632
|
+
"to_address": "foo@bar.com",
|
633
|
+
"email_type": "authorize_email",
|
634
|
+
"user_id": 7,
|
635
|
+
"created_at": "2014-12-31T17:10:28.274Z",
|
636
|
+
"skipped": false,
|
637
|
+
"user": {
|
638
|
+
"id": 7,
|
639
|
+
"username": "phil12",
|
640
|
+
"uploaded_avatar_id": null,
|
641
|
+
"avatar_template": "/letter_avatar/phil12/{size}/2.png"
|
642
|
+
}
|
643
|
+
},
|
644
|
+
{
|
645
|
+
"id": 21,
|
646
|
+
"reply_key": null,
|
647
|
+
"to_address": "batman@gotham.com",
|
648
|
+
"email_type": "authorize_email",
|
649
|
+
"user_id": 2,
|
650
|
+
"created_at": "2014-12-31T17:10:28.257Z",
|
651
|
+
"skipped": false,
|
652
|
+
"user": {
|
653
|
+
"id": 2,
|
654
|
+
"username": "robin",
|
655
|
+
"uploaded_avatar_id": 3,
|
656
|
+
"avatar_template": "/user_avatar/localhost/robin/{size}/3.png"
|
657
|
+
}
|
658
|
+
},
|
659
|
+
{
|
660
|
+
"id": 20,
|
661
|
+
"reply_key": null,
|
662
|
+
"to_address": "steve123@example.com",
|
663
|
+
"email_type": "authorize_email",
|
664
|
+
"user_id": 4,
|
665
|
+
"created_at": "2014-12-31T17:10:28.252Z",
|
666
|
+
"skipped": false,
|
667
|
+
"user": {
|
668
|
+
"id": 4,
|
669
|
+
"username": "steve",
|
670
|
+
"uploaded_avatar_id": null,
|
671
|
+
"avatar_template": "/letter_avatar/steve/{size}/2.png"
|
672
|
+
}
|
673
|
+
},
|
674
|
+
{
|
675
|
+
"id": 19,
|
676
|
+
"reply_key": null,
|
677
|
+
"to_address": "steve123@example.com",
|
678
|
+
"email_type": "authorize_email",
|
679
|
+
"user_id": 4,
|
680
|
+
"created_at": "2014-12-31T17:10:03.163Z",
|
681
|
+
"skipped": false,
|
682
|
+
"user": {
|
683
|
+
"id": 4,
|
684
|
+
"username": "steve",
|
685
|
+
"uploaded_avatar_id": null,
|
686
|
+
"avatar_template": "/letter_avatar/steve/{size}/2.png"
|
687
|
+
}
|
688
|
+
},
|
689
|
+
{
|
690
|
+
"id": 18,
|
691
|
+
"reply_key": null,
|
692
|
+
"to_address": "dave8@example.com",
|
693
|
+
"email_type": "signup",
|
694
|
+
"user_id": 15,
|
695
|
+
"created_at": "2014-12-31T17:09:30.028Z",
|
696
|
+
"skipped": false,
|
697
|
+
"user": {
|
698
|
+
"id": 15,
|
699
|
+
"username": "dave8",
|
700
|
+
"uploaded_avatar_id": null,
|
701
|
+
"avatar_template": "/letter_avatar/dave8/{size}/2.png"
|
702
|
+
}
|
703
|
+
},
|
704
|
+
{
|
705
|
+
"id": 17,
|
706
|
+
"reply_key": null,
|
707
|
+
"to_address": "dave3@example.com",
|
708
|
+
"email_type": "signup",
|
709
|
+
"user_id": 10,
|
710
|
+
"created_at": "2014-12-31T17:09:30.011Z",
|
711
|
+
"skipped": false,
|
712
|
+
"user": {
|
713
|
+
"id": 10,
|
714
|
+
"username": "dave3",
|
715
|
+
"uploaded_avatar_id": null,
|
716
|
+
"avatar_template": "/letter_avatar/dave3/{size}/2.png"
|
717
|
+
}
|
718
|
+
},
|
719
|
+
{
|
720
|
+
"id": 16,
|
721
|
+
"reply_key": null,
|
722
|
+
"to_address": "batman@gotham.com",
|
723
|
+
"email_type": "authorize_email",
|
724
|
+
"user_id": 2,
|
725
|
+
"created_at": "2014-12-31T17:09:30.005Z",
|
726
|
+
"skipped": false,
|
727
|
+
"user": {
|
728
|
+
"id": 2,
|
729
|
+
"username": "robin",
|
730
|
+
"uploaded_avatar_id": 3,
|
731
|
+
"avatar_template": "/user_avatar/localhost/robin/{size}/3.png"
|
732
|
+
}
|
733
|
+
},
|
734
|
+
{
|
735
|
+
"id": 15,
|
736
|
+
"reply_key": null,
|
737
|
+
"to_address": "batman@gotham.com",
|
738
|
+
"email_type": "authorize_email",
|
739
|
+
"user_id": 7,
|
740
|
+
"created_at": "2014-12-31T17:09:29.997Z",
|
741
|
+
"skipped": false,
|
742
|
+
"user": {
|
743
|
+
"id": 7,
|
744
|
+
"username": "phil12",
|
745
|
+
"uploaded_avatar_id": null,
|
746
|
+
"avatar_template": "/letter_avatar/phil12/{size}/2.png"
|
747
|
+
}
|
748
|
+
}
|
749
|
+
]
|