yammer_api 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +18 -0
- data/Gemfile +4 -0
- data/LICENSE +22 -0
- data/README.md +29 -0
- data/Rakefile +2 -0
- data/lib/yammer_api.rb +33 -0
- data/lib/yammer_api/api.rb +8 -0
- data/lib/yammer_api/api/feed.rb +195 -0
- data/lib/yammer_api/api/likes.rb +33 -0
- data/lib/yammer_api/api/messages.rb +65 -0
- data/lib/yammer_api/api/users.rb +22 -0
- data/lib/yammer_api/base.rb +41 -0
- data/lib/yammer_api/client.rb +31 -0
- data/lib/yammer_api/errors.rb +35 -0
- data/lib/yammer_api/helper.rb +10 -0
- data/lib/yammer_api/mash.rb +13 -0
- data/lib/yammer_api/post.rb +39 -0
- data/lib/yammer_api/request/request.rb +83 -0
- data/lib/yammer_api/user.rb +24 -0
- data/lib/yammer_api/version.rb +3 -0
- data/spec/cases/client_spec.rb +66 -0
- data/spec/cases/post_spec.rb +26 -0
- data/spec/cases/user_spec.rb +30 -0
- data/spec/cases/yammer_api_spec.rb +14 -0
- data/spec/fixtures/about_topic.json +103 -0
- data/spec/fixtures/following.json +388 -0
- data/spec/fixtures/from_user.json +272 -0
- data/spec/fixtures/in_group.json +92 -0
- data/spec/fixtures/network_feed.json +1 -0
- data/spec/fixtures/newly_posted.json +75 -0
- data/spec/fixtures/private.json +120 -0
- data/spec/fixtures/received.json +100 -0
- data/spec/fixtures/sent.json +80 -0
- data/spec/fixtures/single_post.json +55 -0
- data/spec/fixtures/single_user.json +16 -0
- data/spec/spec_helper.rb +15 -0
- data/yammer_api.gemspec +28 -0
- metadata +187 -0
@@ -0,0 +1,388 @@
|
|
1
|
+
{
|
2
|
+
"messages": [
|
3
|
+
{
|
4
|
+
"client_type": "Web",
|
5
|
+
"direct_message": false,
|
6
|
+
"created_at": "2011/02/18 00:04:51 +0000",
|
7
|
+
"thread_id": 79392326,
|
8
|
+
"web_url": "https://www.yammer.com/yammerdeveloperstestcommunity/messages/79392580",
|
9
|
+
"network_id": 104604,
|
10
|
+
"message_type": "update",
|
11
|
+
"id": 79392580,
|
12
|
+
"url": "https://www.yammer.com/api/v1/messages/79392580",
|
13
|
+
"sender_id": 4022984,
|
14
|
+
"replied_to_id": 79392326,
|
15
|
+
"client_url": "https://www.yammer.com/",
|
16
|
+
"privacy": "public",
|
17
|
+
"attachments": [],
|
18
|
+
"sender_type": "user",
|
19
|
+
"liked_by": {
|
20
|
+
"count": 0,
|
21
|
+
"names": []
|
22
|
+
},
|
23
|
+
"system_message": false,
|
24
|
+
"body": {
|
25
|
+
"parsed": "It helps if I use the down arrow and select [[user:4022984]]",
|
26
|
+
"plain": "It helps if I use the down arrow and select @mikealrogers-guest"
|
27
|
+
}
|
28
|
+
},
|
29
|
+
{
|
30
|
+
"client_type": "Web",
|
31
|
+
"direct_message": false,
|
32
|
+
"created_at": "2011/02/18 00:02:57 +0000",
|
33
|
+
"thread_id": 79392326,
|
34
|
+
"web_url": "https://www.yammer.com/yammerdeveloperstestcommunity/messages/79392326",
|
35
|
+
"network_id": 104604,
|
36
|
+
"message_type": "update",
|
37
|
+
"id": 79392326,
|
38
|
+
"url": "https://www.yammer.com/api/v1/messages/79392326",
|
39
|
+
"sender_id": 4022984,
|
40
|
+
"replied_to_id": null,
|
41
|
+
"client_url": "https://www.yammer.com/",
|
42
|
+
"privacy": "public",
|
43
|
+
"attachments": [],
|
44
|
+
"sender_type": "user",
|
45
|
+
"liked_by": {
|
46
|
+
"count": 0,
|
47
|
+
"names": []
|
48
|
+
},
|
49
|
+
"system_message": false,
|
50
|
+
"body": {
|
51
|
+
"parsed": "I can @mikeal reply myself.",
|
52
|
+
"plain": "I can @mikeal reply myself."
|
53
|
+
}
|
54
|
+
},
|
55
|
+
{
|
56
|
+
"client_type": "Web",
|
57
|
+
"direct_message": false,
|
58
|
+
"thread_id": 78654647,
|
59
|
+
"created_at": "2011/02/12 02:41:14 +0000",
|
60
|
+
"web_url": "https://www.yammer.com/yammerdeveloperstestcommunity/messages/78654647",
|
61
|
+
"network_id": 104604,
|
62
|
+
"message_type": "update",
|
63
|
+
"id": 78654647,
|
64
|
+
"url": "https://www.yammer.com/api/v1/messages/78654647",
|
65
|
+
"sender_id": 1452329,
|
66
|
+
"replied_to_id": null,
|
67
|
+
"client_url": "https://www.yammer.com/",
|
68
|
+
"privacy": "public",
|
69
|
+
"attachments": [],
|
70
|
+
"sender_type": "user",
|
71
|
+
"liked_by": {
|
72
|
+
"count": 0,
|
73
|
+
"names": []
|
74
|
+
},
|
75
|
+
"system_message": false,
|
76
|
+
"body": {
|
77
|
+
"parsed": "Here's a message with a Topic Application.",
|
78
|
+
"plain": "Here's a message with a Topic Application."
|
79
|
+
}
|
80
|
+
},
|
81
|
+
{
|
82
|
+
"client_type": "Web",
|
83
|
+
"direct_message": false,
|
84
|
+
"thread_id": 78654634,
|
85
|
+
"created_at": "2011/02/12 02:40:44 +0000",
|
86
|
+
"web_url": "https://www.yammer.com/yammerdeveloperstestcommunity/messages/78654634",
|
87
|
+
"network_id": 104604,
|
88
|
+
"message_type": "update",
|
89
|
+
"id": 78654634,
|
90
|
+
"url": "https://www.yammer.com/api/v1/messages/78654634",
|
91
|
+
"client_url": "https://www.yammer.com/",
|
92
|
+
"sender_id": 1452329,
|
93
|
+
"replied_to_id": null,
|
94
|
+
"privacy": "public",
|
95
|
+
"attachments": [
|
96
|
+
{
|
97
|
+
"type": "image",
|
98
|
+
"web_url": "https://www.yammer.com/yammerdeveloperstestcommunity/images/849667",
|
99
|
+
"image": {
|
100
|
+
"url": "https://www.yammer.com/api/v1/images/849667.png",
|
101
|
+
"size": 41646,
|
102
|
+
"thumbnail_url": "https://www.yammer.com/api/v1/images/849667/medium.png"
|
103
|
+
},
|
104
|
+
"content_type": "image/png",
|
105
|
+
"name": "angry_unicorn.png",
|
106
|
+
"id": 849667
|
107
|
+
}
|
108
|
+
],
|
109
|
+
"sender_type": "user",
|
110
|
+
"liked_by": {
|
111
|
+
"count": 0,
|
112
|
+
"names": []
|
113
|
+
},
|
114
|
+
"system_message": false,
|
115
|
+
"body": {
|
116
|
+
"parsed": "Unicorns are Awesome, here's a photo of a Unicorn.",
|
117
|
+
"plain": "Unicorns are Awesome, here's a photo of a Unicorn."
|
118
|
+
}
|
119
|
+
},
|
120
|
+
{
|
121
|
+
"client_type": "Web",
|
122
|
+
"direct_message": false,
|
123
|
+
"created_at": "2011/02/12 02:40:10 +0000",
|
124
|
+
"thread_id": 78648632,
|
125
|
+
"web_url": "https://www.yammer.com/yammerdeveloperstestcommunity/messages/78654623",
|
126
|
+
"network_id": 104604,
|
127
|
+
"message_type": "update",
|
128
|
+
"id": 78654623,
|
129
|
+
"url": "https://www.yammer.com/api/v1/messages/78654623",
|
130
|
+
"sender_id": 1452329,
|
131
|
+
"replied_to_id": 78648632,
|
132
|
+
"client_url": "https://www.yammer.com/",
|
133
|
+
"privacy": "public",
|
134
|
+
"attachments": [],
|
135
|
+
"sender_type": "user",
|
136
|
+
"liked_by": {
|
137
|
+
"count": 0,
|
138
|
+
"names": []
|
139
|
+
},
|
140
|
+
"system_message": false,
|
141
|
+
"body": {
|
142
|
+
"parsed": "Yes, that was very interesting.",
|
143
|
+
"plain": "Yes, that was very interesting."
|
144
|
+
}
|
145
|
+
},
|
146
|
+
{
|
147
|
+
"client_type": "Web",
|
148
|
+
"direct_message": false,
|
149
|
+
"created_at": "2011/02/12 00:43:55 +0000",
|
150
|
+
"thread_id": 78648632,
|
151
|
+
"web_url": "https://www.yammer.com/yammerdeveloperstestcommunity/messages/78648632",
|
152
|
+
"network_id": 104604,
|
153
|
+
"message_type": "update",
|
154
|
+
"id": 78648632,
|
155
|
+
"url": "https://www.yammer.com/api/v1/messages/78648632",
|
156
|
+
"sender_id": 4022984,
|
157
|
+
"replied_to_id": null,
|
158
|
+
"client_url": "https://www.yammer.com/",
|
159
|
+
"privacy": "public",
|
160
|
+
"attachments": [],
|
161
|
+
"sender_type": "user",
|
162
|
+
"liked_by": {
|
163
|
+
"count": 0,
|
164
|
+
"names": []
|
165
|
+
},
|
166
|
+
"system_message": false,
|
167
|
+
"body": {
|
168
|
+
"parsed": "Something interesting.",
|
169
|
+
"plain": "Something interesting."
|
170
|
+
}
|
171
|
+
},
|
172
|
+
{
|
173
|
+
"client_type": "Web",
|
174
|
+
"direct_message": false,
|
175
|
+
"thread_id": 43460838,
|
176
|
+
"created_at": "2010/05/04 22:40:15 +0000",
|
177
|
+
"web_url": "https://www.yammer.com/yammerdeveloperstestcommunity/messages/43460838",
|
178
|
+
"network_id": 104604,
|
179
|
+
"message_type": "system",
|
180
|
+
"id": 43460838,
|
181
|
+
"url": "https://www.yammer.com/api/v1/messages/43460838",
|
182
|
+
"sender_id": 1452329,
|
183
|
+
"replied_to_id": null,
|
184
|
+
"client_url": "https://www.yammer.com/",
|
185
|
+
"privacy": "public",
|
186
|
+
"attachments": [],
|
187
|
+
"sender_type": "user",
|
188
|
+
"liked_by": {
|
189
|
+
"count": 0,
|
190
|
+
"names": []
|
191
|
+
},
|
192
|
+
"system_message": true,
|
193
|
+
"body": {
|
194
|
+
"parsed": "has created the Yammer Developers Test Community community.",
|
195
|
+
"plain": "has created the Yammer Developers Test Community community."
|
196
|
+
}
|
197
|
+
}
|
198
|
+
],
|
199
|
+
"threaded_extended": {},
|
200
|
+
"meta": {
|
201
|
+
"last_seen_message_id": 79392326,
|
202
|
+
"current_user_id": 4022984,
|
203
|
+
"show_billing_banner": false,
|
204
|
+
"requested_poll_interval": 60,
|
205
|
+
"feed_name": "My Feed",
|
206
|
+
"unseen_message_count_following": 1,
|
207
|
+
"ymodules": [],
|
208
|
+
"feed_desc": "The messages you're following",
|
209
|
+
"unseen_message_count_received": 1,
|
210
|
+
"realtime": {
|
211
|
+
"uri": "https://93.rt.yammer.com/cometd/",
|
212
|
+
"authentication_token": "ukmnGDi2MXsT+7oh9qzBT1hRX3hVGUIAT0JcBYNt5Pd4nKtWKi1OLVKyMjEwMrK0MNFRykstKc8vylayMjQwMTMACqRWFGQWVQL5xgYGJgZmFhYWtQCdtA7X",
|
213
|
+
"channel_id": "phrVh"
|
214
|
+
}
|
215
|
+
},
|
216
|
+
"references": [
|
217
|
+
{
|
218
|
+
"type": "user",
|
219
|
+
"web_url": "https://www.yammer.com/yammerdeveloperstestcommunity/users/mikealrogers-guest",
|
220
|
+
"stats": {
|
221
|
+
"following": 0,
|
222
|
+
"followers": 1,
|
223
|
+
"updates": 3
|
224
|
+
},
|
225
|
+
"job_title": "Test Title",
|
226
|
+
"mugshot_url": "https://assets3.yammer.com/images/no_photo_small.gif",
|
227
|
+
"url": "https://www.yammer.com/api/v1/users/4022984",
|
228
|
+
"state": "active",
|
229
|
+
"full_name": "mikeal",
|
230
|
+
"name": "mikealrogers-guest",
|
231
|
+
"id": 4022984
|
232
|
+
},
|
233
|
+
{
|
234
|
+
"type": "user",
|
235
|
+
"web_url": "https://www.yammer.com/yammerdeveloperstestcommunity/users/mknopp",
|
236
|
+
"stats": {
|
237
|
+
"following": 2,
|
238
|
+
"followers": 0,
|
239
|
+
"updates": 4
|
240
|
+
},
|
241
|
+
"job_title": null,
|
242
|
+
"mugshot_url": "https://assets1.yammer.com/user_uploaded/photos/p1/0141/2640/n1644278019_46479_62_small.jpg",
|
243
|
+
"url": "https://www.yammer.com/api/v1/users/1452329",
|
244
|
+
"state": "active",
|
245
|
+
"full_name": "Matt Knopp",
|
246
|
+
"name": "mknopp",
|
247
|
+
"id": 1452329
|
248
|
+
},
|
249
|
+
{
|
250
|
+
"type": "thread",
|
251
|
+
"direct_message": false,
|
252
|
+
"web_url": "https://www.yammer.com/yammerdeveloperstestcommunity#/Threads/show?threadId=78654647",
|
253
|
+
"stats": {
|
254
|
+
"latest_reply_id": 78654647,
|
255
|
+
"updates": 1,
|
256
|
+
"latest_reply_at": "2011/02/12 02:41:14 +0000",
|
257
|
+
"first_reply_id": null,
|
258
|
+
"first_reply_at": null
|
259
|
+
},
|
260
|
+
"url": "https://www.yammer.com/api/v1/messages/in_thread/78654647",
|
261
|
+
"thread_starter_id": 78654647,
|
262
|
+
"privacy": "public",
|
263
|
+
"has_attachments": false,
|
264
|
+
"id": 78654647,
|
265
|
+
"topics": [
|
266
|
+
{
|
267
|
+
"type": "topic",
|
268
|
+
"id": 712836
|
269
|
+
}
|
270
|
+
]
|
271
|
+
},
|
272
|
+
{
|
273
|
+
"type": "thread",
|
274
|
+
"direct_message": false,
|
275
|
+
"web_url": "https://www.yammer.com/yammerdeveloperstestcommunity#/Threads/show?threadId=78648632",
|
276
|
+
"stats": {
|
277
|
+
"latest_reply_id": 78654623,
|
278
|
+
"updates": 2,
|
279
|
+
"latest_reply_at": "2011/02/12 02:40:10 +0000",
|
280
|
+
"first_reply_id": 78654623,
|
281
|
+
"first_reply_at": "2011/02/12 02:40:10 +0000"
|
282
|
+
},
|
283
|
+
"url": "https://www.yammer.com/api/v1/messages/in_thread/78648632",
|
284
|
+
"thread_starter_id": 78648632,
|
285
|
+
"privacy": "public",
|
286
|
+
"has_attachments": false,
|
287
|
+
"id": 78648632,
|
288
|
+
"topics": []
|
289
|
+
},
|
290
|
+
{
|
291
|
+
"type": "thread",
|
292
|
+
"direct_message": false,
|
293
|
+
"web_url": "https://www.yammer.com/yammerdeveloperstestcommunity#/Threads/show?threadId=79392326",
|
294
|
+
"stats": {
|
295
|
+
"latest_reply_id": 79392580,
|
296
|
+
"updates": 2,
|
297
|
+
"latest_reply_at": "2011/02/18 00:04:51 +0000",
|
298
|
+
"first_reply_id": 79392580,
|
299
|
+
"first_reply_at": "2011/02/18 00:04:51 +0000"
|
300
|
+
},
|
301
|
+
"url": "https://www.yammer.com/api/v1/messages/in_thread/79392326",
|
302
|
+
"thread_starter_id": 79392326,
|
303
|
+
"privacy": "public",
|
304
|
+
"has_attachments": false,
|
305
|
+
"id": 79392326,
|
306
|
+
"topics": []
|
307
|
+
},
|
308
|
+
{
|
309
|
+
"type": "thread",
|
310
|
+
"direct_message": false,
|
311
|
+
"web_url": "https://www.yammer.com/yammerdeveloperstestcommunity#/Threads/show?threadId=43460838",
|
312
|
+
"stats": {
|
313
|
+
"latest_reply_id": 43460838,
|
314
|
+
"updates": 1,
|
315
|
+
"latest_reply_at": "2010/05/04 22:40:15 +0000",
|
316
|
+
"first_reply_id": null,
|
317
|
+
"first_reply_at": null
|
318
|
+
},
|
319
|
+
"url": "https://www.yammer.com/api/v1/messages/in_thread/43460838",
|
320
|
+
"thread_starter_id": 43460838,
|
321
|
+
"privacy": "public",
|
322
|
+
"has_attachments": false,
|
323
|
+
"id": 43460838,
|
324
|
+
"topics": []
|
325
|
+
},
|
326
|
+
{
|
327
|
+
"type": "thread",
|
328
|
+
"direct_message": false,
|
329
|
+
"web_url": "https://www.yammer.com/yammerdeveloperstestcommunity#/Threads/show?threadId=78654634",
|
330
|
+
"stats": {
|
331
|
+
"latest_reply_id": 78654634,
|
332
|
+
"updates": 1,
|
333
|
+
"latest_reply_at": "2011/02/12 02:40:44 +0000",
|
334
|
+
"first_reply_id": null,
|
335
|
+
"first_reply_at": null
|
336
|
+
},
|
337
|
+
"url": "https://www.yammer.com/api/v1/messages/in_thread/78654634",
|
338
|
+
"thread_starter_id": 78654634,
|
339
|
+
"privacy": "public",
|
340
|
+
"has_attachments": false,
|
341
|
+
"id": 78654634,
|
342
|
+
"topics": []
|
343
|
+
},
|
344
|
+
{
|
345
|
+
"type": "message",
|
346
|
+
"created_at": "2011/02/12 00:43:55 +0000",
|
347
|
+
"thread_id": 78648632,
|
348
|
+
"web_url": "https://www.yammer.com/yammerdeveloperstestcommunity/messages/78648632",
|
349
|
+
"network_id": 104604,
|
350
|
+
"message_type": "update",
|
351
|
+
"url": "https://www.yammer.com/api/v1/messages/78648632",
|
352
|
+
"id": 78648632,
|
353
|
+
"sender_id": 4022984,
|
354
|
+
"replied_to_id": null,
|
355
|
+
"sender_type": "user",
|
356
|
+
"system_message": false,
|
357
|
+
"body": {
|
358
|
+
"plain": "Something interesting."
|
359
|
+
}
|
360
|
+
},
|
361
|
+
{
|
362
|
+
"type": "message",
|
363
|
+
"created_at": "2011/02/18 00:02:57 +0000",
|
364
|
+
"thread_id": 79392326,
|
365
|
+
"web_url": "https://www.yammer.com/yammerdeveloperstestcommunity/messages/79392326",
|
366
|
+
"network_id": 104604,
|
367
|
+
"message_type": "update",
|
368
|
+
"url": "https://www.yammer.com/api/v1/messages/79392326",
|
369
|
+
"id": 79392326,
|
370
|
+
"sender_id": 4022984,
|
371
|
+
"replied_to_id": null,
|
372
|
+
"sender_type": "user",
|
373
|
+
"system_message": false,
|
374
|
+
"body": {
|
375
|
+
"plain": "I can @mikeal reply myself."
|
376
|
+
}
|
377
|
+
},
|
378
|
+
{
|
379
|
+
"type": "topic",
|
380
|
+
"permalink": "interesting",
|
381
|
+
"web_url": "https://www.yammer.com/yammerdeveloperstestcommunity/topics/712836",
|
382
|
+
"url": "https://www.yammer.com/api/v1/topics/712836",
|
383
|
+
"name": "Interesting",
|
384
|
+
"normalized_name": "interesting",
|
385
|
+
"id": 712836
|
386
|
+
}
|
387
|
+
]
|
388
|
+
}
|
@@ -0,0 +1,272 @@
|
|
1
|
+
{
|
2
|
+
"messages": [
|
3
|
+
{
|
4
|
+
"direct_message": false,
|
5
|
+
"created_at": "2011/02/12 02:41:14 +0000",
|
6
|
+
"web_url": "https://www.yammer.com/yammerdeveloperstestcommunity/messages/78654647",
|
7
|
+
"network_id": 104604,
|
8
|
+
"message_type": "update",
|
9
|
+
"thread_id": 78654647,
|
10
|
+
"id": 78654647,
|
11
|
+
"url": "https://www.yammer.com/api/v1/messages/78654647",
|
12
|
+
"client_type": "Web",
|
13
|
+
"sender_id": 1452329,
|
14
|
+
"replied_to_id": null,
|
15
|
+
"client_url": "https://www.yammer.com/",
|
16
|
+
"privacy": "public",
|
17
|
+
"attachments": [],
|
18
|
+
"sender_type": "user",
|
19
|
+
"liked_by": {
|
20
|
+
"count": 0,
|
21
|
+
"names": []
|
22
|
+
},
|
23
|
+
"system_message": false,
|
24
|
+
"body": {
|
25
|
+
"parsed": "Here's a message with a Topic Application.",
|
26
|
+
"plain": "Here's a message with a Topic Application."
|
27
|
+
}
|
28
|
+
},
|
29
|
+
{
|
30
|
+
"direct_message": false,
|
31
|
+
"created_at": "2011/02/12 02:40:44 +0000",
|
32
|
+
"web_url": "https://www.yammer.com/yammerdeveloperstestcommunity/messages/78654634",
|
33
|
+
"network_id": 104604,
|
34
|
+
"message_type": "update",
|
35
|
+
"thread_id": 78654634,
|
36
|
+
"id": 78654634,
|
37
|
+
"url": "https://www.yammer.com/api/v1/messages/78654634",
|
38
|
+
"client_type": "Web",
|
39
|
+
"client_url": "https://www.yammer.com/",
|
40
|
+
"sender_id": 1452329,
|
41
|
+
"replied_to_id": null,
|
42
|
+
"privacy": "public",
|
43
|
+
"attachments": [
|
44
|
+
{
|
45
|
+
"type": "image",
|
46
|
+
"web_url": "https://www.yammer.com/yammerdeveloperstestcommunity/images/849667",
|
47
|
+
"image": {
|
48
|
+
"url": "https://www.yammer.com/api/v1/images/849667.png",
|
49
|
+
"size": 41646,
|
50
|
+
"thumbnail_url": "https://www.yammer.com/api/v1/images/849667/medium.png"
|
51
|
+
},
|
52
|
+
"content_type": "image/png",
|
53
|
+
"name": "angry_unicorn.png",
|
54
|
+
"id": 849667
|
55
|
+
}
|
56
|
+
],
|
57
|
+
"sender_type": "user",
|
58
|
+
"liked_by": {
|
59
|
+
"count": 0,
|
60
|
+
"names": []
|
61
|
+
},
|
62
|
+
"system_message": false,
|
63
|
+
"body": {
|
64
|
+
"parsed": "Unicorns are Awesome, here's a photo of a Unicorn.",
|
65
|
+
"plain": "Unicorns are Awesome, here's a photo of a Unicorn."
|
66
|
+
}
|
67
|
+
},
|
68
|
+
{
|
69
|
+
"direct_message": false,
|
70
|
+
"created_at": "2011/02/12 02:40:10 +0000",
|
71
|
+
"web_url": "https://www.yammer.com/yammerdeveloperstestcommunity/messages/78654623",
|
72
|
+
"network_id": 104604,
|
73
|
+
"message_type": "update",
|
74
|
+
"thread_id": 78648632,
|
75
|
+
"id": 78654623,
|
76
|
+
"url": "https://www.yammer.com/api/v1/messages/78654623",
|
77
|
+
"client_type": "Web",
|
78
|
+
"sender_id": 1452329,
|
79
|
+
"replied_to_id": 78648632,
|
80
|
+
"client_url": "https://www.yammer.com/",
|
81
|
+
"privacy": "public",
|
82
|
+
"attachments": [],
|
83
|
+
"sender_type": "user",
|
84
|
+
"liked_by": {
|
85
|
+
"count": 0,
|
86
|
+
"names": []
|
87
|
+
},
|
88
|
+
"system_message": false,
|
89
|
+
"body": {
|
90
|
+
"parsed": "Yes, that was very interesting.",
|
91
|
+
"plain": "Yes, that was very interesting."
|
92
|
+
}
|
93
|
+
},
|
94
|
+
{
|
95
|
+
"direct_message": false,
|
96
|
+
"created_at": "2010/05/04 22:40:15 +0000",
|
97
|
+
"web_url": "https://www.yammer.com/yammerdeveloperstestcommunity/messages/43460838",
|
98
|
+
"network_id": 104604,
|
99
|
+
"message_type": "system",
|
100
|
+
"thread_id": 43460838,
|
101
|
+
"id": 43460838,
|
102
|
+
"url": "https://www.yammer.com/api/v1/messages/43460838",
|
103
|
+
"client_type": "Web",
|
104
|
+
"sender_id": 1452329,
|
105
|
+
"replied_to_id": null,
|
106
|
+
"client_url": "https://www.yammer.com/",
|
107
|
+
"privacy": "public",
|
108
|
+
"attachments": [],
|
109
|
+
"sender_type": "user",
|
110
|
+
"liked_by": {
|
111
|
+
"count": 0,
|
112
|
+
"names": []
|
113
|
+
},
|
114
|
+
"system_message": true,
|
115
|
+
"body": {
|
116
|
+
"parsed": "has created the Yammer Developers Test Community community.",
|
117
|
+
"plain": "has created the Yammer Developers Test Community community."
|
118
|
+
}
|
119
|
+
}
|
120
|
+
],
|
121
|
+
"threaded_extended": {},
|
122
|
+
"meta": {
|
123
|
+
"current_user_id": 4022984,
|
124
|
+
"show_billing_banner": false,
|
125
|
+
"requested_poll_interval": 60,
|
126
|
+
"feed_name": "Matt Knopp's Messages",
|
127
|
+
"ymodules": [],
|
128
|
+
"feed_desc": "Messages from Matt Knopp",
|
129
|
+
"realtime": {
|
130
|
+
"uri": "https://15.rt.yammer.com/cometd/",
|
131
|
+
"authentication_token": "Qai72eneR5sfxZMfM4385iHm60X+pJYfctuy2QiXLhh4nKtWKi1OLVKyMjEwMrK0MNFRykstKc8vylayMjQwMTMACqRWFGQWVQL5xgYGJgbmhiYmtQCdiQ7J",
|
132
|
+
"channel_id": "SNFqn"
|
133
|
+
}
|
134
|
+
},
|
135
|
+
"references": [
|
136
|
+
{
|
137
|
+
"type": "user",
|
138
|
+
"job_title": "Test Title",
|
139
|
+
"web_url": "https://www.yammer.com/yammerdeveloperstestcommunity/users/mikealrogers-guest",
|
140
|
+
"stats": {
|
141
|
+
"following": 0,
|
142
|
+
"followers": 1,
|
143
|
+
"updates": 3
|
144
|
+
},
|
145
|
+
"mugshot_url": "https://assets3.yammer.com/images/no_photo_small.gif",
|
146
|
+
"url": "https://www.yammer.com/api/v1/users/4022984",
|
147
|
+
"state": "active",
|
148
|
+
"full_name": "mikeal",
|
149
|
+
"name": "mikealrogers-guest",
|
150
|
+
"id": 4022984
|
151
|
+
},
|
152
|
+
{
|
153
|
+
"type": "user",
|
154
|
+
"job_title": null,
|
155
|
+
"web_url": "https://www.yammer.com/yammerdeveloperstestcommunity/users/mknopp",
|
156
|
+
"stats": {
|
157
|
+
"following": 2,
|
158
|
+
"followers": 0,
|
159
|
+
"updates": 4
|
160
|
+
},
|
161
|
+
"mugshot_url": "https://assets1.yammer.com/user_uploaded/photos/p1/0141/2640/n1644278019_46479_62_small.jpg",
|
162
|
+
"url": "https://www.yammer.com/api/v1/users/1452329",
|
163
|
+
"state": "active",
|
164
|
+
"full_name": "Matt Knopp",
|
165
|
+
"name": "mknopp",
|
166
|
+
"id": 1452329
|
167
|
+
},
|
168
|
+
{
|
169
|
+
"type": "thread",
|
170
|
+
"direct_message": false,
|
171
|
+
"web_url": "https://www.yammer.com/yammerdeveloperstestcommunity#/Threads/show?threadId=78654647",
|
172
|
+
"stats": {
|
173
|
+
"latest_reply_id": 78654647,
|
174
|
+
"updates": 1,
|
175
|
+
"latest_reply_at": "2011/02/12 02:41:14 +0000",
|
176
|
+
"first_reply_id": null,
|
177
|
+
"first_reply_at": null
|
178
|
+
},
|
179
|
+
"url": "https://www.yammer.com/api/v1/messages/in_thread/78654647",
|
180
|
+
"thread_starter_id": 78654647,
|
181
|
+
"privacy": "public",
|
182
|
+
"has_attachments": false,
|
183
|
+
"id": 78654647,
|
184
|
+
"topics": [
|
185
|
+
{
|
186
|
+
"type": "topic",
|
187
|
+
"id": 712836
|
188
|
+
}
|
189
|
+
]
|
190
|
+
},
|
191
|
+
{
|
192
|
+
"type": "thread",
|
193
|
+
"direct_message": false,
|
194
|
+
"web_url": "https://www.yammer.com/yammerdeveloperstestcommunity#/Threads/show?threadId=78648632",
|
195
|
+
"stats": {
|
196
|
+
"latest_reply_id": 78654623,
|
197
|
+
"updates": 2,
|
198
|
+
"latest_reply_at": "2011/02/12 02:40:10 +0000",
|
199
|
+
"first_reply_id": 78654623,
|
200
|
+
"first_reply_at": "2011/02/12 02:40:10 +0000"
|
201
|
+
},
|
202
|
+
"url": "https://www.yammer.com/api/v1/messages/in_thread/78648632",
|
203
|
+
"thread_starter_id": 78648632,
|
204
|
+
"privacy": "public",
|
205
|
+
"has_attachments": false,
|
206
|
+
"id": 78648632,
|
207
|
+
"topics": []
|
208
|
+
},
|
209
|
+
{
|
210
|
+
"type": "thread",
|
211
|
+
"direct_message": false,
|
212
|
+
"web_url": "https://www.yammer.com/yammerdeveloperstestcommunity#/Threads/show?threadId=43460838",
|
213
|
+
"stats": {
|
214
|
+
"latest_reply_id": 43460838,
|
215
|
+
"updates": 1,
|
216
|
+
"latest_reply_at": "2010/05/04 22:40:15 +0000",
|
217
|
+
"first_reply_id": null,
|
218
|
+
"first_reply_at": null
|
219
|
+
},
|
220
|
+
"url": "https://www.yammer.com/api/v1/messages/in_thread/43460838",
|
221
|
+
"thread_starter_id": 43460838,
|
222
|
+
"privacy": "public",
|
223
|
+
"has_attachments": false,
|
224
|
+
"id": 43460838,
|
225
|
+
"topics": []
|
226
|
+
},
|
227
|
+
{
|
228
|
+
"type": "thread",
|
229
|
+
"direct_message": false,
|
230
|
+
"web_url": "https://www.yammer.com/yammerdeveloperstestcommunity#/Threads/show?threadId=78654634",
|
231
|
+
"stats": {
|
232
|
+
"latest_reply_id": 78654634,
|
233
|
+
"updates": 1,
|
234
|
+
"latest_reply_at": "2011/02/12 02:40:44 +0000",
|
235
|
+
"first_reply_id": null,
|
236
|
+
"first_reply_at": null
|
237
|
+
},
|
238
|
+
"url": "https://www.yammer.com/api/v1/messages/in_thread/78654634",
|
239
|
+
"thread_starter_id": 78654634,
|
240
|
+
"privacy": "public",
|
241
|
+
"has_attachments": false,
|
242
|
+
"id": 78654634,
|
243
|
+
"topics": []
|
244
|
+
},
|
245
|
+
{
|
246
|
+
"type": "message",
|
247
|
+
"created_at": "2011/02/12 00:43:55 +0000",
|
248
|
+
"web_url": "https://www.yammer.com/yammerdeveloperstestcommunity/messages/78648632",
|
249
|
+
"network_id": 104604,
|
250
|
+
"message_type": "update",
|
251
|
+
"thread_id": 78648632,
|
252
|
+
"url": "https://www.yammer.com/api/v1/messages/78648632",
|
253
|
+
"id": 78648632,
|
254
|
+
"sender_id": 4022984,
|
255
|
+
"replied_to_id": null,
|
256
|
+
"sender_type": "user",
|
257
|
+
"system_message": false,
|
258
|
+
"body": {
|
259
|
+
"plain": "Something interesting."
|
260
|
+
}
|
261
|
+
},
|
262
|
+
{
|
263
|
+
"type": "topic",
|
264
|
+
"permalink": "interesting",
|
265
|
+
"web_url": "https://www.yammer.com/yammerdeveloperstestcommunity/topics/712836",
|
266
|
+
"url": "https://www.yammer.com/api/v1/topics/712836",
|
267
|
+
"name": "Interesting",
|
268
|
+
"normalized_name": "interesting",
|
269
|
+
"id": 712836
|
270
|
+
}
|
271
|
+
]
|
272
|
+
}
|