diff options
Diffstat (limited to 'tests/cassettes/test_stream_user.yaml')
-rw-r--r-- | tests/cassettes/test_stream_user.yaml | 86 |
1 files changed, 40 insertions, 46 deletions
diff --git a/tests/cassettes/test_stream_user.yaml b/tests/cassettes/test_stream_user.yaml index 4e0d5e6..7a008ad 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":0,"following_count":0,"statuses_count":1,"source":{"privacy":"public","sensitive":false,"language":null,"note":"","fields":[]},"emojis":[],"fields":[]}'} | 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":17,"source":{"privacy":"public","sensitive":false,"language":null,"note":"","fields":[]},"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: [1fca6cd2-444a-4918-a374-6fcc3f6cbf6d] | 24 | X-Request-Id: [9eb1cca0-cf73-4441-b7cb-a392154fed9a] |
25 | X-Runtime: ['0.057864'] | 25 | X-Runtime: ['0.031427'] |
26 | X-XSS-Protection: [1; mode=block] | 26 | X-XSS-Protection: [1; mode=block] |
27 | content-length: ['609'] | 27 | content-length: ['610'] |
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: [76cbc535-db11-451c-990b-ad974b1e2701] | 52 | X-Request-Id: [25dd42a8-5bb4-4a75-92e7-7c1483f95022] |
53 | X-Runtime: ['0.088849'] | 53 | X-Runtime: ['0.031303'] |
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","description":"","email":"","version":"2.9.1","urls":{"streaming_api":"ws://localhost:4000"},"stats":{"user_count":2,"status_count":1,"domain_count":0},"thumbnail":"http://localhost/packs/media/images/preview-9a17d32fc48369e8ccd910a75260e67d.jpg","languages":["en"],"registrations":true,"contact_account":null}'} | 68 | body: {string: '{"uri":"localhost","title":"Mastodon","description":"","email":"","version":"2.9.1","urls":{"streaming_api":"ws://localhost:4000"},"stats":{"user_count":3,"status_count":17,"domain_count":0},"thumbnail":"http://localhost/packs/media/images/preview-9a17d32fc48369e8ccd910a75260e67d.jpg","languages":["en"],"registrations":true,"contact_account":null}'} |
69 | headers: | 69 | headers: |
70 | Cache-Control: ['max-age=300, public'] | 70 | Cache-Control: ['max-age=300, public'] |
71 | Content-Type: [application/json; charset=utf-8] | 71 | Content-Type: [application/json; charset=utf-8] |
72 | Date: ['Sat, 22 Jun 2019 13:03:56 GMT'] | 72 | Date: ['Sat, 22 Jun 2019 21:13:21 GMT'] |
73 | ETag: [W/"ee7808ee1b13d469fd4f8951cd3f9f8a"] | 73 | ETag: [W/"ced034dde6bfd4ec03650d35fb884f77"] |
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: [cfb4c102-f7f1-48df-8209-2c0fea3dbf0c] | 81 | X-Request-Id: [938dbb81-f5d0-48a2-9fe8-e344ee0843c2] |
82 | X-Runtime: ['0.043274'] | 82 | X-Runtime: ['0.031185'] |
83 | X-XSS-Protection: [1; mode=block] | 83 | X-XSS-Protection: [1; mode=block] |
84 | content-length: ['348'] | 84 | content-length: ['349'] |
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,11 +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":"102315369511109147","created_at":"2019-06-22T13:04:01.231Z","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/102315369511109147","url":"http://localhost/@mastodonpy_test/102315369511109147","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"content":"\u003cp\u003eonly | 99 | body: {string: '{"id":"102317293993043847","created_at":"2019-06-22T21:13:26.494Z","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/102317293993043847","url":"http://localhost/@mastodonpy_test/102317293993043847","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":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":"John | 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":1,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'} |
102 | Lennon","locked":true,"bot":false,"created_at":"2019-06-22T14:46:28.567Z","note":"\u003cp\u003eI | ||
103 | walk funny\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561208564","avatar_static":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561208564","header":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561208564","header_static":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561208564","followers_count":0,"following_count":0,"statuses_count":1,"emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'} | ||
104 | headers: | 102 | headers: |
105 | Cache-Control: ['no-cache, no-store'] | 103 | Cache-Control: ['no-cache, no-store'] |
106 | Content-Type: [application/json; charset=utf-8] | 104 | Content-Type: [application/json; charset=utf-8] |
@@ -111,10 +109,10 @@ interactions: | |||
111 | X-Download-Options: [noopen] | 109 | X-Download-Options: [noopen] |
112 | X-Frame-Options: [SAMEORIGIN] | 110 | X-Frame-Options: [SAMEORIGIN] |
113 | X-Permitted-Cross-Domain-Policies: [none] | 111 | X-Permitted-Cross-Domain-Policies: [none] |
114 | X-Request-Id: [4b875c60-55fe-4455-adcc-0dda8683da0a] | 112 | X-Request-Id: [1cd08470-5731-4d93-be85-a4f804695c7c] |
115 | X-Runtime: ['0.148230'] | 113 | X-Runtime: ['0.158880'] |
116 | X-XSS-Protection: [1; mode=block] | 114 | X-XSS-Protection: [1; mode=block] |
117 | content-length: ['1615'] | 115 | content-length: ['1254'] |
118 | status: {code: 200, message: OK} | 116 | status: {code: 200, message: OK} |
119 | - request: | 117 | - request: |
120 | body: status=%40mastodonpy_test+beep+beep+I%27m+a+jeep | 118 | body: status=%40mastodonpy_test+beep+beep+I%27m+a+jeep |
@@ -129,11 +127,11 @@ interactions: | |||
129 | method: POST | 127 | method: POST |
130 | uri: http://localhost:3000/api/v1/statuses | 128 | uri: http://localhost:3000/api/v1/statuses |
131 | response: | 129 | response: |
132 | body: {string: '{"id":"102315369523202198","created_at":"2019-06-22T13:04:01.445Z","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/102315369523202198","url":"http://localhost/@admin/102315369523202198","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":"102317294005876209","created_at":"2019-06-22T21:13:26.706Z","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/102317294005876209","url":"http://localhost/@admin/102317294005876209","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"content":"\u003cp\u003e\u003cspan |
133 | 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 |
134 | 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 |
135 | 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 |
136 | 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":0,"following_count":0,"statuses_count":2,"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,"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":18,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[{"id":"1234567890123456","username":"mastodonpy_test","url":"http://localhost/@mastodonpy_test","acct":"mastodonpy_test"}],"tags":[],"emojis":[],"card":null,"poll":null}'} |
137 | headers: | 135 | headers: |
138 | Cache-Control: ['no-cache, no-store'] | 136 | Cache-Control: ['no-cache, no-store'] |
139 | Content-Type: [application/json; charset=utf-8] | 137 | Content-Type: [application/json; charset=utf-8] |
@@ -144,10 +142,10 @@ interactions: | |||
144 | X-Download-Options: [noopen] | 142 | X-Download-Options: [noopen] |
145 | X-Frame-Options: [SAMEORIGIN] | 143 | X-Frame-Options: [SAMEORIGIN] |
146 | X-Permitted-Cross-Domain-Policies: [none] | 144 | X-Permitted-Cross-Domain-Policies: [none] |
147 | X-Request-Id: [ea5b4ce1-da66-4937-b029-a61639667174] | 145 | X-Request-Id: [65efc860-e17d-4d65-9f8b-3ab855c01c19] |
148 | X-Runtime: ['0.260557'] | 146 | X-Runtime: ['0.254556'] |
149 | X-XSS-Protection: [1; mode=block] | 147 | X-XSS-Protection: [1; mode=block] |
150 | content-length: ['1511'] | 148 | content-length: ['1512'] |
151 | status: {code: 200, message: OK} | 149 | status: {code: 200, message: OK} |
152 | - request: | 150 | - request: |
153 | 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 |
@@ -162,9 +160,9 @@ interactions: | |||
162 | method: POST | 160 | method: POST |
163 | uri: http://localhost:3000/api/v1/statuses | 161 | uri: http://localhost:3000/api/v1/statuses |
164 | response: | 162 | response: |
165 | body: {string: '{"id":"102315369541189753","created_at":"2019-06-22T13:04:01.698Z","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/102315369541189753","url":"http://localhost/@admin/102315369541189753","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"content":"\u003cp\u003eon | 163 | body: {string: '{"id":"102317294022170445","created_at":"2019-06-22T21:13:26.942Z","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/102317294022170445","url":"http://localhost/@admin/102317294022170445","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"content":"\u003cp\u003eon |
166 | 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 |
167 | 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":0,"following_count":0,"statuses_count":3,"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,"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":19,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'} |
168 | headers: | 166 | headers: |
169 | Cache-Control: ['no-cache, no-store'] | 167 | Cache-Control: ['no-cache, no-store'] |
170 | Content-Type: [application/json; charset=utf-8] | 168 | Content-Type: [application/json; charset=utf-8] |
@@ -175,10 +173,10 @@ interactions: | |||
175 | X-Download-Options: [noopen] | 173 | X-Download-Options: [noopen] |
176 | X-Frame-Options: [SAMEORIGIN] | 174 | X-Frame-Options: [SAMEORIGIN] |
177 | X-Permitted-Cross-Domain-Policies: [none] | 175 | X-Permitted-Cross-Domain-Policies: [none] |
178 | X-Request-Id: [51ec6fe5-86a0-4a15-bc7f-07350127cf57] | 176 | X-Request-Id: [4533d28a-a40e-4a1c-82d9-6d71daa25577] |
179 | X-Runtime: ['0.185403'] | 177 | X-Runtime: ['0.200061'] |
180 | X-XSS-Protection: [1; mode=block] | 178 | X-XSS-Protection: [1; mode=block] |
181 | content-length: ['1220'] | 179 | content-length: ['1221'] |
182 | status: {code: 200, message: OK} | 180 | status: {code: 200, message: OK} |
183 | - request: | 181 | - request: |
184 | body: null | 182 | body: null |
@@ -190,13 +188,11 @@ interactions: | |||
190 | Content-Length: ['0'] | 188 | Content-Length: ['0'] |
191 | User-Agent: [python-requests/2.18.4] | 189 | User-Agent: [python-requests/2.18.4] |
192 | method: DELETE | 190 | method: DELETE |
193 | uri: http://localhost:3000/api/v1/statuses/102315369511109147 | 191 | uri: http://localhost:3000/api/v1/statuses/102317293993043847 |
194 | response: | 192 | response: |
195 | body: {string: '{"id":"102315369511109147","created_at":"2019-06-22T13:04:01.231Z","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/102315369511109147","url":"http://localhost/@mastodonpy_test/102315369511109147","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"text":"only | 193 | body: {string: '{"id":"102317293993043847","created_at":"2019-06-22T21:13:26.494Z","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/102317293993043847","url":"http://localhost/@mastodonpy_test/102317293993043847","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"text":"only |
196 | real cars respond.","reblog":null,"application":{"name":"Mastodon.py test | 194 | real cars respond.","reblog":null,"application":{"name":"Mastodon.py test |
197 | suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John | 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":1,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'} |
198 | Lennon","locked":true,"bot":false,"created_at":"2019-06-22T14:46:28.567Z","note":"\u003cp\u003eI | ||
199 | walk funny\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561208564","avatar_static":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561208564","header":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561208564","header_static":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561208564","followers_count":0,"following_count":0,"statuses_count":1,"emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'} | ||
200 | headers: | 196 | headers: |
201 | Cache-Control: ['no-cache, no-store'] | 197 | Cache-Control: ['no-cache, no-store'] |
202 | Content-Type: [application/json; charset=utf-8] | 198 | Content-Type: [application/json; charset=utf-8] |
@@ -207,10 +203,10 @@ interactions: | |||
207 | X-Download-Options: [noopen] | 203 | X-Download-Options: [noopen] |
208 | X-Frame-Options: [SAMEORIGIN] | 204 | X-Frame-Options: [SAMEORIGIN] |
209 | X-Permitted-Cross-Domain-Policies: [none] | 205 | X-Permitted-Cross-Domain-Policies: [none] |
210 | X-Request-Id: [b7b8739b-bf64-4bf8-88b8-81a4507406dd] | 206 | X-Request-Id: [390c9acc-8035-48b7-848e-ddc75f4436a3] |
211 | X-Runtime: ['0.103892'] | 207 | X-Runtime: ['0.103153'] |
212 | X-XSS-Protection: [1; mode=block] | 208 | X-XSS-Protection: [1; mode=block] |
213 | content-length: ['1585'] | 209 | content-length: ['1224'] |
214 | status: {code: 200, message: OK} | 210 | status: {code: 200, message: OK} |
215 | - request: | 211 | - request: |
216 | body: null | 212 | body: null |
@@ -225,24 +221,22 @@ interactions: | |||
225 | response: | 221 | response: |
226 | body: {string: 'event: update | 222 | body: {string: 'event: update |
227 | 223 | ||
228 | data: {"id":"102315369511109147","created_at":"2019-06-22T13:04:01.231Z","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/102315369511109147","url":"http://localhost/@mastodonpy_test/102315369511109147","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"content":"<p>only | 224 | data: {"id":"102317293993043847","created_at":"2019-06-22T21:13:26.494Z","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/102317293993043847","url":"http://localhost/@mastodonpy_test/102317293993043847","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"content":"<p>only |
229 | real cars respond.</p>","reblog":null,"application":{"name":"Mastodon.py test | 225 | real cars respond.</p>","reblog":null,"application":{"name":"Mastodon.py test |
230 | suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John | 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":1,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null} |
231 | Lennon","locked":true,"bot":false,"created_at":"2019-06-22T14:46:28.567Z","note":"<p>I | ||
232 | walk funny</p>","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561208564","avatar_static":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561208564","header":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561208564","header_static":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561208564","followers_count":0,"following_count":0,"statuses_count":1,"emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null} | ||
233 | 227 | ||
234 | 228 | ||
235 | event: notification | 229 | event: notification |
236 | 230 | ||
237 | data: {"id":"13","type":"mention","created_at":"2019-06-22T13:04:01.554Z","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":0,"following_count":0,"statuses_count":2,"emojis":[],"fields":[]},"status":{"id":"102315369523202198","created_at":"2019-06-22T13:04:01.445Z","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/102315369523202198","url":"http://localhost/@admin/102315369523202198","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"content":"<p><span | 231 | data: {"id":"115","type":"mention","created_at":"2019-06-22T21:13:26.829Z","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":18,"emojis":[],"fields":[]},"status":{"id":"102317294005876209","created_at":"2019-06-22T21:13:26.706Z","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/102317294005876209","url":"http://localhost/@admin/102317294005876209","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"content":"<p><span |
238 | class=\"h-card\"><a href=\"http://localhost/@mastodonpy_test\" class=\"u-url | 232 | class=\"h-card\"><a href=\"http://localhost/@mastodonpy_test\" class=\"u-url |
239 | mention\">@<span>mastodonpy_test</span></a></span> beep beep I'm a jeep</p>","reblog":null,"application":{"name":"Mastodon.py | 233 | mention\">@<span>mastodonpy_test</span></a></span> beep beep I'm a jeep</p>","reblog":null,"application":{"name":"Mastodon.py |
240 | 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":0,"following_count":0,"statuses_count":2,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[{"id":"1234567890123456","username":"mastodonpy_test","url":"http://localhost/@mastodonpy_test","acct":"mastodonpy_test"}],"tags":[],"emojis":[],"card":null,"poll":null}} | 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":18,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[{"id":"1234567890123456","username":"mastodonpy_test","url":"http://localhost/@mastodonpy_test","acct":"mastodonpy_test"}],"tags":[],"emojis":[],"card":null,"poll":null}} |
241 | 235 | ||
242 | 236 | ||
243 | event: delete | 237 | event: delete |
244 | 238 | ||
245 | data: 102315369511109147 | 239 | data: 102317293993043847 |
246 | 240 | ||
247 | 241 | ||
248 | :'} | 242 | :'} |
@@ -252,9 +246,9 @@ interactions: | |||
252 | Access-Control-Allow-Origin: ['*'] | 246 | Access-Control-Allow-Origin: ['*'] |
253 | Connection: [keep-alive] | 247 | Connection: [keep-alive] |
254 | Content-Type: [text/event-stream] | 248 | Content-Type: [text/event-stream] |
255 | Date: ['Sat, 22 Jun 2019 13:04:01 GMT'] | 249 | Date: ['Sat, 22 Jun 2019 21:13:26 GMT'] |
256 | Transfer-Encoding: [chunked] | 250 | Transfer-Encoding: [chunked] |
257 | X-Powered-By: [Express] | 251 | X-Powered-By: [Express] |
258 | X-Request-Id: [c4f3c36c-06d0-48d1-b740-e9e5dd5e701a] | 252 | X-Request-Id: [d2daae3f-79da-487f-a645-41de4ecbe420] |
259 | status: {code: 200, message: OK} | 253 | status: {code: 200, message: OK} |
260 | version: 1 | 254 | version: 1 |