diff options
Diffstat (limited to 'tests/cassettes/test_notifications_exclude_and_types.yaml')
-rw-r--r-- | tests/cassettes/test_notifications_exclude_and_types.yaml | 448 |
1 files changed, 448 insertions, 0 deletions
diff --git a/tests/cassettes/test_notifications_exclude_and_types.yaml b/tests/cassettes/test_notifications_exclude_and_types.yaml new file mode 100644 index 0000000..e9a26f9 --- /dev/null +++ b/tests/cassettes/test_notifications_exclude_and_types.yaml | |||
@@ -0,0 +1,448 @@ | |||
1 | interactions: | ||
2 | - request: | ||
3 | body: status=%40mastodonpy_test+hello%21 | ||
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 | Content-Length: | ||
14 | - '34' | ||
15 | Content-Type: | ||
16 | - application/x-www-form-urlencoded | ||
17 | User-Agent: | ||
18 | - tests/v311 | ||
19 | method: POST | ||
20 | uri: http://localhost:3000/api/v1/statuses | ||
21 | response: | ||
22 | body: | ||
23 | string: '{"id":"109395805945144995","created_at":"2022-11-23T23:52:07.240Z","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/109395805945144995","url":"http://localhost:3000/@admin/109395805945144995","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 | ||
24 | class=\"h-card\"\u003e\u003ca href=\"http://localhost:3000/@mastodonpy_test\" | ||
25 | class=\"u-url mention\"\u003e@\u003cspan\u003emastodonpy_test\u003c/span\u003e\u003c/a\u003e\u003c/span\u003e | ||
26 | hello!\u003c/p\u003e","filtered":[],"reblog":null,"application":{"name":"Mastodon.py | ||
27 | test suite","website":null},"account":{"id":"109384259794974437","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":9,"last_status_at":"2022-11-23","noindex":false,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[{"id":"109384260022953307","username":"mastodonpy_test","url":"http://localhost:3000/@mastodonpy_test","acct":"mastodonpy_test"}],"tags":[],"emojis":[],"card":null,"poll":null}' | ||
28 | headers: | ||
29 | Cache-Control: | ||
30 | - no-store | ||
31 | Content-Security-Policy: | ||
32 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src | ||
33 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; | ||
34 | style-src ''self'' http://localhost:3000 ''nonce-drqzZUD9kMaVis/d+/naWQ==''; | ||
35 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' | ||
36 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' | ||
37 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 | ||
38 | ws://localhost:3035 http://localhost:3035; script-src ''self'' ''unsafe-inline'' | ||
39 | ''unsafe-eval'' http://localhost:3000; child-src ''self'' blob: http://localhost:3000; | ||
40 | worker-src ''self'' blob: http://localhost:3000' | ||
41 | Content-Type: | ||
42 | - application/json; charset=utf-8 | ||
43 | ETag: | ||
44 | - W/"ae25d4ab016995b4f779c2a1ba4a343e" | ||
45 | Referrer-Policy: | ||
46 | - strict-origin-when-cross-origin | ||
47 | Transfer-Encoding: | ||
48 | - chunked | ||
49 | Vary: | ||
50 | - Accept, Origin | ||
51 | X-Content-Type-Options: | ||
52 | - nosniff | ||
53 | X-Download-Options: | ||
54 | - noopen | ||
55 | X-Frame-Options: | ||
56 | - SAMEORIGIN | ||
57 | X-Permitted-Cross-Domain-Policies: | ||
58 | - none | ||
59 | X-RateLimit-Limit: | ||
60 | - '300' | ||
61 | X-RateLimit-Remaining: | ||
62 | - '292' | ||
63 | X-RateLimit-Reset: | ||
64 | - '2022-11-24T00:00:00.267444Z' | ||
65 | X-Request-Id: | ||
66 | - 07cd1708-036d-4915-8260-94bc3ba712d5 | ||
67 | X-Runtime: | ||
68 | - '0.042008' | ||
69 | X-XSS-Protection: | ||
70 | - 1; mode=block | ||
71 | status: | ||
72 | code: 200 | ||
73 | message: OK | ||
74 | - request: | ||
75 | body: null | ||
76 | headers: | ||
77 | Accept: | ||
78 | - '*/*' | ||
79 | Accept-Encoding: | ||
80 | - gzip, deflate | ||
81 | Authorization: | ||
82 | - Bearer __MASTODON_PY_TEST_ACCESS_TOKEN | ||
83 | Connection: | ||
84 | - keep-alive | ||
85 | User-Agent: | ||
86 | - tests/v311 | ||
87 | method: GET | ||
88 | uri: http://localhost:3000/api/v1/notifications?exclude_types%5B%5D=mention&types%5B%5D=mention | ||
89 | response: | ||
90 | body: | ||
91 | string: '[]' | ||
92 | headers: | ||
93 | Cache-Control: | ||
94 | - no-store | ||
95 | Content-Security-Policy: | ||
96 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src | ||
97 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; | ||
98 | style-src ''self'' http://localhost:3000 ''nonce-L7rXTpB5G9IwBHzqTAlKkQ==''; | ||
99 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' | ||
100 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' | ||
101 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 | ||
102 | ws://localhost:3035 http://localhost:3035; script-src ''self'' ''unsafe-inline'' | ||
103 | ''unsafe-eval'' http://localhost:3000; child-src ''self'' blob: http://localhost:3000; | ||
104 | worker-src ''self'' blob: http://localhost:3000' | ||
105 | Content-Type: | ||
106 | - application/json; charset=utf-8 | ||
107 | ETag: | ||
108 | - W/"4f53cda18c2baa0c0354bb5f9a3ecbe5" | ||
109 | Referrer-Policy: | ||
110 | - strict-origin-when-cross-origin | ||
111 | Transfer-Encoding: | ||
112 | - chunked | ||
113 | Vary: | ||
114 | - Accept, Origin | ||
115 | X-Content-Type-Options: | ||
116 | - nosniff | ||
117 | X-Download-Options: | ||
118 | - noopen | ||
119 | X-Frame-Options: | ||
120 | - SAMEORIGIN | ||
121 | X-Permitted-Cross-Domain-Policies: | ||
122 | - none | ||
123 | X-Request-Id: | ||
124 | - 1ac94494-b04b-45ae-a748-de34334659dd | ||
125 | X-Runtime: | ||
126 | - '0.009775' | ||
127 | X-XSS-Protection: | ||
128 | - 1; mode=block | ||
129 | status: | ||
130 | code: 200 | ||
131 | message: OK | ||
132 | - request: | ||
133 | body: null | ||
134 | headers: | ||
135 | Accept: | ||
136 | - '*/*' | ||
137 | Accept-Encoding: | ||
138 | - gzip, deflate | ||
139 | Authorization: | ||
140 | - Bearer __MASTODON_PY_TEST_ACCESS_TOKEN | ||
141 | Connection: | ||
142 | - keep-alive | ||
143 | User-Agent: | ||
144 | - tests/v311 | ||
145 | method: GET | ||
146 | uri: http://localhost:3000/api/v1/notifications?exclude_types%5B%5D=mention&types%5B%5D=follow_request | ||
147 | response: | ||
148 | body: | ||
149 | string: '[]' | ||
150 | headers: | ||
151 | Cache-Control: | ||
152 | - no-store | ||
153 | Content-Security-Policy: | ||
154 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src | ||
155 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; | ||
156 | style-src ''self'' http://localhost:3000 ''nonce-Y7cvZZdQ9Bk+w3gxMFgNNA==''; | ||
157 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' | ||
158 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' | ||
159 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 | ||
160 | ws://localhost:3035 http://localhost:3035; script-src ''self'' ''unsafe-inline'' | ||
161 | ''unsafe-eval'' http://localhost:3000; child-src ''self'' blob: http://localhost:3000; | ||
162 | worker-src ''self'' blob: http://localhost:3000' | ||
163 | Content-Type: | ||
164 | - application/json; charset=utf-8 | ||
165 | ETag: | ||
166 | - W/"4f53cda18c2baa0c0354bb5f9a3ecbe5" | ||
167 | Referrer-Policy: | ||
168 | - strict-origin-when-cross-origin | ||
169 | Transfer-Encoding: | ||
170 | - chunked | ||
171 | Vary: | ||
172 | - Accept, Origin | ||
173 | X-Content-Type-Options: | ||
174 | - nosniff | ||
175 | X-Download-Options: | ||
176 | - noopen | ||
177 | X-Frame-Options: | ||
178 | - SAMEORIGIN | ||
179 | X-Permitted-Cross-Domain-Policies: | ||
180 | - none | ||
181 | X-Request-Id: | ||
182 | - a50d0be0-261e-4fb2-9f5a-961e91a22ac4 | ||
183 | X-Runtime: | ||
184 | - '0.009341' | ||
185 | X-XSS-Protection: | ||
186 | - 1; mode=block | ||
187 | status: | ||
188 | code: 200 | ||
189 | message: OK | ||
190 | - request: | ||
191 | body: null | ||
192 | headers: | ||
193 | Accept: | ||
194 | - '*/*' | ||
195 | Accept-Encoding: | ||
196 | - gzip, deflate | ||
197 | Authorization: | ||
198 | - Bearer __MASTODON_PY_TEST_ACCESS_TOKEN | ||
199 | Connection: | ||
200 | - keep-alive | ||
201 | User-Agent: | ||
202 | - tests/v311 | ||
203 | method: GET | ||
204 | uri: http://localhost:3000/api/v1/notifications?exclude_types%5B%5D=follow_request&types%5B%5D=mention | ||
205 | response: | ||
206 | body: | ||
207 | string: '[{"id":"25","type":"mention","created_at":"2022-11-23T23:52:07.341Z","account":{"id":"109384259794974437","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":9,"last_status_at":"2022-11-23","noindex":false,"emojis":[],"fields":[]},"status":{"id":"109395805945144995","created_at":"2022-11-23T23:52:07.240Z","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/109395805945144995","url":"http://localhost:3000/@admin/109395805945144995","replies_count":0,"reblogs_count":0,"favourites_count":0,"edited_at":null,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"content":"\u003cp\u003e\u003cspan | ||
208 | class=\"h-card\"\u003e\u003ca href=\"http://localhost:3000/@mastodonpy_test\" | ||
209 | class=\"u-url mention\"\u003e@\u003cspan\u003emastodonpy_test\u003c/span\u003e\u003c/a\u003e\u003c/span\u003e | ||
210 | hello!\u003c/p\u003e","filtered":[],"reblog":null,"application":{"name":"Mastodon.py | ||
211 | test suite","website":null},"account":{"id":"109384259794974437","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":9,"last_status_at":"2022-11-23","noindex":false,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[{"id":"109384260022953307","username":"mastodonpy_test","url":"http://localhost:3000/@mastodonpy_test","acct":"mastodonpy_test"}],"tags":[],"emojis":[],"card":null,"poll":null}},{"id":"17","type":"mention","created_at":"2022-11-21T23:06:21.025Z","account":{"id":"109384260135049902","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":"109384301340129379","created_at":"2022-11-21T23:06:20.898Z","in_reply_to_id":"109384301270458447","in_reply_to_account_id":"109384260022953307","sensitive":false,"spoiler_text":"","visibility":"direct","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test_2/statuses/109384301340129379","url":"http://localhost:3000/@mastodonpy_test_2/109384301340129379","replies_count":0,"reblogs_count":0,"favourites_count":0,"edited_at":null,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"content":"\u003cp\u003e\u003cspan | ||
212 | class=\"h-card\"\u003e\u003ca href=\"http://localhost:3000/@mastodonpy_test\" | ||
213 | class=\"u-url mention\"\u003e@\u003cspan\u003emastodonpy_test\u003c/span\u003e\u003c/a\u003e\u003c/span\u003e | ||
214 | pssssst!\u003c/p\u003e","filtered":[],"reblog":null,"application":{"name":"Mastodon.py | ||
215 | test suite","website":null},"account":{"id":"109384260135049902","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":"109384260022953307","username":"mastodonpy_test","url":"http://localhost:3000/@mastodonpy_test","acct":"mastodonpy_test"}],"tags":[],"emojis":[],"card":null,"poll":null}},{"id":"15","type":"mention","created_at":"2022-11-21T23:06:20.086Z","account":{"id":"109384259794974437","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":9,"last_status_at":"2022-11-23","noindex":false,"emojis":[],"fields":[]},"status":{"id":"109384301260589758","created_at":"2022-11-21T23:06:19.685Z","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/109384301260589758","url":"http://localhost:3000/@admin/109384301260589758","replies_count":0,"reblogs_count":0,"favourites_count":0,"edited_at":null,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"content":"\u003cp\u003e\u003cspan | ||
216 | class=\"h-card\"\u003e\u003ca href=\"http://localhost:3000/@mastodonpy_test\" | ||
217 | class=\"u-url mention\"\u003e@\u003cspan\u003emastodonpy_test\u003c/span\u003e\u003c/a\u003e\u003c/span\u003e | ||
218 | beep beep I\u0026#39;m a jeep\u003c/p\u003e","filtered":[],"reblog":null,"application":{"name":"Mastodon.py | ||
219 | test suite","website":null},"account":{"id":"109384259794974437","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":9,"last_status_at":"2022-11-23","noindex":false,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[{"id":"109384260022953307","username":"mastodonpy_test","url":"http://localhost:3000/@mastodonpy_test","acct":"mastodonpy_test"}],"tags":[],"emojis":[],"card":null,"poll":null}},{"id":"14","type":"mention","created_at":"2022-11-21T23:01:30.098Z","account":{"id":"109384260135049902","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":"109384282227323431","created_at":"2022-11-21T23:01:29.260Z","in_reply_to_id":"109384282224216103","in_reply_to_account_id":"109384260022953307","sensitive":false,"spoiler_text":"","visibility":"direct","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test_2/statuses/109384282227323431","url":"http://localhost:3000/@mastodonpy_test_2/109384282227323431","replies_count":0,"reblogs_count":0,"favourites_count":0,"edited_at":null,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"content":"\u003cp\u003e\u003cspan | ||
220 | class=\"h-card\"\u003e\u003ca href=\"http://localhost:3000/@mastodonpy_test\" | ||
221 | class=\"u-url mention\"\u003e@\u003cspan\u003emastodonpy_test\u003c/span\u003e\u003c/a\u003e\u003c/span\u003e | ||
222 | pssssst!\u003c/p\u003e","filtered":[],"reblog":null,"application":{"name":"Mastodon.py | ||
223 | test suite","website":null},"account":{"id":"109384260135049902","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":"109384260022953307","username":"mastodonpy_test","url":"http://localhost:3000/@mastodonpy_test","acct":"mastodonpy_test"}],"tags":[],"emojis":[],"card":null,"poll":null}},{"id":"12","type":"mention","created_at":"2022-11-21T23:01:29.815Z","account":{"id":"109384259794974437","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":9,"last_status_at":"2022-11-23","noindex":false,"emojis":[],"fields":[]},"status":{"id":"109384282218092087","created_at":"2022-11-21T23:01:29.120Z","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/109384282218092087","url":"http://localhost:3000/@admin/109384282218092087","replies_count":0,"reblogs_count":0,"favourites_count":0,"edited_at":"2022-11-21T23:01:31.316Z","favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"content":"\u003cp\u003e\u003cspan | ||
224 | class=\"h-card\"\u003e\u003ca href=\"http://localhost:3000/@mastodonpy_test\" | ||
225 | class=\"u-url mention\"\u003e@\u003cspan\u003emastodonpy_test\u003c/span\u003e\u003c/a\u003e\u003c/span\u003e | ||
226 | beep beep I\u0026#39;m a giraffe\u003c/p\u003e","filtered":[],"reblog":null,"application":{"name":"Mastodon.py | ||
227 | test suite","website":null},"account":{"id":"109384259794974437","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":9,"last_status_at":"2022-11-23","noindex":false,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[{"id":"109384260022953307","username":"mastodonpy_test","url":"http://localhost:3000/@mastodonpy_test","acct":"mastodonpy_test"}],"tags":[],"emojis":[],"card":null,"poll":null}},{"id":"11","type":"mention","created_at":"2022-11-21T22:58:20.111Z","account":{"id":"109384260135049902","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":"109384269774042068","created_at":"2022-11-21T22:58:19.239Z","in_reply_to_id":"109384269771231130","in_reply_to_account_id":"109384260022953307","sensitive":false,"spoiler_text":"","visibility":"direct","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test_2/statuses/109384269774042068","url":"http://localhost:3000/@mastodonpy_test_2/109384269774042068","replies_count":0,"reblogs_count":0,"favourites_count":0,"edited_at":null,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"content":"\u003cp\u003e\u003cspan | ||
228 | class=\"h-card\"\u003e\u003ca href=\"http://localhost:3000/@mastodonpy_test\" | ||
229 | class=\"u-url mention\"\u003e@\u003cspan\u003emastodonpy_test\u003c/span\u003e\u003c/a\u003e\u003c/span\u003e | ||
230 | pssssst!\u003c/p\u003e","filtered":[],"reblog":null,"application":{"name":"Mastodon.py | ||
231 | test suite","website":null},"account":{"id":"109384260135049902","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":"109384260022953307","username":"mastodonpy_test","url":"http://localhost:3000/@mastodonpy_test","acct":"mastodonpy_test"}],"tags":[],"emojis":[],"card":null,"poll":null}},{"id":"9","type":"mention","created_at":"2022-11-21T22:58:19.933Z","account":{"id":"109384259794974437","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":9,"last_status_at":"2022-11-23","noindex":false,"emojis":[],"fields":[]},"status":{"id":"109384269765215700","created_at":"2022-11-21T22:58:19.105Z","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/109384269765215700","url":"http://localhost:3000/@admin/109384269765215700","replies_count":0,"reblogs_count":0,"favourites_count":0,"edited_at":"2022-11-21T22:58:24.292Z","favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"content":"\u003cp\u003e\u003cspan | ||
232 | class=\"h-card\"\u003e\u003ca href=\"http://localhost:3000/@mastodonpy_test\" | ||
233 | class=\"u-url mention\"\u003e@\u003cspan\u003emastodonpy_test\u003c/span\u003e\u003c/a\u003e\u003c/span\u003e | ||
234 | beep beep I\u0026#39;m a giraffe\u003c/p\u003e","filtered":[],"reblog":null,"application":{"name":"Mastodon.py | ||
235 | test suite","website":null},"account":{"id":"109384259794974437","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":9,"last_status_at":"2022-11-23","noindex":false,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[{"id":"109384260022953307","username":"mastodonpy_test","url":"http://localhost:3000/@mastodonpy_test","acct":"mastodonpy_test"}],"tags":[],"emojis":[],"card":null,"poll":null}},{"id":"8","type":"mention","created_at":"2022-11-21T22:56:17.313Z","account":{"id":"109384260135049902","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":"109384261733170175","created_at":"2022-11-21T22:56:16.544Z","in_reply_to_id":"109384261729433703","in_reply_to_account_id":"109384260022953307","sensitive":false,"spoiler_text":"","visibility":"direct","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test_2/statuses/109384261733170175","url":"http://localhost:3000/@mastodonpy_test_2/109384261733170175","replies_count":0,"reblogs_count":0,"favourites_count":0,"edited_at":null,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"content":"\u003cp\u003e\u003cspan | ||
236 | class=\"h-card\"\u003e\u003ca href=\"http://localhost:3000/@mastodonpy_test\" | ||
237 | class=\"u-url mention\"\u003e@\u003cspan\u003emastodonpy_test\u003c/span\u003e\u003c/a\u003e\u003c/span\u003e | ||
238 | pssssst!\u003c/p\u003e","filtered":[],"reblog":null,"application":{"name":"Mastodon.py | ||
239 | test suite","website":null},"account":{"id":"109384260135049902","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":"109384260022953307","username":"mastodonpy_test","url":"http://localhost:3000/@mastodonpy_test","acct":"mastodonpy_test"}],"tags":[],"emojis":[],"card":null,"poll":null}},{"id":"6","type":"mention","created_at":"2022-11-21T22:56:17.126Z","account":{"id":"109384259794974437","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":9,"last_status_at":"2022-11-23","noindex":false,"emojis":[],"fields":[]},"status":{"id":"109384261718850765","created_at":"2022-11-21T22:56:16.349Z","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/109384261718850765","url":"http://localhost:3000/@admin/109384261718850765","replies_count":0,"reblogs_count":0,"favourites_count":0,"edited_at":"2022-11-21T22:56:21.618Z","favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"content":"\u003cp\u003e\u003cspan | ||
240 | class=\"h-card\"\u003e\u003ca href=\"http://localhost:3000/@mastodonpy_test\" | ||
241 | class=\"u-url mention\"\u003e@\u003cspan\u003emastodonpy_test\u003c/span\u003e\u003c/a\u003e\u003c/span\u003e | ||
242 | beep beep I\u0026#39;m a giraffe\u003c/p\u003e","filtered":[],"reblog":null,"application":{"name":"Mastodon.py | ||
243 | test suite","website":null},"account":{"id":"109384259794974437","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":9,"last_status_at":"2022-11-23","noindex":false,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[{"id":"109384260022953307","username":"mastodonpy_test","url":"http://localhost:3000/@mastodonpy_test","acct":"mastodonpy_test"}],"tags":[],"emojis":[],"card":null,"poll":null}}]' | ||
244 | headers: | ||
245 | Cache-Control: | ||
246 | - no-store | ||
247 | Content-Security-Policy: | ||
248 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src | ||
249 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; | ||
250 | style-src ''self'' http://localhost:3000 ''nonce-2GKxdwUziTE8rEPC17hUhA==''; | ||
251 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' | ||
252 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' | ||
253 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 | ||
254 | ws://localhost:3035 http://localhost:3035; script-src ''self'' ''unsafe-inline'' | ||
255 | ''unsafe-eval'' http://localhost:3000; child-src ''self'' blob: http://localhost:3000; | ||
256 | worker-src ''self'' blob: http://localhost:3000' | ||
257 | Content-Type: | ||
258 | - application/json; charset=utf-8 | ||
259 | ETag: | ||
260 | - W/"2756c78b499be65331413dafb002fcf3" | ||
261 | Link: | ||
262 | - <http://localhost:3000/api/v1/notifications?exclude_types%5B%5D=follow_request&max_id=6&types%5B%5D=mention>; | ||
263 | rel="next", <http://localhost:3000/api/v1/notifications?exclude_types%5B%5D=follow_request&min_id=25&types%5B%5D=mention>; | ||
264 | rel="prev" | ||
265 | Referrer-Policy: | ||
266 | - strict-origin-when-cross-origin | ||
267 | Transfer-Encoding: | ||
268 | - chunked | ||
269 | Vary: | ||
270 | - Accept, Origin | ||
271 | X-Content-Type-Options: | ||
272 | - nosniff | ||
273 | X-Download-Options: | ||
274 | - noopen | ||
275 | X-Frame-Options: | ||
276 | - SAMEORIGIN | ||
277 | X-Permitted-Cross-Domain-Policies: | ||
278 | - none | ||
279 | X-Request-Id: | ||
280 | - e953ce27-becd-48de-988c-9d1faeeffbac | ||
281 | X-Runtime: | ||
282 | - '0.078025' | ||
283 | X-XSS-Protection: | ||
284 | - 1; mode=block | ||
285 | status: | ||
286 | code: 200 | ||
287 | message: OK | ||
288 | - request: | ||
289 | body: null | ||
290 | headers: | ||
291 | Accept: | ||
292 | - '*/*' | ||
293 | Accept-Encoding: | ||
294 | - gzip, deflate | ||
295 | Authorization: | ||
296 | - Bearer __MASTODON_PY_TEST_ACCESS_TOKEN | ||
297 | Connection: | ||
298 | - keep-alive | ||
299 | User-Agent: | ||
300 | - tests/v311 | ||
301 | method: GET | ||
302 | uri: http://localhost:3000/api/v1/notifications?exclude_types%5B%5D=follow_request&types%5B%5D=mention&types%5B%5D=follow_request | ||
303 | response: | ||
304 | body: | ||
305 | string: '[{"id":"25","type":"mention","created_at":"2022-11-23T23:52:07.341Z","account":{"id":"109384259794974437","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":9,"last_status_at":"2022-11-23","noindex":false,"emojis":[],"fields":[]},"status":{"id":"109395805945144995","created_at":"2022-11-23T23:52:07.240Z","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/109395805945144995","url":"http://localhost:3000/@admin/109395805945144995","replies_count":0,"reblogs_count":0,"favourites_count":0,"edited_at":null,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"content":"\u003cp\u003e\u003cspan | ||
306 | class=\"h-card\"\u003e\u003ca href=\"http://localhost:3000/@mastodonpy_test\" | ||
307 | class=\"u-url mention\"\u003e@\u003cspan\u003emastodonpy_test\u003c/span\u003e\u003c/a\u003e\u003c/span\u003e | ||
308 | hello!\u003c/p\u003e","filtered":[],"reblog":null,"application":{"name":"Mastodon.py | ||
309 | test suite","website":null},"account":{"id":"109384259794974437","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":9,"last_status_at":"2022-11-23","noindex":false,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[{"id":"109384260022953307","username":"mastodonpy_test","url":"http://localhost:3000/@mastodonpy_test","acct":"mastodonpy_test"}],"tags":[],"emojis":[],"card":null,"poll":null}},{"id":"17","type":"mention","created_at":"2022-11-21T23:06:21.025Z","account":{"id":"109384260135049902","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":"109384301340129379","created_at":"2022-11-21T23:06:20.898Z","in_reply_to_id":"109384301270458447","in_reply_to_account_id":"109384260022953307","sensitive":false,"spoiler_text":"","visibility":"direct","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test_2/statuses/109384301340129379","url":"http://localhost:3000/@mastodonpy_test_2/109384301340129379","replies_count":0,"reblogs_count":0,"favourites_count":0,"edited_at":null,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"content":"\u003cp\u003e\u003cspan | ||
310 | class=\"h-card\"\u003e\u003ca href=\"http://localhost:3000/@mastodonpy_test\" | ||
311 | class=\"u-url mention\"\u003e@\u003cspan\u003emastodonpy_test\u003c/span\u003e\u003c/a\u003e\u003c/span\u003e | ||
312 | pssssst!\u003c/p\u003e","filtered":[],"reblog":null,"application":{"name":"Mastodon.py | ||
313 | test suite","website":null},"account":{"id":"109384260135049902","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":"109384260022953307","username":"mastodonpy_test","url":"http://localhost:3000/@mastodonpy_test","acct":"mastodonpy_test"}],"tags":[],"emojis":[],"card":null,"poll":null}},{"id":"15","type":"mention","created_at":"2022-11-21T23:06:20.086Z","account":{"id":"109384259794974437","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":9,"last_status_at":"2022-11-23","noindex":false,"emojis":[],"fields":[]},"status":{"id":"109384301260589758","created_at":"2022-11-21T23:06:19.685Z","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/109384301260589758","url":"http://localhost:3000/@admin/109384301260589758","replies_count":0,"reblogs_count":0,"favourites_count":0,"edited_at":null,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"content":"\u003cp\u003e\u003cspan | ||
314 | class=\"h-card\"\u003e\u003ca href=\"http://localhost:3000/@mastodonpy_test\" | ||
315 | class=\"u-url mention\"\u003e@\u003cspan\u003emastodonpy_test\u003c/span\u003e\u003c/a\u003e\u003c/span\u003e | ||
316 | beep beep I\u0026#39;m a jeep\u003c/p\u003e","filtered":[],"reblog":null,"application":{"name":"Mastodon.py | ||
317 | test suite","website":null},"account":{"id":"109384259794974437","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":9,"last_status_at":"2022-11-23","noindex":false,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[{"id":"109384260022953307","username":"mastodonpy_test","url":"http://localhost:3000/@mastodonpy_test","acct":"mastodonpy_test"}],"tags":[],"emojis":[],"card":null,"poll":null}},{"id":"14","type":"mention","created_at":"2022-11-21T23:01:30.098Z","account":{"id":"109384260135049902","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":"109384282227323431","created_at":"2022-11-21T23:01:29.260Z","in_reply_to_id":"109384282224216103","in_reply_to_account_id":"109384260022953307","sensitive":false,"spoiler_text":"","visibility":"direct","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test_2/statuses/109384282227323431","url":"http://localhost:3000/@mastodonpy_test_2/109384282227323431","replies_count":0,"reblogs_count":0,"favourites_count":0,"edited_at":null,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"content":"\u003cp\u003e\u003cspan | ||
318 | class=\"h-card\"\u003e\u003ca href=\"http://localhost:3000/@mastodonpy_test\" | ||
319 | class=\"u-url mention\"\u003e@\u003cspan\u003emastodonpy_test\u003c/span\u003e\u003c/a\u003e\u003c/span\u003e | ||
320 | pssssst!\u003c/p\u003e","filtered":[],"reblog":null,"application":{"name":"Mastodon.py | ||
321 | test suite","website":null},"account":{"id":"109384260135049902","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":"109384260022953307","username":"mastodonpy_test","url":"http://localhost:3000/@mastodonpy_test","acct":"mastodonpy_test"}],"tags":[],"emojis":[],"card":null,"poll":null}},{"id":"12","type":"mention","created_at":"2022-11-21T23:01:29.815Z","account":{"id":"109384259794974437","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":9,"last_status_at":"2022-11-23","noindex":false,"emojis":[],"fields":[]},"status":{"id":"109384282218092087","created_at":"2022-11-21T23:01:29.120Z","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/109384282218092087","url":"http://localhost:3000/@admin/109384282218092087","replies_count":0,"reblogs_count":0,"favourites_count":0,"edited_at":"2022-11-21T23:01:31.316Z","favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"content":"\u003cp\u003e\u003cspan | ||
322 | class=\"h-card\"\u003e\u003ca href=\"http://localhost:3000/@mastodonpy_test\" | ||
323 | class=\"u-url mention\"\u003e@\u003cspan\u003emastodonpy_test\u003c/span\u003e\u003c/a\u003e\u003c/span\u003e | ||
324 | beep beep I\u0026#39;m a giraffe\u003c/p\u003e","filtered":[],"reblog":null,"application":{"name":"Mastodon.py | ||
325 | test suite","website":null},"account":{"id":"109384259794974437","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":9,"last_status_at":"2022-11-23","noindex":false,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[{"id":"109384260022953307","username":"mastodonpy_test","url":"http://localhost:3000/@mastodonpy_test","acct":"mastodonpy_test"}],"tags":[],"emojis":[],"card":null,"poll":null}},{"id":"11","type":"mention","created_at":"2022-11-21T22:58:20.111Z","account":{"id":"109384260135049902","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":"109384269774042068","created_at":"2022-11-21T22:58:19.239Z","in_reply_to_id":"109384269771231130","in_reply_to_account_id":"109384260022953307","sensitive":false,"spoiler_text":"","visibility":"direct","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test_2/statuses/109384269774042068","url":"http://localhost:3000/@mastodonpy_test_2/109384269774042068","replies_count":0,"reblogs_count":0,"favourites_count":0,"edited_at":null,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"content":"\u003cp\u003e\u003cspan | ||
326 | class=\"h-card\"\u003e\u003ca href=\"http://localhost:3000/@mastodonpy_test\" | ||
327 | class=\"u-url mention\"\u003e@\u003cspan\u003emastodonpy_test\u003c/span\u003e\u003c/a\u003e\u003c/span\u003e | ||
328 | pssssst!\u003c/p\u003e","filtered":[],"reblog":null,"application":{"name":"Mastodon.py | ||
329 | test suite","website":null},"account":{"id":"109384260135049902","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":"109384260022953307","username":"mastodonpy_test","url":"http://localhost:3000/@mastodonpy_test","acct":"mastodonpy_test"}],"tags":[],"emojis":[],"card":null,"poll":null}},{"id":"9","type":"mention","created_at":"2022-11-21T22:58:19.933Z","account":{"id":"109384259794974437","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":9,"last_status_at":"2022-11-23","noindex":false,"emojis":[],"fields":[]},"status":{"id":"109384269765215700","created_at":"2022-11-21T22:58:19.105Z","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/109384269765215700","url":"http://localhost:3000/@admin/109384269765215700","replies_count":0,"reblogs_count":0,"favourites_count":0,"edited_at":"2022-11-21T22:58:24.292Z","favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"content":"\u003cp\u003e\u003cspan | ||
330 | class=\"h-card\"\u003e\u003ca href=\"http://localhost:3000/@mastodonpy_test\" | ||
331 | class=\"u-url mention\"\u003e@\u003cspan\u003emastodonpy_test\u003c/span\u003e\u003c/a\u003e\u003c/span\u003e | ||
332 | beep beep I\u0026#39;m a giraffe\u003c/p\u003e","filtered":[],"reblog":null,"application":{"name":"Mastodon.py | ||
333 | test suite","website":null},"account":{"id":"109384259794974437","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":9,"last_status_at":"2022-11-23","noindex":false,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[{"id":"109384260022953307","username":"mastodonpy_test","url":"http://localhost:3000/@mastodonpy_test","acct":"mastodonpy_test"}],"tags":[],"emojis":[],"card":null,"poll":null}},{"id":"8","type":"mention","created_at":"2022-11-21T22:56:17.313Z","account":{"id":"109384260135049902","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":"109384261733170175","created_at":"2022-11-21T22:56:16.544Z","in_reply_to_id":"109384261729433703","in_reply_to_account_id":"109384260022953307","sensitive":false,"spoiler_text":"","visibility":"direct","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test_2/statuses/109384261733170175","url":"http://localhost:3000/@mastodonpy_test_2/109384261733170175","replies_count":0,"reblogs_count":0,"favourites_count":0,"edited_at":null,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"content":"\u003cp\u003e\u003cspan | ||
334 | class=\"h-card\"\u003e\u003ca href=\"http://localhost:3000/@mastodonpy_test\" | ||
335 | class=\"u-url mention\"\u003e@\u003cspan\u003emastodonpy_test\u003c/span\u003e\u003c/a\u003e\u003c/span\u003e | ||
336 | pssssst!\u003c/p\u003e","filtered":[],"reblog":null,"application":{"name":"Mastodon.py | ||
337 | test suite","website":null},"account":{"id":"109384260135049902","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":"109384260022953307","username":"mastodonpy_test","url":"http://localhost:3000/@mastodonpy_test","acct":"mastodonpy_test"}],"tags":[],"emojis":[],"card":null,"poll":null}},{"id":"6","type":"mention","created_at":"2022-11-21T22:56:17.126Z","account":{"id":"109384259794974437","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":9,"last_status_at":"2022-11-23","noindex":false,"emojis":[],"fields":[]},"status":{"id":"109384261718850765","created_at":"2022-11-21T22:56:16.349Z","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/109384261718850765","url":"http://localhost:3000/@admin/109384261718850765","replies_count":0,"reblogs_count":0,"favourites_count":0,"edited_at":"2022-11-21T22:56:21.618Z","favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"content":"\u003cp\u003e\u003cspan | ||
338 | class=\"h-card\"\u003e\u003ca href=\"http://localhost:3000/@mastodonpy_test\" | ||
339 | class=\"u-url mention\"\u003e@\u003cspan\u003emastodonpy_test\u003c/span\u003e\u003c/a\u003e\u003c/span\u003e | ||
340 | beep beep I\u0026#39;m a giraffe\u003c/p\u003e","filtered":[],"reblog":null,"application":{"name":"Mastodon.py | ||
341 | test suite","website":null},"account":{"id":"109384259794974437","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":9,"last_status_at":"2022-11-23","noindex":false,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[{"id":"109384260022953307","username":"mastodonpy_test","url":"http://localhost:3000/@mastodonpy_test","acct":"mastodonpy_test"}],"tags":[],"emojis":[],"card":null,"poll":null}}]' | ||
342 | headers: | ||
343 | Cache-Control: | ||
344 | - no-store | ||
345 | Content-Security-Policy: | ||
346 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src | ||
347 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; | ||
348 | style-src ''self'' http://localhost:3000 ''nonce-RRBjwl3LzYo4DbNnF9ewXg==''; | ||
349 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' | ||
350 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' | ||
351 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 | ||
352 | ws://localhost:3035 http://localhost:3035; script-src ''self'' ''unsafe-inline'' | ||
353 | ''unsafe-eval'' http://localhost:3000; child-src ''self'' blob: http://localhost:3000; | ||
354 | worker-src ''self'' blob: http://localhost:3000' | ||
355 | Content-Type: | ||
356 | - application/json; charset=utf-8 | ||
357 | ETag: | ||
358 | - W/"2756c78b499be65331413dafb002fcf3" | ||
359 | Link: | ||
360 | - <http://localhost:3000/api/v1/notifications?exclude_types%5B%5D=follow_request&max_id=6&types%5B%5D=mention&types%5B%5D=follow_request>; | ||
361 | rel="next", <http://localhost:3000/api/v1/notifications?exclude_types%5B%5D=follow_request&min_id=25&types%5B%5D=mention&types%5B%5D=follow_request>; | ||
362 | rel="prev" | ||
363 | Referrer-Policy: | ||
364 | - strict-origin-when-cross-origin | ||
365 | Transfer-Encoding: | ||
366 | - chunked | ||
367 | Vary: | ||
368 | - Accept, Origin | ||
369 | X-Content-Type-Options: | ||
370 | - nosniff | ||
371 | X-Download-Options: | ||
372 | - noopen | ||
373 | X-Frame-Options: | ||
374 | - SAMEORIGIN | ||
375 | X-Permitted-Cross-Domain-Policies: | ||
376 | - none | ||
377 | X-Request-Id: | ||
378 | - edceaf55-bc48-4138-a779-f6b3aabf2d5f | ||
379 | X-Runtime: | ||
380 | - '0.070648' | ||
381 | X-XSS-Protection: | ||
382 | - 1; mode=block | ||
383 | status: | ||
384 | code: 200 | ||
385 | message: OK | ||
386 | - request: | ||
387 | body: null | ||
388 | headers: | ||
389 | Accept: | ||
390 | - '*/*' | ||
391 | Accept-Encoding: | ||
392 | - gzip, deflate | ||
393 | Authorization: | ||
394 | - Bearer __MASTODON_PY_TEST_ACCESS_TOKEN_2 | ||
395 | Connection: | ||
396 | - keep-alive | ||
397 | Content-Length: | ||
398 | - '0' | ||
399 | User-Agent: | ||
400 | - tests/v311 | ||
401 | method: DELETE | ||
402 | uri: http://localhost:3000/api/v1/statuses/109395805945144995 | ||
403 | response: | ||
404 | body: | ||
405 | string: '{"id":"109395805945144995","created_at":"2022-11-23T23:52:07.240Z","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/109395805945144995","url":"http://localhost:3000/@admin/109395805945144995","replies_count":0,"reblogs_count":0,"favourites_count":0,"edited_at":null,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"pinned":false,"text":"@mastodonpy_test | ||
406 | hello!","filtered":[],"reblog":null,"application":{"name":"Mastodon.py test | ||
407 | suite","website":null},"account":{"id":"109384259794974437","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":8,"last_status_at":"2022-11-23","noindex":false,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[{"id":"109384260022953307","username":"mastodonpy_test","url":"http://localhost:3000/@mastodonpy_test","acct":"mastodonpy_test"}],"tags":[],"emojis":[],"card":null,"poll":null}' | ||
408 | headers: | ||
409 | Cache-Control: | ||
410 | - no-store | ||
411 | Content-Security-Policy: | ||
412 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src | ||
413 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; | ||
414 | style-src ''self'' http://localhost:3000 ''nonce-lMImYwqewus2duDwOY38KA==''; | ||
415 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' | ||
416 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' | ||
417 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 | ||
418 | ws://localhost:3035 http://localhost:3035; script-src ''self'' ''unsafe-inline'' | ||
419 | ''unsafe-eval'' http://localhost:3000; child-src ''self'' blob: http://localhost:3000; | ||
420 | worker-src ''self'' blob: http://localhost:3000' | ||
421 | Content-Type: | ||
422 | - application/json; charset=utf-8 | ||
423 | ETag: | ||
424 | - W/"24dc2a18cd0f3246f927e3080425cb87" | ||
425 | Referrer-Policy: | ||
426 | - strict-origin-when-cross-origin | ||
427 | Transfer-Encoding: | ||
428 | - chunked | ||
429 | Vary: | ||
430 | - Accept, Origin | ||
431 | X-Content-Type-Options: | ||
432 | - nosniff | ||
433 | X-Download-Options: | ||
434 | - noopen | ||
435 | X-Frame-Options: | ||
436 | - SAMEORIGIN | ||
437 | X-Permitted-Cross-Domain-Policies: | ||
438 | - none | ||
439 | X-Request-Id: | ||
440 | - 0f0022aa-6b2d-458e-8a54-52060dcfa648 | ||
441 | X-Runtime: | ||
442 | - '0.039957' | ||
443 | X-XSS-Protection: | ||
444 | - 1; mode=block | ||
445 | status: | ||
446 | code: 200 | ||
447 | message: OK | ||
448 | version: 1 | ||