diff options
Diffstat (limited to 'tests/cassettes/test_stream_user_direct.yaml')
-rw-r--r-- | tests/cassettes/test_stream_user_direct.yaml | 802 |
1 files changed, 802 insertions, 0 deletions
diff --git a/tests/cassettes/test_stream_user_direct.yaml b/tests/cassettes/test_stream_user_direct.yaml new file mode 100644 index 0000000..cbed370 --- /dev/null +++ b/tests/cassettes/test_stream_user_direct.yaml | |||
@@ -0,0 +1,802 @@ | |||
1 | interactions: | ||
2 | - request: | ||
3 | body: null | ||
4 | headers: | ||
5 | Accept: | ||
6 | - '*/*' | ||
7 | Accept-Encoding: | ||
8 | - gzip, deflate | ||
9 | Authorization: | ||
10 | - Bearer __MASTODON_PY_TEST_ACCESS_TOKEN_2 | ||
11 | Connection: | ||
12 | - keep-alive | ||
13 | User-Agent: | ||
14 | - tests/v311 | ||
15 | method: GET | ||
16 | uri: http://localhost:3000/api/v1/accounts/verify_credentials | ||
17 | response: | ||
18 | body: | ||
19 | string: '{"id":"109383687317384970","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-21T00:00:00.000Z","note":"","url":"http://localhost:3000/@admin","avatar":"http://localhost:3000/avatars/original/missing.png","avatar_static":"http://localhost:3000/avatars/original/missing.png","header":"http://localhost:3000/headers/original/missing.png","header_static":"http://localhost:3000/headers/original/missing.png","followers_count":0,"following_count":0,"statuses_count":0,"last_status_at":null,"noindex":false,"source":{"privacy":"public","sensitive":false,"language":null,"note":"","fields":[],"follow_requests_count":0},"emojis":[],"fields":[],"role":{"id":"3","name":"Owner","permissions":"1048575","color":"","highlighted":true}}' | ||
20 | headers: | ||
21 | Cache-Control: | ||
22 | - no-store | ||
23 | Content-Security-Policy: | ||
24 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src | ||
25 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; | ||
26 | style-src ''self'' http://localhost:3000 ''nonce-wY5l/ItCI1m5QY5SxnGCZw==''; | ||
27 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' | ||
28 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' | ||
29 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 | ||
30 | ws://localhost:3035 http://localhost:3035; script-src ''self'' ''unsafe-inline'' | ||
31 | ''unsafe-eval'' http://localhost:3000; child-src ''self'' blob: http://localhost:3000; | ||
32 | worker-src ''self'' blob: http://localhost:3000' | ||
33 | Content-Type: | ||
34 | - application/json; charset=utf-8 | ||
35 | ETag: | ||
36 | - W/"3ca9a6fde27a9a8bd854a96dcfc0e7b2" | ||
37 | Referrer-Policy: | ||
38 | - strict-origin-when-cross-origin | ||
39 | Transfer-Encoding: | ||
40 | - chunked | ||
41 | Vary: | ||
42 | - Accept, Origin | ||
43 | X-Content-Type-Options: | ||
44 | - nosniff | ||
45 | X-Download-Options: | ||
46 | - noopen | ||
47 | X-Frame-Options: | ||
48 | - SAMEORIGIN | ||
49 | X-Permitted-Cross-Domain-Policies: | ||
50 | - none | ||
51 | X-Request-Id: | ||
52 | - c2184dff-4d3a-4c50-a9c5-ed64323b79cb | ||
53 | X-Runtime: | ||
54 | - '0.232828' | ||
55 | X-XSS-Protection: | ||
56 | - 1; mode=block | ||
57 | status: | ||
58 | code: 200 | ||
59 | message: OK | ||
60 | - request: | ||
61 | body: null | ||
62 | headers: | ||
63 | Accept: | ||
64 | - '*/*' | ||
65 | Accept-Encoding: | ||
66 | - gzip, deflate | ||
67 | Authorization: | ||
68 | - Bearer __MASTODON_PY_TEST_ACCESS_TOKEN | ||
69 | Connection: | ||
70 | - keep-alive | ||
71 | Content-Length: | ||
72 | - '0' | ||
73 | User-Agent: | ||
74 | - tests/v311 | ||
75 | method: POST | ||
76 | uri: http://localhost:3000/api/v1/accounts/109383687317384970/unfollow | ||
77 | response: | ||
78 | body: | ||
79 | string: '{"id":"109383687317384970","following":false,"showing_reblogs":false,"notifying":false,"languages":null,"followed_by":false,"blocking":false,"blocked_by":false,"muting":false,"muting_notifications":false,"requested":false,"domain_blocking":false,"endorsed":false,"note":""}' | ||
80 | headers: | ||
81 | Cache-Control: | ||
82 | - no-store | ||
83 | Content-Security-Policy: | ||
84 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src | ||
85 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; | ||
86 | style-src ''self'' http://localhost:3000 ''nonce-7XkmcTna3vWHWdCdqvvF1A==''; | ||
87 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' | ||
88 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' | ||
89 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 | ||
90 | ws://localhost:3035 http://localhost:3035; script-src ''self'' ''unsafe-inline'' | ||
91 | ''unsafe-eval'' http://localhost:3000; child-src ''self'' blob: http://localhost:3000; | ||
92 | worker-src ''self'' blob: http://localhost:3000' | ||
93 | Content-Type: | ||
94 | - application/json; charset=utf-8 | ||
95 | ETag: | ||
96 | - W/"834c827b7cfe9175d82e1a4bd08f215d" | ||
97 | Referrer-Policy: | ||
98 | - strict-origin-when-cross-origin | ||
99 | Transfer-Encoding: | ||
100 | - chunked | ||
101 | Vary: | ||
102 | - Accept, Origin | ||
103 | X-Content-Type-Options: | ||
104 | - nosniff | ||
105 | X-Download-Options: | ||
106 | - noopen | ||
107 | X-Frame-Options: | ||
108 | - SAMEORIGIN | ||
109 | X-Permitted-Cross-Domain-Policies: | ||
110 | - none | ||
111 | X-Request-Id: | ||
112 | - e115ce24-4e94-44cb-9ce0-90c331f4f4b6 | ||
113 | X-Runtime: | ||
114 | - '0.036572' | ||
115 | X-XSS-Protection: | ||
116 | - 1; mode=block | ||
117 | status: | ||
118 | code: 200 | ||
119 | message: OK | ||
120 | - request: | ||
121 | body: null | ||
122 | headers: | ||
123 | Accept: | ||
124 | - '*/*' | ||
125 | Accept-Encoding: | ||
126 | - gzip, deflate | ||
127 | Authorization: | ||
128 | - Bearer __MASTODON_PY_TEST_ACCESS_TOKEN | ||
129 | Connection: | ||
130 | - keep-alive | ||
131 | User-Agent: | ||
132 | - tests/v311 | ||
133 | method: GET | ||
134 | uri: http://localhost:3000/api/v1/instance/ | ||
135 | response: | ||
136 | body: | ||
137 | string: '{"uri":"localhost:3000","title":"Mastodon","short_description":"","description":"","email":"","version":"4.0.0rc2","urls":{"streaming_api":"ws://localhost:4000"},"stats":{"user_count":4,"status_count":0,"domain_count":0},"thumbnail":"http://localhost:3000/packs/media/images/preview-6399aebd96ccf025654e2977454f168f.png","languages":["en"],"registrations":true,"approval_required":false,"invites_enabled":true,"configuration":{"accounts":{"max_featured_tags":10},"statuses":{"max_characters":500,"max_media_attachments":4,"characters_reserved_per_url":23},"media_attachments":{"supported_mime_types":["image/jpeg","image/png","image/gif","image/heic","image/heif","image/webp","image/avif","video/webm","video/mp4","video/quicktime","video/ogg","audio/wave","audio/wav","audio/x-wav","audio/x-pn-wave","audio/vnd.wave","audio/ogg","audio/vorbis","audio/mpeg","audio/mp3","audio/webm","audio/flac","audio/aac","audio/m4a","audio/x-m4a","audio/mp4","audio/3gpp","video/x-ms-asf"],"image_size_limit":10485760,"image_matrix_limit":16777216,"video_size_limit":41943040,"video_frame_rate_limit":60,"video_matrix_limit":2304000},"polls":{"max_options":4,"max_characters_per_option":50,"min_expiration":300,"max_expiration":2629746}},"contact_account":null,"rules":[]}' | ||
138 | headers: | ||
139 | Cache-Control: | ||
140 | - max-age=180, public | ||
141 | Content-Security-Policy: | ||
142 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src | ||
143 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; | ||
144 | style-src ''self'' http://localhost:3000 ''nonce-aeAGJ5RU2r+vOcMDj/uqkQ==''; | ||
145 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' | ||
146 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' | ||
147 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 | ||
148 | ws://localhost:3035 http://localhost:3035; script-src ''self'' ''unsafe-inline'' | ||
149 | ''unsafe-eval'' http://localhost:3000; child-src ''self'' blob: http://localhost:3000; | ||
150 | worker-src ''self'' blob: http://localhost:3000' | ||
151 | Content-Type: | ||
152 | - application/json; charset=utf-8 | ||
153 | Date: | ||
154 | - Mon, 21 Nov 2022 20:30:32 GMT | ||
155 | ETag: | ||
156 | - W/"6de86e074f529b0074f74528eee15b7a" | ||
157 | Referrer-Policy: | ||
158 | - strict-origin-when-cross-origin | ||
159 | Transfer-Encoding: | ||
160 | - chunked | ||
161 | Vary: | ||
162 | - Accept, Origin | ||
163 | X-Content-Type-Options: | ||
164 | - nosniff | ||
165 | X-Download-Options: | ||
166 | - noopen | ||
167 | X-Frame-Options: | ||
168 | - SAMEORIGIN | ||
169 | X-Permitted-Cross-Domain-Policies: | ||
170 | - none | ||
171 | X-Request-Id: | ||
172 | - 9942f96e-b48c-4254-9920-7ed4e81e37f1 | ||
173 | X-Runtime: | ||
174 | - '0.032940' | ||
175 | X-XSS-Protection: | ||
176 | - 1; mode=block | ||
177 | status: | ||
178 | code: 200 | ||
179 | message: OK | ||
180 | - request: | ||
181 | body: null | ||
182 | headers: | ||
183 | Accept: | ||
184 | - '*/*' | ||
185 | Accept-Encoding: | ||
186 | - gzip, deflate | ||
187 | Authorization: | ||
188 | - Bearer __MASTODON_PY_TEST_ACCESS_TOKEN | ||
189 | Connection: | ||
190 | - keep-alive | ||
191 | User-Agent: | ||
192 | - tests/v311 | ||
193 | method: GET | ||
194 | uri: http://localhost:3000/api/v1/instance/ | ||
195 | response: | ||
196 | body: | ||
197 | string: '{"uri":"localhost:3000","title":"Mastodon","short_description":"","description":"","email":"","version":"4.0.0rc2","urls":{"streaming_api":"ws://localhost:4000"},"stats":{"user_count":4,"status_count":0,"domain_count":0},"thumbnail":"http://localhost:3000/packs/media/images/preview-6399aebd96ccf025654e2977454f168f.png","languages":["en"],"registrations":true,"approval_required":false,"invites_enabled":true,"configuration":{"accounts":{"max_featured_tags":10},"statuses":{"max_characters":500,"max_media_attachments":4,"characters_reserved_per_url":23},"media_attachments":{"supported_mime_types":["image/jpeg","image/png","image/gif","image/heic","image/heif","image/webp","image/avif","video/webm","video/mp4","video/quicktime","video/ogg","audio/wave","audio/wav","audio/x-wav","audio/x-pn-wave","audio/vnd.wave","audio/ogg","audio/vorbis","audio/mpeg","audio/mp3","audio/webm","audio/flac","audio/aac","audio/m4a","audio/x-m4a","audio/mp4","audio/3gpp","video/x-ms-asf"],"image_size_limit":10485760,"image_matrix_limit":16777216,"video_size_limit":41943040,"video_frame_rate_limit":60,"video_matrix_limit":2304000},"polls":{"max_options":4,"max_characters_per_option":50,"min_expiration":300,"max_expiration":2629746}},"contact_account":null,"rules":[]}' | ||
198 | headers: | ||
199 | Cache-Control: | ||
200 | - max-age=180, public | ||
201 | Content-Security-Policy: | ||
202 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src | ||
203 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; | ||
204 | style-src ''self'' http://localhost:3000 ''nonce-U4Ok3r+Da+UekNvECNdkBg==''; | ||
205 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' | ||
206 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' | ||
207 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 | ||
208 | ws://localhost:3035 http://localhost:3035; script-src ''self'' ''unsafe-inline'' | ||
209 | ''unsafe-eval'' http://localhost:3000; child-src ''self'' blob: http://localhost:3000; | ||
210 | worker-src ''self'' blob: http://localhost:3000' | ||
211 | Content-Type: | ||
212 | - application/json; charset=utf-8 | ||
213 | Date: | ||
214 | - Mon, 21 Nov 2022 20:30:32 GMT | ||
215 | ETag: | ||
216 | - W/"6de86e074f529b0074f74528eee15b7a" | ||
217 | Referrer-Policy: | ||
218 | - strict-origin-when-cross-origin | ||
219 | Transfer-Encoding: | ||
220 | - chunked | ||
221 | Vary: | ||
222 | - Accept, Origin | ||
223 | X-Content-Type-Options: | ||
224 | - nosniff | ||
225 | X-Download-Options: | ||
226 | - noopen | ||
227 | X-Frame-Options: | ||
228 | - SAMEORIGIN | ||
229 | X-Permitted-Cross-Domain-Policies: | ||
230 | - none | ||
231 | X-Request-Id: | ||
232 | - f1129b94-ef1c-4974-906c-e8686f5b49cb | ||
233 | X-Runtime: | ||
234 | - '0.014735' | ||
235 | X-XSS-Protection: | ||
236 | - 1; mode=block | ||
237 | status: | ||
238 | code: 200 | ||
239 | message: OK | ||
240 | - request: | ||
241 | body: status=only+real+cars+respond. | ||
242 | headers: | ||
243 | Accept: | ||
244 | - '*/*' | ||
245 | Accept-Encoding: | ||
246 | - gzip, deflate | ||
247 | Authorization: | ||
248 | - Bearer __MASTODON_PY_TEST_ACCESS_TOKEN | ||
249 | Connection: | ||
250 | - keep-alive | ||
251 | Content-Length: | ||
252 | - '30' | ||
253 | Content-Type: | ||
254 | - application/x-www-form-urlencoded | ||
255 | User-Agent: | ||
256 | - tests/v311 | ||
257 | method: POST | ||
258 | uri: http://localhost:3000/api/v1/statuses | ||
259 | response: | ||
260 | body: | ||
261 | string: '{"id":"109383689004693346","created_at":"2022-11-21T20:30:37.415Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/109383689004693346","url":"http://localhost:3000/@mastodonpy_test/109383689004693346","replies_count":0,"reblogs_count":0,"favourites_count":0,"edited_at":null,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"pinned":false,"content":"\u003cp\u003eonly | ||
262 | real cars respond.\u003c/p\u003e","filtered":[],"reblog":null,"application":{"name":"Mastodon.py | ||
263 | test suite","website":null},"account":{"id":"109383687546708201","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"","locked":true,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-21T00:00:00.000Z","note":"","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/avatars/original/missing.png","avatar_static":"http://localhost:3000/avatars/original/missing.png","header":"http://localhost:3000/headers/original/missing.png","header_static":"http://localhost:3000/headers/original/missing.png","followers_count":0,"following_count":0,"statuses_count":1,"last_status_at":"2022-11-21","noindex":false,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}' | ||
264 | headers: | ||
265 | Cache-Control: | ||
266 | - no-store | ||
267 | Content-Security-Policy: | ||
268 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src | ||
269 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; | ||
270 | style-src ''self'' http://localhost:3000 ''nonce-Nug5j0k35i73b5/xZpDzSw==''; | ||
271 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' | ||
272 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' | ||
273 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 | ||
274 | ws://localhost:3035 http://localhost:3035; script-src ''self'' ''unsafe-inline'' | ||
275 | ''unsafe-eval'' http://localhost:3000; child-src ''self'' blob: http://localhost:3000; | ||
276 | worker-src ''self'' blob: http://localhost:3000' | ||
277 | Content-Type: | ||
278 | - application/json; charset=utf-8 | ||
279 | ETag: | ||
280 | - W/"06e532d7d1a0ea9f11ff0ca23b2eaf68" | ||
281 | Referrer-Policy: | ||
282 | - strict-origin-when-cross-origin | ||
283 | Transfer-Encoding: | ||
284 | - chunked | ||
285 | Vary: | ||
286 | - Accept, Origin | ||
287 | X-Content-Type-Options: | ||
288 | - nosniff | ||
289 | X-Download-Options: | ||
290 | - noopen | ||
291 | X-Frame-Options: | ||
292 | - SAMEORIGIN | ||
293 | X-Permitted-Cross-Domain-Policies: | ||
294 | - none | ||
295 | X-RateLimit-Limit: | ||
296 | - '300' | ||
297 | X-RateLimit-Remaining: | ||
298 | - '299' | ||
299 | X-RateLimit-Reset: | ||
300 | - '2022-11-21T21:00:00.488905Z' | ||
301 | X-Request-Id: | ||
302 | - d58b0ca3-9915-496e-9561-0bffa479cfc8 | ||
303 | X-Runtime: | ||
304 | - '0.121218' | ||
305 | X-XSS-Protection: | ||
306 | - 1; mode=block | ||
307 | status: | ||
308 | code: 200 | ||
309 | message: OK | ||
310 | - request: | ||
311 | body: status=%40mastodonpy_test+beep+beep+I%27m+a+jeep | ||
312 | headers: | ||
313 | Accept: | ||
314 | - '*/*' | ||
315 | Accept-Encoding: | ||
316 | - gzip, deflate | ||
317 | Authorization: | ||
318 | - Bearer __MASTODON_PY_TEST_ACCESS_TOKEN_2 | ||
319 | Connection: | ||
320 | - keep-alive | ||
321 | Content-Length: | ||
322 | - '48' | ||
323 | Content-Type: | ||
324 | - application/x-www-form-urlencoded | ||
325 | User-Agent: | ||
326 | - tests/v311 | ||
327 | method: POST | ||
328 | uri: http://localhost:3000/api/v1/statuses | ||
329 | response: | ||
330 | body: | ||
331 | string: '{"id":"109383689011592842","created_at":"2022-11-21T20:30:37.506Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/admin/statuses/109383689011592842","url":"http://localhost:3000/@admin/109383689011592842","replies_count":0,"reblogs_count":0,"favourites_count":0,"edited_at":null,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"pinned":false,"content":"\u003cp\u003e\u003cspan | ||
332 | class=\"h-card\"\u003e\u003ca href=\"http://localhost:3000/@mastodonpy_test\" | ||
333 | class=\"u-url mention\"\u003e@\u003cspan\u003emastodonpy_test\u003c/span\u003e\u003c/a\u003e\u003c/span\u003e | ||
334 | beep beep I\u0026#39;m a jeep\u003c/p\u003e","filtered":[],"reblog":null,"application":{"name":"Mastodon.py | ||
335 | test suite","website":null},"account":{"id":"109383687317384970","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-21T00:00:00.000Z","note":"","url":"http://localhost:3000/@admin","avatar":"http://localhost:3000/avatars/original/missing.png","avatar_static":"http://localhost:3000/avatars/original/missing.png","header":"http://localhost:3000/headers/original/missing.png","header_static":"http://localhost:3000/headers/original/missing.png","followers_count":0,"following_count":0,"statuses_count":1,"last_status_at":"2022-11-21","noindex":false,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[{"id":"109383687546708201","username":"mastodonpy_test","url":"http://localhost:3000/@mastodonpy_test","acct":"mastodonpy_test"}],"tags":[],"emojis":[],"card":null,"poll":null}' | ||
336 | headers: | ||
337 | Cache-Control: | ||
338 | - no-store | ||
339 | Content-Security-Policy: | ||
340 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src | ||
341 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; | ||
342 | style-src ''self'' http://localhost:3000 ''nonce-pNk38vviNrOaxb42+nKYNg==''; | ||
343 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' | ||
344 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' | ||
345 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 | ||
346 | ws://localhost:3035 http://localhost:3035; script-src ''self'' ''unsafe-inline'' | ||
347 | ''unsafe-eval'' http://localhost:3000; child-src ''self'' blob: http://localhost:3000; | ||
348 | worker-src ''self'' blob: http://localhost:3000' | ||
349 | Content-Type: | ||
350 | - application/json; charset=utf-8 | ||
351 | ETag: | ||
352 | - W/"ce33df9a4501857c86d0dd6b52a59d4c" | ||
353 | Referrer-Policy: | ||
354 | - strict-origin-when-cross-origin | ||
355 | Transfer-Encoding: | ||
356 | - chunked | ||
357 | Vary: | ||
358 | - Accept, Origin | ||
359 | X-Content-Type-Options: | ||
360 | - nosniff | ||
361 | X-Download-Options: | ||
362 | - noopen | ||
363 | X-Frame-Options: | ||
364 | - SAMEORIGIN | ||
365 | X-Permitted-Cross-Domain-Policies: | ||
366 | - none | ||
367 | X-RateLimit-Limit: | ||
368 | - '300' | ||
369 | X-RateLimit-Remaining: | ||
370 | - '299' | ||
371 | X-RateLimit-Reset: | ||
372 | - '2022-11-21T21:00:00.541345Z' | ||
373 | X-Request-Id: | ||
374 | - dacf0d9b-bbae-48e8-bd27-ca90ff5debae | ||
375 | X-Runtime: | ||
376 | - '0.047972' | ||
377 | X-XSS-Protection: | ||
378 | - 1; mode=block | ||
379 | status: | ||
380 | code: 200 | ||
381 | message: OK | ||
382 | - request: | ||
383 | body: status=on+the+internet%2C+nobody+knows+you%27re+a+plane | ||
384 | headers: | ||
385 | Accept: | ||
386 | - '*/*' | ||
387 | Accept-Encoding: | ||
388 | - gzip, deflate | ||
389 | Authorization: | ||
390 | - Bearer __MASTODON_PY_TEST_ACCESS_TOKEN_2 | ||
391 | Connection: | ||
392 | - keep-alive | ||
393 | Content-Length: | ||
394 | - '55' | ||
395 | Content-Type: | ||
396 | - application/x-www-form-urlencoded | ||
397 | User-Agent: | ||
398 | - tests/v311 | ||
399 | method: POST | ||
400 | uri: http://localhost:3000/api/v1/statuses | ||
401 | response: | ||
402 | body: | ||
403 | string: '{"id":"109383689015957568","created_at":"2022-11-21T20:30:37.574Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/admin/statuses/109383689015957568","url":"http://localhost:3000/@admin/109383689015957568","replies_count":0,"reblogs_count":0,"favourites_count":0,"edited_at":null,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"pinned":false,"content":"\u003cp\u003eon | ||
404 | the internet, nobody knows you\u0026#39;re a plane\u003c/p\u003e","filtered":[],"reblog":null,"application":{"name":"Mastodon.py | ||
405 | test suite","website":null},"account":{"id":"109383687317384970","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-21T00:00:00.000Z","note":"","url":"http://localhost:3000/@admin","avatar":"http://localhost:3000/avatars/original/missing.png","avatar_static":"http://localhost:3000/avatars/original/missing.png","header":"http://localhost:3000/headers/original/missing.png","header_static":"http://localhost:3000/headers/original/missing.png","followers_count":0,"following_count":0,"statuses_count":2,"last_status_at":"2022-11-21","noindex":false,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}' | ||
406 | headers: | ||
407 | Cache-Control: | ||
408 | - no-store | ||
409 | Content-Security-Policy: | ||
410 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src | ||
411 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; | ||
412 | style-src ''self'' http://localhost:3000 ''nonce-AKoo2WqF9VDBOsCwVWqEhw==''; | ||
413 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' | ||
414 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' | ||
415 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 | ||
416 | ws://localhost:3035 http://localhost:3035; script-src ''self'' ''unsafe-inline'' | ||
417 | ''unsafe-eval'' http://localhost:3000; child-src ''self'' blob: http://localhost:3000; | ||
418 | worker-src ''self'' blob: http://localhost:3000' | ||
419 | Content-Type: | ||
420 | - application/json; charset=utf-8 | ||
421 | ETag: | ||
422 | - W/"66b8c9259455598a9e9464f1afacd306" | ||
423 | Referrer-Policy: | ||
424 | - strict-origin-when-cross-origin | ||
425 | Transfer-Encoding: | ||
426 | - chunked | ||
427 | Vary: | ||
428 | - Accept, Origin | ||
429 | X-Content-Type-Options: | ||
430 | - nosniff | ||
431 | X-Download-Options: | ||
432 | - noopen | ||
433 | X-Frame-Options: | ||
434 | - SAMEORIGIN | ||
435 | X-Permitted-Cross-Domain-Policies: | ||
436 | - none | ||
437 | X-RateLimit-Limit: | ||
438 | - '300' | ||
439 | X-RateLimit-Remaining: | ||
440 | - '298' | ||
441 | X-RateLimit-Reset: | ||
442 | - '2022-11-21T21:00:00.600086Z' | ||
443 | X-Request-Id: | ||
444 | - c90cd0bb-8980-4129-b951-246a7fcd5b91 | ||
445 | X-Runtime: | ||
446 | - '0.053851' | ||
447 | X-XSS-Protection: | ||
448 | - 1; mode=block | ||
449 | status: | ||
450 | code: 200 | ||
451 | message: OK | ||
452 | - request: | ||
453 | body: status=%40mastodonpy_test_2+pssssst&visibility=direct | ||
454 | headers: | ||
455 | Accept: | ||
456 | - '*/*' | ||
457 | Accept-Encoding: | ||
458 | - gzip, deflate | ||
459 | Authorization: | ||
460 | - Bearer __MASTODON_PY_TEST_ACCESS_TOKEN | ||
461 | Connection: | ||
462 | - keep-alive | ||
463 | Content-Length: | ||
464 | - '53' | ||
465 | Content-Type: | ||
466 | - application/x-www-form-urlencoded | ||
467 | User-Agent: | ||
468 | - tests/v311 | ||
469 | method: POST | ||
470 | uri: http://localhost:3000/api/v1/statuses | ||
471 | response: | ||
472 | body: | ||
473 | string: '{"id":"109383689018917158","created_at":"2022-11-21T20:30:37.619Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"direct","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/109383689018917158","url":"http://localhost:3000/@mastodonpy_test/109383689018917158","replies_count":0,"reblogs_count":0,"favourites_count":0,"edited_at":null,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"content":"\u003cp\u003e\u003cspan | ||
474 | class=\"h-card\"\u003e\u003ca href=\"http://localhost:3000/@mastodonpy_test_2\" | ||
475 | class=\"u-url mention\"\u003e@\u003cspan\u003emastodonpy_test_2\u003c/span\u003e\u003c/a\u003e\u003c/span\u003e | ||
476 | pssssst\u003c/p\u003e","filtered":[],"reblog":null,"application":{"name":"Mastodon.py | ||
477 | test suite","website":null},"account":{"id":"109383687546708201","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"","locked":true,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-21T00:00:00.000Z","note":"","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/avatars/original/missing.png","avatar_static":"http://localhost:3000/avatars/original/missing.png","header":"http://localhost:3000/headers/original/missing.png","header_static":"http://localhost:3000/headers/original/missing.png","followers_count":0,"following_count":0,"statuses_count":1,"last_status_at":"2022-11-21","noindex":false,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[{"id":"109383687660136038","username":"mastodonpy_test_2","url":"http://localhost:3000/@mastodonpy_test_2","acct":"mastodonpy_test_2"}],"tags":[],"emojis":[],"card":null,"poll":null}' | ||
478 | headers: | ||
479 | Cache-Control: | ||
480 | - no-store | ||
481 | Content-Security-Policy: | ||
482 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src | ||
483 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; | ||
484 | style-src ''self'' http://localhost:3000 ''nonce-cwicODBt6bNPz9mKf11E5Q==''; | ||
485 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' | ||
486 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' | ||
487 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 | ||
488 | ws://localhost:3035 http://localhost:3035; script-src ''self'' ''unsafe-inline'' | ||
489 | ''unsafe-eval'' http://localhost:3000; child-src ''self'' blob: http://localhost:3000; | ||
490 | worker-src ''self'' blob: http://localhost:3000' | ||
491 | Content-Type: | ||
492 | - application/json; charset=utf-8 | ||
493 | ETag: | ||
494 | - W/"5ea2b5082e48d942ecd2ec08dafa4ac1" | ||
495 | Referrer-Policy: | ||
496 | - strict-origin-when-cross-origin | ||
497 | Transfer-Encoding: | ||
498 | - chunked | ||
499 | Vary: | ||
500 | - Accept, Origin | ||
501 | X-Content-Type-Options: | ||
502 | - nosniff | ||
503 | X-Download-Options: | ||
504 | - noopen | ||
505 | X-Frame-Options: | ||
506 | - SAMEORIGIN | ||
507 | X-Permitted-Cross-Domain-Policies: | ||
508 | - none | ||
509 | X-RateLimit-Limit: | ||
510 | - '300' | ||
511 | X-RateLimit-Remaining: | ||
512 | - '298' | ||
513 | X-RateLimit-Reset: | ||
514 | - '2022-11-21T21:00:00.645869Z' | ||
515 | X-Request-Id: | ||
516 | - 1e2141ee-72fd-4c87-9faa-7b51fb015a0f | ||
517 | X-Runtime: | ||
518 | - '0.041215' | ||
519 | X-XSS-Protection: | ||
520 | - 1; mode=block | ||
521 | status: | ||
522 | code: 200 | ||
523 | message: OK | ||
524 | - request: | ||
525 | body: status=%40mastodonpy_test+pssssst%21&in_reply_to_id=109383689018917158&visibility=direct | ||
526 | headers: | ||
527 | Accept: | ||
528 | - '*/*' | ||
529 | Accept-Encoding: | ||
530 | - gzip, deflate | ||
531 | Authorization: | ||
532 | - Bearer __MASTODON_PY_TEST_ACCESS_TOKEN_3 | ||
533 | Connection: | ||
534 | - keep-alive | ||
535 | Content-Length: | ||
536 | - '88' | ||
537 | Content-Type: | ||
538 | - application/x-www-form-urlencoded | ||
539 | User-Agent: | ||
540 | - tests/v311 | ||
541 | method: POST | ||
542 | uri: http://localhost:3000/api/v1/statuses | ||
543 | response: | ||
544 | body: | ||
545 | string: '{"id":"109383689022578579","created_at":"2022-11-21T20:30:37.674Z","in_reply_to_id":"109383689018917158","in_reply_to_account_id":"109383687546708201","sensitive":false,"spoiler_text":"","visibility":"direct","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test_2/statuses/109383689022578579","url":"http://localhost:3000/@mastodonpy_test_2/109383689022578579","replies_count":0,"reblogs_count":0,"favourites_count":0,"edited_at":null,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"content":"\u003cp\u003e\u003cspan | ||
546 | class=\"h-card\"\u003e\u003ca href=\"http://localhost:3000/@mastodonpy_test\" | ||
547 | class=\"u-url mention\"\u003e@\u003cspan\u003emastodonpy_test\u003c/span\u003e\u003c/a\u003e\u003c/span\u003e | ||
548 | pssssst!\u003c/p\u003e","filtered":[],"reblog":null,"application":{"name":"Mastodon.py | ||
549 | test suite","website":null},"account":{"id":"109383687660136038","username":"mastodonpy_test_2","acct":"mastodonpy_test_2","display_name":"","locked":false,"bot":false,"discoverable":true,"group":false,"created_at":"2022-11-21T00:00:00.000Z","note":"","url":"http://localhost:3000/@mastodonpy_test_2","avatar":"http://localhost:3000/avatars/original/missing.png","avatar_static":"http://localhost:3000/avatars/original/missing.png","header":"http://localhost:3000/headers/original/missing.png","header_static":"http://localhost:3000/headers/original/missing.png","followers_count":0,"following_count":0,"statuses_count":0,"last_status_at":null,"noindex":false,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[{"id":"109383687546708201","username":"mastodonpy_test","url":"http://localhost:3000/@mastodonpy_test","acct":"mastodonpy_test"}],"tags":[],"emojis":[],"card":null,"poll":null}' | ||
550 | headers: | ||
551 | Cache-Control: | ||
552 | - no-store | ||
553 | Content-Security-Policy: | ||
554 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src | ||
555 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; | ||
556 | style-src ''self'' http://localhost:3000 ''nonce-eXjkNPoUkWX6zmECuBg3xQ==''; | ||
557 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' | ||
558 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' | ||
559 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 | ||
560 | ws://localhost:3035 http://localhost:3035; script-src ''self'' ''unsafe-inline'' | ||
561 | ''unsafe-eval'' http://localhost:3000; child-src ''self'' blob: http://localhost:3000; | ||
562 | worker-src ''self'' blob: http://localhost:3000' | ||
563 | Content-Type: | ||
564 | - application/json; charset=utf-8 | ||
565 | ETag: | ||
566 | - W/"5cd48c5e98ddd015159fc495162768b6" | ||
567 | Referrer-Policy: | ||
568 | - strict-origin-when-cross-origin | ||
569 | Transfer-Encoding: | ||
570 | - chunked | ||
571 | Vary: | ||
572 | - Accept, Origin | ||
573 | X-Content-Type-Options: | ||
574 | - nosniff | ||
575 | X-Download-Options: | ||
576 | - noopen | ||
577 | X-Frame-Options: | ||
578 | - SAMEORIGIN | ||
579 | X-Permitted-Cross-Domain-Policies: | ||
580 | - none | ||
581 | X-RateLimit-Limit: | ||
582 | - '300' | ||
583 | X-RateLimit-Remaining: | ||
584 | - '299' | ||
585 | X-RateLimit-Reset: | ||
586 | - '2022-11-21T21:00:00.702116Z' | ||
587 | X-Request-Id: | ||
588 | - 82bf9922-2f25-4d2b-9602-b6a705f51c15 | ||
589 | X-Runtime: | ||
590 | - '0.051019' | ||
591 | X-XSS-Protection: | ||
592 | - 1; mode=block | ||
593 | status: | ||
594 | code: 200 | ||
595 | message: OK | ||
596 | - request: | ||
597 | body: null | ||
598 | headers: | ||
599 | Accept: | ||
600 | - '*/*' | ||
601 | Accept-Encoding: | ||
602 | - gzip, deflate | ||
603 | Authorization: | ||
604 | - Bearer __MASTODON_PY_TEST_ACCESS_TOKEN | ||
605 | Connection: | ||
606 | - keep-alive | ||
607 | Content-Length: | ||
608 | - '0' | ||
609 | User-Agent: | ||
610 | - tests/v311 | ||
611 | method: DELETE | ||
612 | uri: http://localhost:3000/api/v1/statuses/109383689004693346 | ||
613 | response: | ||
614 | body: | ||
615 | string: '{"id":"109383689004693346","created_at":"2022-11-21T20:30:37.415Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/109383689004693346","url":"http://localhost:3000/@mastodonpy_test/109383689004693346","replies_count":0,"reblogs_count":0,"favourites_count":0,"edited_at":null,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"pinned":false,"text":"only | ||
616 | real cars respond.","filtered":[],"reblog":null,"application":{"name":"Mastodon.py | ||
617 | test suite","website":null},"account":{"id":"109383687546708201","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"","locked":true,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-21T00:00:00.000Z","note":"","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/avatars/original/missing.png","avatar_static":"http://localhost:3000/avatars/original/missing.png","header":"http://localhost:3000/headers/original/missing.png","header_static":"http://localhost:3000/headers/original/missing.png","followers_count":0,"following_count":0,"statuses_count":0,"last_status_at":"2022-11-21","noindex":false,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}' | ||
618 | headers: | ||
619 | Cache-Control: | ||
620 | - no-store | ||
621 | Content-Security-Policy: | ||
622 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src | ||
623 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; | ||
624 | style-src ''self'' http://localhost:3000 ''nonce-pVcQnLw/6eiOtng2wmJViA==''; | ||
625 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' | ||
626 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' | ||
627 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 | ||
628 | ws://localhost:3035 http://localhost:3035; script-src ''self'' ''unsafe-inline'' | ||
629 | ''unsafe-eval'' http://localhost:3000; child-src ''self'' blob: http://localhost:3000; | ||
630 | worker-src ''self'' blob: http://localhost:3000' | ||
631 | Content-Type: | ||
632 | - application/json; charset=utf-8 | ||
633 | ETag: | ||
634 | - W/"090808ac368376930dcec847c8714838" | ||
635 | Referrer-Policy: | ||
636 | - strict-origin-when-cross-origin | ||
637 | Transfer-Encoding: | ||
638 | - chunked | ||
639 | Vary: | ||
640 | - Accept, Origin | ||
641 | X-Content-Type-Options: | ||
642 | - nosniff | ||
643 | X-Download-Options: | ||
644 | - noopen | ||
645 | X-Frame-Options: | ||
646 | - SAMEORIGIN | ||
647 | X-Permitted-Cross-Domain-Policies: | ||
648 | - none | ||
649 | X-Request-Id: | ||
650 | - abb29577-b3c2-472d-9b48-297ca1a18b43 | ||
651 | X-Runtime: | ||
652 | - '0.030526' | ||
653 | X-XSS-Protection: | ||
654 | - 1; mode=block | ||
655 | status: | ||
656 | code: 200 | ||
657 | message: OK | ||
658 | - request: | ||
659 | body: null | ||
660 | headers: | ||
661 | Accept: | ||
662 | - '*/*' | ||
663 | Accept-Encoding: | ||
664 | - gzip, deflate | ||
665 | Authorization: | ||
666 | - Bearer __MASTODON_PY_TEST_ACCESS_TOKEN | ||
667 | Connection: | ||
668 | - keep-alive | ||
669 | User-Agent: | ||
670 | - tests/v311 | ||
671 | method: GET | ||
672 | uri: http://localhost:4000/api/v1/streaming/user | ||
673 | response: | ||
674 | body: | ||
675 | string: ':) | ||
676 | |||
677 | event: update | ||
678 | |||
679 | data: {"id":"109383689004693346","created_at":"2022-11-21T20:30:37.415Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/109383689004693346","url":"http://localhost:3000/@mastodonpy_test/109383689004693346","replies_count":0,"reblogs_count":0,"favourites_count":0,"edited_at":null,"content":"<p>only | ||
680 | real cars respond.</p>","reblog":null,"application":{"name":"Mastodon.py test | ||
681 | suite","website":null},"account":{"id":"109383687546708201","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"","locked":true,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-21T00:00:00.000Z","note":"","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/avatars/original/missing.png","avatar_static":"http://localhost:3000/avatars/original/missing.png","header":"http://localhost:3000/headers/original/missing.png","header_static":"http://localhost:3000/headers/original/missing.png","followers_count":0,"following_count":0,"statuses_count":1,"last_status_at":"2022-11-21","noindex":false,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"pinned":false,"filtered":[]} | ||
682 | |||
683 | |||
684 | event: notification | ||
685 | |||
686 | data: {"id":"6","type":"mention","created_at":"2022-11-21T20:30:38.306Z","account":{"id":"109383687317384970","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-21T00:00:00.000Z","note":"","url":"http://localhost:3000/@admin","avatar":"http://localhost:3000/avatars/original/missing.png","avatar_static":"http://localhost:3000/avatars/original/missing.png","header":"http://localhost:3000/headers/original/missing.png","header_static":"http://localhost:3000/headers/original/missing.png","followers_count":0,"following_count":0,"statuses_count":2,"last_status_at":"2022-11-21","noindex":false,"emojis":[],"fields":[]},"status":{"id":"109383689011592842","created_at":"2022-11-21T20:30:37.506Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/admin/statuses/109383689011592842","url":"http://localhost:3000/@admin/109383689011592842","replies_count":0,"reblogs_count":0,"favourites_count":0,"edited_at":null,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"content":"<p><span | ||
687 | class=\"h-card\"><a href=\"http://localhost:3000/@mastodonpy_test\" class=\"u-url | ||
688 | mention\">@<span>mastodonpy_test</span></a></span> beep beep I'm a jeep</p>","filtered":[],"reblog":null,"application":{"name":"Mastodon.py | ||
689 | test suite","website":null},"account":{"id":"109383687317384970","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-21T00:00:00.000Z","note":"","url":"http://localhost:3000/@admin","avatar":"http://localhost:3000/avatars/original/missing.png","avatar_static":"http://localhost:3000/avatars/original/missing.png","header":"http://localhost:3000/headers/original/missing.png","header_static":"http://localhost:3000/headers/original/missing.png","followers_count":0,"following_count":0,"statuses_count":2,"last_status_at":"2022-11-21","noindex":false,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[{"id":"109383687546708201","username":"mastodonpy_test","url":"http://localhost:3000/@mastodonpy_test","acct":"mastodonpy_test"}],"tags":[],"emojis":[],"card":null,"poll":null}} | ||
690 | |||
691 | |||
692 | event: update | ||
693 | |||
694 | data: {"id":"109383689018917158","created_at":"2022-11-21T20:30:37.619Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"direct","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/109383689018917158","url":"http://localhost:3000/@mastodonpy_test/109383689018917158","replies_count":0,"reblogs_count":0,"favourites_count":0,"edited_at":null,"content":"<p><span | ||
695 | class=\"h-card\"><a href=\"http://localhost:3000/@mastodonpy_test_2\" class=\"u-url | ||
696 | mention\">@<span>mastodonpy_test_2</span></a></span> pssssst</p>","reblog":null,"application":{"name":"Mastodon.py | ||
697 | test suite","website":null},"account":{"id":"109383687546708201","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"","locked":true,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-21T00:00:00.000Z","note":"","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/avatars/original/missing.png","avatar_static":"http://localhost:3000/avatars/original/missing.png","header":"http://localhost:3000/headers/original/missing.png","header_static":"http://localhost:3000/headers/original/missing.png","followers_count":0,"following_count":0,"statuses_count":1,"last_status_at":"2022-11-21","noindex":false,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[{"id":"109383687660136038","username":"mastodonpy_test_2","url":"http://localhost:3000/@mastodonpy_test_2","acct":"mastodonpy_test_2"}],"tags":[],"emojis":[],"card":null,"poll":null,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"pinned":false,"filtered":[]} | ||
698 | |||
699 | |||
700 | event: notification | ||
701 | |||
702 | data: {"id":"8","type":"mention","created_at":"2022-11-21T20:30:38.566Z","account":{"id":"109383687660136038","username":"mastodonpy_test_2","acct":"mastodonpy_test_2","display_name":"","locked":false,"bot":false,"discoverable":true,"group":false,"created_at":"2022-11-21T00:00:00.000Z","note":"","url":"http://localhost:3000/@mastodonpy_test_2","avatar":"http://localhost:3000/avatars/original/missing.png","avatar_static":"http://localhost:3000/avatars/original/missing.png","header":"http://localhost:3000/headers/original/missing.png","header_static":"http://localhost:3000/headers/original/missing.png","followers_count":0,"following_count":0,"statuses_count":0,"last_status_at":null,"noindex":false,"emojis":[],"fields":[]},"status":{"id":"109383689022578579","created_at":"2022-11-21T20:30:37.674Z","in_reply_to_id":"109383689018917158","in_reply_to_account_id":"109383687546708201","sensitive":false,"spoiler_text":"","visibility":"direct","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test_2/statuses/109383689022578579","url":"http://localhost:3000/@mastodonpy_test_2/109383689022578579","replies_count":0,"reblogs_count":0,"favourites_count":0,"edited_at":null,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"content":"<p><span | ||
703 | class=\"h-card\"><a href=\"http://localhost:3000/@mastodonpy_test\" class=\"u-url | ||
704 | mention\">@<span>mastodonpy_test</span></a></span> pssssst!</p>","filtered":[],"reblog":null,"application":{"name":"Mastodon.py | ||
705 | test suite","website":null},"account":{"id":"109383687660136038","username":"mastodonpy_test_2","acct":"mastodonpy_test_2","display_name":"","locked":false,"bot":false,"discoverable":true,"group":false,"created_at":"2022-11-21T00:00:00.000Z","note":"","url":"http://localhost:3000/@mastodonpy_test_2","avatar":"http://localhost:3000/avatars/original/missing.png","avatar_static":"http://localhost:3000/avatars/original/missing.png","header":"http://localhost:3000/headers/original/missing.png","header_static":"http://localhost:3000/headers/original/missing.png","followers_count":0,"following_count":0,"statuses_count":0,"last_status_at":null,"noindex":false,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[{"id":"109383687546708201","username":"mastodonpy_test","url":"http://localhost:3000/@mastodonpy_test","acct":"mastodonpy_test"}],"tags":[],"emojis":[],"card":null,"poll":null}} | ||
706 | |||
707 | |||
708 | event: delete | ||
709 | |||
710 | data: 109383689004693346 | ||
711 | |||
712 | |||
713 | :' | ||
714 | headers: | ||
715 | Access-Control-Allow-Headers: | ||
716 | - Authorization, Accept, Cache-Control | ||
717 | Access-Control-Allow-Methods: | ||
718 | - GET, OPTIONS | ||
719 | Access-Control-Allow-Origin: | ||
720 | - '*' | ||
721 | Cache-Control: | ||
722 | - no-store | ||
723 | Connection: | ||
724 | - keep-alive | ||
725 | Content-Type: | ||
726 | - text/event-stream | ||
727 | Date: | ||
728 | - Mon, 21 Nov 2022 20:30:32 GMT | ||
729 | Keep-Alive: | ||
730 | - timeout=5 | ||
731 | Transfer-Encoding: | ||
732 | - chunked | ||
733 | X-Powered-By: | ||
734 | - Express | ||
735 | X-Request-Id: | ||
736 | - 1c89d969-2e4e-43ad-a6f3-bad83b7601dc | ||
737 | status: | ||
738 | code: 200 | ||
739 | message: OK | ||
740 | - request: | ||
741 | body: null | ||
742 | headers: | ||
743 | Accept: | ||
744 | - '*/*' | ||
745 | Accept-Encoding: | ||
746 | - gzip, deflate | ||
747 | Authorization: | ||
748 | - Bearer __MASTODON_PY_TEST_ACCESS_TOKEN | ||
749 | Connection: | ||
750 | - keep-alive | ||
751 | User-Agent: | ||
752 | - tests/v311 | ||
753 | method: GET | ||
754 | uri: http://localhost:4000/api/v1/streaming/direct | ||
755 | response: | ||
756 | body: | ||
757 | string: ':) | ||
758 | |||
759 | event: conversation | ||
760 | |||
761 | data: {"id":"1","unread":false,"accounts":[{"id":"109383687660136038","username":"mastodonpy_test_2","acct":"mastodonpy_test_2","display_name":"","locked":false,"bot":false,"discoverable":true,"group":false,"created_at":"2022-11-21T00:00:00.000Z","note":"","url":"http://localhost:3000/@mastodonpy_test_2","avatar":"http://localhost:3000/avatars/original/missing.png","avatar_static":"http://localhost:3000/avatars/original/missing.png","header":"http://localhost:3000/headers/original/missing.png","header_static":"http://localhost:3000/headers/original/missing.png","followers_count":0,"following_count":0,"statuses_count":0,"last_status_at":null,"noindex":false,"emojis":[],"fields":[]}],"last_status":{"id":"109383689018917158","created_at":"2022-11-21T20:30:37.619Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"direct","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/109383689018917158","url":"http://localhost:3000/@mastodonpy_test/109383689018917158","replies_count":0,"reblogs_count":0,"favourites_count":0,"edited_at":null,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"content":"<p><span | ||
762 | class=\"h-card\"><a href=\"http://localhost:3000/@mastodonpy_test_2\" class=\"u-url | ||
763 | mention\">@<span>mastodonpy_test_2</span></a></span> pssssst</p>","filtered":[],"reblog":null,"application":{"name":"Mastodon.py | ||
764 | test suite","website":null},"account":{"id":"109383687546708201","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"","locked":true,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-21T00:00:00.000Z","note":"","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/avatars/original/missing.png","avatar_static":"http://localhost:3000/avatars/original/missing.png","header":"http://localhost:3000/headers/original/missing.png","header_static":"http://localhost:3000/headers/original/missing.png","followers_count":0,"following_count":0,"statuses_count":1,"last_status_at":"2022-11-21","noindex":false,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[{"id":"109383687660136038","username":"mastodonpy_test_2","url":"http://localhost:3000/@mastodonpy_test_2","acct":"mastodonpy_test_2"}],"tags":[],"emojis":[],"card":null,"poll":null}} | ||
765 | |||
766 | |||
767 | event: conversation | ||
768 | |||
769 | data: {"id":"1","unread":true,"accounts":[{"id":"109383687660136038","username":"mastodonpy_test_2","acct":"mastodonpy_test_2","display_name":"","locked":false,"bot":false,"discoverable":true,"group":false,"created_at":"2022-11-21T00:00:00.000Z","note":"","url":"http://localhost:3000/@mastodonpy_test_2","avatar":"http://localhost:3000/avatars/original/missing.png","avatar_static":"http://localhost:3000/avatars/original/missing.png","header":"http://localhost:3000/headers/original/missing.png","header_static":"http://localhost:3000/headers/original/missing.png","followers_count":0,"following_count":0,"statuses_count":0,"last_status_at":null,"noindex":false,"emojis":[],"fields":[]}],"last_status":{"id":"109383689022578579","created_at":"2022-11-21T20:30:37.674Z","in_reply_to_id":"109383689018917158","in_reply_to_account_id":"109383687546708201","sensitive":false,"spoiler_text":"","visibility":"direct","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test_2/statuses/109383689022578579","url":"http://localhost:3000/@mastodonpy_test_2/109383689022578579","replies_count":0,"reblogs_count":0,"favourites_count":0,"edited_at":null,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"content":"<p><span | ||
770 | class=\"h-card\"><a href=\"http://localhost:3000/@mastodonpy_test\" class=\"u-url | ||
771 | mention\">@<span>mastodonpy_test</span></a></span> pssssst!</p>","filtered":[],"reblog":null,"application":{"name":"Mastodon.py | ||
772 | test suite","website":null},"account":{"id":"109383687660136038","username":"mastodonpy_test_2","acct":"mastodonpy_test_2","display_name":"","locked":false,"bot":false,"discoverable":true,"group":false,"created_at":"2022-11-21T00:00:00.000Z","note":"","url":"http://localhost:3000/@mastodonpy_test_2","avatar":"http://localhost:3000/avatars/original/missing.png","avatar_static":"http://localhost:3000/avatars/original/missing.png","header":"http://localhost:3000/headers/original/missing.png","header_static":"http://localhost:3000/headers/original/missing.png","followers_count":0,"following_count":0,"statuses_count":0,"last_status_at":null,"noindex":false,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[{"id":"109383687546708201","username":"mastodonpy_test","url":"http://localhost:3000/@mastodonpy_test","acct":"mastodonpy_test"}],"tags":[],"emojis":[],"card":null,"poll":null}} | ||
773 | |||
774 | |||
775 | :' | ||
776 | headers: | ||
777 | Access-Control-Allow-Headers: | ||
778 | - Authorization, Accept, Cache-Control | ||
779 | Access-Control-Allow-Methods: | ||
780 | - GET, OPTIONS | ||
781 | Access-Control-Allow-Origin: | ||
782 | - '*' | ||
783 | Cache-Control: | ||
784 | - no-store | ||
785 | Connection: | ||
786 | - keep-alive | ||
787 | Content-Type: | ||
788 | - text/event-stream | ||
789 | Date: | ||
790 | - Mon, 21 Nov 2022 20:30:32 GMT | ||
791 | Keep-Alive: | ||
792 | - timeout=5 | ||
793 | Transfer-Encoding: | ||
794 | - chunked | ||
795 | X-Powered-By: | ||
796 | - Express | ||
797 | X-Request-Id: | ||
798 | - 40898f6e-ad70-4108-b775-8c17a63346fe | ||
799 | status: | ||
800 | code: 200 | ||
801 | message: OK | ||
802 | version: 1 | ||