diff options
Diffstat (limited to 'tests/cassettes/test_stream_user.yaml')
-rw-r--r-- | tests/cassettes/test_stream_user.yaml | 85 |
1 files changed, 44 insertions, 41 deletions
diff --git a/tests/cassettes/test_stream_user.yaml b/tests/cassettes/test_stream_user.yaml index 0c6b31e..21bcbd3 100644 --- a/tests/cassettes/test_stream_user.yaml +++ b/tests/cassettes/test_stream_user.yaml | |||
@@ -10,7 +10,7 @@ interactions: | |||
10 | method: GET | 10 | method: GET |
11 | uri: http://localhost:3000/api/v1/accounts/verify_credentials | 11 | uri: http://localhost:3000/api/v1/accounts/verify_credentials |
12 | response: | 12 | response: |
13 | body: {string: '{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"created_at":"2019-06-22T12:42:50.096Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@admin","avatar":"http://localhost/avatars/original/missing.png","avatar_static":"http://localhost/avatars/original/missing.png","header":"http://localhost/headers/original/missing.png","header_static":"http://localhost/headers/original/missing.png","followers_count":2,"following_count":1,"statuses_count":31,"last_status_at":"2019-10-12T21:01:17.856Z","source":{"privacy":"public","sensitive":false,"language":null,"note":"","fields":[],"follow_requests_count":0},"emojis":[],"fields":[]}'} | 13 | body: {string: '{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"discoverable":null,"group":false,"created_at":"2020-02-22T19:13:53.944Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@admin","avatar":"http://localhost/avatars/original/missing.png","avatar_static":"http://localhost/avatars/original/missing.png","header":"http://localhost/headers/original/missing.png","header_static":"http://localhost/headers/original/missing.png","followers_count":0,"following_count":0,"statuses_count":1,"last_status_at":"2020-02-22","source":{"privacy":"public","sensitive":false,"language":null,"note":"","fields":[],"follow_requests_count":0},"emojis":[],"fields":[]}'} |
14 | headers: | 14 | headers: |
15 | Cache-Control: ['no-cache, no-store'] | 15 | Cache-Control: ['no-cache, no-store'] |
16 | Content-Type: [application/json; charset=utf-8] | 16 | Content-Type: [application/json; charset=utf-8] |
@@ -21,10 +21,10 @@ interactions: | |||
21 | X-Download-Options: [noopen] | 21 | X-Download-Options: [noopen] |
22 | X-Frame-Options: [SAMEORIGIN] | 22 | X-Frame-Options: [SAMEORIGIN] |
23 | X-Permitted-Cross-Domain-Policies: [none] | 23 | X-Permitted-Cross-Domain-Policies: [none] |
24 | X-Request-Id: [ea5cb92e-dbcd-4f23-978d-752520682ce5] | 24 | X-Request-Id: [dfffefce-86e5-4564-b430-aec547de6984] |
25 | X-Runtime: ['0.027826'] | 25 | X-Runtime: ['0.047495'] |
26 | X-XSS-Protection: [1; mode=block] | 26 | X-XSS-Protection: [1; mode=block] |
27 | content-length: ['680'] | 27 | content-length: ['699'] |
28 | status: {code: 200, message: OK} | 28 | status: {code: 200, message: OK} |
29 | - request: | 29 | - request: |
30 | body: null | 30 | body: null |
@@ -49,8 +49,8 @@ interactions: | |||
49 | X-Download-Options: [noopen] | 49 | X-Download-Options: [noopen] |
50 | X-Frame-Options: [SAMEORIGIN] | 50 | X-Frame-Options: [SAMEORIGIN] |
51 | X-Permitted-Cross-Domain-Policies: [none] | 51 | X-Permitted-Cross-Domain-Policies: [none] |
52 | X-Request-Id: [9ed775b8-fd27-4238-9974-ba31c74e1481] | 52 | X-Request-Id: [dd831a69-3672-401b-b929-64501e6dad90] |
53 | X-Runtime: ['0.028644'] | 53 | X-Runtime: ['0.077104'] |
54 | X-XSS-Protection: [1; mode=block] | 54 | X-XSS-Protection: [1; mode=block] |
55 | content-length: ['211'] | 55 | content-length: ['211'] |
56 | status: {code: 200, message: OK} | 56 | status: {code: 200, message: OK} |
@@ -65,12 +65,12 @@ interactions: | |||
65 | method: GET | 65 | method: GET |
66 | uri: http://localhost:3000/api/v1/instance/ | 66 | uri: http://localhost:3000/api/v1/instance/ |
67 | response: | 67 | response: |
68 | body: {string: '{"uri":"localhost","title":"Mastodon","short_description":"","description":"","email":"","version":"3.0.1","urls":{"streaming_api":"ws://localhost:4000"},"stats":{"user_count":3,"status_count":32,"domain_count":0},"thumbnail":"http://localhost/packs/media/images/preview-9a17d32fc48369e8ccd910a75260e67d.jpg","languages":["en"],"registrations":true,"approval_required":false,"contact_account":null}'} | 68 | body: {string: '{"uri":"localhost","title":"Mastodon","short_description":"","description":"","email":"","version":"3.1.1","urls":{"streaming_api":"ws://localhost:4000"},"stats":{"user_count":3,"status_count":2,"domain_count":0},"thumbnail":"http://localhost/packs/media/images/preview-9a17d32fc48369e8ccd910a75260e67d.jpg","languages":["en"],"registrations":true,"approval_required":false,"contact_account":null}'} |
69 | headers: | 69 | headers: |
70 | Cache-Control: ['max-age=180, public'] | 70 | Cache-Control: ['max-age=180, public'] |
71 | Content-Type: [application/json; charset=utf-8] | 71 | Content-Type: [application/json; charset=utf-8] |
72 | Date: ['Sat, 12 Oct 2019 21:01:39 GMT'] | 72 | Date: ['Sat, 22 Feb 2020 19:29:49 GMT'] |
73 | ETag: [W/"7c4d87e5a60d71779df547f36eb582a6"] | 73 | ETag: [W/"cd1a3127190394dbf4f025e256214f91"] |
74 | Referrer-Policy: [strict-origin-when-cross-origin] | 74 | Referrer-Policy: [strict-origin-when-cross-origin] |
75 | Transfer-Encoding: [chunked] | 75 | Transfer-Encoding: [chunked] |
76 | Vary: ['Accept-Encoding, Origin'] | 76 | Vary: ['Accept-Encoding, Origin'] |
@@ -78,10 +78,10 @@ interactions: | |||
78 | X-Download-Options: [noopen] | 78 | X-Download-Options: [noopen] |
79 | X-Frame-Options: [SAMEORIGIN] | 79 | X-Frame-Options: [SAMEORIGIN] |
80 | X-Permitted-Cross-Domain-Policies: [none] | 80 | X-Permitted-Cross-Domain-Policies: [none] |
81 | X-Request-Id: [17e2a9b2-14c5-4908-afb2-8f831d000f26] | 81 | X-Request-Id: [7df52655-c83c-440b-9c5d-07efd7330a10] |
82 | X-Runtime: ['0.042122'] | 82 | X-Runtime: ['0.057121'] |
83 | X-XSS-Protection: [1; mode=block] | 83 | X-XSS-Protection: [1; mode=block] |
84 | content-length: ['398'] | 84 | content-length: ['397'] |
85 | status: {code: 200, message: OK} | 85 | status: {code: 200, message: OK} |
86 | - request: | 86 | - request: |
87 | body: status=only+real+cars+respond. | 87 | body: status=only+real+cars+respond. |
@@ -96,9 +96,9 @@ interactions: | |||
96 | method: POST | 96 | method: POST |
97 | uri: http://localhost:3000/api/v1/statuses | 97 | uri: http://localhost:3000/api/v1/statuses |
98 | response: | 98 | response: |
99 | body: {string: '{"id":"102951426753689473","created_at":"2019-10-12T21:01:44.528Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost/users/mastodonpy_test/statuses/102951426753689473","url":"http://localhost/@mastodonpy_test/102951426753689473","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"content":"\u003cp\u003eonly | 99 | body: {string: '{"id":"103704152961999435","created_at":"2020-02-22T19:29:54.978Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost/users/mastodonpy_test/statuses/103704152961999435","url":"http://localhost/@mastodonpy_test/103704152961999435","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"pinned":false,"content":"\u003cp\u003eonly |
100 | real cars respond.\u003c/p\u003e","reblog":null,"application":{"name":"Mastodon.py | 100 | real cars respond.\u003c/p\u003e","reblog":null,"application":{"name":"Mastodon.py |
101 | test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"","locked":false,"bot":false,"created_at":"2019-06-22T23:11:52.441Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/avatars/original/missing.png","avatar_static":"http://localhost/avatars/original/missing.png","header":"http://localhost/headers/original/missing.png","header_static":"http://localhost/headers/original/missing.png","followers_count":0,"following_count":0,"statuses_count":2,"last_status_at":"2019-10-12T21:01:44.550Z","emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'} | 101 | test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"","locked":false,"bot":false,"discoverable":false,"group":false,"created_at":"2020-02-22T20:26:54.402Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/avatars/original/missing.png","avatar_static":"http://localhost/avatars/original/missing.png","header":"http://localhost/headers/original/missing.png","header_static":"http://localhost/headers/original/missing.png","followers_count":0,"following_count":0,"statuses_count":2,"last_status_at":"2020-02-22","emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'} |
102 | headers: | 102 | headers: |
103 | Cache-Control: ['no-cache, no-store'] | 103 | Cache-Control: ['no-cache, no-store'] |
104 | Content-Type: [application/json; charset=utf-8] | 104 | Content-Type: [application/json; charset=utf-8] |
@@ -109,10 +109,10 @@ interactions: | |||
109 | X-Download-Options: [noopen] | 109 | X-Download-Options: [noopen] |
110 | X-Frame-Options: [SAMEORIGIN] | 110 | X-Frame-Options: [SAMEORIGIN] |
111 | X-Permitted-Cross-Domain-Policies: [none] | 111 | X-Permitted-Cross-Domain-Policies: [none] |
112 | X-Request-Id: [8f45192c-c9a4-41e4-9e9c-36e71d9b3c64] | 112 | X-Request-Id: [cb3b8790-eb19-4bc2-90c7-bd6585349770] |
113 | X-Runtime: ['0.176433'] | 113 | X-Runtime: ['0.213901'] |
114 | X-XSS-Protection: [1; mode=block] | 114 | X-XSS-Protection: [1; mode=block] |
115 | content-length: ['1298'] | 115 | content-length: ['1338'] |
116 | status: {code: 200, message: OK} | 116 | status: {code: 200, message: OK} |
117 | - request: | 117 | - request: |
118 | body: status=%40mastodonpy_test+beep+beep+I%27m+a+jeep | 118 | body: status=%40mastodonpy_test+beep+beep+I%27m+a+jeep |
@@ -127,11 +127,11 @@ interactions: | |||
127 | method: POST | 127 | method: POST |
128 | uri: http://localhost:3000/api/v1/statuses | 128 | uri: http://localhost:3000/api/v1/statuses |
129 | response: | 129 | response: |
130 | body: {string: '{"id":"102951426769804033","created_at":"2019-10-12T21:01:44.778Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost/users/admin/statuses/102951426769804033","url":"http://localhost/@admin/102951426769804033","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"content":"\u003cp\u003e\u003cspan | 130 | body: {string: '{"id":"103704152979846395","created_at":"2020-02-22T19:29:55.300Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost/users/admin/statuses/103704152979846395","url":"http://localhost/@admin/103704152979846395","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"pinned":false,"content":"\u003cp\u003e\u003cspan |
131 | class=\"h-card\"\u003e\u003ca href=\"http://localhost/@mastodonpy_test\" class=\"u-url | 131 | class=\"h-card\"\u003e\u003ca href=\"http://localhost/@mastodonpy_test\" class=\"u-url |
132 | mention\"\u003e@\u003cspan\u003emastodonpy_test\u003c/span\u003e\u003c/a\u003e\u003c/span\u003e | 132 | mention\"\u003e@\u003cspan\u003emastodonpy_test\u003c/span\u003e\u003c/a\u003e\u003c/span\u003e |
133 | beep beep I\u0026apos;m a jeep\u003c/p\u003e","reblog":null,"application":{"name":"Mastodon.py | 133 | beep beep I\u0026apos;m a jeep\u003c/p\u003e","reblog":null,"application":{"name":"Mastodon.py |
134 | test suite","website":null},"account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"created_at":"2019-06-22T12:42:50.096Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@admin","avatar":"http://localhost/avatars/original/missing.png","avatar_static":"http://localhost/avatars/original/missing.png","header":"http://localhost/headers/original/missing.png","header_static":"http://localhost/headers/original/missing.png","followers_count":2,"following_count":1,"statuses_count":32,"last_status_at":"2019-10-12T21:01:44.788Z","emojis":[],"fields":[]},"media_attachments":[],"mentions":[{"id":"1234567890123456","username":"mastodonpy_test","url":"http://localhost/@mastodonpy_test","acct":"mastodonpy_test"}],"tags":[],"emojis":[],"card":null,"poll":null}'} | 134 | test suite","website":null},"account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"discoverable":null,"group":false,"created_at":"2020-02-22T19:13:53.944Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@admin","avatar":"http://localhost/avatars/original/missing.png","avatar_static":"http://localhost/avatars/original/missing.png","header":"http://localhost/headers/original/missing.png","header_static":"http://localhost/headers/original/missing.png","followers_count":0,"following_count":0,"statuses_count":2,"last_status_at":"2020-02-22","emojis":[],"fields":[]},"media_attachments":[],"mentions":[{"id":"1234567890123456","username":"mastodonpy_test","url":"http://localhost/@mastodonpy_test","acct":"mastodonpy_test"}],"tags":[],"emojis":[],"card":null,"poll":null}'} |
135 | headers: | 135 | headers: |
136 | Cache-Control: ['no-cache, no-store'] | 136 | Cache-Control: ['no-cache, no-store'] |
137 | Content-Type: [application/json; charset=utf-8] | 137 | Content-Type: [application/json; charset=utf-8] |
@@ -142,10 +142,10 @@ interactions: | |||
142 | X-Download-Options: [noopen] | 142 | X-Download-Options: [noopen] |
143 | X-Frame-Options: [SAMEORIGIN] | 143 | X-Frame-Options: [SAMEORIGIN] |
144 | X-Permitted-Cross-Domain-Policies: [none] | 144 | X-Permitted-Cross-Domain-Policies: [none] |
145 | X-Request-Id: [3949877d-699b-40aa-869c-c942f82a3a42] | 145 | X-Request-Id: [275b0083-fecb-4345-b412-ea1c04219668] |
146 | X-Runtime: ['0.257322'] | 146 | X-Runtime: ['0.382119'] |
147 | X-XSS-Protection: [1; mode=block] | 147 | X-XSS-Protection: [1; mode=block] |
148 | content-length: ['1556'] | 148 | content-length: ['1594'] |
149 | status: {code: 200, message: OK} | 149 | status: {code: 200, message: OK} |
150 | - request: | 150 | - request: |
151 | body: status=on+the+internet%2C+nobody+knows+you%27re+a+plane | 151 | body: status=on+the+internet%2C+nobody+knows+you%27re+a+plane |
@@ -160,9 +160,9 @@ interactions: | |||
160 | method: POST | 160 | method: POST |
161 | uri: http://localhost:3000/api/v1/statuses | 161 | uri: http://localhost:3000/api/v1/statuses |
162 | response: | 162 | response: |
163 | body: {string: '{"id":"102951426786050221","created_at":"2019-10-12T21:01:45.054Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost/users/admin/statuses/102951426786050221","url":"http://localhost/@admin/102951426786050221","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"content":"\u003cp\u003eon | 163 | body: {string: '{"id":"103704153009330401","created_at":"2020-02-22T19:29:55.713Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost/users/admin/statuses/103704153009330401","url":"http://localhost/@admin/103704153009330401","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"pinned":false,"content":"\u003cp\u003eon |
164 | the internet, nobody knows you\u0026apos;re a plane\u003c/p\u003e","reblog":null,"application":{"name":"Mastodon.py | 164 | the internet, nobody knows you\u0026apos;re a plane\u003c/p\u003e","reblog":null,"application":{"name":"Mastodon.py |
165 | test suite","website":null},"account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"created_at":"2019-06-22T12:42:50.096Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@admin","avatar":"http://localhost/avatars/original/missing.png","avatar_static":"http://localhost/avatars/original/missing.png","header":"http://localhost/headers/original/missing.png","header_static":"http://localhost/headers/original/missing.png","followers_count":2,"following_count":1,"statuses_count":33,"last_status_at":"2019-10-12T21:01:45.075Z","emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'} | 165 | test suite","website":null},"account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"discoverable":null,"group":false,"created_at":"2020-02-22T19:13:53.944Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@admin","avatar":"http://localhost/avatars/original/missing.png","avatar_static":"http://localhost/avatars/original/missing.png","header":"http://localhost/headers/original/missing.png","header_static":"http://localhost/headers/original/missing.png","followers_count":0,"following_count":0,"statuses_count":3,"last_status_at":"2020-02-22","emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'} |
166 | headers: | 166 | headers: |
167 | Cache-Control: ['no-cache, no-store'] | 167 | Cache-Control: ['no-cache, no-store'] |
168 | Content-Type: [application/json; charset=utf-8] | 168 | Content-Type: [application/json; charset=utf-8] |
@@ -173,10 +173,10 @@ interactions: | |||
173 | X-Download-Options: [noopen] | 173 | X-Download-Options: [noopen] |
174 | X-Frame-Options: [SAMEORIGIN] | 174 | X-Frame-Options: [SAMEORIGIN] |
175 | X-Permitted-Cross-Domain-Policies: [none] | 175 | X-Permitted-Cross-Domain-Policies: [none] |
176 | X-Request-Id: [86db19e1-7d49-496a-97a3-ec19a7167ae2] | 176 | X-Request-Id: [16e4ad84-c824-4d41-94fa-38136a5fd055] |
177 | X-Runtime: ['0.214519'] | 177 | X-Runtime: ['0.373721'] |
178 | X-XSS-Protection: [1; mode=block] | 178 | X-XSS-Protection: [1; mode=block] |
179 | content-length: ['1265'] | 179 | content-length: ['1303'] |
180 | status: {code: 200, message: OK} | 180 | status: {code: 200, message: OK} |
181 | - request: | 181 | - request: |
182 | body: null | 182 | body: null |
@@ -188,11 +188,11 @@ interactions: | |||
188 | Content-Length: ['0'] | 188 | Content-Length: ['0'] |
189 | User-Agent: [python-requests/2.18.4] | 189 | User-Agent: [python-requests/2.18.4] |
190 | method: DELETE | 190 | method: DELETE |
191 | uri: http://localhost:3000/api/v1/statuses/102951426753689473 | 191 | uri: http://localhost:3000/api/v1/statuses/103704152961999435 |
192 | response: | 192 | response: |
193 | body: {string: '{"id":"102951426753689473","created_at":"2019-10-12T21:01:44.528Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost/users/mastodonpy_test/statuses/102951426753689473","url":"http://localhost/@mastodonpy_test/102951426753689473","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"text":"only | 193 | body: {string: '{"id":"103704152961999435","created_at":"2020-02-22T19:29:54.978Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost/users/mastodonpy_test/statuses/103704152961999435","url":"http://localhost/@mastodonpy_test/103704152961999435","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"pinned":false,"text":"only |
194 | real cars respond.","reblog":null,"application":{"name":"Mastodon.py test | 194 | real cars respond.","reblog":null,"application":{"name":"Mastodon.py test |
195 | suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"","locked":false,"bot":false,"created_at":"2019-06-22T23:11:52.441Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/avatars/original/missing.png","avatar_static":"http://localhost/avatars/original/missing.png","header":"http://localhost/headers/original/missing.png","header_static":"http://localhost/headers/original/missing.png","followers_count":0,"following_count":0,"statuses_count":2,"last_status_at":"2019-10-12T21:01:44.550Z","emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'} | 195 | suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"","locked":false,"bot":false,"discoverable":false,"group":false,"created_at":"2020-02-22T20:26:54.402Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/avatars/original/missing.png","avatar_static":"http://localhost/avatars/original/missing.png","header":"http://localhost/headers/original/missing.png","header_static":"http://localhost/headers/original/missing.png","followers_count":0,"following_count":0,"statuses_count":2,"last_status_at":"2020-02-22","emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'} |
196 | headers: | 196 | headers: |
197 | Cache-Control: ['no-cache, no-store'] | 197 | Cache-Control: ['no-cache, no-store'] |
198 | Content-Type: [application/json; charset=utf-8] | 198 | Content-Type: [application/json; charset=utf-8] |
@@ -203,10 +203,10 @@ interactions: | |||
203 | X-Download-Options: [noopen] | 203 | X-Download-Options: [noopen] |
204 | X-Frame-Options: [SAMEORIGIN] | 204 | X-Frame-Options: [SAMEORIGIN] |
205 | X-Permitted-Cross-Domain-Policies: [none] | 205 | X-Permitted-Cross-Domain-Policies: [none] |
206 | X-Request-Id: [049d8736-f708-4408-8cae-713cb99a8716] | 206 | X-Request-Id: [d09f676f-00e6-4b45-b20a-22089c1b053a] |
207 | X-Runtime: ['0.119567'] | 207 | X-Runtime: ['0.171114'] |
208 | X-XSS-Protection: [1; mode=block] | 208 | X-XSS-Protection: [1; mode=block] |
209 | content-length: ['1268'] | 209 | content-length: ['1308'] |
210 | status: {code: 200, message: OK} | 210 | status: {code: 200, message: OK} |
211 | - request: | 211 | - request: |
212 | body: null | 212 | body: null |
@@ -219,24 +219,26 @@ interactions: | |||
219 | method: GET | 219 | method: GET |
220 | uri: http://localhost:4000/api/v1/streaming/user | 220 | uri: http://localhost:4000/api/v1/streaming/user |
221 | response: | 221 | response: |
222 | body: {string: 'event: update | 222 | body: {string: ':) |
223 | 223 | ||
224 | data: {"id":"102951426753689473","created_at":"2019-10-12T21:01:44.528Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost/users/mastodonpy_test/statuses/102951426753689473","url":"http://localhost/@mastodonpy_test/102951426753689473","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"content":"<p>only | 224 | event: update |
225 | |||
226 | data: {"id":"103704152961999435","created_at":"2020-02-22T19:29:54.978Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost/users/mastodonpy_test/statuses/103704152961999435","url":"http://localhost/@mastodonpy_test/103704152961999435","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"pinned":false,"content":"<p>only | ||
225 | real cars respond.</p>","reblog":null,"application":{"name":"Mastodon.py test | 227 | real cars respond.</p>","reblog":null,"application":{"name":"Mastodon.py test |
226 | suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"","locked":false,"bot":false,"created_at":"2019-06-22T23:11:52.441Z","note":"<p></p>","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/avatars/original/missing.png","avatar_static":"http://localhost/avatars/original/missing.png","header":"http://localhost/headers/original/missing.png","header_static":"http://localhost/headers/original/missing.png","followers_count":0,"following_count":0,"statuses_count":2,"last_status_at":"2019-10-12T21:01:44.550Z","emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null} | 228 | suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"","locked":false,"bot":false,"discoverable":false,"group":false,"created_at":"2020-02-22T20:26:54.402Z","note":"<p></p>","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/avatars/original/missing.png","avatar_static":"http://localhost/avatars/original/missing.png","header":"http://localhost/headers/original/missing.png","header_static":"http://localhost/headers/original/missing.png","followers_count":0,"following_count":0,"statuses_count":2,"last_status_at":"2020-02-22","emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null} |
227 | 229 | ||
228 | 230 | ||
229 | event: notification | 231 | event: notification |
230 | 232 | ||
231 | data: {"id":"222","type":"mention","created_at":"2019-10-12T21:01:44.891Z","account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"created_at":"2019-06-22T12:42:50.096Z","note":"<p></p>","url":"http://localhost/@admin","avatar":"http://localhost/avatars/original/missing.png","avatar_static":"http://localhost/avatars/original/missing.png","header":"http://localhost/headers/original/missing.png","header_static":"http://localhost/headers/original/missing.png","followers_count":2,"following_count":1,"statuses_count":32,"last_status_at":"2019-10-12T21:01:44.788Z","emojis":[],"fields":[]},"status":{"id":"102951426769804033","created_at":"2019-10-12T21:01:44.778Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost/users/admin/statuses/102951426769804033","url":"http://localhost/@admin/102951426769804033","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"content":"<p><span | 233 | data: {"id":"14","type":"mention","created_at":"2020-02-22T19:29:55.497Z","account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"discoverable":null,"group":false,"created_at":"2020-02-22T19:13:53.944Z","note":"<p></p>","url":"http://localhost/@admin","avatar":"http://localhost/avatars/original/missing.png","avatar_static":"http://localhost/avatars/original/missing.png","header":"http://localhost/headers/original/missing.png","header_static":"http://localhost/headers/original/missing.png","followers_count":0,"following_count":0,"statuses_count":2,"last_status_at":"2020-02-22","emojis":[],"fields":[]},"status":{"id":"103704152979846395","created_at":"2020-02-22T19:29:55.300Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost/users/admin/statuses/103704152979846395","url":"http://localhost/@admin/103704152979846395","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"content":"<p><span |
232 | class=\"h-card\"><a href=\"http://localhost/@mastodonpy_test\" class=\"u-url | 234 | class=\"h-card\"><a href=\"http://localhost/@mastodonpy_test\" class=\"u-url |
233 | mention\">@<span>mastodonpy_test</span></a></span> beep beep I'm a jeep</p>","reblog":null,"application":{"name":"Mastodon.py | 235 | mention\">@<span>mastodonpy_test</span></a></span> beep beep I'm a jeep</p>","reblog":null,"application":{"name":"Mastodon.py |
234 | test suite","website":null},"account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"created_at":"2019-06-22T12:42:50.096Z","note":"<p></p>","url":"http://localhost/@admin","avatar":"http://localhost/avatars/original/missing.png","avatar_static":"http://localhost/avatars/original/missing.png","header":"http://localhost/headers/original/missing.png","header_static":"http://localhost/headers/original/missing.png","followers_count":2,"following_count":1,"statuses_count":32,"last_status_at":"2019-10-12T21:01:44.788Z","emojis":[],"fields":[]},"media_attachments":[],"mentions":[{"id":"1234567890123456","username":"mastodonpy_test","url":"http://localhost/@mastodonpy_test","acct":"mastodonpy_test"}],"tags":[],"emojis":[],"card":null,"poll":null}} | 236 | test suite","website":null},"account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"discoverable":null,"group":false,"created_at":"2020-02-22T19:13:53.944Z","note":"<p></p>","url":"http://localhost/@admin","avatar":"http://localhost/avatars/original/missing.png","avatar_static":"http://localhost/avatars/original/missing.png","header":"http://localhost/headers/original/missing.png","header_static":"http://localhost/headers/original/missing.png","followers_count":0,"following_count":0,"statuses_count":2,"last_status_at":"2020-02-22","emojis":[],"fields":[]},"media_attachments":[],"mentions":[{"id":"1234567890123456","username":"mastodonpy_test","url":"http://localhost/@mastodonpy_test","acct":"mastodonpy_test"}],"tags":[],"emojis":[],"card":null,"poll":null}} |
235 | 237 | ||
236 | 238 | ||
237 | event: delete | 239 | event: delete |
238 | 240 | ||
239 | data: 102951426753689473 | 241 | data: 103704152961999435 |
240 | 242 | ||
241 | 243 | ||
242 | :'} | 244 | :'} |
@@ -244,11 +246,12 @@ interactions: | |||
244 | Access-Control-Allow-Headers: ['Authorization, Accept, Cache-Control'] | 246 | Access-Control-Allow-Headers: ['Authorization, Accept, Cache-Control'] |
245 | Access-Control-Allow-Methods: ['GET, OPTIONS'] | 247 | Access-Control-Allow-Methods: ['GET, OPTIONS'] |
246 | Access-Control-Allow-Origin: ['*'] | 248 | Access-Control-Allow-Origin: ['*'] |
249 | Cache-Control: [no-store] | ||
247 | Connection: [keep-alive] | 250 | Connection: [keep-alive] |
248 | Content-Type: [text/event-stream] | 251 | Content-Type: [text/event-stream] |
249 | Date: ['Sat, 12 Oct 2019 21:01:44 GMT'] | 252 | Date: ['Sat, 22 Feb 2020 19:29:49 GMT'] |
250 | Transfer-Encoding: [chunked] | 253 | Transfer-Encoding: [chunked] |
251 | X-Powered-By: [Express] | 254 | X-Powered-By: [Express] |
252 | X-Request-Id: [57d4f566-f1d3-42f8-85fa-e043ac49d67b] | 255 | X-Request-Id: [5062171c-840e-41c2-93f8-c8a2eb1281a5] |
253 | status: {code: 200, message: OK} | 256 | status: {code: 200, message: OK} |
254 | version: 1 | 257 | version: 1 |