/
TestCollectionModeration.test_update_display_layout__empty_string.json
307 lines (307 loc) · 30.2 KB
/
TestCollectionModeration.test_update_display_layout__empty_string.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
{
"interactions": [
{
"request": {
"body": [
[
"grant_type",
"refresh_token"
],
[
"refresh_token",
"<REFRESH_TOKEN>"
]
],
"headers": {
"AUTHORIZATION": [
"Basic <BASIC_AUTH>"
],
"Accept-Encoding": [
"identity"
],
"Connection": [
"close"
],
"User-Agent": [
"<USER_AGENT> Async PRAW/7.5.1.dev0 asyncprawcore/2.3.0"
]
},
"method": "POST",
"uri": "https://www.reddit.com/api/v1/access_token"
},
"response": {
"body": {
"string": "{\"access_token\": \"<ACCESS_TOKEN>\", \"token_type\": \"bearer\", \"expires_in\": 3600, \"refresh_token\": \"<REFRESH_TOKEN>\", \"scope\": \"account creddits edit flair history identity livemanage modconfig modcontributors modflair modlog modmail modothers modposts modself modtraffic modwiki mysubreddits privatemessages read report save structuredstyles submit subscribe vote wikiedit wikiread\"}"
},
"headers": {
"Accept-Ranges": [
"bytes"
],
"Connection": [
"close"
],
"Content-Length": [
"427"
],
"Content-Type": [
"application/json; charset=UTF-8"
],
"Date": [
"Fri, 24 Dec 2021 22:20:47 GMT"
],
"Server": [
"snooserv"
],
"Set-Cookie": [
"edgebucket=SwXql06fdsfv3Sqy1P; Domain=reddit.com; Max-Age=63071999; Path=/; secure"
],
"Strict-Transport-Security": [
"max-age=15552000; includeSubDomains; preload"
],
"Via": [
"1.1 varnish"
],
"X-Clacks-Overhead": [
"GNU Terry Pratchett"
],
"X-Moose": [
"majestic"
],
"cache-control": [
"max-age=0, must-revalidate"
],
"x-content-type-options": [
"nosniff"
],
"x-frame-options": [
"SAMEORIGIN"
],
"x-ratelimit-remaining": [
"299"
],
"x-ratelimit-reset": [
"553"
],
"x-ratelimit-used": [
"1"
],
"x-xss-protection": [
"1; mode=block"
]
},
"status": {
"code": 200,
"message": "OK"
},
"url": "https://www.reddit.com/api/v1/access_token"
}
},
{
"request": {
"body": null,
"headers": {
"Accept-Encoding": [
"identity"
],
"Authorization": [
"bearer <ACCESS_TOKEN>"
],
"Cookie": [
"edgebucket=SwXql06fdsfv3Sqy1P"
],
"User-Agent": [
"<USER_AGENT> Async PRAW/7.5.1.dev0 asyncprawcore/2.3.0"
]
},
"method": "GET",
"uri": "https://oauth.reddit.com/api/v1/collections/collection?collection_id=3aa31024-711b-46b2-9514-3fd50619f6e8&include_links=true&raw_json=1"
},
"response": {
"body": {
"string": "{\"sorted_links\": {\"kind\": \"Listing\", \"data\": {\"after\": null, \"dist\": 3, \"modhash\": null, \"geo_filter\": \"\", \"children\": [{\"kind\": \"t3\", \"data\": {\"author_flair_background_color\": null, \"approved_at_utc\": null, \"subreddit\": \"<USERNAME>\", \"selftext\": \"\", \"user_reports\": [], \"saved\": false, \"mod_reason_title\": null, \"gilded\": 0, \"clicked\": false, \"title\": \"Test\", \"link_flair_richtext\": [], \"subreddit_name_prefixed\": \"r/<USERNAME>\", \"collections\": [{\"permalink\": \"https://www.reddit.com/r/<USERNAME>/collection/3aa31024-711b-46b2-9514-3fd50619f6e8\", \"link_ids\": [\"t3_k62e2k\", \"t3_axdfp2\", \"t3_k62e3m\"], \"description\": \"hi\", \"title\": \"test\", \"created_at_utc\": 1593317212.619, \"subreddit_id\": \"t5_7ss0q\", \"author_name\": \"<USERNAME>\", \"collection_id\": \"3aa31024-711b-46b2-9514-3fd50619f6e8\", \"author_id\": \"t2_o77bz\", \"last_update_utc\": 1640282842.675, \"display_layout\": null}], \"hidden\": false, \"pwls\": null, \"link_flair_css_class\": null, \"downs\": 0, \"thumbnail_height\": null, \"top_awarded_type\": null, \"parent_whitelist_status\": null, \"hide_score\": false, \"name\": \"t3_k62e2k\", \"quarantine\": false, \"link_flair_text_color\": \"dark\", \"upvote_ratio\": 1.0, \"ignore_reports\": false, \"ups\": 1, \"domain\": \"self.<USERNAME>\", \"media_embed\": {}, \"thumbnail_width\": null, \"author_flair_template_id\": null, \"is_original_content\": false, \"author_fullname\": \"t2_6l4z3\", \"secure_media\": null, \"is_reddit_media_domain\": false, \"is_meta\": false, \"category\": null, \"secure_media_embed\": {}, \"link_flair_text\": null, \"can_mod_post\": true, \"score\": 1, \"approved_by\": null, \"is_created_from_ads_ui\": false, \"author_premium\": true, \"thumbnail\": \"self\", \"edited\": false, \"author_flair_css_class\": null, \"author_flair_richtext\": [], \"gildings\": {}, \"content_categories\": null, \"is_self\": true, \"subreddit_type\": \"restricted\", \"created\": 1607018413.0, \"link_flair_type\": \"text\", \"wls\": null, \"removed_by_category\": null, \"banned_by\": null, \"author_flair_type\": \"text\", \"total_awards_received\": 0, \"allow_live_comments\": false, \"selftext_html\": null, \"likes\": null, \"suggested_sort\": null, \"banned_at_utc\": null, \"view_count\": null, \"archived\": false, \"no_follow\": true, \"spam\": false, \"is_crosspostable\": true, \"pinned\": false, \"over_18\": false, \"all_awardings\": [], \"awarders\": [], \"media_only\": false, \"can_gild\": true, \"removed\": false, \"spoiler\": false, \"locked\": false, \"author_flair_text\": null, \"treatment_tags\": [], \"visited\": false, \"removed_by\": null, \"mod_note\": null, \"distinguished\": null, \"subreddit_id\": \"t5_7ss0q\", \"author_is_blocked\": false, \"mod_reason_by\": null, \"num_reports\": 0, \"removal_reason\": null, \"link_flair_background_color\": \"\", \"id\": \"k62e2k\", \"is_robot_indexable\": true, \"report_reasons\": [], \"author\": \"AutoModerator\", \"discussion_type\": null, \"num_comments\": 0, \"send_replies\": true, \"media\": null, \"contest_mode\": false, \"author_patreon_flair\": false, \"approved\": false, \"author_flair_text_color\": null, \"permalink\": \"/r/<USERNAME>/comments/k62e2k/test/\", \"whitelist_status\": null, \"stickied\": false, \"url\": \"https://www.reddit.com/r/<USERNAME>/comments/k62e2k/test/\", \"subreddit_subscribers\": 14, \"created_utc\": 1607018413.0, \"num_crossposts\": 0, \"mod_reports\": [], \"is_video\": false}}, {\"kind\": \"t3\", \"data\": {\"author_flair_background_color\": null, \"approved_at_utc\": 1554954080, \"subreddit\": \"<USERNAME>\", \"selftext\": \"Hello peoples!\\n\\nLast week, we [asked your opinion](https://redd.it/aufll1) on your on whether we should move the memes to their own dedicated subreddit. The feedback we received from that post and in modmail was mostly in favor of this change. Because of this we have decided to go ahead with a trial of this new policy/rule.\\n \\n\\nThe new rule:\\n\\n\\u003E #No Memes \\n\\u003E \\n\\u003E No memes or images with text added to it. This includes, but not limited to: impact font, tweets, white box at the top with text added to it, comics, and other memey things. These should be posted to our sister sub r/fakehistorymemes. The exceptions are: subtitles, signs, shirts and any other text that was already in the image are permitted.\\n\\n##This means that all memes* now go in r/fakehistorymemes\\n^don\\u2019t ^forget ^to ^like, ^comment ^and ^subscribe!\\n\\n\\nOne thing we need to stress:\\n#There will never be a punishment (e.g., banning) for posting memes here apart from your post being removed and receiving a ~~nasty~~ reminder to post memes in r/fakehistorymemes.\\n\\nSeveral people have suggested that we have implement a flair system so that you could just sort by a certain flair to view the content you want to see. However, there are a few issues with this: \\n\\n1. It would break the existing filtering what years you want to see. Secondly, this would either require all users to flair their own submissions correctly (which we have learnt from other subs that this is easier said than done) or we would have to have someone around 24/7 to flair everyone's posts and all our slaves are busy doing other things.\\n2. This doesn't work for people who just view the sub through their feed as you can't sort by flair there.\\n\\nThis is where as having 2 subs allows for this functionality. \\n\\nJust to reiterate, memes now go in r/fakehistorymemes, while the OG style of post (such as those found in the top posts of all time) belong here.\\n\\n^(*We classify memes as something that has text added to the picture to make it funny. This means that subtitles, signs, shirts and any other text that was already in the image are permitted while things like comics, conventional impact font memes ^please ^no and other memey things should instead be posted on r/fakehisotrymemes. It is a little difficult to designate strict rules on exactly what is and isn\\u2019t a meme so it will be up to the moderators to decide what is a meme. However the above classification should be a good guideline (if you have something you want to post it should be reasonably simple to know which sub it should go in. r/fakehisotrymemes is still run by the same mod team (i.e., us)^) ^(so the rules will be similar (close to non-existent)^) ^(and we will be running similar competitions.)\\n\\nDepending on the feedback we receive and the quality of the sub, we will revisit this change and see if it is a beneficial change.\\n\\nThanks for being the best part of r/fakehistoryporn!\\n\\nSincerely,\\n\\n~~Meme Police~~ The r/fakehistoryporn mod team\\n\\n___\\n\\nIf you have any more questions, comments or concerns don\\u2019t hesitate to contact us in the [Official Discord](https://discord.gg/vWa5BRt), [Modmail](https://www.reddit.com/message/compose?to=%2Fr%2Ffakehistoryporn) or in the comments of this post. \\n\", \"user_reports\": [], \"saved\": false, \"mod_reason_title\": null, \"gilded\": 0, \"clicked\": false, \"title\": \"Test\", \"link_flair_richtext\": [{\"e\": \"text\", \"t\": \"test\"}], \"subreddit_name_prefixed\": \"r/<USERNAME>\", \"collections\": [{\"permalink\": \"https://www.reddit.com/r/<USERNAME>/collection/3aa31024-711b-46b2-9514-3fd50619f6e8\", \"link_ids\": [\"t3_k62e2k\", \"t3_axdfp2\", \"t3_k62e3m\"], \"description\": \"hi\", \"title\": \"test\", \"created_at_utc\": 1593317212.619, \"subreddit_id\": \"t5_7ss0q\", \"author_name\": \"<USERNAME>\", \"collection_id\": \"3aa31024-711b-46b2-9514-3fd50619f6e8\", \"author_id\": \"t2_o77bz\", \"last_update_utc\": 1640282842.675, \"display_layout\": null}], \"hidden\": false, \"pwls\": null, \"link_flair_css_class\": \"\", \"downs\": 0, \"thumbnail_height\": null, \"top_awarded_type\": null, \"parent_whitelist_status\": null, \"hide_score\": false, \"name\": \"t3_axdfp2\", \"quarantine\": false, \"link_flair_text_color\": \"dark\", \"upvote_ratio\": 1.0, \"ignore_reports\": false, \"ups\": 1, \"domain\": \"self.<USERNAME>\", \"media_embed\": {}, \"thumbnail_width\": null, \"author_flair_template_id\": null, \"is_original_content\": false, \"author_fullname\": \"t2_o77bz\", \"secure_media\": null, \"is_reddit_media_domain\": false, \"is_meta\": false, \"category\": null, \"secure_media_embed\": {}, \"link_flair_text\": \"test\", \"can_mod_post\": true, \"score\": 1, \"approved_by\": \"<USERNAME>\", \"is_created_from_ads_ui\": false, \"author_premium\": true, \"thumbnail\": \"self\", \"edited\": false, \"author_flair_css_class\": null, \"author_flair_richtext\": [], \"gildings\": {}, \"post_hint\": \"self\", \"content_categories\": null, \"is_self\": true, \"mod_note\": null, \"created\": 1551739042.0, \"link_flair_type\": \"richtext\", \"wls\": null, \"removed_by_category\": null, \"banned_by\": null, \"author_flair_type\": \"text\", \"total_awards_received\": 0, \"allow_live_comments\": false, \"selftext_html\": \"\\u003C!-- SC_OFF --\\u003E\\u003Cdiv class=\\\"md\\\"\\u003E\\u003Cp\\u003EHello peoples!\\u003C/p\\u003E\\n\\n\\u003Cp\\u003ELast week, we \\u003Ca href=\\\"https://redd.it/aufll1\\\"\\u003Easked your opinion\\u003C/a\\u003E on your on whether we should move the memes to their own dedicated subreddit. The feedback we received from that post and in modmail was mostly in favor of this change. Because of this we have decided to go ahead with a trial of this new policy/rule.\\u003C/p\\u003E\\n\\n\\u003Cp\\u003EThe new rule:\\u003C/p\\u003E\\n\\n\\u003Cblockquote\\u003E\\n\\u003Ch1\\u003ENo Memes\\u003C/h1\\u003E\\n\\n\\u003Cp\\u003ENo memes or images with text added to it. This includes, but not limited to: impact font, tweets, white box at the top with text added to it, comics, and other memey things. These should be posted to our sister sub \\u003Ca href=\\\"/r/fakehistorymemes\\\"\\u003Er/fakehistorymemes\\u003C/a\\u003E. The exceptions are: subtitles, signs, shirts and any other text that was already in the image are permitted.\\u003C/p\\u003E\\n\\u003C/blockquote\\u003E\\n\\n\\u003Ch2\\u003EThis means that all memes* now go in \\u003Ca href=\\\"/r/fakehistorymemes\\\"\\u003Er/fakehistorymemes\\u003C/a\\u003E\\u003C/h2\\u003E\\n\\n\\u003Cp\\u003E\\u003Csup\\u003Edon\\u2019t\\u003C/sup\\u003E \\u003Csup\\u003Eforget\\u003C/sup\\u003E \\u003Csup\\u003Eto\\u003C/sup\\u003E \\u003Csup\\u003Elike,\\u003C/sup\\u003E \\u003Csup\\u003Ecomment\\u003C/sup\\u003E \\u003Csup\\u003Eand\\u003C/sup\\u003E \\u003Csup\\u003Esubscribe!\\u003C/sup\\u003E\\u003C/p\\u003E\\n\\n\\u003Cp\\u003EOne thing we need to stress:\\u003C/p\\u003E\\n\\n\\u003Ch1\\u003EThere will never be a punishment (e.g., banning) for posting memes here apart from your post being removed and receiving a \\u003Cdel\\u003Enasty\\u003C/del\\u003E reminder to post memes in \\u003Ca href=\\\"/r/fakehistorymemes\\\"\\u003Er/fakehistorymemes\\u003C/a\\u003E.\\u003C/h1\\u003E\\n\\n\\u003Cp\\u003ESeveral people have suggested that we have implement a flair system so that you could just sort by a certain flair to view the content you want to see. However, there are a few issues with this: \\u003C/p\\u003E\\n\\n\\u003Col\\u003E\\n\\u003Cli\\u003EIt would break the existing filtering what years you want to see. Secondly, this would either require all users to flair their own submissions correctly (which we have learnt from other subs that this is easier said than done) or we would have to have someone around 24/7 to flair everyone\\u0026#39;s posts and all our slaves are busy doing other things.\\u003C/li\\u003E\\n\\u003Cli\\u003EThis doesn\\u0026#39;t work for people who just view the sub through their feed as you can\\u0026#39;t sort by flair there.\\u003C/li\\u003E\\n\\u003C/ol\\u003E\\n\\n\\u003Cp\\u003EThis is where as having 2 subs allows for this functionality. \\u003C/p\\u003E\\n\\n\\u003Cp\\u003EJust to reiterate, memes now go in \\u003Ca href=\\\"/r/fakehistorymemes\\\"\\u003Er/fakehistorymemes\\u003C/a\\u003E, while the OG style of post (such as those found in the top posts of all time) belong here.\\u003C/p\\u003E\\n\\n\\u003Cp\\u003E\\u003Csup\\u003E*We classify memes as something that has text added to the picture to make it funny. This means that subtitles, signs, shirts and any other text that was already in the image are permitted while things like comics, conventional impact font memes \\u003Csup\\u003Eplease\\u003C/sup\\u003E \\u003Csup\\u003Eno\\u003C/sup\\u003E and other memey things should instead be posted on \\u003Ca href=\\\"/r/fakehisotrymemes\\\"\\u003Er/fakehisotrymemes\\u003C/a\\u003E. It is a little difficult to designate strict rules on exactly what is and isn\\u2019t a meme so it will be up to the moderators to decide what is a meme. However the above classification should be a good guideline (if you have something you want to post it should be reasonably simple to know which sub it should go in. \\u003Ca href=\\\"/r/fakehisotrymemes\\\"\\u003Er/fakehisotrymemes\\u003C/a\\u003E is still run by the same mod team (i.e., us\\u003C/sup\\u003E\\u003Csup\\u003E)\\u003C/sup\\u003E \\u003Csup\\u003Eso the rules will be similar (close to non-existent\\u003C/sup\\u003E\\u003Csup\\u003E)\\u003C/sup\\u003E \\u003Csup\\u003Eand we will be running similar competitions.\\u003C/sup\\u003E\\u003C/p\\u003E\\n\\n\\u003Cp\\u003EDepending on the feedback we receive and the quality of the sub, we will revisit this change and see if it is a beneficial change.\\u003C/p\\u003E\\n\\n\\u003Cp\\u003EThanks for being the best part of \\u003Ca href=\\\"/r/fakehistoryporn\\\"\\u003Er/fakehistoryporn\\u003C/a\\u003E!\\u003C/p\\u003E\\n\\n\\u003Cp\\u003ESincerely,\\u003C/p\\u003E\\n\\n\\u003Cp\\u003E\\u003Cdel\\u003EMeme Police\\u003C/del\\u003E The \\u003Ca href=\\\"/r/fakehistoryporn\\\"\\u003Er/fakehistoryporn\\u003C/a\\u003E mod team\\u003C/p\\u003E\\n\\n\\u003Chr/\\u003E\\n\\n\\u003Cp\\u003EIf you have any more questions, comments or concerns don\\u2019t hesitate to contact us in the \\u003Ca href=\\\"https://discord.gg/vWa5BRt\\\"\\u003EOfficial Discord\\u003C/a\\u003E, \\u003Ca href=\\\"https://www.reddit.com/message/compose?to=%2Fr%2Ffakehistoryporn\\\"\\u003EModmail\\u003C/a\\u003E or in the comments of this post. \\u003C/p\\u003E\\n\\u003C/div\\u003E\\u003C!-- SC_ON --\\u003E\", \"likes\": true, \"suggested_sort\": null, \"banned_at_utc\": null, \"view_count\": null, \"archived\": false, \"no_follow\": false, \"spam\": false, \"is_crosspostable\": true, \"pinned\": false, \"over_18\": false, \"preview\": {\"images\": [{\"source\": {\"url\": \"https://external-preview.redd.it/x5JRIeY60pIR1fazPb0ljVkUi8PialslEUYlEhswmYk.jpg?auto=webp\\u0026s=ceaef94ac6b8f26b071a98866b446a4a0a567032\", \"width\": 1200, \"height\": 628}, \"resolutions\": [{\"url\": \"https://external-preview.redd.it/x5JRIeY60pIR1fazPb0ljVkUi8PialslEUYlEhswmYk.jpg?width=108\\u0026crop=smart\\u0026auto=webp\\u0026s=1dcc9ca3a866f7b4aacfadda858fab6a5652ecbf\", \"width\": 108, \"height\": 56}, {\"url\": \"https://external-preview.redd.it/x5JRIeY60pIR1fazPb0ljVkUi8PialslEUYlEhswmYk.jpg?width=216\\u0026crop=smart\\u0026auto=webp\\u0026s=b601492d6131461f3a1d195c82753317c0082d05\", \"width\": 216, \"height\": 113}, {\"url\": \"https://external-preview.redd.it/x5JRIeY60pIR1fazPb0ljVkUi8PialslEUYlEhswmYk.jpg?width=320\\u0026crop=smart\\u0026auto=webp\\u0026s=9df19ec5db5047dae1fadeec15b6836f38a6a917\", \"width\": 320, \"height\": 167}, {\"url\": \"https://external-preview.redd.it/x5JRIeY60pIR1fazPb0ljVkUi8PialslEUYlEhswmYk.jpg?width=640\\u0026crop=smart\\u0026auto=webp\\u0026s=bdc6a700886d20d02dd8e29d1f5b3a721deabb4a\", \"width\": 640, \"height\": 334}, {\"url\": \"https://external-preview.redd.it/x5JRIeY60pIR1fazPb0ljVkUi8PialslEUYlEhswmYk.jpg?width=960\\u0026crop=smart\\u0026auto=webp\\u0026s=8cab368c12c276549af3f8245418a03d27645013\", \"width\": 960, \"height\": 502}, {\"url\": \"https://external-preview.redd.it/x5JRIeY60pIR1fazPb0ljVkUi8PialslEUYlEhswmYk.jpg?width=1080\\u0026crop=smart\\u0026auto=webp\\u0026s=07a44ca128379479601d3de5764bee14dc1b2f74\", \"width\": 1080, \"height\": 565}], \"variants\": {}, \"id\": \"ltRJIJZJxzAbU2ofId4f5xpfVwmSPFOuFlvarmLqasI\"}], \"enabled\": false}, \"all_awardings\": [], \"awarders\": [], \"media_only\": false, \"link_flair_template_id\": \"94f13282-e2e8-11e8-8291-0eae4e167256\", \"can_gild\": false, \"removed\": false, \"spoiler\": false, \"locked\": false, \"author_flair_text\": null, \"treatment_tags\": [], \"rte_mode\": \"markdown\", \"visited\": false, \"removed_by\": null, \"subreddit_type\": \"restricted\", \"distinguished\": null, \"subreddit_id\": \"t5_7ss0q\", \"author_is_blocked\": false, \"mod_reason_by\": null, \"num_reports\": 0, \"removal_reason\": null, \"link_flair_background_color\": \"\", \"id\": \"axdfp2\", \"is_robot_indexable\": true, \"report_reasons\": [], \"author\": \"<USERNAME>\", \"discussion_type\": null, \"num_comments\": 1, \"send_replies\": true, \"media\": null, \"contest_mode\": false, \"author_patreon_flair\": false, \"approved\": true, \"author_flair_text_color\": null, \"permalink\": \"/r/<USERNAME>/comments/axdfp2/test/\", \"whitelist_status\": null, \"stickied\": false, \"url\": \"https://www.reddit.com/r/<USERNAME>/comments/axdfp2/test/\", \"subreddit_subscribers\": 14, \"created_utc\": 1551739042.0, \"num_crossposts\": 0, \"mod_reports\": [], \"is_video\": false}}, {\"kind\": \"t3\", \"data\": {\"author_flair_background_color\": null, \"approved_at_utc\": null, \"subreddit\": \"<USERNAME>\", \"selftext\": \"\", \"user_reports\": [], \"saved\": false, \"mod_reason_title\": null, \"gilded\": 0, \"clicked\": false, \"title\": \"test\", \"link_flair_richtext\": [], \"subreddit_name_prefixed\": \"r/<USERNAME>\", \"collections\": [{\"permalink\": \"https://www.reddit.com/r/<USERNAME>/collection/3aa31024-711b-46b2-9514-3fd50619f6e8\", \"link_ids\": [\"t3_k62e2k\", \"t3_axdfp2\", \"t3_k62e3m\"], \"description\": \"hi\", \"title\": \"test\", \"created_at_utc\": 1593317212.619, \"subreddit_id\": \"t5_7ss0q\", \"author_name\": \"<USERNAME>\", \"collection_id\": \"3aa31024-711b-46b2-9514-3fd50619f6e8\", \"author_id\": \"t2_o77bz\", \"last_update_utc\": 1640282842.675, \"display_layout\": null}], \"hidden\": false, \"pwls\": null, \"link_flair_css_class\": null, \"downs\": 0, \"thumbnail_height\": null, \"top_awarded_type\": null, \"parent_whitelist_status\": null, \"hide_score\": false, \"name\": \"t3_k62e3m\", \"quarantine\": false, \"link_flair_text_color\": \"dark\", \"upvote_ratio\": 1.0, \"ignore_reports\": false, \"ups\": 1, \"domain\": \"self.<USERNAME>\", \"media_embed\": {}, \"thumbnail_width\": null, \"author_flair_template_id\": null, \"is_original_content\": false, \"author_fullname\": \"t2_6l4z3\", \"secure_media\": null, \"is_reddit_media_domain\": false, \"is_meta\": false, \"category\": null, \"secure_media_embed\": {}, \"link_flair_text\": null, \"can_mod_post\": true, \"score\": 1, \"approved_by\": null, \"is_created_from_ads_ui\": false, \"author_premium\": true, \"thumbnail\": \"self\", \"edited\": false, \"author_flair_css_class\": null, \"author_flair_richtext\": [], \"gildings\": {}, \"content_categories\": null, \"is_self\": true, \"subreddit_type\": \"restricted\", \"created\": 1607018415.0, \"link_flair_type\": \"text\", \"wls\": null, \"removed_by_category\": null, \"banned_by\": null, \"author_flair_type\": \"text\", \"total_awards_received\": 0, \"allow_live_comments\": false, \"selftext_html\": null, \"likes\": null, \"suggested_sort\": null, \"banned_at_utc\": null, \"view_count\": null, \"archived\": false, \"no_follow\": true, \"spam\": false, \"is_crosspostable\": true, \"pinned\": false, \"over_18\": false, \"all_awardings\": [], \"awarders\": [], \"media_only\": false, \"can_gild\": true, \"removed\": false, \"spoiler\": false, \"locked\": false, \"author_flair_text\": null, \"treatment_tags\": [], \"visited\": false, \"removed_by\": null, \"mod_note\": null, \"distinguished\": null, \"subreddit_id\": \"t5_7ss0q\", \"author_is_blocked\": false, \"mod_reason_by\": null, \"num_reports\": 1, \"removal_reason\": null, \"link_flair_background_color\": \"\", \"id\": \"k62e3m\", \"is_robot_indexable\": true, \"report_reasons\": [\"This attribute is deprecated. Please use mod_reports and user_reports instead.\"], \"author\": \"AutoModerator\", \"discussion_type\": null, \"num_comments\": 0, \"send_replies\": true, \"media\": null, \"contest_mode\": false, \"author_patreon_flair\": false, \"approved\": false, \"author_flair_text_color\": null, \"permalink\": \"/r/<USERNAME>/comments/k62e3m/test/\", \"whitelist_status\": null, \"stickied\": true, \"url\": \"https://www.reddit.com/r/<USERNAME>/comments/k62e3m/test/\", \"subreddit_subscribers\": 14, \"created_utc\": 1607018415.0, \"num_crossposts\": 0, \"mod_reports\": [[\"No spa5\", \"<USERNAME>\"]], \"is_video\": false}}], \"before\": null}}, \"subreddit_id\": \"t5_7ss0q\", \"description\": \"hi\", \"primary_link_id\": \"t3_k62e2k\", \"author_name\": \"<USERNAME>\", \"collection_id\": \"3aa31024-711b-46b2-9514-3fd50619f6e8\", \"display_layout\": null, \"permalink\": \"https://www.reddit.com/r/<USERNAME>/collection/3aa31024-711b-46b2-9514-3fd50619f6e8\", \"link_ids\": [\"t3_k62e2k\", \"t3_axdfp2\", \"t3_k62e3m\"], \"title\": \"test\", \"created_at_utc\": 1593317212.619, \"author_id\": \"t2_o77bz\", \"last_update_utc\": 1640282842.675}"
},
"headers": {
"Accept-Ranges": [
"bytes"
],
"Connection": [
"keep-alive"
],
"Content-Length": [
"20036"
],
"Content-Type": [
"application/json; charset=UTF-8"
],
"Date": [
"Fri, 24 Dec 2021 22:20:47 GMT"
],
"Server": [
"snooserv"
],
"Set-Cookie": [
"loid=0000000000000o77bz.2.1434669370561.Z0FBQUFBQmh4a2VfRkRuREhxcEYxR05Ja2JDMTUtVUlha3pzQzhRamd2TmJzS3NkUUVlSnlrTThseTZvZmJaRzJwWXlDQkR0VVExVVJCVVI3MmJiVnA1eUxHSnFITkd2RjJLRk9yV0tydXJkajFnSEUxcVZxd2x1aHNLenktQ1lnLVM3Z2c3dWVlaF8; Domain=reddit.com; Max-Age=63071999; Path=/; expires=Sun, 24-Dec-2023 22:20:47 GMT; secure; SameSite=None; Secure",
"session_tracker=alifrhaiemaidhgdpo.0.1640384447243.Z0FBQUFBQmh4a2VfcjBrRmlQVFZ5a29DLVdOTG9FbG9jT1FOWlYxNG4wRVB0aTZFbmx5Wm5VV1V2UEtsWk9wSndpemw2bDhQaExrc0JJYmJFaW82WUR2amp1cEIxbVhQd1NhZXZEaUdSOEVZbDl2c0RzZWxfWmpBTTk2dFB2Vnk1MnlqN1R3TmFRYXM; Domain=reddit.com; Max-Age=7199; Path=/; expires=Sat, 25-Dec-2021 00:20:47 GMT; secure; SameSite=None; Secure",
"redesign_optout=true; Domain=reddit.com; Max-Age=94607999; Path=/; expires=Mon, 23-Dec-2024 22:20:47 GMT; secure",
"csv=2; Max-Age=63072000; Domain=.reddit.com; Path=/; Secure; SameSite=None"
],
"Strict-Transport-Security": [
"max-age=15552000; includeSubDomains; preload"
],
"Vary": [
"accept-encoding"
],
"Via": [
"1.1 varnish"
],
"X-Clacks-Overhead": [
"GNU Terry Pratchett"
],
"X-Moose": [
"majestic"
],
"cache-control": [
"private, s-maxage=0, max-age=0, must-revalidate, no-store, max-age=0, must-revalidate"
],
"expires": [
"-1"
],
"x-content-type-options": [
"nosniff"
],
"x-frame-options": [
"SAMEORIGIN"
],
"x-ratelimit-remaining": [
"557.0"
],
"x-ratelimit-reset": [
"553"
],
"x-ratelimit-used": [
"43"
],
"x-ua-compatible": [
"IE=edge"
],
"x-xss-protection": [
"1; mode=block"
]
},
"status": {
"code": 200,
"message": "OK"
},
"url": "https://oauth.reddit.com/api/v1/collections/collection?collection_id=3aa31024-711b-46b2-9514-3fd50619f6e8&include_links=true&raw_json=1"
}
},
{
"request": {
"body": [
[
"api_type",
"json"
],
[
"collection_id",
"3aa31024-711b-46b2-9514-3fd50619f6e8"
],
[
"display_layout",
""
]
],
"headers": {
"Accept-Encoding": [
"identity"
],
"Authorization": [
"bearer <ACCESS_TOKEN>"
],
"Cookie": [
"csv=2; edgebucket=SwXql06fdsfv3Sqy1P; loid=0000000000000o77bz.2.1434669370561.Z0FBQUFBQmh4a2VfRkRuREhxcEYxR05Ja2JDMTUtVUlha3pzQzhRamd2TmJzS3NkUUVlSnlrTThseTZvZmJaRzJwWXlDQkR0VVExVVJCVVI3MmJiVnA1eUxHSnFITkd2RjJLRk9yV0tydXJkajFnSEUxcVZxd2x1aHNLenktQ1lnLVM3Z2c3dWVlaF8; redesign_optout=true; session_tracker=alifrhaiemaidhgdpo.0.1640384447243.Z0FBQUFBQmh4a2VfcjBrRmlQVFZ5a29DLVdOTG9FbG9jT1FOWlYxNG4wRVB0aTZFbmx5Wm5VV1V2UEtsWk9wSndpemw2bDhQaExrc0JJYmJFaW82WUR2amp1cEIxbVhQd1NhZXZEaUdSOEVZbDl2c0RzZWxfWmpBTTk2dFB2Vnk1MnlqN1R3TmFRYXM"
],
"User-Agent": [
"<USER_AGENT> Async PRAW/7.5.1.dev0 asyncprawcore/2.3.0"
]
},
"method": "POST",
"uri": "https://oauth.reddit.com/api/v1/collections/update_collection_display_layout?raw_json=1"
},
"response": {
"body": {
"string": "{\"json\": {\"errors\": []}}"
},
"headers": {
"Accept-Ranges": [
"bytes"
],
"Connection": [
"keep-alive"
],
"Content-Length": [
"24"
],
"Content-Type": [
"application/json; charset=UTF-8"
],
"Date": [
"Fri, 24 Dec 2021 22:20:47 GMT"
],
"Server": [
"snooserv"
],
"Strict-Transport-Security": [
"max-age=15552000; includeSubDomains; preload"
],
"Via": [
"1.1 varnish"
],
"X-Clacks-Overhead": [
"GNU Terry Pratchett"
],
"X-Moose": [
"majestic"
],
"cache-control": [
"private, s-maxage=0, max-age=0, must-revalidate, no-store, max-age=0, must-revalidate"
],
"expires": [
"-1"
],
"set-cookie": [
"session_tracker=alifrhaiemaidhgdpo.0.1640384447557.Z0FBQUFBQmh4a2VfLXFPLUo3bzdfMzItUDk4VEJIdkR1QUxzajNtcmN2S1NUVEttWURHdkdIaUJnU2pEdWFCOVBvVEU1V2JsRU1YLXJwelItRHNlbHlfT052cjFSMUlLMUg1aWRGdWc0OTBqOHFVQkVJX25EaXVlYzlHd05nNnQyQlItVDdHTzZ0OHk; Domain=reddit.com; Max-Age=7199; Path=/; expires=Sat, 25-Dec-2021 00:20:47 GMT; secure"
],
"x-content-type-options": [
"nosniff"
],
"x-frame-options": [
"SAMEORIGIN"
],
"x-ratelimit-remaining": [
"555.0"
],
"x-ratelimit-reset": [
"553"
],
"x-ratelimit-used": [
"45"
],
"x-ua-compatible": [
"IE=edge"
],
"x-xss-protection": [
"1; mode=block"
]
},
"status": {
"code": 200,
"message": "OK"
},
"url": "https://oauth.reddit.com/api/v1/collections/update_collection_display_layout?raw_json=1"
}
}
],
"recorded_at": "2021-12-24T16:20:47",
"version": 1
}