diff options
Diffstat (limited to 'tests/cassettes/test_stream_user.yaml')
-rw-r--r-- | tests/cassettes/test_stream_user.yaml | 139 |
1 files changed, 95 insertions, 44 deletions
diff --git a/tests/cassettes/test_stream_user.yaml b/tests/cassettes/test_stream_user.yaml index 597d17e..3a0fcca 100644 --- a/tests/cassettes/test_stream_user.yaml +++ b/tests/cassettes/test_stream_user.yaml | |||
@@ -4,25 +4,76 @@ interactions: | |||
4 | headers: | 4 | headers: |
5 | Accept: ['*/*'] | 5 | Accept: ['*/*'] |
6 | Accept-Encoding: ['gzip, deflate'] | 6 | Accept-Encoding: ['gzip, deflate'] |
7 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN_2] | ||
8 | Connection: [keep-alive] | ||
9 | User-Agent: [python-requests/2.9.1] | ||
10 | method: GET | ||
11 | uri: http://localhost:3000/api/v1/accounts/verify_credentials | ||
12 | response: | ||
13 | body: {string: '{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"created_at":"2018-05-06T22:36:57.850Z","note":"\u003cp\u003e\u003c/p\u003e","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,"source":{"privacy":"public","sensitive":false,"note":""}}'} | ||
14 | headers: | ||
15 | Cache-Control: ['max-age=0, private, must-revalidate'] | ||
16 | Content-Type: [application/json; charset=utf-8] | ||
17 | ETag: [W/"f698a47030f936e59ce4ae6abdad3b04"] | ||
18 | Transfer-Encoding: [chunked] | ||
19 | Vary: ['Accept-Encoding, Origin'] | ||
20 | X-Content-Type-Options: [nosniff] | ||
21 | X-Frame-Options: [SAMEORIGIN] | ||
22 | X-Request-Id: [8e060e2c-8c49-4ff0-b236-e1a4c9058fbd] | ||
23 | X-Runtime: ['0.290269'] | ||
24 | X-XSS-Protection: [1; mode=block] | ||
25 | content-length: ['570'] | ||
26 | status: {code: 200, message: OK} | ||
27 | - request: | ||
28 | body: null | ||
29 | headers: | ||
30 | Accept: ['*/*'] | ||
31 | Accept-Encoding: ['gzip, deflate'] | ||
32 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN_2] | ||
33 | Connection: [keep-alive] | ||
34 | Content-Length: ['0'] | ||
35 | User-Agent: [python-requests/2.9.1] | ||
36 | method: POST | ||
37 | uri: http://localhost:3000/api/v1/accounts/1/unfollow | ||
38 | response: | ||
39 | body: {string: '{"id":"1","following":false,"showing_reblogs":false,"followed_by":false,"blocking":false,"muting":false,"muting_notifications":false,"requested":false,"domain_blocking":false}'} | ||
40 | headers: | ||
41 | Cache-Control: ['max-age=0, private, must-revalidate'] | ||
42 | Content-Type: [application/json; charset=utf-8] | ||
43 | ETag: [W/"7a2432279afeffc068faf1c8a1fa70fc"] | ||
44 | Transfer-Encoding: [chunked] | ||
45 | Vary: ['Accept-Encoding, Origin'] | ||
46 | X-Content-Type-Options: [nosniff] | ||
47 | X-Frame-Options: [SAMEORIGIN] | ||
48 | X-Request-Id: [b2e8a445-e6d0-45c7-97c4-b76be4388399] | ||
49 | X-Runtime: ['0.137886'] | ||
50 | X-XSS-Protection: [1; mode=block] | ||
51 | content-length: ['175'] | ||
52 | status: {code: 200, message: OK} | ||
53 | - request: | ||
54 | body: null | ||
55 | headers: | ||
56 | Accept: ['*/*'] | ||
57 | Accept-Encoding: ['gzip, deflate'] | ||
7 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] | 58 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] |
8 | Connection: [keep-alive] | 59 | Connection: [keep-alive] |
9 | User-Agent: [python-requests/2.9.1] | 60 | User-Agent: [python-requests/2.9.1] |
10 | method: GET | 61 | method: GET |
11 | uri: http://localhost:3000/api/v1/instance/ | 62 | uri: http://localhost:3000/api/v1/instance/ |
12 | response: | 63 | response: |
13 | body: {string: '{"uri":"localhost:3000","title":"Mastodon","description":"","email":"","version":"2.3.3","urls":{"streaming_api":"ws://localhost:4000"},"stats":{"user_count":2,"status_count":174,"domain_count":0},"thumbnail":"http://localhost:3000/packs/preview.jpg","languages":["en"],"contact_account":null}'} | 64 | body: {string: '{"uri":"localhost:3000","title":"Mastodon","description":"","email":"","version":"2.3.3","urls":{"streaming_api":"ws://localhost:4000"},"stats":{"user_count":2,"status_count":11,"domain_count":0},"thumbnail":"http://localhost:3000/packs/preview.jpg","languages":["en"],"contact_account":null}'} |
14 | headers: | 65 | headers: |
15 | Cache-Control: ['max-age=0, private, must-revalidate'] | 66 | Cache-Control: ['max-age=0, private, must-revalidate'] |
16 | Content-Type: [application/json; charset=utf-8] | 67 | Content-Type: [application/json; charset=utf-8] |
17 | ETag: [W/"a7704fdadb11bf0737694187ef1322c6"] | 68 | ETag: [W/"609c6fb5b974bd8ecc7ef8d714d3d080"] |
18 | Transfer-Encoding: [chunked] | 69 | Transfer-Encoding: [chunked] |
19 | Vary: ['Accept-Encoding, Origin'] | 70 | Vary: ['Accept-Encoding, Origin'] |
20 | X-Content-Type-Options: [nosniff] | 71 | X-Content-Type-Options: [nosniff] |
21 | X-Frame-Options: [SAMEORIGIN] | 72 | X-Frame-Options: [SAMEORIGIN] |
22 | X-Request-Id: [777489a6-b1b5-4e20-a4e3-68758df54ede] | 73 | X-Request-Id: [bc4cc782-dbdf-4910-b64d-6107b38f00ca] |
23 | X-Runtime: ['0.037509'] | 74 | X-Runtime: ['0.039287'] |
24 | X-XSS-Protection: [1; mode=block] | 75 | X-XSS-Protection: [1; mode=block] |
25 | content-length: ['293'] | 76 | content-length: ['292'] |
26 | status: {code: 200, message: OK} | 77 | status: {code: 200, message: OK} |
27 | - request: | 78 | - request: |
28 | body: status=only+real+cars+respond. | 79 | body: status=only+real+cars+respond. |
@@ -37,23 +88,23 @@ interactions: | |||
37 | method: POST | 88 | method: POST |
38 | uri: http://localhost:3000/api/v1/statuses | 89 | uri: http://localhost:3000/api/v1/statuses |
39 | response: | 90 | response: |
40 | body: {string: '{"id":"99979652881860012","created_at":"2018-05-06T01:00:33.875Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/mastodonpy_test/statuses/99979652881860012","content":"\u003cp\u003eonly | 91 | body: {string: '{"id":"99984805396506288","created_at":"2018-05-06T22:50:55.130Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/mastodonpy_test/statuses/99984805396506288","content":"\u003cp\u003eonly |
41 | real cars respond.\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/99979652881860012","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py | 92 | real cars respond.\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/99984805396506288","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py |
42 | test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John | 93 | test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John |
43 | Lennon","locked":true,"created_at":"2018-04-18T20:04:06.511Z","note":"\u003cp\u003eI | 94 | Lennon","locked":true,"created_at":"2018-05-07T00:38:05.405Z","note":"\u003cp\u003eI |
44 | walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","followers_count":0,"following_count":0,"statuses_count":129},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'} | 95 | walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","followers_count":0,"following_count":0,"statuses_count":4},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'} |
45 | headers: | 96 | headers: |
46 | Cache-Control: ['max-age=0, private, must-revalidate'] | 97 | Cache-Control: ['max-age=0, private, must-revalidate'] |
47 | Content-Type: [application/json; charset=utf-8] | 98 | Content-Type: [application/json; charset=utf-8] |
48 | ETag: [W/"88c947c2811e5445b2db8c8d0a62a340"] | 99 | ETag: [W/"bb5008ac0206d873c98d075a74a3af09"] |
49 | Transfer-Encoding: [chunked] | 100 | Transfer-Encoding: [chunked] |
50 | Vary: ['Accept-Encoding, Origin'] | 101 | Vary: ['Accept-Encoding, Origin'] |
51 | X-Content-Type-Options: [nosniff] | 102 | X-Content-Type-Options: [nosniff] |
52 | X-Frame-Options: [SAMEORIGIN] | 103 | X-Frame-Options: [SAMEORIGIN] |
53 | X-Request-Id: [628cce91-2769-4bcf-9422-ff6eb2cbc1a9] | 104 | X-Request-Id: [fadb1fbf-e364-4c98-a68c-cf0b3787136e] |
54 | X-Runtime: ['0.132104'] | 105 | X-Runtime: ['0.393548'] |
55 | X-XSS-Protection: [1; mode=block] | 106 | X-XSS-Protection: [1; mode=block] |
56 | content-length: ['1420'] | 107 | content-length: ['1418'] |
57 | status: {code: 200, message: OK} | 108 | status: {code: 200, message: OK} |
58 | - request: | 109 | - request: |
59 | body: status=%40mastodonpy_test+beep+beep+I%27m+a+jeep | 110 | body: status=%40mastodonpy_test+beep+beep+I%27m+a+jeep |
@@ -68,23 +119,23 @@ interactions: | |||
68 | method: POST | 119 | method: POST |
69 | uri: http://localhost:3000/api/v1/statuses | 120 | uri: http://localhost:3000/api/v1/statuses |
70 | response: | 121 | response: |
71 | body: {string: '{"id":"99979652899861256","created_at":"2018-05-06T01:00:34.186Z","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/99979652899861256","content":"\u003cp\u003e\u003cspan | 122 | body: {string: '{"id":"99984805422819791","created_at":"2018-05-06T22:50:55.426Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":null,"uri":"http://localhost:3000/users/admin/statuses/99984805422819791","content":"\u003cp\u003e\u003cspan |
72 | class=\"h-card\"\u003e\u003ca href=\"http://localhost:3000/@mastodonpy_test\" | 123 | class=\"h-card\"\u003e\u003ca href=\"http://localhost:3000/@mastodonpy_test\" |
73 | class=\"u-url mention\"\u003e@\u003cspan\u003emastodonpy_test\u003c/span\u003e\u003c/a\u003e\u003c/span\u003e | 124 | class=\"u-url mention\"\u003e@\u003cspan\u003emastodonpy_test\u003c/span\u003e\u003c/a\u003e\u003c/span\u003e |
74 | beep beep I\u0026apos;m a jeep\u003c/p\u003e","url":"http://localhost:3000/@admin/99979652899861256","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py | 125 | beep beep I\u0026apos;m a jeep\u003c/p\u003e","url":"http://localhost:3000/@admin/99984805422819791","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py |
75 | test suite","website":null},"account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"created_at":"2018-04-17T21:40:55.626Z","note":"\u003cp\u003e\u003c/p\u003e","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":47},"media_attachments":[],"mentions":[{"id":"1234567890123456","username":"mastodonpy_test","url":"http://localhost:3000/@mastodonpy_test","acct":"mastodonpy_test"}],"tags":[],"emojis":[]}'} | 126 | test suite","website":null},"account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"created_at":"2018-05-06T22:36:57.850Z","note":"\u003cp\u003e\u003c/p\u003e","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},"media_attachments":[],"mentions":[{"id":"1234567890123456","username":"mastodonpy_test","url":"http://localhost:3000/@mastodonpy_test","acct":"mastodonpy_test"}],"tags":[],"emojis":[]}'} |
76 | headers: | 127 | headers: |
77 | Cache-Control: ['max-age=0, private, must-revalidate'] | 128 | Cache-Control: ['max-age=0, private, must-revalidate'] |
78 | Content-Type: [application/json; charset=utf-8] | 129 | Content-Type: [application/json; charset=utf-8] |
79 | ETag: [W/"35785b33e2441225993e4878121ce19d"] | 130 | ETag: [W/"35c04c8a4ad806b4dfd929fea6643cc1"] |
80 | Transfer-Encoding: [chunked] | 131 | Transfer-Encoding: [chunked] |
81 | Vary: ['Accept-Encoding, Origin'] | 132 | Vary: ['Accept-Encoding, Origin'] |
82 | X-Content-Type-Options: [nosniff] | 133 | X-Content-Type-Options: [nosniff] |
83 | X-Frame-Options: [SAMEORIGIN] | 134 | X-Frame-Options: [SAMEORIGIN] |
84 | X-Request-Id: [6590df7d-2dd4-4480-9c26-6cfe07790bd3] | 135 | X-Request-Id: [7976366b-e234-4645-8e00-1813a909c0aa] |
85 | X-Runtime: ['0.634733'] | 136 | X-Runtime: ['0.580286'] |
86 | X-XSS-Protection: [1; mode=block] | 137 | X-XSS-Protection: [1; mode=block] |
87 | content-length: ['1476'] | 138 | content-length: ['1475'] |
88 | status: {code: 200, message: OK} | 139 | status: {code: 200, message: OK} |
89 | - request: | 140 | - request: |
90 | body: status=on+the+internet%2C+nobody+knows+you%27re+a+plane | 141 | body: status=on+the+internet%2C+nobody+knows+you%27re+a+plane |
@@ -99,19 +150,19 @@ interactions: | |||
99 | method: POST | 150 | method: POST |
100 | uri: http://localhost:3000/api/v1/statuses | 151 | uri: http://localhost:3000/api/v1/statuses |
101 | response: | 152 | response: |
102 | body: {string: '{"id":"99979652938685502","created_at":"2018-05-06T01:00:34.767Z","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/99979652938685502","content":"\u003cp\u003eon | 153 | body: {string: '{"id":"99984805462542109","created_at":"2018-05-06T22:50:56.077Z","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/99984805462542109","content":"\u003cp\u003eon |
103 | the internet, nobody knows you\u0026apos;re a plane\u003c/p\u003e","url":"http://localhost:3000/@admin/99979652938685502","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py | 154 | the internet, nobody knows you\u0026apos;re a plane\u003c/p\u003e","url":"http://localhost:3000/@admin/99984805462542109","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py |
104 | test suite","website":null},"account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"created_at":"2018-04-17T21:40:55.626Z","note":"\u003cp\u003e\u003c/p\u003e","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":48},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'} | 155 | test suite","website":null},"account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"created_at":"2018-05-06T22:36:57.850Z","note":"\u003cp\u003e\u003c/p\u003e","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":10},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'} |
105 | headers: | 156 | headers: |
106 | Cache-Control: ['max-age=0, private, must-revalidate'] | 157 | Cache-Control: ['max-age=0, private, must-revalidate'] |
107 | Content-Type: [application/json; charset=utf-8] | 158 | Content-Type: [application/json; charset=utf-8] |
108 | ETag: [W/"aa9d6d89e4e17950bf119415b54aa97b"] | 159 | ETag: [W/"a8ec462b4ffd4f44a43159db38cdb666"] |
109 | Transfer-Encoding: [chunked] | 160 | Transfer-Encoding: [chunked] |
110 | Vary: ['Accept-Encoding, Origin'] | 161 | Vary: ['Accept-Encoding, Origin'] |
111 | X-Content-Type-Options: [nosniff] | 162 | X-Content-Type-Options: [nosniff] |
112 | X-Frame-Options: [SAMEORIGIN] | 163 | X-Frame-Options: [SAMEORIGIN] |
113 | X-Request-Id: [b907e7c6-c172-4d1b-af0f-245a60c0f458] | 164 | X-Request-Id: [1cf1dafc-0eba-4701-93f0-e3790ae29757] |
114 | X-Runtime: ['0.323769'] | 165 | X-Runtime: ['0.301767'] |
115 | X-XSS-Protection: [1; mode=block] | 166 | X-XSS-Protection: [1; mode=block] |
116 | content-length: ['1175'] | 167 | content-length: ['1175'] |
117 | status: {code: 200, message: OK} | 168 | status: {code: 200, message: OK} |
@@ -125,19 +176,19 @@ interactions: | |||
125 | Content-Length: ['0'] | 176 | Content-Length: ['0'] |
126 | User-Agent: [python-requests/2.9.1] | 177 | User-Agent: [python-requests/2.9.1] |
127 | method: DELETE | 178 | method: DELETE |
128 | uri: http://localhost:3000/api/v1/statuses/99979652881860012 | 179 | uri: http://localhost:3000/api/v1/statuses/99984805396506288 |
129 | response: | 180 | response: |
130 | body: {string: '{}'} | 181 | body: {string: '{}'} |
131 | headers: | 182 | headers: |
132 | Cache-Control: ['max-age=0, private, must-revalidate'] | 183 | Cache-Control: ['max-age=0, private, must-revalidate'] |
133 | Content-Type: [application/json; charset=utf-8] | 184 | Content-Type: [application/json; charset=utf-8] |
134 | ETag: [W/"e47996c06c32af25535271d1c25df505"] | 185 | ETag: [W/"e78c0870913d111fe0175faceb4085d5"] |
135 | Transfer-Encoding: [chunked] | 186 | Transfer-Encoding: [chunked] |
136 | Vary: ['Accept-Encoding, Origin'] | 187 | Vary: ['Accept-Encoding, Origin'] |
137 | X-Content-Type-Options: [nosniff] | 188 | X-Content-Type-Options: [nosniff] |
138 | X-Frame-Options: [SAMEORIGIN] | 189 | X-Frame-Options: [SAMEORIGIN] |
139 | X-Request-Id: [6c0f64eb-b090-440f-ae12-43880ddab8e3] | 190 | X-Request-Id: [6d79a60d-282e-4484-936d-7300601a6756] |
140 | X-Runtime: ['0.047299'] | 191 | X-Runtime: ['0.091205'] |
141 | X-XSS-Protection: [1; mode=block] | 192 | X-XSS-Protection: [1; mode=block] |
142 | content-length: ['2'] | 193 | content-length: ['2'] |
143 | status: {code: 200, message: OK} | 194 | status: {code: 200, message: OK} |
@@ -152,26 +203,26 @@ interactions: | |||
152 | method: GET | 203 | method: GET |
153 | uri: http://localhost:4000/api/v1/streaming/user | 204 | uri: http://localhost:4000/api/v1/streaming/user |
154 | response: | 205 | response: |
155 | body: {string: 'event: update | 206 | body: {string: 'event: notification |
156 | 207 | ||
157 | data: {"id":"99979652881860012","created_at":"2018-05-06T01:00:33.875Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/mastodonpy_test/statuses/99979652881860012","content":"<p>only | 208 | data: {"id":"21","type":"mention","created_at":"2018-05-06T22:50:55.704Z","account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"created_at":"2018-05-06T22:36:57.850Z","note":"<p></p>","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},"status":{"id":"99984805422819791","created_at":"2018-05-06T22:50:55.426Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":null,"uri":"http://localhost:3000/users/admin/statuses/99984805422819791","content":"<p><span |
158 | real cars respond.</p>","url":"http://localhost:3000/@mastodonpy_test/99979652881860012","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py | 209 | class=\"h-card\"><a href=\"http://localhost:3000/@mastodonpy_test\" class=\"u-url |
159 | test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John | 210 | mention\">@<span>mastodonpy_test</span></a></span> beep beep I'm a jeep</p>","url":"http://localhost:3000/@admin/99984805422819791","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"reblog":null,"application":{"name":"Mastodon.py |
160 | Lennon","locked":true,"created_at":"2018-04-18T20:04:06.511Z","note":"<p>I | 211 | test suite","website":null},"account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"created_at":"2018-05-06T22:36:57.850Z","note":"<p></p>","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},"media_attachments":[],"mentions":[{"id":"1234567890123456","username":"mastodonpy_test","url":"http://localhost:3000/@mastodonpy_test","acct":"mastodonpy_test"}],"tags":[],"emojis":[]}} |
161 | walk funny</p>","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","followers_count":0,"following_count":0,"statuses_count":129},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]} | ||
162 | 212 | ||
163 | 213 | ||
164 | event: notification | 214 | event: update |
165 | 215 | ||
166 | data: {"id":"107","type":"mention","created_at":"2018-05-06T01:00:34.354Z","account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"created_at":"2018-04-17T21:40:55.626Z","note":"<p></p>","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":47},"status":{"id":"99979652899861256","created_at":"2018-05-06T01:00:34.186Z","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/99979652899861256","content":"<p><span | 216 | data: {"id":"99984805396506288","created_at":"2018-05-06T22:50:55.130Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/mastodonpy_test/statuses/99984805396506288","content":"<p>only |
167 | class=\"h-card\"><a href=\"http://localhost:3000/@mastodonpy_test\" class=\"u-url | 217 | real cars respond.</p>","url":"http://localhost:3000/@mastodonpy_test/99984805396506288","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py |
168 | mention\">@<span>mastodonpy_test</span></a></span> beep beep I'm a jeep</p>","url":"http://localhost:3000/@admin/99979652899861256","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"reblog":null,"application":{"name":"Mastodon.py | 218 | test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John |
169 | test suite","website":null},"account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"created_at":"2018-04-17T21:40:55.626Z","note":"<p></p>","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":47},"media_attachments":[],"mentions":[{"id":"1234567890123456","username":"mastodonpy_test","url":"http://localhost:3000/@mastodonpy_test","acct":"mastodonpy_test"}],"tags":[],"emojis":[]}} | 219 | Lennon","locked":true,"created_at":"2018-05-07T00:38:05.405Z","note":"<p>I |
220 | walk funny</p>","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","followers_count":0,"following_count":0,"statuses_count":4},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]} | ||
170 | 221 | ||
171 | 222 | ||
172 | event: delete | 223 | event: delete |
173 | 224 | ||
174 | data: 99979652881860012 | 225 | data: 99984805396506288 |
175 | 226 | ||
176 | 227 | ||
177 | '} | 228 | '} |
@@ -181,9 +232,9 @@ interactions: | |||
181 | Access-Control-Allow-Origin: ['*'] | 232 | Access-Control-Allow-Origin: ['*'] |
182 | Connection: [keep-alive] | 233 | Connection: [keep-alive] |
183 | Content-Type: [text/event-stream] | 234 | Content-Type: [text/event-stream] |
184 | Date: ['Sun, 06 May 2018 01:00:34 GMT'] | 235 | Date: ['Sun, 06 May 2018 22:50:55 GMT'] |
185 | Transfer-Encoding: [chunked] | 236 | Transfer-Encoding: [chunked] |
186 | X-Powered-By: [Express] | 237 | X-Powered-By: [Express] |
187 | X-Request-Id: [60aea8fa-abfb-4f7f-9877-60d0d78d0881] | 238 | X-Request-Id: [4b9c5701-8bb3-41ac-b7b2-6a77867ba8b2] |
188 | status: {code: 200, message: OK} | 239 | status: {code: 200, message: OK} |
189 | version: 1 | 240 | version: 1 |