aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cassettes/test_admin_moderation.yaml')
-rw-r--r--tests/cassettes/test_admin_moderation.yaml108
1 files changed, 52 insertions, 56 deletions
diff --git a/tests/cassettes/test_admin_moderation.yaml b/tests/cassettes/test_admin_moderation.yaml
index 8b4ff0c..1a31517 100644
--- a/tests/cassettes/test_admin_moderation.yaml
+++ b/tests/cassettes/test_admin_moderation.yaml
@@ -11,9 +11,9 @@ 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":true,"bot":false,"created_at":"2019-06-22T23:11:52.441Z","note":"\u003cp\u003eI 14 Lennon","locked":false,"bot":false,"created_at":"2019-06-22T23:11:52.441Z","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?1561237923","avatar_static":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561237923","header":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561237923","header_static":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561237923","followers_count":0,"following_count":0,"statuses_count":0,"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/mastodonpyupload_.jpeg?1570830497","avatar_static":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1570830497","header":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1570830497","header_static":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1570830497","followers_count":0,"following_count":0,"statuses_count":2,"last_status_at":"2019-10-11T21:48:18.940Z","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}]},"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']
19 Content-Type: [application/json; charset=utf-8] 19 Content-Type: [application/json; charset=utf-8]
@@ -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: [dc3c2377-b30d-46d2-8ed7-a700d448f7a1] 27 X-Request-Id: [d2cd8dbd-7f1d-4dcc-b8e7-d5006e8fcc56]
28 X-Runtime: ['0.042809'] 28 X-Runtime: ['0.031129']
29 X-XSS-Protection: [1; mode=block] 29 X-XSS-Protection: [1; mode=block]
30 content-length: ['1134'] 30 content-length: ['1205']
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: [84ac4744-972d-4a65-8fd7-fa316a26c895] 56 X-Request-Id: [4286a3a1-5d26-489f-8d88-d0e89fa4c3b0]
57 X-Runtime: ['0.042256'] 57 X-Runtime: ['0.296136']
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}
@@ -70,8 +70,8 @@ interactions:
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":"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
73 Lennon","locked":true,"bot":false,"created_at":"2019-06-22T23:11:52.441Z","note":"\u003cp\u003eI 73 Lennon","locked":false,"bot":false,"created_at":"2019-06-22T23:11:52.441Z","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?1561237923","avatar_static":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561237923","header":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561237923","header_static":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561237923","followers_count":0,"following_count":0,"statuses_count":0,"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/mastodonpyupload_.jpeg?1570830497","avatar_static":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1570830497","header":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1570830497","header_static":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1570830497","followers_count":0,"following_count":0,"statuses_count":0,"last_status_at":"2019-10-11T21:48:18.940Z","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: [60f4dd78-2549-46a4-9b84-7811906d8ea4] 85 X-Request-Id: [d5998ce8-ba8c-4c4f-8d73-3f8aa014c3e6]
86 X-Runtime: ['0.044526'] 86 X-Runtime: ['0.114949']
87 X-XSS-Protection: [1; mode=block] 87 X-XSS-Protection: [1; mode=block]
88 content-length: ['1240'] 88 content-length: ['1285']
89 status: {code: 200, message: OK} 89 status: {code: 200, message: OK}
90- request: 90- request:
91 body: null 91 body: null
@@ -100,8 +100,8 @@ interactions:
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":"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
103 Lennon","locked":true,"bot":false,"created_at":"2019-06-22T23:11:52.441Z","note":"\u003cp\u003eI 103 Lennon","locked":false,"bot":false,"created_at":"2019-06-22T23:11:52.441Z","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?1561237923","avatar_static":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561237923","header":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561237923","header_static":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561237923","followers_count":0,"following_count":0,"statuses_count":0,"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/mastodonpyupload_.jpeg?1570830497","avatar_static":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1570830497","header":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1570830497","header_static":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1570830497","followers_count":0,"following_count":0,"statuses_count":0,"last_status_at":"2019-10-11T21:48:18.940Z","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: [adc120cb-11ea-407a-8ea2-b8a803c6a4a6] 115 X-Request-Id: [c307fbcd-6202-482c-994e-a5b219e7445e]
116 X-Runtime: ['0.054101'] 116 X-Runtime: ['0.056646']
117 X-XSS-Protection: [1; mode=block] 117 X-XSS-Protection: [1; mode=block]
118 content-length: ['1241'] 118 content-length: ['1286']
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: [b17976da-7a71-4bdd-9bfd-24f6747c6ac0] 144 X-Request-Id: [f851cf61-2a25-459b-abd6-3de32295907d]
145 X-Runtime: ['0.060963'] 145 X-Runtime: ['0.312285']
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}
@@ -158,8 +158,8 @@ interactions:
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":"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
161 Lennon","locked":true,"bot":false,"created_at":"2019-06-22T23:11:52.441Z","note":"\u003cp\u003eI 161 Lennon","locked":false,"bot":false,"created_at":"2019-06-22T23:11:52.441Z","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?1561237923","avatar_static":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561237923","header":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561237923","header_static":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561237923","followers_count":0,"following_count":0,"statuses_count":0,"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/mastodonpyupload_.jpeg?1570830497","avatar_static":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1570830497","header":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1570830497","header_static":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1570830497","followers_count":0,"following_count":0,"statuses_count":0,"last_status_at":"2019-10-11T21:48:18.940Z","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: [e7093407-e41e-4567-bd6f-c7f291ac6a5c] 173 X-Request-Id: [574af91f-6a85-4bb7-9d31-68d54e1f95db]
174 X-Runtime: ['0.045798'] 174 X-Runtime: ['0.056449']
175 X-XSS-Protection: [1; mode=block] 175 X-XSS-Protection: [1; mode=block]
176 content-length: ['1240'] 176 content-length: ['1285']
177 status: {code: 200, message: OK} 177 status: {code: 200, message: OK}
178- request: 178- request:
179 body: null 179 body: null
@@ -188,8 +188,8 @@ interactions:
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":"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
191 Lennon","locked":true,"bot":false,"created_at":"2019-06-22T23:11:52.441Z","note":"\u003cp\u003eI 191 Lennon","locked":false,"bot":false,"created_at":"2019-06-22T23:11:52.441Z","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?1561237923","avatar_static":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561237923","header":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561237923","header_static":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561237923","followers_count":0,"following_count":0,"statuses_count":0,"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/mastodonpyupload_.jpeg?1570830497","avatar_static":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1570830497","header":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1570830497","header_static":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1570830497","followers_count":0,"following_count":0,"statuses_count":0,"last_status_at":"2019-10-11T21:48:18.940Z","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: [0c0d663d-1629-44f0-b8d7-033e3fe95b64] 203 X-Request-Id: [ac909996-4104-4007-ade3-d48822ed5a8e]
204 X-Runtime: ['0.080628'] 204 X-Runtime: ['0.095728']
205 X-XSS-Protection: [1; mode=block] 205 X-XSS-Protection: [1; mode=block]
206 content-length: ['1241'] 206 content-length: ['1286']
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: [36d3806b-bdd1-40fa-afa9-cc0a48f37dd4] 232 X-Request-Id: [35246d9b-c231-4af5-aad0-606d10ca8ccd]
233 X-Runtime: ['0.099746'] 233 X-Runtime: ['0.487967']
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,9 +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":"John 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-11T21:48:18.940Z","emojis":[],"fields":[]}}'}
249 Lennon","locked":true,"bot":false,"created_at":"2019-06-22T23:11:52.441Z","note":"\u003cp\u003eI
250 walk funny\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561237923","avatar_static":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561237923","header":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561237923","header_static":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561237923","followers_count":0,"following_count":0,"statuses_count":0,"emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]}}'}
251 headers: 249 headers:
252 Cache-Control: ['no-cache, no-store'] 250 Cache-Control: ['no-cache, no-store']
253 Content-Type: [application/json; charset=utf-8] 251 Content-Type: [application/json; charset=utf-8]
@@ -258,10 +256,10 @@ interactions:
258 X-Download-Options: [noopen] 256 X-Download-Options: [noopen]
259 X-Frame-Options: [SAMEORIGIN] 257 X-Frame-Options: [SAMEORIGIN]
260 X-Permitted-Cross-Domain-Policies: [none] 258 X-Permitted-Cross-Domain-Policies: [none]
261 X-Request-Id: [216d28a8-6ae0-4371-8019-4d0400fb8565] 259 X-Request-Id: [acc18754-dc0e-4732-8587-d94acbf11d8d]
262 X-Runtime: ['0.067961'] 260 X-Runtime: ['0.268835']
263 X-XSS-Protection: [1; mode=block] 261 X-XSS-Protection: [1; mode=block]
264 content-length: ['1239'] 262 content-length: ['922']
265 status: {code: 200, message: OK} 263 status: {code: 200, message: OK}
266- request: 264- request:
267 body: null 265 body: null
@@ -275,9 +273,7 @@ interactions:
275 method: POST 273 method: POST
276 uri: http://localhost:3000/api/v1/admin/accounts/1234567890123456/unsuspend 274 uri: http://localhost:3000/api/v1/admin/accounts/1234567890123456/unsuspend
277 response: 275 response:
278 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 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-11T21:48:18.940Z","emojis":[],"fields":[]}}'}
279 Lennon","locked":true,"bot":false,"created_at":"2019-06-22T23:11:52.441Z","note":"\u003cp\u003eI
280 walk funny\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561237923","avatar_static":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561237923","header":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561237923","header_static":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561237923","followers_count":0,"following_count":0,"statuses_count":0,"emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]}}'}
281 headers: 277 headers:
282 Cache-Control: ['no-cache, no-store'] 278 Cache-Control: ['no-cache, no-store']
283 Content-Type: [application/json; charset=utf-8] 279 Content-Type: [application/json; charset=utf-8]
@@ -288,10 +284,10 @@ interactions:
288 X-Download-Options: [noopen] 284 X-Download-Options: [noopen]
289 X-Frame-Options: [SAMEORIGIN] 285 X-Frame-Options: [SAMEORIGIN]
290 X-Permitted-Cross-Domain-Policies: [none] 286 X-Permitted-Cross-Domain-Policies: [none]
291 X-Request-Id: [3bfc3c57-3dac-4fb1-99d2-ca7361dcdda4] 287 X-Request-Id: [04ae0634-9518-46f3-8062-ddab3b255f2c]
292 X-Runtime: ['0.223399'] 288 X-Runtime: ['0.118852']
293 X-XSS-Protection: [1; mode=block] 289 X-XSS-Protection: [1; mode=block]
294 content-length: ['1241'] 290 content-length: ['924']
295 status: {code: 200, message: OK} 291 status: {code: 200, message: OK}
296- request: 292- request:
297 body: null 293 body: null
@@ -305,7 +301,7 @@ interactions:
305 method: POST 301 method: POST
306 uri: http://localhost:3000/api/v1/admin/accounts/1234567890123456/unsuspend 302 uri: http://localhost:3000/api/v1/admin/accounts/1234567890123456/unsuspend
307 response: 303 response:
308 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,"emojis":[],"fields":[]}}'} 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-11T21:48:18.940Z","emojis":[],"fields":[]}}'}
309 headers: 305 headers:
310 Cache-Control: ['no-cache, no-store'] 306 Cache-Control: ['no-cache, no-store']
311 Content-Type: [application/json; charset=utf-8] 307 Content-Type: [application/json; charset=utf-8]
@@ -316,10 +312,10 @@ interactions:
316 X-Download-Options: [noopen] 312 X-Download-Options: [noopen]
317 X-Frame-Options: [SAMEORIGIN] 313 X-Frame-Options: [SAMEORIGIN]
318 X-Permitted-Cross-Domain-Policies: [none] 314 X-Permitted-Cross-Domain-Policies: [none]
319 X-Request-Id: [832698fb-5ee9-4137-ac31-811f64945226] 315 X-Request-Id: [f9283459-8ba4-451d-9e91-1326ae1dc69c]
320 X-Runtime: ['0.141727'] 316 X-Runtime: ['0.072644']
321 X-XSS-Protection: [1; mode=block] 317 X-XSS-Protection: [1; mode=block]
322 content-length: ['880'] 318 content-length: ['924']
323 status: {code: 200, message: OK} 319 status: {code: 200, message: OK}
324- request: 320- request:
325 body: null 321 body: null
@@ -333,7 +329,7 @@ interactions:
333 method: POST 329 method: POST
334 uri: http://localhost:3000/api/v1/admin/accounts/1234567890123456/enable 330 uri: http://localhost:3000/api/v1/admin/accounts/1234567890123456/enable
335 response: 331 response:
336 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,"emojis":[],"fields":[]}}'} 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-11T21:48:18.940Z","emojis":[],"fields":[]}}'}
337 headers: 333 headers:
338 Cache-Control: ['no-cache, no-store'] 334 Cache-Control: ['no-cache, no-store']
339 Content-Type: [application/json; charset=utf-8] 335 Content-Type: [application/json; charset=utf-8]
@@ -344,10 +340,10 @@ interactions:
344 X-Download-Options: [noopen] 340 X-Download-Options: [noopen]
345 X-Frame-Options: [SAMEORIGIN] 341 X-Frame-Options: [SAMEORIGIN]
346 X-Permitted-Cross-Domain-Policies: [none] 342 X-Permitted-Cross-Domain-Policies: [none]
347 X-Request-Id: [6d583ce9-4a8d-4fea-aa6d-23c31663a3c3] 343 X-Request-Id: [319328bd-3285-4771-8362-f683fb8fdeea]
348 X-Runtime: ['0.109701'] 344 X-Runtime: ['0.071660']
349 X-XSS-Protection: [1; mode=block] 345 X-XSS-Protection: [1; mode=block]
350 content-length: ['880'] 346 content-length: ['924']
351 status: {code: 200, message: OK} 347 status: {code: 200, message: OK}
352- request: 348- request:
353 body: null 349 body: null
@@ -361,7 +357,7 @@ interactions:
361 method: POST 357 method: POST
362 uri: http://localhost:3000/api/v1/admin/accounts/1234567890123456/unsilence 358 uri: http://localhost:3000/api/v1/admin/accounts/1234567890123456/unsilence
363 response: 359 response:
364 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,"emojis":[],"fields":[]}}'} 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-11T21:48:18.940Z","emojis":[],"fields":[]}}'}
365 headers: 361 headers:
366 Cache-Control: ['no-cache, no-store'] 362 Cache-Control: ['no-cache, no-store']
367 Content-Type: [application/json; charset=utf-8] 363 Content-Type: [application/json; charset=utf-8]
@@ -372,9 +368,9 @@ interactions:
372 X-Download-Options: [noopen] 368 X-Download-Options: [noopen]
373 X-Frame-Options: [SAMEORIGIN] 369 X-Frame-Options: [SAMEORIGIN]
374 X-Permitted-Cross-Domain-Policies: [none] 370 X-Permitted-Cross-Domain-Policies: [none]
375 X-Request-Id: [ba99009a-42b2-4095-af09-3583cfe99abd] 371 X-Request-Id: [fde98a13-e6b6-4bf8-b85f-11f0e4cff19d]
376 X-Runtime: ['0.124775'] 372 X-Runtime: ['0.116535']
377 X-XSS-Protection: [1; mode=block] 373 X-XSS-Protection: [1; mode=block]
378 content-length: ['880'] 374 content-length: ['924']
379 status: {code: 200, message: OK} 375 status: {code: 200, message: OK}
380version: 1 376version: 1
Powered by cgit v1.2.3 (git 2.41.0)