discourse_api 0.10.1 → 0.11.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 -7
- data/CHANGELOG.md +99 -85
- 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 -33
- data/examples/backups.rb +18 -18
- data/examples/category.rb +21 -21
- data/examples/change_topic_status.rb +33 -0
- 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 -42
- 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 -65
- data/lib/discourse_api/api/users.rb +85 -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 -29
- 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 +227 -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 -0
- 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 +31 -28
@@ -1,69 +1,69 @@
|
|
1
|
-
{
|
2
|
-
"users": [
|
3
|
-
{
|
4
|
-
"id": 1,
|
5
|
-
"username": "test_user",
|
6
|
-
"uploaded_avatar_id": null,
|
7
|
-
"avatar_template": "/letter_avatar/test_user/{size}/2.png"
|
8
|
-
},
|
9
|
-
{
|
10
|
-
"id": 2,
|
11
|
-
"username": "batman",
|
12
|
-
"uploaded_avatar_id": 3,
|
13
|
-
"avatar_template": "/user_avatar/localhost/batman/{size}/3.png"
|
14
|
-
}
|
15
|
-
],
|
16
|
-
"topic_list": {
|
17
|
-
"can_create_topic": true,
|
18
|
-
"draft": null,
|
19
|
-
"draft_key": "new_topic",
|
20
|
-
"draft_sequence": 1,
|
21
|
-
"topics": [
|
22
|
-
{
|
23
|
-
"id": 11,
|
24
|
-
"title": "Welcome to Discourse!",
|
25
|
-
"fancy_title": "Welcome to Discourse!",
|
26
|
-
"slug": "welcome-to-discourse",
|
27
|
-
"posts_count": 1,
|
28
|
-
"reply_count": 0,
|
29
|
-
"highest_post_number": 1,
|
30
|
-
"image_url": "http://www.discourse.org/images/welcome/progress-bar.png",
|
31
|
-
"created_at": "2014-09-13T10:27:19.714-04:00",
|
32
|
-
"last_posted_at": "2014-09-13T10:27:20.140-04:00",
|
33
|
-
"bumped": true,
|
34
|
-
"bumped_at": "2014-09-13T10:27:20.140-04:00",
|
35
|
-
"unseen": false,
|
36
|
-
"last_read_post_number": 1,
|
37
|
-
"unread": 0,
|
38
|
-
"new_posts": 0,
|
39
|
-
"pinned": false,
|
40
|
-
"unpinned": null,
|
41
|
-
"visible": true,
|
42
|
-
"closed": false,
|
43
|
-
"archived": false,
|
44
|
-
"notification_level": 3,
|
45
|
-
"views": 1,
|
46
|
-
"like_count": 0,
|
47
|
-
"starred": false,
|
48
|
-
"has_summary": false,
|
49
|
-
"archetype": "private_message",
|
50
|
-
"last_poster_username": "test_user",
|
51
|
-
"category_id": null,
|
52
|
-
"posters": [
|
53
|
-
{
|
54
|
-
"extras": null,
|
55
|
-
"description": "Original Poster, Most Recent Poster",
|
56
|
-
"user_id": 1
|
57
|
-
}
|
58
|
-
],
|
59
|
-
"participants": [
|
60
|
-
{
|
61
|
-
"extras": null,
|
62
|
-
"description": null,
|
63
|
-
"user_id": 2
|
64
|
-
}
|
65
|
-
]
|
66
|
-
}
|
67
|
-
]
|
68
|
-
}
|
69
|
-
}
|
1
|
+
{
|
2
|
+
"users": [
|
3
|
+
{
|
4
|
+
"id": 1,
|
5
|
+
"username": "test_user",
|
6
|
+
"uploaded_avatar_id": null,
|
7
|
+
"avatar_template": "/letter_avatar/test_user/{size}/2.png"
|
8
|
+
},
|
9
|
+
{
|
10
|
+
"id": 2,
|
11
|
+
"username": "batman",
|
12
|
+
"uploaded_avatar_id": 3,
|
13
|
+
"avatar_template": "/user_avatar/localhost/batman/{size}/3.png"
|
14
|
+
}
|
15
|
+
],
|
16
|
+
"topic_list": {
|
17
|
+
"can_create_topic": true,
|
18
|
+
"draft": null,
|
19
|
+
"draft_key": "new_topic",
|
20
|
+
"draft_sequence": 1,
|
21
|
+
"topics": [
|
22
|
+
{
|
23
|
+
"id": 11,
|
24
|
+
"title": "Welcome to Discourse!",
|
25
|
+
"fancy_title": "Welcome to Discourse!",
|
26
|
+
"slug": "welcome-to-discourse",
|
27
|
+
"posts_count": 1,
|
28
|
+
"reply_count": 0,
|
29
|
+
"highest_post_number": 1,
|
30
|
+
"image_url": "http://www.discourse.org/images/welcome/progress-bar.png",
|
31
|
+
"created_at": "2014-09-13T10:27:19.714-04:00",
|
32
|
+
"last_posted_at": "2014-09-13T10:27:20.140-04:00",
|
33
|
+
"bumped": true,
|
34
|
+
"bumped_at": "2014-09-13T10:27:20.140-04:00",
|
35
|
+
"unseen": false,
|
36
|
+
"last_read_post_number": 1,
|
37
|
+
"unread": 0,
|
38
|
+
"new_posts": 0,
|
39
|
+
"pinned": false,
|
40
|
+
"unpinned": null,
|
41
|
+
"visible": true,
|
42
|
+
"closed": false,
|
43
|
+
"archived": false,
|
44
|
+
"notification_level": 3,
|
45
|
+
"views": 1,
|
46
|
+
"like_count": 0,
|
47
|
+
"starred": false,
|
48
|
+
"has_summary": false,
|
49
|
+
"archetype": "private_message",
|
50
|
+
"last_poster_username": "test_user",
|
51
|
+
"category_id": null,
|
52
|
+
"posters": [
|
53
|
+
{
|
54
|
+
"extras": null,
|
55
|
+
"description": "Original Poster, Most Recent Poster",
|
56
|
+
"user_id": 1
|
57
|
+
}
|
58
|
+
],
|
59
|
+
"participants": [
|
60
|
+
{
|
61
|
+
"extras": null,
|
62
|
+
"description": null,
|
63
|
+
"user_id": 2
|
64
|
+
}
|
65
|
+
]
|
66
|
+
}
|
67
|
+
]
|
68
|
+
}
|
69
|
+
}
|
@@ -1,7 +1,7 @@
|
|
1
|
-
{
|
2
|
-
"api_key": {
|
3
|
-
"id": 10,
|
4
|
-
"key": "d8a80230fd14531c9b4809c7800b1fe78073a3771d3d2a56a5671bace55bc393",
|
5
|
-
"user": null
|
6
|
-
}
|
7
|
-
}
|
1
|
+
{
|
2
|
+
"api_key": {
|
3
|
+
"id": 10,
|
4
|
+
"key": "d8a80230fd14531c9b4809c7800b1fe78073a3771d3d2a56a5671bace55bc393",
|
5
|
+
"user": null
|
6
|
+
}
|
7
|
+
}
|
data/spec/fixtures/search.json
CHANGED
@@ -1,24 +1,24 @@
|
|
1
|
-
[
|
2
|
-
{
|
3
|
-
"type": "topic",
|
4
|
-
"name": "Topics",
|
5
|
-
"more": true,
|
6
|
-
"results": [
|
7
|
-
{
|
8
|
-
"id": 1,
|
9
|
-
"title": "Test topic #1",
|
10
|
-
"url": "/t/test-topic-1/1"
|
11
|
-
},
|
12
|
-
{
|
13
|
-
"id": 2,
|
14
|
-
"title": "Test topic #2",
|
15
|
-
"url": "/t/test-topic-2/2"
|
16
|
-
},
|
17
|
-
{
|
18
|
-
"id": 3,
|
19
|
-
"title": "Test topic #3",
|
20
|
-
"url": "/t/test-topic-3/3"
|
21
|
-
}
|
22
|
-
]
|
23
|
-
}
|
24
|
-
]
|
1
|
+
[
|
2
|
+
{
|
3
|
+
"type": "topic",
|
4
|
+
"name": "Topics",
|
5
|
+
"more": true,
|
6
|
+
"results": [
|
7
|
+
{
|
8
|
+
"id": 1,
|
9
|
+
"title": "Test topic #1",
|
10
|
+
"url": "/t/test-topic-1/1"
|
11
|
+
},
|
12
|
+
{
|
13
|
+
"id": 2,
|
14
|
+
"title": "Test topic #2",
|
15
|
+
"url": "/t/test-topic-2/2"
|
16
|
+
},
|
17
|
+
{
|
18
|
+
"id": 3,
|
19
|
+
"title": "Test topic #3",
|
20
|
+
"url": "/t/test-topic-3/3"
|
21
|
+
}
|
22
|
+
]
|
23
|
+
}
|
24
|
+
]
|
data/spec/fixtures/topic.json
CHANGED
@@ -1,739 +1,739 @@
|
|
1
|
-
{
|
2
|
-
"post_stream": {
|
3
|
-
"posts": [
|
4
|
-
{
|
5
|
-
"id": 83,
|
6
|
-
"name": "Sam Saffron",
|
7
|
-
"username": "samsaffron",
|
8
|
-
"avatar_template": "//www.gravatar.com/avatar/3dcae8378d46c244172a115c28ca49ce.png?s={size}&r=pg&d=identicon",
|
9
|
-
"created_at": "2013-02-04T15:26:26.278-05:00",
|
10
|
-
"cooked": "<p>Welcome!</p>\n\n<h3>Try is a sandbox, a safe place to play with Discourse and its features.</h3>\n\n<p>This site is reset every day (or even more often). <strong>Any accounts or posts you create here will not exist tomorrow!</strong></p>\n\n<p>Feel free to experiment here in the sandbox, but always be civil and respectful -- <em>and don't post anything here you wouldn't want lost forever!</em></p>\n\n<p>If you see anything here that is out of bounds, <strong>please flag it</strong>. Help keep our community clean. We monitor the flags regularly.</p>\n\n<ul>\n<li><p>For more information on the Discourse project and its goals, visit <a href=\"http://www.discourse.org\" rel=\"nofollow\">http://www.discourse.org</a></p></li>\n<li><p>If you wish to participate in the Discourse development process, visit <a href=\"http://meta.discourse.org\" rel=\"nofollow\">http://meta.discourse.org</a></p></li>\n<li><p>If you want to check out the open source Discourse code, or set up a Discourse forum, visit <a href=\"https://github.com/discourse/discourse\" rel=\"nofollow\">https://github.com/discourse/discourse</a></p></li>\n</ul>",
|
11
|
-
"post_number": 1,
|
12
|
-
"post_type": 1,
|
13
|
-
"updated_at": "2013-04-30T14:33:37.273-04:00",
|
14
|
-
"reply_count": 1,
|
15
|
-
"reply_to_post_number": null,
|
16
|
-
"quote_count": 0,
|
17
|
-
"avg_time": 17,
|
18
|
-
"incoming_link_count": 0,
|
19
|
-
"reads": 34,
|
20
|
-
"score": 12.65,
|
21
|
-
"yours": false,
|
22
|
-
"topic_slug": "this-site-is-a-sandbox-it-is-reset-every-day",
|
23
|
-
"topic_id": 57,
|
24
|
-
"display_username": "Sam Saffron",
|
25
|
-
"version": 5,
|
26
|
-
"can_edit": null,
|
27
|
-
"can_delete": null,
|
28
|
-
"can_recover": false,
|
29
|
-
"link_counts": [
|
30
|
-
{
|
31
|
-
"url": "http://meta.discourse.org",
|
32
|
-
"internal": false,
|
33
|
-
"reflection": false,
|
34
|
-
"clicks": 7
|
35
|
-
},
|
36
|
-
{
|
37
|
-
"url": "http://www.discourse.org",
|
38
|
-
"internal": false,
|
39
|
-
"reflection": false,
|
40
|
-
"clicks": 4
|
41
|
-
},
|
42
|
-
{
|
43
|
-
"url": "https://github.com/discourse/discourse",
|
44
|
-
"internal": false,
|
45
|
-
"reflection": false,
|
46
|
-
"clicks": 0
|
47
|
-
}
|
48
|
-
],
|
49
|
-
"read": false,
|
50
|
-
"user_title": null,
|
51
|
-
"actions_summary": [
|
52
|
-
{
|
53
|
-
"id": 2,
|
54
|
-
"count": 0,
|
55
|
-
"hidden": false,
|
56
|
-
"can_act": null
|
57
|
-
},
|
58
|
-
{
|
59
|
-
"id": 3,
|
60
|
-
"count": 0,
|
61
|
-
"hidden": false,
|
62
|
-
"can_act": null
|
63
|
-
},
|
64
|
-
{
|
65
|
-
"id": 4,
|
66
|
-
"count": 0,
|
67
|
-
"hidden": false,
|
68
|
-
"can_act": null
|
69
|
-
},
|
70
|
-
{
|
71
|
-
"id": 5,
|
72
|
-
"count": 0,
|
73
|
-
"hidden": true,
|
74
|
-
"can_act": null
|
75
|
-
},
|
76
|
-
{
|
77
|
-
"id": 6,
|
78
|
-
"count": 0,
|
79
|
-
"hidden": false,
|
80
|
-
"can_act": null
|
81
|
-
},
|
82
|
-
{
|
83
|
-
"id": 7,
|
84
|
-
"count": 0,
|
85
|
-
"hidden": false,
|
86
|
-
"can_act": null
|
87
|
-
},
|
88
|
-
{
|
89
|
-
"id": 8,
|
90
|
-
"count": 0,
|
91
|
-
"hidden": false,
|
92
|
-
"can_act": null
|
93
|
-
}
|
94
|
-
],
|
95
|
-
"moderator": false,
|
96
|
-
"staff": true,
|
97
|
-
"user_id": 15,
|
98
|
-
"hidden": false,
|
99
|
-
"hidden_reason_id": null,
|
100
|
-
"trust_level": 1,
|
101
|
-
"deleted_at": null,
|
102
|
-
"user_deleted": false
|
103
|
-
},
|
104
|
-
{
|
105
|
-
"id": 84,
|
106
|
-
"name": "Sam Saffron",
|
107
|
-
"username": "samsaffron",
|
108
|
-
"avatar_template": "//www.gravatar.com/avatar/3dcae8378d46c244172a115c28ca49ce.png?s={size}&r=pg&d=identicon",
|
109
|
-
"created_at": "2013-02-04T15:26:32.362-05:00",
|
110
|
-
"cooked": "<p>This topic is now pinned. It will appear at the top of its category.</p>",
|
111
|
-
"post_number": 2,
|
112
|
-
"post_type": 2,
|
113
|
-
"updated_at": "2013-02-04T15:26:32.362-05:00",
|
114
|
-
"reply_count": 0,
|
115
|
-
"reply_to_post_number": null,
|
116
|
-
"quote_count": 0,
|
117
|
-
"avg_time": 18,
|
118
|
-
"incoming_link_count": 0,
|
119
|
-
"reads": 34,
|
120
|
-
"score": 7.7,
|
121
|
-
"yours": false,
|
122
|
-
"topic_slug": "this-site-is-a-sandbox-it-is-reset-every-day",
|
123
|
-
"topic_id": 57,
|
124
|
-
"display_username": "Sam Saffron",
|
125
|
-
"version": 1,
|
126
|
-
"can_edit": null,
|
127
|
-
"can_delete": null,
|
128
|
-
"can_recover": false,
|
129
|
-
"read": false,
|
130
|
-
"user_title": null,
|
131
|
-
"actions_summary": [
|
132
|
-
{
|
133
|
-
"id": 2,
|
134
|
-
"count": 0,
|
135
|
-
"hidden": false,
|
136
|
-
"can_act": null
|
137
|
-
},
|
138
|
-
{
|
139
|
-
"id": 3,
|
140
|
-
"count": 0,
|
141
|
-
"hidden": false,
|
142
|
-
"can_act": null
|
143
|
-
},
|
144
|
-
{
|
145
|
-
"id": 4,
|
146
|
-
"count": 0,
|
147
|
-
"hidden": false,
|
148
|
-
"can_act": null
|
149
|
-
},
|
150
|
-
{
|
151
|
-
"id": 5,
|
152
|
-
"count": 0,
|
153
|
-
"hidden": true,
|
154
|
-
"can_act": null
|
155
|
-
},
|
156
|
-
{
|
157
|
-
"id": 6,
|
158
|
-
"count": 0,
|
159
|
-
"hidden": false,
|
160
|
-
"can_act": null
|
161
|
-
},
|
162
|
-
{
|
163
|
-
"id": 7,
|
164
|
-
"count": 0,
|
165
|
-
"hidden": false,
|
166
|
-
"can_act": null
|
167
|
-
},
|
168
|
-
{
|
169
|
-
"id": 8,
|
170
|
-
"count": 0,
|
171
|
-
"hidden": false,
|
172
|
-
"can_act": null
|
173
|
-
}
|
174
|
-
],
|
175
|
-
"moderator": false,
|
176
|
-
"staff": true,
|
177
|
-
"user_id": 15,
|
178
|
-
"hidden": false,
|
179
|
-
"hidden_reason_id": null,
|
180
|
-
"trust_level": 1,
|
181
|
-
"deleted_at": null,
|
182
|
-
"user_deleted": false
|
183
|
-
},
|
184
|
-
{
|
185
|
-
"id": 86,
|
186
|
-
"name": "Adam Davis",
|
187
|
-
"username": "stienman",
|
188
|
-
"avatar_template": "//www.gravatar.com/avatar/281486f2a20201375414760dd347951d.png?s={size}&r=pg&d=identicon",
|
189
|
-
"created_at": "2013-02-04T15:29:00.843-05:00",
|
190
|
-
"cooked": "<p><img src=\"http://i288.photobucket.com/albums/ll164/stienman/ahh.gif\" alt=\"image\" title=\"\" width=\"36\" height=\"22\"></p>",
|
191
|
-
"post_number": 3,
|
192
|
-
"post_type": 1,
|
193
|
-
"updated_at": "2013-02-04T15:29:00.843-05:00",
|
194
|
-
"reply_count": 0,
|
195
|
-
"reply_to_post_number": null,
|
196
|
-
"quote_count": 0,
|
197
|
-
"avg_time": 19,
|
198
|
-
"incoming_link_count": 2,
|
199
|
-
"reads": 34,
|
200
|
-
"score": 152.75,
|
201
|
-
"yours": false,
|
202
|
-
"topic_slug": "this-site-is-a-sandbox-it-is-reset-every-day",
|
203
|
-
"topic_id": 57,
|
204
|
-
"display_username": "Adam Davis",
|
205
|
-
"version": 1,
|
206
|
-
"can_edit": null,
|
207
|
-
"can_delete": null,
|
208
|
-
"can_recover": false,
|
209
|
-
"read": false,
|
210
|
-
"user_title": null,
|
211
|
-
"actions_summary": [
|
212
|
-
{
|
213
|
-
"id": 2,
|
214
|
-
"count": 5,
|
215
|
-
"hidden": false,
|
216
|
-
"can_act": null
|
217
|
-
},
|
218
|
-
{
|
219
|
-
"id": 3,
|
220
|
-
"count": 0,
|
221
|
-
"hidden": false,
|
222
|
-
"can_act": null
|
223
|
-
},
|
224
|
-
{
|
225
|
-
"id": 4,
|
226
|
-
"count": 0,
|
227
|
-
"hidden": false,
|
228
|
-
"can_act": null
|
229
|
-
},
|
230
|
-
{
|
231
|
-
"id": 5,
|
232
|
-
"count": 0,
|
233
|
-
"hidden": true,
|
234
|
-
"can_act": null
|
235
|
-
},
|
236
|
-
{
|
237
|
-
"id": 6,
|
238
|
-
"count": 0,
|
239
|
-
"hidden": false,
|
240
|
-
"can_act": null
|
241
|
-
},
|
242
|
-
{
|
243
|
-
"id": 7,
|
244
|
-
"count": 0,
|
245
|
-
"hidden": false,
|
246
|
-
"can_act": null
|
247
|
-
},
|
248
|
-
{
|
249
|
-
"id": 8,
|
250
|
-
"count": 0,
|
251
|
-
"hidden": false,
|
252
|
-
"can_act": null
|
253
|
-
}
|
254
|
-
],
|
255
|
-
"moderator": false,
|
256
|
-
"staff": true,
|
257
|
-
"user_id": 23,
|
258
|
-
"hidden": false,
|
259
|
-
"hidden_reason_id": null,
|
260
|
-
"trust_level": 1,
|
261
|
-
"deleted_at": null,
|
262
|
-
"user_deleted": false
|
263
|
-
},
|
264
|
-
{
|
265
|
-
"id": 226,
|
266
|
-
"name": "Stefan Plattner",
|
267
|
-
"username": "splattne",
|
268
|
-
"avatar_template": "//www.gravatar.com/avatar/7847006dbf49f1722b07c8da396f1275.png?s={size}&r=pg&d=identicon",
|
269
|
-
"created_at": "2013-02-05T12:14:17.364-05:00",
|
270
|
-
"cooked": "<p>What? So I have to post this every day? <br><img src=\"http://q101.com/wp-content/uploads/2012/02/GroundhogDay.gif\" alt=\"image\" title=\"\" width=\"650\" height=\"824\"></p>",
|
271
|
-
"post_number": 14,
|
272
|
-
"post_type": 1,
|
273
|
-
"updated_at": "2013-02-05T12:14:17.364-05:00",
|
274
|
-
"reply_count": 0,
|
275
|
-
"reply_to_post_number": 1,
|
276
|
-
"quote_count": 0,
|
277
|
-
"avg_time": 16,
|
278
|
-
"incoming_link_count": 0,
|
279
|
-
"reads": 22,
|
280
|
-
"score": 170.2,
|
281
|
-
"yours": false,
|
282
|
-
"topic_slug": "this-site-is-a-sandbox-it-is-reset-every-day",
|
283
|
-
"topic_id": 57,
|
284
|
-
"display_username": "Stefan Plattner",
|
285
|
-
"version": 1,
|
286
|
-
"can_edit": null,
|
287
|
-
"can_delete": null,
|
288
|
-
"can_recover": false,
|
289
|
-
"read": false,
|
290
|
-
"user_title": null,
|
291
|
-
"reply_to_user": {
|
292
|
-
"username": "samsaffron",
|
293
|
-
"avatar_template": "//www.gravatar.com/avatar/3dcae8378d46c244172a115c28ca49ce.png?s={size}&r=pg&d=identicon"
|
294
|
-
},
|
295
|
-
"actions_summary": [
|
296
|
-
{
|
297
|
-
"id": 2,
|
298
|
-
"count": 5,
|
299
|
-
"hidden": false,
|
300
|
-
"can_act": null
|
301
|
-
},
|
302
|
-
{
|
303
|
-
"id": 3,
|
304
|
-
"count": 0,
|
305
|
-
"hidden": false,
|
306
|
-
"can_act": null
|
307
|
-
},
|
308
|
-
{
|
309
|
-
"id": 4,
|
310
|
-
"count": 0,
|
311
|
-
"hidden": false,
|
312
|
-
"can_act": null
|
313
|
-
},
|
314
|
-
{
|
315
|
-
"id": 5,
|
316
|
-
"count": 0,
|
317
|
-
"hidden": true,
|
318
|
-
"can_act": null
|
319
|
-
},
|
320
|
-
{
|
321
|
-
"id": 6,
|
322
|
-
"count": 0,
|
323
|
-
"hidden": false,
|
324
|
-
"can_act": null
|
325
|
-
},
|
326
|
-
{
|
327
|
-
"id": 7,
|
328
|
-
"count": 0,
|
329
|
-
"hidden": false,
|
330
|
-
"can_act": null
|
331
|
-
},
|
332
|
-
{
|
333
|
-
"id": 8,
|
334
|
-
"count": 0,
|
335
|
-
"hidden": false,
|
336
|
-
"can_act": null
|
337
|
-
}
|
338
|
-
],
|
339
|
-
"moderator": false,
|
340
|
-
"staff": true,
|
341
|
-
"user_id": 50,
|
342
|
-
"hidden": false,
|
343
|
-
"hidden_reason_id": null,
|
344
|
-
"trust_level": 1,
|
345
|
-
"deleted_at": null,
|
346
|
-
"user_deleted": false
|
347
|
-
}
|
348
|
-
],
|
349
|
-
"stream": [
|
350
|
-
83,
|
351
|
-
84,
|
352
|
-
86,
|
353
|
-
226
|
354
|
-
]
|
355
|
-
},
|
356
|
-
"draft": null,
|
357
|
-
"draft_key": "topic_57",
|
358
|
-
"draft_sequence": null,
|
359
|
-
"pinned": true,
|
360
|
-
"details": {
|
361
|
-
"auto_close_at": null,
|
362
|
-
"created_by": {
|
363
|
-
"id": 15,
|
364
|
-
"username": "samsaffron",
|
365
|
-
"avatar_template": "//www.gravatar.com/avatar/3dcae8378d46c244172a115c28ca49ce.png?s={size}&r=pg&d=identicon"
|
366
|
-
},
|
367
|
-
"last_poster": {
|
368
|
-
"id": 50,
|
369
|
-
"username": "splattne",
|
370
|
-
"avatar_template": "//www.gravatar.com/avatar/7847006dbf49f1722b07c8da396f1275.png?s={size}&r=pg&d=identicon"
|
371
|
-
},
|
372
|
-
"participants": [
|
373
|
-
{
|
374
|
-
"id": 15,
|
375
|
-
"username": "samsaffron",
|
376
|
-
"avatar_template": "//www.gravatar.com/avatar/3dcae8378d46c244172a115c28ca49ce.png?s={size}&r=pg&d=identicon",
|
377
|
-
"post_count": 2
|
378
|
-
},
|
379
|
-
{
|
380
|
-
"id": 23,
|
381
|
-
"username": "stienman",
|
382
|
-
"avatar_template": "//www.gravatar.com/avatar/281486f2a20201375414760dd347951d.png?s={size}&r=pg&d=identicon",
|
383
|
-
"post_count": 1
|
384
|
-
},
|
385
|
-
{
|
386
|
-
"id": 50,
|
387
|
-
"username": "splattne",
|
388
|
-
"avatar_template": "//www.gravatar.com/avatar/7847006dbf49f1722b07c8da396f1275.png?s={size}&r=pg&d=identicon",
|
389
|
-
"post_count": 1
|
390
|
-
}
|
391
|
-
],
|
392
|
-
"suggested_topics": [
|
393
|
-
{
|
394
|
-
"id": 62,
|
395
|
-
"title": "Funny pictures (Keep 'em clean, folks!)",
|
396
|
-
"fancy_title": "Funny pictures (Keep ‘em clean, folks!)",
|
397
|
-
"slug": "funny-pictures-keep-em-clean-folks",
|
398
|
-
"posts_count": 39,
|
399
|
-
"reply_count": 3,
|
400
|
-
"highest_post_number": 39,
|
401
|
-
"image_url": "http://cdn.discourse.org/uploads/try2_discourse/27/nt3b8.jpeg",
|
402
|
-
"created_at": "2013-02-04T15:42:30.290-05:00",
|
403
|
-
"last_posted_at": "2013-11-06T02:47:27.135-05:00",
|
404
|
-
"bumped": true,
|
405
|
-
"bumped_at": "2013-11-06T03:02:06.494-05:00",
|
406
|
-
"unseen": false,
|
407
|
-
"pinned": false,
|
408
|
-
"visible": true,
|
409
|
-
"closed": false,
|
410
|
-
"archived": false,
|
411
|
-
"archetype": "regular",
|
412
|
-
"like_count": 10,
|
413
|
-
"views": 186,
|
414
|
-
"category": {
|
415
|
-
"id": 13,
|
416
|
-
"name": "uncategPorized",
|
417
|
-
"color": "AB9364",
|
418
|
-
"text_color": "FFFFFF",
|
419
|
-
"slug": "uncategorized",
|
420
|
-
"topic_count": 21,
|
421
|
-
"description": "",
|
422
|
-
"topic_url": null,
|
423
|
-
"hotness": 5,
|
424
|
-
"read_restricted": false,
|
425
|
-
"permission": null,
|
426
|
-
"available_groups": [
|
427
|
-
"admins",
|
428
|
-
"everyone",
|
429
|
-
"moderators",
|
430
|
-
"staff",
|
431
|
-
"trust_level_1",
|
432
|
-
"trust_level_2",
|
433
|
-
"trust_level_3",
|
434
|
-
"trust_level_4",
|
435
|
-
"trust_level_5"
|
436
|
-
],
|
437
|
-
"auto_close_days": null,
|
438
|
-
"group_permissions": [
|
439
|
-
{
|
440
|
-
"permission_type": 1,
|
441
|
-
"group_name": "everyone"
|
442
|
-
}
|
443
|
-
],
|
444
|
-
"position": 1
|
445
|
-
}
|
446
|
-
},
|
447
|
-
{
|
448
|
-
"id": 152,
|
449
|
-
"title": "What are good resolutions to the enviroment?",
|
450
|
-
"fancy_title": "What are good resolutions to the enviroment?",
|
451
|
-
"slug": "what-are-good-resolutions-to-the-enviroment",
|
452
|
-
"posts_count": 3,
|
453
|
-
"reply_count": 0,
|
454
|
-
"highest_post_number": 3,
|
455
|
-
"image_url": null,
|
456
|
-
"created_at": "2013-11-05T02:12:37.113-05:00",
|
457
|
-
"last_posted_at": "2013-11-05T11:32:31.259-05:00",
|
458
|
-
"bumped": true,
|
459
|
-
"bumped_at": "2013-11-05T11:32:31.259-05:00",
|
460
|
-
"unseen": false,
|
461
|
-
"pinned": false,
|
462
|
-
"visible": true,
|
463
|
-
"closed": false,
|
464
|
-
"archived": false,
|
465
|
-
"archetype": "regular",
|
466
|
-
"like_count": 0,
|
467
|
-
"views": 50,
|
468
|
-
"category": {
|
469
|
-
"id": 13,
|
470
|
-
"name": "uncategorized",
|
471
|
-
"color": "AB9364",
|
472
|
-
"text_color": "FFFFFF",
|
473
|
-
"slug": "uncategorized",
|
474
|
-
"topic_count": 21,
|
475
|
-
"description": "",
|
476
|
-
"topic_url": null,
|
477
|
-
"hotness": 5,
|
478
|
-
"read_restricted": false,
|
479
|
-
"permission": null,
|
480
|
-
"available_groups": [
|
481
|
-
"admins",
|
482
|
-
"everyone",
|
483
|
-
"moderators",
|
484
|
-
"staff",
|
485
|
-
"trust_level_1",
|
486
|
-
"trust_level_2",
|
487
|
-
"trust_level_3",
|
488
|
-
"trust_level_4",
|
489
|
-
"trust_level_5"
|
490
|
-
],
|
491
|
-
"auto_close_days": null,
|
492
|
-
"group_permissions": [
|
493
|
-
{
|
494
|
-
"permission_type": 1,
|
495
|
-
"group_name": "everyone"
|
496
|
-
}
|
497
|
-
],
|
498
|
-
"position": 1
|
499
|
-
}
|
500
|
-
},
|
501
|
-
{
|
502
|
-
"id": 87,
|
503
|
-
"title": "Hilarious Picture Dump (Image Heavy)",
|
504
|
-
"fancy_title": "Hilarious Picture Dump (Image Heavy)",
|
505
|
-
"slug": "hilarious-picture-dump-image-heavy",
|
506
|
-
"posts_count": 4,
|
507
|
-
"reply_count": 0,
|
508
|
-
"highest_post_number": 4,
|
509
|
-
"image_url": "http://cdn.discourse.org/uploads/try2_discourse/33/1208514086be7cd9d27c00836da43ab15d00ec7be_4c256628scaled.jpeg",
|
510
|
-
"created_at": "2013-02-04T21:07:51.246-05:00",
|
511
|
-
"last_posted_at": "2013-02-05T12:52:47.243-05:00",
|
512
|
-
"bumped": true,
|
513
|
-
"bumped_at": "2013-06-26T01:45:24.590-04:00",
|
514
|
-
"unseen": false,
|
515
|
-
"pinned": false,
|
516
|
-
"visible": true,
|
517
|
-
"closed": false,
|
518
|
-
"archived": false,
|
519
|
-
"archetype": "regular",
|
520
|
-
"like_count": 0,
|
521
|
-
"views": 69,
|
522
|
-
"category": {
|
523
|
-
"id": 13,
|
524
|
-
"name": "uncategorized",
|
525
|
-
"color": "AB9364",
|
526
|
-
"text_color": "FFFFFF",
|
527
|
-
"slug": "uncategorized",
|
528
|
-
"topic_count": 21,
|
529
|
-
"description": "",
|
530
|
-
"topic_url": null,
|
531
|
-
"hotness": 5,
|
532
|
-
"read_restricted": false,
|
533
|
-
"permission": null,
|
534
|
-
"available_groups": [
|
535
|
-
"admins",
|
536
|
-
"everyone",
|
537
|
-
"moderators",
|
538
|
-
"staff",
|
539
|
-
"trust_level_1",
|
540
|
-
"trust_level_2",
|
541
|
-
"trust_level_3",
|
542
|
-
"trust_level_4",
|
543
|
-
"trust_level_5"
|
544
|
-
],
|
545
|
-
"auto_close_days": null,
|
546
|
-
"group_permissions": [
|
547
|
-
{
|
548
|
-
"permission_type": 1,
|
549
|
-
"group_name": "everyone"
|
550
|
-
}
|
551
|
-
],
|
552
|
-
"position": 1
|
553
|
-
}
|
554
|
-
},
|
555
|
-
{
|
556
|
-
"id": 197,
|
557
|
-
"title": "Replying as a new topic",
|
558
|
-
"fancy_title": "Replying as a new topic",
|
559
|
-
"slug": "replying-as-a-new-topic",
|
560
|
-
"posts_count": 1,
|
561
|
-
"reply_count": 0,
|
562
|
-
"highest_post_number": 1,
|
563
|
-
"image_url": null,
|
564
|
-
"created_at": "2013-11-06T00:57:00.177-05:00",
|
565
|
-
"last_posted_at": "2013-11-06T00:57:00.326-05:00",
|
566
|
-
"bumped": true,
|
567
|
-
"bumped_at": "2013-11-06T00:57:00.326-05:00",
|
568
|
-
"unseen": false,
|
569
|
-
"pinned": false,
|
570
|
-
"visible": true,
|
571
|
-
"closed": false,
|
572
|
-
"archived": false,
|
573
|
-
"archetype": "regular",
|
574
|
-
"like_count": 0,
|
575
|
-
"views": 23,
|
576
|
-
"category": {
|
577
|
-
"id": 13,
|
578
|
-
"name": "uncategorized",
|
579
|
-
"color": "AB9364",
|
580
|
-
"text_color": "FFFFFF",
|
581
|
-
"slug": "uncategorized",
|
582
|
-
"topic_count": 21,
|
583
|
-
"description": "",
|
584
|
-
"topic_url": null,
|
585
|
-
"hotness": 5,
|
586
|
-
"read_restricted": false,
|
587
|
-
"permission": null,
|
588
|
-
"available_groups": [
|
589
|
-
"admins",
|
590
|
-
"everyone",
|
591
|
-
"moderators",
|
592
|
-
"staff",
|
593
|
-
"trust_level_1",
|
594
|
-
"trust_level_2",
|
595
|
-
"trust_level_3",
|
596
|
-
"trust_level_4",
|
597
|
-
"trust_level_5"
|
598
|
-
],
|
599
|
-
"auto_close_days": null,
|
600
|
-
"group_permissions": [
|
601
|
-
{
|
602
|
-
"permission_type": 1,
|
603
|
-
"group_name": "everyone"
|
604
|
-
}
|
605
|
-
],
|
606
|
-
"position": 1
|
607
|
-
}
|
608
|
-
},
|
609
|
-
{
|
610
|
-
"id": 157,
|
611
|
-
"title": "What is your opinion on the movie hunger game?",
|
612
|
-
"fancy_title": "What is your opinion on the movie hunger game?",
|
613
|
-
"slug": "what-is-your-opinion-on-the-movie-hunger-game",
|
614
|
-
"posts_count": 1,
|
615
|
-
"reply_count": 0,
|
616
|
-
"highest_post_number": 1,
|
617
|
-
"image_url": null,
|
618
|
-
"created_at": "2013-11-05T03:59:13.194-05:00",
|
619
|
-
"last_posted_at": "2013-11-05T03:59:13.343-05:00",
|
620
|
-
"bumped": true,
|
621
|
-
"bumped_at": "2013-11-05T03:59:13.343-05:00",
|
622
|
-
"unseen": false,
|
623
|
-
"pinned": false,
|
624
|
-
"visible": true,
|
625
|
-
"closed": false,
|
626
|
-
"archived": false,
|
627
|
-
"archetype": "regular",
|
628
|
-
"like_count": 1,
|
629
|
-
"views": 23,
|
630
|
-
"category": {
|
631
|
-
"id": 13,
|
632
|
-
"name": "uncategorized",
|
633
|
-
"color": "AB9364",
|
634
|
-
"text_color": "FFFFFF",
|
635
|
-
"slug": "uncategorized",
|
636
|
-
"topic_count": 21,
|
637
|
-
"description": "",
|
638
|
-
"topic_url": null,
|
639
|
-
"hotness": 5,
|
640
|
-
"read_restricted": false,
|
641
|
-
"permission": null,
|
642
|
-
"available_groups": [
|
643
|
-
"admins",
|
644
|
-
"everyone",
|
645
|
-
"moderators",
|
646
|
-
"staff",
|
647
|
-
"trust_level_1",
|
648
|
-
"trust_level_2",
|
649
|
-
"trust_level_3",
|
650
|
-
"trust_level_4",
|
651
|
-
"trust_level_5"
|
652
|
-
],
|
653
|
-
"auto_close_days": null,
|
654
|
-
"group_permissions": [
|
655
|
-
{
|
656
|
-
"permission_type": 1,
|
657
|
-
"group_name": "everyone"
|
658
|
-
}
|
659
|
-
],
|
660
|
-
"position": 1
|
661
|
-
}
|
662
|
-
}
|
663
|
-
],
|
664
|
-
"links": [
|
665
|
-
{
|
666
|
-
"url": "http://meta.discourse.org",
|
667
|
-
"title": null,
|
668
|
-
"fancy_title": null,
|
669
|
-
"internal": false,
|
670
|
-
"reflection": false,
|
671
|
-
"clicks": "7",
|
672
|
-
"user_id": 15
|
673
|
-
},
|
674
|
-
{
|
675
|
-
"url": "http://www.discourse.org",
|
676
|
-
"title": null,
|
677
|
-
"fancy_title": null,
|
678
|
-
"internal": false,
|
679
|
-
"reflection": false,
|
680
|
-
"clicks": "4",
|
681
|
-
"user_id": 15
|
682
|
-
},
|
683
|
-
{
|
684
|
-
"url": "https://github.com/discourse/discourse",
|
685
|
-
"title": null,
|
686
|
-
"fancy_title": null,
|
687
|
-
"internal": false,
|
688
|
-
"reflection": false,
|
689
|
-
"clicks": "0",
|
690
|
-
"user_id": 15
|
691
|
-
},
|
692
|
-
{
|
693
|
-
"url": "/users/pekka.gaiser",
|
694
|
-
"title": null,
|
695
|
-
"fancy_title": null,
|
696
|
-
"internal": true,
|
697
|
-
"reflection": false,
|
698
|
-
"clicks": "0",
|
699
|
-
"user_id": 9
|
700
|
-
},
|
701
|
-
{
|
702
|
-
"url": "http://dev.discourse.org/t/general-bugs-list/92/365)",
|
703
|
-
"title": null,
|
704
|
-
"fancy_title": null,
|
705
|
-
"internal": false,
|
706
|
-
"reflection": false,
|
707
|
-
"clicks": "0",
|
708
|
-
"user_id": 9
|
709
|
-
},
|
710
|
-
{
|
711
|
-
"url": "/users/pekka",
|
712
|
-
"title": null,
|
713
|
-
"fancy_title": null,
|
714
|
-
"internal": true,
|
715
|
-
"reflection": false,
|
716
|
-
"clicks": "0",
|
717
|
-
"user_id": 9
|
718
|
-
}
|
719
|
-
]
|
720
|
-
},
|
721
|
-
"highest_post_number": 14,
|
722
|
-
"deleted_by": null,
|
723
|
-
"id": 57,
|
724
|
-
"title": "THIS SITE IS A SANDBOX -- it is reset every day",
|
725
|
-
"fancy_title": "THIS SITE IS A SANDBOX – it is reset every day",
|
726
|
-
"posts_count": 4,
|
727
|
-
"created_at": "2013-02-04T15:26:25.977-05:00",
|
728
|
-
"views": 268,
|
729
|
-
"reply_count": 9,
|
730
|
-
"last_posted_at": "2013-02-05T12:14:17.364-05:00",
|
731
|
-
"visible": true,
|
732
|
-
"closed": false,
|
733
|
-
"archived": false,
|
734
|
-
"has_best_of": false,
|
735
|
-
"archetype": "regular",
|
736
|
-
"slug": "this-site-is-a-sandbox-it-is-reset-every-day",
|
737
|
-
"category_id": 13,
|
738
|
-
"deleted_at": null
|
739
|
-
}
|
1
|
+
{
|
2
|
+
"post_stream": {
|
3
|
+
"posts": [
|
4
|
+
{
|
5
|
+
"id": 83,
|
6
|
+
"name": "Sam Saffron",
|
7
|
+
"username": "samsaffron",
|
8
|
+
"avatar_template": "//www.gravatar.com/avatar/3dcae8378d46c244172a115c28ca49ce.png?s={size}&r=pg&d=identicon",
|
9
|
+
"created_at": "2013-02-04T15:26:26.278-05:00",
|
10
|
+
"cooked": "<p>Welcome!</p>\n\n<h3>Try is a sandbox, a safe place to play with Discourse and its features.</h3>\n\n<p>This site is reset every day (or even more often). <strong>Any accounts or posts you create here will not exist tomorrow!</strong></p>\n\n<p>Feel free to experiment here in the sandbox, but always be civil and respectful -- <em>and don't post anything here you wouldn't want lost forever!</em></p>\n\n<p>If you see anything here that is out of bounds, <strong>please flag it</strong>. Help keep our community clean. We monitor the flags regularly.</p>\n\n<ul>\n<li><p>For more information on the Discourse project and its goals, visit <a href=\"http://www.discourse.org\" rel=\"nofollow\">http://www.discourse.org</a></p></li>\n<li><p>If you wish to participate in the Discourse development process, visit <a href=\"http://meta.discourse.org\" rel=\"nofollow\">http://meta.discourse.org</a></p></li>\n<li><p>If you want to check out the open source Discourse code, or set up a Discourse forum, visit <a href=\"https://github.com/discourse/discourse\" rel=\"nofollow\">https://github.com/discourse/discourse</a></p></li>\n</ul>",
|
11
|
+
"post_number": 1,
|
12
|
+
"post_type": 1,
|
13
|
+
"updated_at": "2013-04-30T14:33:37.273-04:00",
|
14
|
+
"reply_count": 1,
|
15
|
+
"reply_to_post_number": null,
|
16
|
+
"quote_count": 0,
|
17
|
+
"avg_time": 17,
|
18
|
+
"incoming_link_count": 0,
|
19
|
+
"reads": 34,
|
20
|
+
"score": 12.65,
|
21
|
+
"yours": false,
|
22
|
+
"topic_slug": "this-site-is-a-sandbox-it-is-reset-every-day",
|
23
|
+
"topic_id": 57,
|
24
|
+
"display_username": "Sam Saffron",
|
25
|
+
"version": 5,
|
26
|
+
"can_edit": null,
|
27
|
+
"can_delete": null,
|
28
|
+
"can_recover": false,
|
29
|
+
"link_counts": [
|
30
|
+
{
|
31
|
+
"url": "http://meta.discourse.org",
|
32
|
+
"internal": false,
|
33
|
+
"reflection": false,
|
34
|
+
"clicks": 7
|
35
|
+
},
|
36
|
+
{
|
37
|
+
"url": "http://www.discourse.org",
|
38
|
+
"internal": false,
|
39
|
+
"reflection": false,
|
40
|
+
"clicks": 4
|
41
|
+
},
|
42
|
+
{
|
43
|
+
"url": "https://github.com/discourse/discourse",
|
44
|
+
"internal": false,
|
45
|
+
"reflection": false,
|
46
|
+
"clicks": 0
|
47
|
+
}
|
48
|
+
],
|
49
|
+
"read": false,
|
50
|
+
"user_title": null,
|
51
|
+
"actions_summary": [
|
52
|
+
{
|
53
|
+
"id": 2,
|
54
|
+
"count": 0,
|
55
|
+
"hidden": false,
|
56
|
+
"can_act": null
|
57
|
+
},
|
58
|
+
{
|
59
|
+
"id": 3,
|
60
|
+
"count": 0,
|
61
|
+
"hidden": false,
|
62
|
+
"can_act": null
|
63
|
+
},
|
64
|
+
{
|
65
|
+
"id": 4,
|
66
|
+
"count": 0,
|
67
|
+
"hidden": false,
|
68
|
+
"can_act": null
|
69
|
+
},
|
70
|
+
{
|
71
|
+
"id": 5,
|
72
|
+
"count": 0,
|
73
|
+
"hidden": true,
|
74
|
+
"can_act": null
|
75
|
+
},
|
76
|
+
{
|
77
|
+
"id": 6,
|
78
|
+
"count": 0,
|
79
|
+
"hidden": false,
|
80
|
+
"can_act": null
|
81
|
+
},
|
82
|
+
{
|
83
|
+
"id": 7,
|
84
|
+
"count": 0,
|
85
|
+
"hidden": false,
|
86
|
+
"can_act": null
|
87
|
+
},
|
88
|
+
{
|
89
|
+
"id": 8,
|
90
|
+
"count": 0,
|
91
|
+
"hidden": false,
|
92
|
+
"can_act": null
|
93
|
+
}
|
94
|
+
],
|
95
|
+
"moderator": false,
|
96
|
+
"staff": true,
|
97
|
+
"user_id": 15,
|
98
|
+
"hidden": false,
|
99
|
+
"hidden_reason_id": null,
|
100
|
+
"trust_level": 1,
|
101
|
+
"deleted_at": null,
|
102
|
+
"user_deleted": false
|
103
|
+
},
|
104
|
+
{
|
105
|
+
"id": 84,
|
106
|
+
"name": "Sam Saffron",
|
107
|
+
"username": "samsaffron",
|
108
|
+
"avatar_template": "//www.gravatar.com/avatar/3dcae8378d46c244172a115c28ca49ce.png?s={size}&r=pg&d=identicon",
|
109
|
+
"created_at": "2013-02-04T15:26:32.362-05:00",
|
110
|
+
"cooked": "<p>This topic is now pinned. It will appear at the top of its category.</p>",
|
111
|
+
"post_number": 2,
|
112
|
+
"post_type": 2,
|
113
|
+
"updated_at": "2013-02-04T15:26:32.362-05:00",
|
114
|
+
"reply_count": 0,
|
115
|
+
"reply_to_post_number": null,
|
116
|
+
"quote_count": 0,
|
117
|
+
"avg_time": 18,
|
118
|
+
"incoming_link_count": 0,
|
119
|
+
"reads": 34,
|
120
|
+
"score": 7.7,
|
121
|
+
"yours": false,
|
122
|
+
"topic_slug": "this-site-is-a-sandbox-it-is-reset-every-day",
|
123
|
+
"topic_id": 57,
|
124
|
+
"display_username": "Sam Saffron",
|
125
|
+
"version": 1,
|
126
|
+
"can_edit": null,
|
127
|
+
"can_delete": null,
|
128
|
+
"can_recover": false,
|
129
|
+
"read": false,
|
130
|
+
"user_title": null,
|
131
|
+
"actions_summary": [
|
132
|
+
{
|
133
|
+
"id": 2,
|
134
|
+
"count": 0,
|
135
|
+
"hidden": false,
|
136
|
+
"can_act": null
|
137
|
+
},
|
138
|
+
{
|
139
|
+
"id": 3,
|
140
|
+
"count": 0,
|
141
|
+
"hidden": false,
|
142
|
+
"can_act": null
|
143
|
+
},
|
144
|
+
{
|
145
|
+
"id": 4,
|
146
|
+
"count": 0,
|
147
|
+
"hidden": false,
|
148
|
+
"can_act": null
|
149
|
+
},
|
150
|
+
{
|
151
|
+
"id": 5,
|
152
|
+
"count": 0,
|
153
|
+
"hidden": true,
|
154
|
+
"can_act": null
|
155
|
+
},
|
156
|
+
{
|
157
|
+
"id": 6,
|
158
|
+
"count": 0,
|
159
|
+
"hidden": false,
|
160
|
+
"can_act": null
|
161
|
+
},
|
162
|
+
{
|
163
|
+
"id": 7,
|
164
|
+
"count": 0,
|
165
|
+
"hidden": false,
|
166
|
+
"can_act": null
|
167
|
+
},
|
168
|
+
{
|
169
|
+
"id": 8,
|
170
|
+
"count": 0,
|
171
|
+
"hidden": false,
|
172
|
+
"can_act": null
|
173
|
+
}
|
174
|
+
],
|
175
|
+
"moderator": false,
|
176
|
+
"staff": true,
|
177
|
+
"user_id": 15,
|
178
|
+
"hidden": false,
|
179
|
+
"hidden_reason_id": null,
|
180
|
+
"trust_level": 1,
|
181
|
+
"deleted_at": null,
|
182
|
+
"user_deleted": false
|
183
|
+
},
|
184
|
+
{
|
185
|
+
"id": 86,
|
186
|
+
"name": "Adam Davis",
|
187
|
+
"username": "stienman",
|
188
|
+
"avatar_template": "//www.gravatar.com/avatar/281486f2a20201375414760dd347951d.png?s={size}&r=pg&d=identicon",
|
189
|
+
"created_at": "2013-02-04T15:29:00.843-05:00",
|
190
|
+
"cooked": "<p><img src=\"http://i288.photobucket.com/albums/ll164/stienman/ahh.gif\" alt=\"image\" title=\"\" width=\"36\" height=\"22\"></p>",
|
191
|
+
"post_number": 3,
|
192
|
+
"post_type": 1,
|
193
|
+
"updated_at": "2013-02-04T15:29:00.843-05:00",
|
194
|
+
"reply_count": 0,
|
195
|
+
"reply_to_post_number": null,
|
196
|
+
"quote_count": 0,
|
197
|
+
"avg_time": 19,
|
198
|
+
"incoming_link_count": 2,
|
199
|
+
"reads": 34,
|
200
|
+
"score": 152.75,
|
201
|
+
"yours": false,
|
202
|
+
"topic_slug": "this-site-is-a-sandbox-it-is-reset-every-day",
|
203
|
+
"topic_id": 57,
|
204
|
+
"display_username": "Adam Davis",
|
205
|
+
"version": 1,
|
206
|
+
"can_edit": null,
|
207
|
+
"can_delete": null,
|
208
|
+
"can_recover": false,
|
209
|
+
"read": false,
|
210
|
+
"user_title": null,
|
211
|
+
"actions_summary": [
|
212
|
+
{
|
213
|
+
"id": 2,
|
214
|
+
"count": 5,
|
215
|
+
"hidden": false,
|
216
|
+
"can_act": null
|
217
|
+
},
|
218
|
+
{
|
219
|
+
"id": 3,
|
220
|
+
"count": 0,
|
221
|
+
"hidden": false,
|
222
|
+
"can_act": null
|
223
|
+
},
|
224
|
+
{
|
225
|
+
"id": 4,
|
226
|
+
"count": 0,
|
227
|
+
"hidden": false,
|
228
|
+
"can_act": null
|
229
|
+
},
|
230
|
+
{
|
231
|
+
"id": 5,
|
232
|
+
"count": 0,
|
233
|
+
"hidden": true,
|
234
|
+
"can_act": null
|
235
|
+
},
|
236
|
+
{
|
237
|
+
"id": 6,
|
238
|
+
"count": 0,
|
239
|
+
"hidden": false,
|
240
|
+
"can_act": null
|
241
|
+
},
|
242
|
+
{
|
243
|
+
"id": 7,
|
244
|
+
"count": 0,
|
245
|
+
"hidden": false,
|
246
|
+
"can_act": null
|
247
|
+
},
|
248
|
+
{
|
249
|
+
"id": 8,
|
250
|
+
"count": 0,
|
251
|
+
"hidden": false,
|
252
|
+
"can_act": null
|
253
|
+
}
|
254
|
+
],
|
255
|
+
"moderator": false,
|
256
|
+
"staff": true,
|
257
|
+
"user_id": 23,
|
258
|
+
"hidden": false,
|
259
|
+
"hidden_reason_id": null,
|
260
|
+
"trust_level": 1,
|
261
|
+
"deleted_at": null,
|
262
|
+
"user_deleted": false
|
263
|
+
},
|
264
|
+
{
|
265
|
+
"id": 226,
|
266
|
+
"name": "Stefan Plattner",
|
267
|
+
"username": "splattne",
|
268
|
+
"avatar_template": "//www.gravatar.com/avatar/7847006dbf49f1722b07c8da396f1275.png?s={size}&r=pg&d=identicon",
|
269
|
+
"created_at": "2013-02-05T12:14:17.364-05:00",
|
270
|
+
"cooked": "<p>What? So I have to post this every day? <br><img src=\"http://q101.com/wp-content/uploads/2012/02/GroundhogDay.gif\" alt=\"image\" title=\"\" width=\"650\" height=\"824\"></p>",
|
271
|
+
"post_number": 14,
|
272
|
+
"post_type": 1,
|
273
|
+
"updated_at": "2013-02-05T12:14:17.364-05:00",
|
274
|
+
"reply_count": 0,
|
275
|
+
"reply_to_post_number": 1,
|
276
|
+
"quote_count": 0,
|
277
|
+
"avg_time": 16,
|
278
|
+
"incoming_link_count": 0,
|
279
|
+
"reads": 22,
|
280
|
+
"score": 170.2,
|
281
|
+
"yours": false,
|
282
|
+
"topic_slug": "this-site-is-a-sandbox-it-is-reset-every-day",
|
283
|
+
"topic_id": 57,
|
284
|
+
"display_username": "Stefan Plattner",
|
285
|
+
"version": 1,
|
286
|
+
"can_edit": null,
|
287
|
+
"can_delete": null,
|
288
|
+
"can_recover": false,
|
289
|
+
"read": false,
|
290
|
+
"user_title": null,
|
291
|
+
"reply_to_user": {
|
292
|
+
"username": "samsaffron",
|
293
|
+
"avatar_template": "//www.gravatar.com/avatar/3dcae8378d46c244172a115c28ca49ce.png?s={size}&r=pg&d=identicon"
|
294
|
+
},
|
295
|
+
"actions_summary": [
|
296
|
+
{
|
297
|
+
"id": 2,
|
298
|
+
"count": 5,
|
299
|
+
"hidden": false,
|
300
|
+
"can_act": null
|
301
|
+
},
|
302
|
+
{
|
303
|
+
"id": 3,
|
304
|
+
"count": 0,
|
305
|
+
"hidden": false,
|
306
|
+
"can_act": null
|
307
|
+
},
|
308
|
+
{
|
309
|
+
"id": 4,
|
310
|
+
"count": 0,
|
311
|
+
"hidden": false,
|
312
|
+
"can_act": null
|
313
|
+
},
|
314
|
+
{
|
315
|
+
"id": 5,
|
316
|
+
"count": 0,
|
317
|
+
"hidden": true,
|
318
|
+
"can_act": null
|
319
|
+
},
|
320
|
+
{
|
321
|
+
"id": 6,
|
322
|
+
"count": 0,
|
323
|
+
"hidden": false,
|
324
|
+
"can_act": null
|
325
|
+
},
|
326
|
+
{
|
327
|
+
"id": 7,
|
328
|
+
"count": 0,
|
329
|
+
"hidden": false,
|
330
|
+
"can_act": null
|
331
|
+
},
|
332
|
+
{
|
333
|
+
"id": 8,
|
334
|
+
"count": 0,
|
335
|
+
"hidden": false,
|
336
|
+
"can_act": null
|
337
|
+
}
|
338
|
+
],
|
339
|
+
"moderator": false,
|
340
|
+
"staff": true,
|
341
|
+
"user_id": 50,
|
342
|
+
"hidden": false,
|
343
|
+
"hidden_reason_id": null,
|
344
|
+
"trust_level": 1,
|
345
|
+
"deleted_at": null,
|
346
|
+
"user_deleted": false
|
347
|
+
}
|
348
|
+
],
|
349
|
+
"stream": [
|
350
|
+
83,
|
351
|
+
84,
|
352
|
+
86,
|
353
|
+
226
|
354
|
+
]
|
355
|
+
},
|
356
|
+
"draft": null,
|
357
|
+
"draft_key": "topic_57",
|
358
|
+
"draft_sequence": null,
|
359
|
+
"pinned": true,
|
360
|
+
"details": {
|
361
|
+
"auto_close_at": null,
|
362
|
+
"created_by": {
|
363
|
+
"id": 15,
|
364
|
+
"username": "samsaffron",
|
365
|
+
"avatar_template": "//www.gravatar.com/avatar/3dcae8378d46c244172a115c28ca49ce.png?s={size}&r=pg&d=identicon"
|
366
|
+
},
|
367
|
+
"last_poster": {
|
368
|
+
"id": 50,
|
369
|
+
"username": "splattne",
|
370
|
+
"avatar_template": "//www.gravatar.com/avatar/7847006dbf49f1722b07c8da396f1275.png?s={size}&r=pg&d=identicon"
|
371
|
+
},
|
372
|
+
"participants": [
|
373
|
+
{
|
374
|
+
"id": 15,
|
375
|
+
"username": "samsaffron",
|
376
|
+
"avatar_template": "//www.gravatar.com/avatar/3dcae8378d46c244172a115c28ca49ce.png?s={size}&r=pg&d=identicon",
|
377
|
+
"post_count": 2
|
378
|
+
},
|
379
|
+
{
|
380
|
+
"id": 23,
|
381
|
+
"username": "stienman",
|
382
|
+
"avatar_template": "//www.gravatar.com/avatar/281486f2a20201375414760dd347951d.png?s={size}&r=pg&d=identicon",
|
383
|
+
"post_count": 1
|
384
|
+
},
|
385
|
+
{
|
386
|
+
"id": 50,
|
387
|
+
"username": "splattne",
|
388
|
+
"avatar_template": "//www.gravatar.com/avatar/7847006dbf49f1722b07c8da396f1275.png?s={size}&r=pg&d=identicon",
|
389
|
+
"post_count": 1
|
390
|
+
}
|
391
|
+
],
|
392
|
+
"suggested_topics": [
|
393
|
+
{
|
394
|
+
"id": 62,
|
395
|
+
"title": "Funny pictures (Keep 'em clean, folks!)",
|
396
|
+
"fancy_title": "Funny pictures (Keep ‘em clean, folks!)",
|
397
|
+
"slug": "funny-pictures-keep-em-clean-folks",
|
398
|
+
"posts_count": 39,
|
399
|
+
"reply_count": 3,
|
400
|
+
"highest_post_number": 39,
|
401
|
+
"image_url": "http://cdn.discourse.org/uploads/try2_discourse/27/nt3b8.jpeg",
|
402
|
+
"created_at": "2013-02-04T15:42:30.290-05:00",
|
403
|
+
"last_posted_at": "2013-11-06T02:47:27.135-05:00",
|
404
|
+
"bumped": true,
|
405
|
+
"bumped_at": "2013-11-06T03:02:06.494-05:00",
|
406
|
+
"unseen": false,
|
407
|
+
"pinned": false,
|
408
|
+
"visible": true,
|
409
|
+
"closed": false,
|
410
|
+
"archived": false,
|
411
|
+
"archetype": "regular",
|
412
|
+
"like_count": 10,
|
413
|
+
"views": 186,
|
414
|
+
"category": {
|
415
|
+
"id": 13,
|
416
|
+
"name": "uncategPorized",
|
417
|
+
"color": "AB9364",
|
418
|
+
"text_color": "FFFFFF",
|
419
|
+
"slug": "uncategorized",
|
420
|
+
"topic_count": 21,
|
421
|
+
"description": "",
|
422
|
+
"topic_url": null,
|
423
|
+
"hotness": 5,
|
424
|
+
"read_restricted": false,
|
425
|
+
"permission": null,
|
426
|
+
"available_groups": [
|
427
|
+
"admins",
|
428
|
+
"everyone",
|
429
|
+
"moderators",
|
430
|
+
"staff",
|
431
|
+
"trust_level_1",
|
432
|
+
"trust_level_2",
|
433
|
+
"trust_level_3",
|
434
|
+
"trust_level_4",
|
435
|
+
"trust_level_5"
|
436
|
+
],
|
437
|
+
"auto_close_days": null,
|
438
|
+
"group_permissions": [
|
439
|
+
{
|
440
|
+
"permission_type": 1,
|
441
|
+
"group_name": "everyone"
|
442
|
+
}
|
443
|
+
],
|
444
|
+
"position": 1
|
445
|
+
}
|
446
|
+
},
|
447
|
+
{
|
448
|
+
"id": 152,
|
449
|
+
"title": "What are good resolutions to the enviroment?",
|
450
|
+
"fancy_title": "What are good resolutions to the enviroment?",
|
451
|
+
"slug": "what-are-good-resolutions-to-the-enviroment",
|
452
|
+
"posts_count": 3,
|
453
|
+
"reply_count": 0,
|
454
|
+
"highest_post_number": 3,
|
455
|
+
"image_url": null,
|
456
|
+
"created_at": "2013-11-05T02:12:37.113-05:00",
|
457
|
+
"last_posted_at": "2013-11-05T11:32:31.259-05:00",
|
458
|
+
"bumped": true,
|
459
|
+
"bumped_at": "2013-11-05T11:32:31.259-05:00",
|
460
|
+
"unseen": false,
|
461
|
+
"pinned": false,
|
462
|
+
"visible": true,
|
463
|
+
"closed": false,
|
464
|
+
"archived": false,
|
465
|
+
"archetype": "regular",
|
466
|
+
"like_count": 0,
|
467
|
+
"views": 50,
|
468
|
+
"category": {
|
469
|
+
"id": 13,
|
470
|
+
"name": "uncategorized",
|
471
|
+
"color": "AB9364",
|
472
|
+
"text_color": "FFFFFF",
|
473
|
+
"slug": "uncategorized",
|
474
|
+
"topic_count": 21,
|
475
|
+
"description": "",
|
476
|
+
"topic_url": null,
|
477
|
+
"hotness": 5,
|
478
|
+
"read_restricted": false,
|
479
|
+
"permission": null,
|
480
|
+
"available_groups": [
|
481
|
+
"admins",
|
482
|
+
"everyone",
|
483
|
+
"moderators",
|
484
|
+
"staff",
|
485
|
+
"trust_level_1",
|
486
|
+
"trust_level_2",
|
487
|
+
"trust_level_3",
|
488
|
+
"trust_level_4",
|
489
|
+
"trust_level_5"
|
490
|
+
],
|
491
|
+
"auto_close_days": null,
|
492
|
+
"group_permissions": [
|
493
|
+
{
|
494
|
+
"permission_type": 1,
|
495
|
+
"group_name": "everyone"
|
496
|
+
}
|
497
|
+
],
|
498
|
+
"position": 1
|
499
|
+
}
|
500
|
+
},
|
501
|
+
{
|
502
|
+
"id": 87,
|
503
|
+
"title": "Hilarious Picture Dump (Image Heavy)",
|
504
|
+
"fancy_title": "Hilarious Picture Dump (Image Heavy)",
|
505
|
+
"slug": "hilarious-picture-dump-image-heavy",
|
506
|
+
"posts_count": 4,
|
507
|
+
"reply_count": 0,
|
508
|
+
"highest_post_number": 4,
|
509
|
+
"image_url": "http://cdn.discourse.org/uploads/try2_discourse/33/1208514086be7cd9d27c00836da43ab15d00ec7be_4c256628scaled.jpeg",
|
510
|
+
"created_at": "2013-02-04T21:07:51.246-05:00",
|
511
|
+
"last_posted_at": "2013-02-05T12:52:47.243-05:00",
|
512
|
+
"bumped": true,
|
513
|
+
"bumped_at": "2013-06-26T01:45:24.590-04:00",
|
514
|
+
"unseen": false,
|
515
|
+
"pinned": false,
|
516
|
+
"visible": true,
|
517
|
+
"closed": false,
|
518
|
+
"archived": false,
|
519
|
+
"archetype": "regular",
|
520
|
+
"like_count": 0,
|
521
|
+
"views": 69,
|
522
|
+
"category": {
|
523
|
+
"id": 13,
|
524
|
+
"name": "uncategorized",
|
525
|
+
"color": "AB9364",
|
526
|
+
"text_color": "FFFFFF",
|
527
|
+
"slug": "uncategorized",
|
528
|
+
"topic_count": 21,
|
529
|
+
"description": "",
|
530
|
+
"topic_url": null,
|
531
|
+
"hotness": 5,
|
532
|
+
"read_restricted": false,
|
533
|
+
"permission": null,
|
534
|
+
"available_groups": [
|
535
|
+
"admins",
|
536
|
+
"everyone",
|
537
|
+
"moderators",
|
538
|
+
"staff",
|
539
|
+
"trust_level_1",
|
540
|
+
"trust_level_2",
|
541
|
+
"trust_level_3",
|
542
|
+
"trust_level_4",
|
543
|
+
"trust_level_5"
|
544
|
+
],
|
545
|
+
"auto_close_days": null,
|
546
|
+
"group_permissions": [
|
547
|
+
{
|
548
|
+
"permission_type": 1,
|
549
|
+
"group_name": "everyone"
|
550
|
+
}
|
551
|
+
],
|
552
|
+
"position": 1
|
553
|
+
}
|
554
|
+
},
|
555
|
+
{
|
556
|
+
"id": 197,
|
557
|
+
"title": "Replying as a new topic",
|
558
|
+
"fancy_title": "Replying as a new topic",
|
559
|
+
"slug": "replying-as-a-new-topic",
|
560
|
+
"posts_count": 1,
|
561
|
+
"reply_count": 0,
|
562
|
+
"highest_post_number": 1,
|
563
|
+
"image_url": null,
|
564
|
+
"created_at": "2013-11-06T00:57:00.177-05:00",
|
565
|
+
"last_posted_at": "2013-11-06T00:57:00.326-05:00",
|
566
|
+
"bumped": true,
|
567
|
+
"bumped_at": "2013-11-06T00:57:00.326-05:00",
|
568
|
+
"unseen": false,
|
569
|
+
"pinned": false,
|
570
|
+
"visible": true,
|
571
|
+
"closed": false,
|
572
|
+
"archived": false,
|
573
|
+
"archetype": "regular",
|
574
|
+
"like_count": 0,
|
575
|
+
"views": 23,
|
576
|
+
"category": {
|
577
|
+
"id": 13,
|
578
|
+
"name": "uncategorized",
|
579
|
+
"color": "AB9364",
|
580
|
+
"text_color": "FFFFFF",
|
581
|
+
"slug": "uncategorized",
|
582
|
+
"topic_count": 21,
|
583
|
+
"description": "",
|
584
|
+
"topic_url": null,
|
585
|
+
"hotness": 5,
|
586
|
+
"read_restricted": false,
|
587
|
+
"permission": null,
|
588
|
+
"available_groups": [
|
589
|
+
"admins",
|
590
|
+
"everyone",
|
591
|
+
"moderators",
|
592
|
+
"staff",
|
593
|
+
"trust_level_1",
|
594
|
+
"trust_level_2",
|
595
|
+
"trust_level_3",
|
596
|
+
"trust_level_4",
|
597
|
+
"trust_level_5"
|
598
|
+
],
|
599
|
+
"auto_close_days": null,
|
600
|
+
"group_permissions": [
|
601
|
+
{
|
602
|
+
"permission_type": 1,
|
603
|
+
"group_name": "everyone"
|
604
|
+
}
|
605
|
+
],
|
606
|
+
"position": 1
|
607
|
+
}
|
608
|
+
},
|
609
|
+
{
|
610
|
+
"id": 157,
|
611
|
+
"title": "What is your opinion on the movie hunger game?",
|
612
|
+
"fancy_title": "What is your opinion on the movie hunger game?",
|
613
|
+
"slug": "what-is-your-opinion-on-the-movie-hunger-game",
|
614
|
+
"posts_count": 1,
|
615
|
+
"reply_count": 0,
|
616
|
+
"highest_post_number": 1,
|
617
|
+
"image_url": null,
|
618
|
+
"created_at": "2013-11-05T03:59:13.194-05:00",
|
619
|
+
"last_posted_at": "2013-11-05T03:59:13.343-05:00",
|
620
|
+
"bumped": true,
|
621
|
+
"bumped_at": "2013-11-05T03:59:13.343-05:00",
|
622
|
+
"unseen": false,
|
623
|
+
"pinned": false,
|
624
|
+
"visible": true,
|
625
|
+
"closed": false,
|
626
|
+
"archived": false,
|
627
|
+
"archetype": "regular",
|
628
|
+
"like_count": 1,
|
629
|
+
"views": 23,
|
630
|
+
"category": {
|
631
|
+
"id": 13,
|
632
|
+
"name": "uncategorized",
|
633
|
+
"color": "AB9364",
|
634
|
+
"text_color": "FFFFFF",
|
635
|
+
"slug": "uncategorized",
|
636
|
+
"topic_count": 21,
|
637
|
+
"description": "",
|
638
|
+
"topic_url": null,
|
639
|
+
"hotness": 5,
|
640
|
+
"read_restricted": false,
|
641
|
+
"permission": null,
|
642
|
+
"available_groups": [
|
643
|
+
"admins",
|
644
|
+
"everyone",
|
645
|
+
"moderators",
|
646
|
+
"staff",
|
647
|
+
"trust_level_1",
|
648
|
+
"trust_level_2",
|
649
|
+
"trust_level_3",
|
650
|
+
"trust_level_4",
|
651
|
+
"trust_level_5"
|
652
|
+
],
|
653
|
+
"auto_close_days": null,
|
654
|
+
"group_permissions": [
|
655
|
+
{
|
656
|
+
"permission_type": 1,
|
657
|
+
"group_name": "everyone"
|
658
|
+
}
|
659
|
+
],
|
660
|
+
"position": 1
|
661
|
+
}
|
662
|
+
}
|
663
|
+
],
|
664
|
+
"links": [
|
665
|
+
{
|
666
|
+
"url": "http://meta.discourse.org",
|
667
|
+
"title": null,
|
668
|
+
"fancy_title": null,
|
669
|
+
"internal": false,
|
670
|
+
"reflection": false,
|
671
|
+
"clicks": "7",
|
672
|
+
"user_id": 15
|
673
|
+
},
|
674
|
+
{
|
675
|
+
"url": "http://www.discourse.org",
|
676
|
+
"title": null,
|
677
|
+
"fancy_title": null,
|
678
|
+
"internal": false,
|
679
|
+
"reflection": false,
|
680
|
+
"clicks": "4",
|
681
|
+
"user_id": 15
|
682
|
+
},
|
683
|
+
{
|
684
|
+
"url": "https://github.com/discourse/discourse",
|
685
|
+
"title": null,
|
686
|
+
"fancy_title": null,
|
687
|
+
"internal": false,
|
688
|
+
"reflection": false,
|
689
|
+
"clicks": "0",
|
690
|
+
"user_id": 15
|
691
|
+
},
|
692
|
+
{
|
693
|
+
"url": "/users/pekka.gaiser",
|
694
|
+
"title": null,
|
695
|
+
"fancy_title": null,
|
696
|
+
"internal": true,
|
697
|
+
"reflection": false,
|
698
|
+
"clicks": "0",
|
699
|
+
"user_id": 9
|
700
|
+
},
|
701
|
+
{
|
702
|
+
"url": "http://dev.discourse.org/t/general-bugs-list/92/365)",
|
703
|
+
"title": null,
|
704
|
+
"fancy_title": null,
|
705
|
+
"internal": false,
|
706
|
+
"reflection": false,
|
707
|
+
"clicks": "0",
|
708
|
+
"user_id": 9
|
709
|
+
},
|
710
|
+
{
|
711
|
+
"url": "/users/pekka",
|
712
|
+
"title": null,
|
713
|
+
"fancy_title": null,
|
714
|
+
"internal": true,
|
715
|
+
"reflection": false,
|
716
|
+
"clicks": "0",
|
717
|
+
"user_id": 9
|
718
|
+
}
|
719
|
+
]
|
720
|
+
},
|
721
|
+
"highest_post_number": 14,
|
722
|
+
"deleted_by": null,
|
723
|
+
"id": 57,
|
724
|
+
"title": "THIS SITE IS A SANDBOX -- it is reset every day",
|
725
|
+
"fancy_title": "THIS SITE IS A SANDBOX – it is reset every day",
|
726
|
+
"posts_count": 4,
|
727
|
+
"created_at": "2013-02-04T15:26:25.977-05:00",
|
728
|
+
"views": 268,
|
729
|
+
"reply_count": 9,
|
730
|
+
"last_posted_at": "2013-02-05T12:14:17.364-05:00",
|
731
|
+
"visible": true,
|
732
|
+
"closed": false,
|
733
|
+
"archived": false,
|
734
|
+
"has_best_of": false,
|
735
|
+
"archetype": "regular",
|
736
|
+
"slug": "this-site-is-a-sandbox-it-is-reset-every-day",
|
737
|
+
"category_id": 13,
|
738
|
+
"deleted_at": null
|
739
|
+
}
|