aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cassettes/test_admin_moderation.yaml')
-rw-r--r--tests/cassettes/test_admin_moderation.yaml110
1 files changed, 55 insertions, 55 deletions
diff --git a/tests/cassettes/test_admin_moderation.yaml b/tests/cassettes/test_admin_moderation.yaml
index 38ed5e2..77f6e79 100644
--- a/tests/cassettes/test_admin_moderation.yaml
+++ b/tests/cassettes/test_admin_moderation.yaml
@@ -11,8 +11,8 @@ interactions:
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":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John 13 body: {string: '{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
14 Lennon","locked":false,"bot":false,"created_at":"2019-06-22T23:11:52.441Z","note":"\u003cp\u003eI 14 Lennon","locked":true,"bot":false,"discoverable":null,"group":false,"created_at":"2020-02-22T20:26:54.402Z","note":"\u003cp\u003eI
15 walk funny\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1570914010","avatar_static":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1570914010","header":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1570914011","header_static":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1570914011","followers_count":0,"following_count":0,"statuses_count":2,"last_status_at":"2019-10-12T21:00:13.239Z","source":{"privacy":"public","sensitive":false,"language":null,"note":"I 15 walk funny\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/4cb344b864cbd0bf.jpeg?1582399672","avatar_static":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/4cb344b864cbd0bf.jpeg?1582399672","header":"http://localhost/system/accounts/headers/123/456/789/012/345/original/9b01d187d95da821.jpeg?1582399672","header_static":"http://localhost/system/accounts/headers/123/456/789/012/345/original/9b01d187d95da821.jpeg?1582399672","followers_count":0,"following_count":0,"statuses_count":0,"last_status_at":"2020-02-22","source":{"privacy":"public","sensitive":false,"language":null,"note":"I
16 walk funny","fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}],"follow_requests_count":0},"emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]}'} 16 walk funny","fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}],"follow_requests_count":0},"emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]}'}
17 headers: 17 headers:
18 Cache-Control: ['no-cache, no-store'] 18 Cache-Control: ['no-cache, no-store']
@@ -24,10 +24,10 @@ interactions:
24 X-Download-Options: [noopen] 24 X-Download-Options: [noopen]
25 X-Frame-Options: [SAMEORIGIN] 25 X-Frame-Options: [SAMEORIGIN]
26 X-Permitted-Cross-Domain-Policies: [none] 26 X-Permitted-Cross-Domain-Policies: [none]
27 X-Request-Id: [63cfcf65-2229-4202-b56c-14b997e16365] 27 X-Request-Id: [bbd092f2-ef97-4a64-b214-62c7f882bed0]
28 X-Runtime: ['0.037760'] 28 X-Runtime: ['0.076734']
29 X-XSS-Protection: [1; mode=block] 29 X-XSS-Protection: [1; mode=block]
30 content-length: ['1205'] 30 content-length: ['1220']
31 status: {code: 200, message: OK} 31 status: {code: 200, message: OK}
32- request: 32- request:
33 body: send_email_notification=1&type=disable 33 body: send_email_notification=1&type=disable
@@ -53,8 +53,8 @@ interactions:
53 X-Download-Options: [noopen] 53 X-Download-Options: [noopen]
54 X-Frame-Options: [SAMEORIGIN] 54 X-Frame-Options: [SAMEORIGIN]
55 X-Permitted-Cross-Domain-Policies: [none] 55 X-Permitted-Cross-Domain-Policies: [none]
56 X-Request-Id: [72a1560a-0c2e-4106-9bc4-3144558311d2] 56 X-Request-Id: [bb9c5ba4-3255-4897-a7cc-b65c63e408e9]
57 X-Runtime: ['0.409756'] 57 X-Runtime: ['0.910998']
58 X-XSS-Protection: [1; mode=block] 58 X-XSS-Protection: [1; mode=block]
59 content-length: ['2'] 59 content-length: ['2']
60 status: {code: 200, message: OK} 60 status: {code: 200, message: OK}
@@ -69,9 +69,9 @@ interactions:
69 method: GET 69 method: GET
70 uri: http://localhost:3000/api/v1/admin/accounts/1234567890123456 70 uri: http://localhost:3000/api/v1/admin/accounts/1234567890123456
71 response: 71 response:
72 body: {string: '{"id":"1234567890123456","username":"mastodonpy_test","domain":null,"created_at":"2019-06-22T23:11:52.441Z","email":"mastodonpy_test@localhost:3000","ip":"127.0.0.1","role":"user","confirmed":true,"suspended":false,"silenced":false,"disabled":true,"approved":true,"locale":"ja","invite_request":null,"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John 72 body: {string: '{"id":"1234567890123456","username":"mastodonpy_test","domain":null,"created_at":"2020-02-22T20:26:54.402Z","email":"mastodonpy_test@localhost:3000","ip":"127.0.0.1","role":"user","confirmed":true,"suspended":false,"silenced":false,"disabled":true,"approved":true,"locale":"ja","invite_request":null,"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
73 Lennon","locked":false,"bot":false,"created_at":"2019-06-22T23:11:52.441Z","note":"\u003cp\u003eI 73 Lennon","locked":true,"bot":false,"discoverable":null,"group":false,"created_at":"2020-02-22T20:26:54.402Z","note":"\u003cp\u003eI
74 walk funny\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1570914010","avatar_static":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1570914010","header":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1570914011","header_static":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1570914011","followers_count":0,"following_count":0,"statuses_count":1,"last_status_at":"2019-10-12T21:00:13.239Z","emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]}}'} 74 walk funny\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/4cb344b864cbd0bf.jpeg?1582399672","avatar_static":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/4cb344b864cbd0bf.jpeg?1582399672","header":"http://localhost/system/accounts/headers/123/456/789/012/345/original/9b01d187d95da821.jpeg?1582399672","header_static":"http://localhost/system/accounts/headers/123/456/789/012/345/original/9b01d187d95da821.jpeg?1582399672","followers_count":0,"following_count":0,"statuses_count":0,"last_status_at":"2020-02-22","emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]}}'}
75 headers: 75 headers:
76 Cache-Control: ['no-cache, no-store'] 76 Cache-Control: ['no-cache, no-store']
77 Content-Type: [application/json; charset=utf-8] 77 Content-Type: [application/json; charset=utf-8]
@@ -82,10 +82,10 @@ interactions:
82 X-Download-Options: [noopen] 82 X-Download-Options: [noopen]
83 X-Frame-Options: [SAMEORIGIN] 83 X-Frame-Options: [SAMEORIGIN]
84 X-Permitted-Cross-Domain-Policies: [none] 84 X-Permitted-Cross-Domain-Policies: [none]
85 X-Request-Id: [1dc416cc-3f1a-4e91-9639-4fdc26043fb5] 85 X-Request-Id: [416e1ee6-c4a9-45d6-86b3-497fd2a0738f]
86 X-Runtime: ['0.114329'] 86 X-Runtime: ['0.058314']
87 X-XSS-Protection: [1; mode=block] 87 X-XSS-Protection: [1; mode=block]
88 content-length: ['1285'] 88 content-length: ['1300']
89 status: {code: 200, message: OK} 89 status: {code: 200, message: OK}
90- request: 90- request:
91 body: null 91 body: null
@@ -99,9 +99,9 @@ interactions:
99 method: POST 99 method: POST
100 uri: http://localhost:3000/api/v1/admin/accounts/1234567890123456/enable 100 uri: http://localhost:3000/api/v1/admin/accounts/1234567890123456/enable
101 response: 101 response:
102 body: {string: '{"id":"1234567890123456","username":"mastodonpy_test","domain":null,"created_at":"2019-06-22T23:11:52.441Z","email":"mastodonpy_test@localhost:3000","ip":"127.0.0.1","role":"user","confirmed":true,"suspended":false,"silenced":false,"disabled":false,"approved":true,"locale":"ja","invite_request":null,"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John 102 body: {string: '{"id":"1234567890123456","username":"mastodonpy_test","domain":null,"created_at":"2020-02-22T20:26:54.402Z","email":"mastodonpy_test@localhost:3000","ip":"127.0.0.1","role":"user","confirmed":true,"suspended":false,"silenced":false,"disabled":false,"approved":true,"locale":"ja","invite_request":null,"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
103 Lennon","locked":false,"bot":false,"created_at":"2019-06-22T23:11:52.441Z","note":"\u003cp\u003eI 103 Lennon","locked":true,"bot":false,"discoverable":null,"group":false,"created_at":"2020-02-22T20:26:54.402Z","note":"\u003cp\u003eI
104 walk funny\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1570914010","avatar_static":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1570914010","header":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1570914011","header_static":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1570914011","followers_count":0,"following_count":0,"statuses_count":0,"last_status_at":"2019-10-12T21:00:13.239Z","emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]}}'} 104 walk funny\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/4cb344b864cbd0bf.jpeg?1582399672","avatar_static":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/4cb344b864cbd0bf.jpeg?1582399672","header":"http://localhost/system/accounts/headers/123/456/789/012/345/original/9b01d187d95da821.jpeg?1582399672","header_static":"http://localhost/system/accounts/headers/123/456/789/012/345/original/9b01d187d95da821.jpeg?1582399672","followers_count":0,"following_count":0,"statuses_count":0,"last_status_at":"2020-02-22","emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]}}'}
105 headers: 105 headers:
106 Cache-Control: ['no-cache, no-store'] 106 Cache-Control: ['no-cache, no-store']
107 Content-Type: [application/json; charset=utf-8] 107 Content-Type: [application/json; charset=utf-8]
@@ -112,10 +112,10 @@ interactions:
112 X-Download-Options: [noopen] 112 X-Download-Options: [noopen]
113 X-Frame-Options: [SAMEORIGIN] 113 X-Frame-Options: [SAMEORIGIN]
114 X-Permitted-Cross-Domain-Policies: [none] 114 X-Permitted-Cross-Domain-Policies: [none]
115 X-Request-Id: [29c38afc-daeb-4f7a-af31-cc9fbe84109b] 115 X-Request-Id: [faf334d4-2960-4d4b-b642-bba86aa5d0db]
116 X-Runtime: ['0.105771'] 116 X-Runtime: ['0.102111']
117 X-XSS-Protection: [1; mode=block] 117 X-XSS-Protection: [1; mode=block]
118 content-length: ['1286'] 118 content-length: ['1301']
119 status: {code: 200, message: OK} 119 status: {code: 200, message: OK}
120- request: 120- request:
121 body: send_email_notification=1&type=silence 121 body: send_email_notification=1&type=silence
@@ -141,8 +141,8 @@ interactions:
141 X-Download-Options: [noopen] 141 X-Download-Options: [noopen]
142 X-Frame-Options: [SAMEORIGIN] 142 X-Frame-Options: [SAMEORIGIN]
143 X-Permitted-Cross-Domain-Policies: [none] 143 X-Permitted-Cross-Domain-Policies: [none]
144 X-Request-Id: [126897ff-b14c-48fc-946d-555dc9414f5d] 144 X-Request-Id: [be91b9e5-42db-43f2-86a8-9b0db78112b6]
145 X-Runtime: ['0.270493'] 145 X-Runtime: ['0.505571']
146 X-XSS-Protection: [1; mode=block] 146 X-XSS-Protection: [1; mode=block]
147 content-length: ['2'] 147 content-length: ['2']
148 status: {code: 200, message: OK} 148 status: {code: 200, message: OK}
@@ -157,9 +157,9 @@ interactions:
157 method: GET 157 method: GET
158 uri: http://localhost:3000/api/v1/admin/accounts/1234567890123456 158 uri: http://localhost:3000/api/v1/admin/accounts/1234567890123456
159 response: 159 response:
160 body: {string: '{"id":"1234567890123456","username":"mastodonpy_test","domain":null,"created_at":"2019-06-22T23:11:52.441Z","email":"mastodonpy_test@localhost:3000","ip":"127.0.0.1","role":"user","confirmed":true,"suspended":false,"silenced":true,"disabled":false,"approved":true,"locale":"ja","invite_request":null,"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John 160 body: {string: '{"id":"1234567890123456","username":"mastodonpy_test","domain":null,"created_at":"2020-02-22T20:26:54.402Z","email":"mastodonpy_test@localhost:3000","ip":"127.0.0.1","role":"user","confirmed":true,"suspended":false,"silenced":true,"disabled":false,"approved":true,"locale":"ja","invite_request":null,"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
161 Lennon","locked":false,"bot":false,"created_at":"2019-06-22T23:11:52.441Z","note":"\u003cp\u003eI 161 Lennon","locked":true,"bot":false,"discoverable":null,"group":false,"created_at":"2020-02-22T20:26:54.402Z","note":"\u003cp\u003eI
162 walk funny\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1570914010","avatar_static":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1570914010","header":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1570914011","header_static":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1570914011","followers_count":0,"following_count":0,"statuses_count":0,"last_status_at":"2019-10-12T21:00:13.239Z","emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]}}'} 162 walk funny\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/4cb344b864cbd0bf.jpeg?1582399672","avatar_static":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/4cb344b864cbd0bf.jpeg?1582399672","header":"http://localhost/system/accounts/headers/123/456/789/012/345/original/9b01d187d95da821.jpeg?1582399672","header_static":"http://localhost/system/accounts/headers/123/456/789/012/345/original/9b01d187d95da821.jpeg?1582399672","followers_count":0,"following_count":0,"statuses_count":0,"last_status_at":"2020-02-22","emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]}}'}
163 headers: 163 headers:
164 Cache-Control: ['no-cache, no-store'] 164 Cache-Control: ['no-cache, no-store']
165 Content-Type: [application/json; charset=utf-8] 165 Content-Type: [application/json; charset=utf-8]
@@ -170,10 +170,10 @@ interactions:
170 X-Download-Options: [noopen] 170 X-Download-Options: [noopen]
171 X-Frame-Options: [SAMEORIGIN] 171 X-Frame-Options: [SAMEORIGIN]
172 X-Permitted-Cross-Domain-Policies: [none] 172 X-Permitted-Cross-Domain-Policies: [none]
173 X-Request-Id: [572f57fb-401c-473a-b308-1323feb75050] 173 X-Request-Id: [1c36ac73-6cf6-42aa-bcf3-85383e507bec]
174 X-Runtime: ['0.062590'] 174 X-Runtime: ['0.100968']
175 X-XSS-Protection: [1; mode=block] 175 X-XSS-Protection: [1; mode=block]
176 content-length: ['1285'] 176 content-length: ['1300']
177 status: {code: 200, message: OK} 177 status: {code: 200, message: OK}
178- request: 178- request:
179 body: null 179 body: null
@@ -187,9 +187,9 @@ interactions:
187 method: POST 187 method: POST
188 uri: http://localhost:3000/api/v1/admin/accounts/1234567890123456/unsilence 188 uri: http://localhost:3000/api/v1/admin/accounts/1234567890123456/unsilence
189 response: 189 response:
190 body: {string: '{"id":"1234567890123456","username":"mastodonpy_test","domain":null,"created_at":"2019-06-22T23:11:52.441Z","email":"mastodonpy_test@localhost:3000","ip":"127.0.0.1","role":"user","confirmed":true,"suspended":false,"silenced":false,"disabled":false,"approved":true,"locale":"ja","invite_request":null,"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John 190 body: {string: '{"id":"1234567890123456","username":"mastodonpy_test","domain":null,"created_at":"2020-02-22T20:26:54.402Z","email":"mastodonpy_test@localhost:3000","ip":"127.0.0.1","role":"user","confirmed":true,"suspended":false,"silenced":false,"disabled":false,"approved":true,"locale":"ja","invite_request":null,"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
191 Lennon","locked":false,"bot":false,"created_at":"2019-06-22T23:11:52.441Z","note":"\u003cp\u003eI 191 Lennon","locked":true,"bot":false,"discoverable":null,"group":false,"created_at":"2020-02-22T20:26:54.402Z","note":"\u003cp\u003eI
192 walk funny\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1570914010","avatar_static":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1570914010","header":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1570914011","header_static":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1570914011","followers_count":0,"following_count":0,"statuses_count":0,"last_status_at":"2019-10-12T21:00:13.239Z","emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]}}'} 192 walk funny\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/4cb344b864cbd0bf.jpeg?1582399672","avatar_static":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/4cb344b864cbd0bf.jpeg?1582399672","header":"http://localhost/system/accounts/headers/123/456/789/012/345/original/9b01d187d95da821.jpeg?1582399672","header_static":"http://localhost/system/accounts/headers/123/456/789/012/345/original/9b01d187d95da821.jpeg?1582399672","followers_count":0,"following_count":0,"statuses_count":0,"last_status_at":"2020-02-22","emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]}}'}
193 headers: 193 headers:
194 Cache-Control: ['no-cache, no-store'] 194 Cache-Control: ['no-cache, no-store']
195 Content-Type: [application/json; charset=utf-8] 195 Content-Type: [application/json; charset=utf-8]
@@ -200,10 +200,10 @@ interactions:
200 X-Download-Options: [noopen] 200 X-Download-Options: [noopen]
201 X-Frame-Options: [SAMEORIGIN] 201 X-Frame-Options: [SAMEORIGIN]
202 X-Permitted-Cross-Domain-Policies: [none] 202 X-Permitted-Cross-Domain-Policies: [none]
203 X-Request-Id: [cc24f428-3bfd-43dd-9943-2e433c5ffc49] 203 X-Request-Id: [0cb4500e-36a3-40c3-9403-67aff8c02afc]
204 X-Runtime: ['0.111187'] 204 X-Runtime: ['0.135202']
205 X-XSS-Protection: [1; mode=block] 205 X-XSS-Protection: [1; mode=block]
206 content-length: ['1286'] 206 content-length: ['1301']
207 status: {code: 200, message: OK} 207 status: {code: 200, message: OK}
208- request: 208- request:
209 body: send_email_notification=1&type=suspend 209 body: send_email_notification=1&type=suspend
@@ -229,8 +229,8 @@ interactions:
229 X-Download-Options: [noopen] 229 X-Download-Options: [noopen]
230 X-Frame-Options: [SAMEORIGIN] 230 X-Frame-Options: [SAMEORIGIN]
231 X-Permitted-Cross-Domain-Policies: [none] 231 X-Permitted-Cross-Domain-Policies: [none]
232 X-Request-Id: [e4c10a3e-aec9-432e-bd30-618104f90336] 232 X-Request-Id: [86ec9bad-644c-489c-a48e-2b19083f6d12]
233 X-Runtime: ['0.480970'] 233 X-Runtime: ['0.674901']
234 X-XSS-Protection: [1; mode=block] 234 X-XSS-Protection: [1; mode=block]
235 content-length: ['2'] 235 content-length: ['2']
236 status: {code: 200, message: OK} 236 status: {code: 200, message: OK}
@@ -245,7 +245,7 @@ interactions:
245 method: GET 245 method: GET
246 uri: http://localhost:3000/api/v1/admin/accounts/1234567890123456 246 uri: http://localhost:3000/api/v1/admin/accounts/1234567890123456
247 response: 247 response:
248 body: {string: '{"id":"1234567890123456","username":"mastodonpy_test","domain":null,"created_at":"2019-06-22T23:11:52.441Z","email":"mastodonpy_test@localhost:3000","ip":"127.0.0.1","role":"user","confirmed":true,"suspended":true,"silenced":false,"disabled":true,"approved":true,"locale":"ja","invite_request":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":0,"last_status_at":"2019-10-12T21:00:13.239Z","emojis":[],"fields":[]}}'} 248 body: {string: '{"id":"1234567890123456","username":"mastodonpy_test","domain":null,"created_at":"2020-02-22T20:26:54.402Z","email":"mastodonpy_test@localhost:3000","ip":"127.0.0.1","role":"user","confirmed":true,"suspended":true,"silenced":false,"disabled":true,"approved":true,"locale":"ja","invite_request":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":0,"last_status_at":"2020-02-22","emojis":[],"fields":[]}}'}
249 headers: 249 headers:
250 Cache-Control: ['no-cache, no-store'] 250 Cache-Control: ['no-cache, no-store']
251 Content-Type: [application/json; charset=utf-8] 251 Content-Type: [application/json; charset=utf-8]
@@ -256,10 +256,10 @@ interactions:
256 X-Download-Options: [noopen] 256 X-Download-Options: [noopen]
257 X-Frame-Options: [SAMEORIGIN] 257 X-Frame-Options: [SAMEORIGIN]
258 X-Permitted-Cross-Domain-Policies: [none] 258 X-Permitted-Cross-Domain-Policies: [none]
259 X-Request-Id: [6004274b-ce97-4603-98a1-decdade67b11] 259 X-Request-Id: [b47295e8-4f7f-4aa1-ab77-e0c8fd350a40]
260 X-Runtime: ['0.325775'] 260 X-Runtime: ['0.204272']
261 X-XSS-Protection: [1; mode=block] 261 X-XSS-Protection: [1; mode=block]
262 content-length: ['922'] 262 content-length: ['943']
263 status: {code: 200, message: OK} 263 status: {code: 200, message: OK}
264- request: 264- request:
265 body: null 265 body: null
@@ -273,7 +273,7 @@ interactions:
273 method: POST 273 method: POST
274 uri: http://localhost:3000/api/v1/admin/accounts/1234567890123456/unsuspend 274 uri: http://localhost:3000/api/v1/admin/accounts/1234567890123456/unsuspend
275 response: 275 response:
276 body: {string: '{"id":"1234567890123456","username":"mastodonpy_test","domain":null,"created_at":"2019-06-22T23:11:52.441Z","email":"mastodonpy_test@localhost:3000","ip":"127.0.0.1","role":"user","confirmed":true,"suspended":false,"silenced":false,"disabled":false,"approved":true,"locale":"ja","invite_request":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":0,"last_status_at":"2019-10-12T21:00:13.239Z","emojis":[],"fields":[]}}'} 276 body: {string: '{"id":"1234567890123456","username":"mastodonpy_test","domain":null,"created_at":"2020-02-22T20:26:54.402Z","email":"mastodonpy_test@localhost:3000","ip":"127.0.0.1","role":"user","confirmed":true,"suspended":false,"silenced":false,"disabled":false,"approved":true,"locale":"ja","invite_request":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":0,"last_status_at":"2020-02-22","emojis":[],"fields":[]}}'}
277 headers: 277 headers:
278 Cache-Control: ['no-cache, no-store'] 278 Cache-Control: ['no-cache, no-store']
279 Content-Type: [application/json; charset=utf-8] 279 Content-Type: [application/json; charset=utf-8]
@@ -284,10 +284,10 @@ interactions:
284 X-Download-Options: [noopen] 284 X-Download-Options: [noopen]
285 X-Frame-Options: [SAMEORIGIN] 285 X-Frame-Options: [SAMEORIGIN]
286 X-Permitted-Cross-Domain-Policies: [none] 286 X-Permitted-Cross-Domain-Policies: [none]
287 X-Request-Id: [78c471da-2241-4d80-8525-8413f2a95503] 287 X-Request-Id: [01a5da71-d1f1-4e0e-80ca-bcc4a43d4459]
288 X-Runtime: ['0.195135'] 288 X-Runtime: ['0.243651']
289 X-XSS-Protection: [1; mode=block] 289 X-XSS-Protection: [1; mode=block]
290 content-length: ['924'] 290 content-length: ['945']
291 status: {code: 200, message: OK} 291 status: {code: 200, message: OK}
292- request: 292- request:
293 body: null 293 body: null
@@ -301,7 +301,7 @@ interactions:
301 method: POST 301 method: POST
302 uri: http://localhost:3000/api/v1/admin/accounts/1234567890123456/unsuspend 302 uri: http://localhost:3000/api/v1/admin/accounts/1234567890123456/unsuspend
303 response: 303 response:
304 body: {string: '{"id":"1234567890123456","username":"mastodonpy_test","domain":null,"created_at":"2019-06-22T23:11:52.441Z","email":"mastodonpy_test@localhost:3000","ip":"127.0.0.1","role":"user","confirmed":true,"suspended":false,"silenced":false,"disabled":false,"approved":true,"locale":"ja","invite_request":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":0,"last_status_at":"2019-10-12T21:00:13.239Z","emojis":[],"fields":[]}}'} 304 body: {string: '{"id":"1234567890123456","username":"mastodonpy_test","domain":null,"created_at":"2020-02-22T20:26:54.402Z","email":"mastodonpy_test@localhost:3000","ip":"127.0.0.1","role":"user","confirmed":true,"suspended":false,"silenced":false,"disabled":false,"approved":true,"locale":"ja","invite_request":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":0,"last_status_at":"2020-02-22","emojis":[],"fields":[]}}'}
305 headers: 305 headers:
306 Cache-Control: ['no-cache, no-store'] 306 Cache-Control: ['no-cache, no-store']
307 Content-Type: [application/json; charset=utf-8] 307 Content-Type: [application/json; charset=utf-8]
@@ -312,10 +312,10 @@ interactions:
312 X-Download-Options: [noopen] 312 X-Download-Options: [noopen]
313 X-Frame-Options: [SAMEORIGIN] 313 X-Frame-Options: [SAMEORIGIN]
314 X-Permitted-Cross-Domain-Policies: [none] 314 X-Permitted-Cross-Domain-Policies: [none]
315 X-Request-Id: [f00d122c-333d-4769-a46d-762b0c93e2e1] 315 X-Request-Id: [0e6b9e7d-9db4-4245-bf36-558dbf175ebb]
316 X-Runtime: ['0.127682'] 316 X-Runtime: ['0.081688']
317 X-XSS-Protection: [1; mode=block] 317 X-XSS-Protection: [1; mode=block]
318 content-length: ['924'] 318 content-length: ['945']
319 status: {code: 200, message: OK} 319 status: {code: 200, message: OK}
320- request: 320- request:
321 body: null 321 body: null
@@ -329,7 +329,7 @@ interactions:
329 method: POST 329 method: POST
330 uri: http://localhost:3000/api/v1/admin/accounts/1234567890123456/enable 330 uri: http://localhost:3000/api/v1/admin/accounts/1234567890123456/enable
331 response: 331 response:
332 body: {string: '{"id":"1234567890123456","username":"mastodonpy_test","domain":null,"created_at":"2019-06-22T23:11:52.441Z","email":"mastodonpy_test@localhost:3000","ip":"127.0.0.1","role":"user","confirmed":true,"suspended":false,"silenced":false,"disabled":false,"approved":true,"locale":"ja","invite_request":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":0,"last_status_at":"2019-10-12T21:00:13.239Z","emojis":[],"fields":[]}}'} 332 body: {string: '{"id":"1234567890123456","username":"mastodonpy_test","domain":null,"created_at":"2020-02-22T20:26:54.402Z","email":"mastodonpy_test@localhost:3000","ip":"127.0.0.1","role":"user","confirmed":true,"suspended":false,"silenced":false,"disabled":false,"approved":true,"locale":"ja","invite_request":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":0,"last_status_at":"2020-02-22","emojis":[],"fields":[]}}'}
333 headers: 333 headers:
334 Cache-Control: ['no-cache, no-store'] 334 Cache-Control: ['no-cache, no-store']
335 Content-Type: [application/json; charset=utf-8] 335 Content-Type: [application/json; charset=utf-8]
@@ -340,10 +340,10 @@ interactions:
340 X-Download-Options: [noopen] 340 X-Download-Options: [noopen]
341 X-Frame-Options: [SAMEORIGIN] 341 X-Frame-Options: [SAMEORIGIN]
342 X-Permitted-Cross-Domain-Policies: [none] 342 X-Permitted-Cross-Domain-Policies: [none]
343 X-Request-Id: [c9bcf282-9a83-4e82-942f-59812a6eaefa] 343 X-Request-Id: [c97426c7-15a4-43f0-8c80-5c3d69133e98]
344 X-Runtime: ['0.086816'] 344 X-Runtime: ['0.094445']
345 X-XSS-Protection: [1; mode=block] 345 X-XSS-Protection: [1; mode=block]
346 content-length: ['924'] 346 content-length: ['945']
347 status: {code: 200, message: OK} 347 status: {code: 200, message: OK}
348- request: 348- request:
349 body: null 349 body: null
@@ -357,7 +357,7 @@ interactions:
357 method: POST 357 method: POST
358 uri: http://localhost:3000/api/v1/admin/accounts/1234567890123456/unsilence 358 uri: http://localhost:3000/api/v1/admin/accounts/1234567890123456/unsilence
359 response: 359 response:
360 body: {string: '{"id":"1234567890123456","username":"mastodonpy_test","domain":null,"created_at":"2019-06-22T23:11:52.441Z","email":"mastodonpy_test@localhost:3000","ip":"127.0.0.1","role":"user","confirmed":true,"suspended":false,"silenced":false,"disabled":false,"approved":true,"locale":"ja","invite_request":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":0,"last_status_at":"2019-10-12T21:00:13.239Z","emojis":[],"fields":[]}}'} 360 body: {string: '{"id":"1234567890123456","username":"mastodonpy_test","domain":null,"created_at":"2020-02-22T20:26:54.402Z","email":"mastodonpy_test@localhost:3000","ip":"127.0.0.1","role":"user","confirmed":true,"suspended":false,"silenced":false,"disabled":false,"approved":true,"locale":"ja","invite_request":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":0,"last_status_at":"2020-02-22","emojis":[],"fields":[]}}'}
361 headers: 361 headers:
362 Cache-Control: ['no-cache, no-store'] 362 Cache-Control: ['no-cache, no-store']
363 Content-Type: [application/json; charset=utf-8] 363 Content-Type: [application/json; charset=utf-8]
@@ -368,9 +368,9 @@ interactions:
368 X-Download-Options: [noopen] 368 X-Download-Options: [noopen]
369 X-Frame-Options: [SAMEORIGIN] 369 X-Frame-Options: [SAMEORIGIN]
370 X-Permitted-Cross-Domain-Policies: [none] 370 X-Permitted-Cross-Domain-Policies: [none]
371 X-Request-Id: [881feeaa-93dc-4111-803e-35589a3ccc68] 371 X-Request-Id: [3aa6caa4-0ade-4e63-abb1-0b4d5103bb02]
372 X-Runtime: ['0.061793'] 372 X-Runtime: ['0.113679']
373 X-XSS-Protection: [1; mode=block] 373 X-XSS-Protection: [1; mode=block]
374 content-length: ['924'] 374 content-length: ['945']
375 status: {code: 200, message: OK} 375 status: {code: 200, message: OK}
376version: 1 376version: 1
Powered by cgit v1.2.3 (git 2.41.0)